module Stratosphere.Cognito.UserPoolRiskConfigurationAttachment.NotifyConfigurationTypeProperty (
module Exports, NotifyConfigurationTypeProperty(..),
mkNotifyConfigurationTypeProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.Cognito.UserPoolRiskConfigurationAttachment.NotifyEmailTypeProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data NotifyConfigurationTypeProperty
=
NotifyConfigurationTypeProperty {NotifyConfigurationTypeProperty -> ()
haddock_workaround_ :: (),
NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
blockEmail :: (Prelude.Maybe NotifyEmailTypeProperty),
NotifyConfigurationTypeProperty -> Maybe (Value Text)
from :: (Prelude.Maybe (Value Prelude.Text)),
NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
mfaEmail :: (Prelude.Maybe NotifyEmailTypeProperty),
NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: (Prelude.Maybe NotifyEmailTypeProperty),
NotifyConfigurationTypeProperty -> Maybe (Value Text)
replyTo :: (Prelude.Maybe (Value Prelude.Text)),
NotifyConfigurationTypeProperty -> Value Text
sourceArn :: (Value Prelude.Text)}
deriving stock (NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool
(NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool)
-> (NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool)
-> Eq NotifyConfigurationTypeProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool
== :: NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool
$c/= :: NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool
/= :: NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty -> Bool
Prelude.Eq, Int -> NotifyConfigurationTypeProperty -> ShowS
[NotifyConfigurationTypeProperty] -> ShowS
NotifyConfigurationTypeProperty -> String
(Int -> NotifyConfigurationTypeProperty -> ShowS)
-> (NotifyConfigurationTypeProperty -> String)
-> ([NotifyConfigurationTypeProperty] -> ShowS)
-> Show NotifyConfigurationTypeProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> NotifyConfigurationTypeProperty -> ShowS
showsPrec :: Int -> NotifyConfigurationTypeProperty -> ShowS
$cshow :: NotifyConfigurationTypeProperty -> String
show :: NotifyConfigurationTypeProperty -> String
$cshowList :: [NotifyConfigurationTypeProperty] -> ShowS
showList :: [NotifyConfigurationTypeProperty] -> ShowS
Prelude.Show)
mkNotifyConfigurationTypeProperty ::
Value Prelude.Text -> NotifyConfigurationTypeProperty
mkNotifyConfigurationTypeProperty :: Value Text -> NotifyConfigurationTypeProperty
mkNotifyConfigurationTypeProperty Value Text
sourceArn
= NotifyConfigurationTypeProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), sourceArn :: Value Text
sourceArn = Value Text
sourceArn,
blockEmail :: Maybe NotifyEmailTypeProperty
blockEmail = Maybe NotifyEmailTypeProperty
forall a. Maybe a
Prelude.Nothing, from :: Maybe (Value Text)
from = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
mfaEmail :: Maybe NotifyEmailTypeProperty
mfaEmail = Maybe NotifyEmailTypeProperty
forall a. Maybe a
Prelude.Nothing, noActionEmail :: Maybe NotifyEmailTypeProperty
noActionEmail = Maybe NotifyEmailTypeProperty
forall a. Maybe a
Prelude.Nothing,
replyTo :: Maybe (Value Text)
replyTo = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties NotifyConfigurationTypeProperty where
toResourceProperties :: NotifyConfigurationTypeProperty -> ResourceProperties
toResourceProperties NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Cognito::UserPoolRiskConfigurationAttachment.NotifyConfigurationType",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"SourceArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
sourceArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> NotifyEmailTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BlockEmail" (NotifyEmailTypeProperty -> (Key, Value))
-> Maybe NotifyEmailTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotifyEmailTypeProperty
blockEmail,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"From" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
from,
Key -> NotifyEmailTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MfaEmail" (NotifyEmailTypeProperty -> (Key, Value))
-> Maybe NotifyEmailTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotifyEmailTypeProperty
mfaEmail,
Key -> NotifyEmailTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoActionEmail" (NotifyEmailTypeProperty -> (Key, Value))
-> Maybe NotifyEmailTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotifyEmailTypeProperty
noActionEmail,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReplyTo" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
replyTo]))}
instance JSON.ToJSON NotifyConfigurationTypeProperty where
toJSON :: NotifyConfigurationTypeProperty -> Value
toJSON NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"SourceArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
sourceArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> NotifyEmailTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"BlockEmail" (NotifyEmailTypeProperty -> (Key, Value))
-> Maybe NotifyEmailTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotifyEmailTypeProperty
blockEmail,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"From" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
from,
Key -> NotifyEmailTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MfaEmail" (NotifyEmailTypeProperty -> (Key, Value))
-> Maybe NotifyEmailTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotifyEmailTypeProperty
mfaEmail,
Key -> NotifyEmailTypeProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NoActionEmail" (NotifyEmailTypeProperty -> (Key, Value))
-> Maybe NotifyEmailTypeProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NotifyEmailTypeProperty
noActionEmail,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReplyTo" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
replyTo])))
instance Property "BlockEmail" NotifyConfigurationTypeProperty where
type PropertyType "BlockEmail" NotifyConfigurationTypeProperty = NotifyEmailTypeProperty
set :: PropertyType "BlockEmail" NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
set PropertyType "BlockEmail" NotifyConfigurationTypeProperty
newValue NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= NotifyConfigurationTypeProperty
{blockEmail :: Maybe NotifyEmailTypeProperty
blockEmail = NotifyEmailTypeProperty -> Maybe NotifyEmailTypeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "BlockEmail" NotifyConfigurationTypeProperty
NotifyEmailTypeProperty
newValue, Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: ()
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
haddock_workaround_ :: ()
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
instance Property "From" NotifyConfigurationTypeProperty where
type PropertyType "From" NotifyConfigurationTypeProperty = Value Prelude.Text
set :: PropertyType "From" NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
set PropertyType "From" NotifyConfigurationTypeProperty
newValue NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= NotifyConfigurationTypeProperty
{from :: Maybe (Value Text)
from = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "From" NotifyConfigurationTypeProperty
Value Text
newValue, Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
instance Property "MfaEmail" NotifyConfigurationTypeProperty where
type PropertyType "MfaEmail" NotifyConfigurationTypeProperty = NotifyEmailTypeProperty
set :: PropertyType "MfaEmail" NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
set PropertyType "MfaEmail" NotifyConfigurationTypeProperty
newValue NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= NotifyConfigurationTypeProperty
{mfaEmail :: Maybe NotifyEmailTypeProperty
mfaEmail = NotifyEmailTypeProperty -> Maybe NotifyEmailTypeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MfaEmail" NotifyConfigurationTypeProperty
NotifyEmailTypeProperty
newValue, Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
instance Property "NoActionEmail" NotifyConfigurationTypeProperty where
type PropertyType "NoActionEmail" NotifyConfigurationTypeProperty = NotifyEmailTypeProperty
set :: PropertyType "NoActionEmail" NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
set PropertyType "NoActionEmail" NotifyConfigurationTypeProperty
newValue NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= NotifyConfigurationTypeProperty
{noActionEmail :: Maybe NotifyEmailTypeProperty
noActionEmail = NotifyEmailTypeProperty -> Maybe NotifyEmailTypeProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "NoActionEmail" NotifyConfigurationTypeProperty
NotifyEmailTypeProperty
newValue, Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
instance Property "ReplyTo" NotifyConfigurationTypeProperty where
type PropertyType "ReplyTo" NotifyConfigurationTypeProperty = Value Prelude.Text
set :: PropertyType "ReplyTo" NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
set PropertyType "ReplyTo" NotifyConfigurationTypeProperty
newValue NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= NotifyConfigurationTypeProperty
{replyTo :: Maybe (Value Text)
replyTo = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ReplyTo" NotifyConfigurationTypeProperty
Value Text
newValue, Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
sourceArn :: Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
sourceArn :: Value Text
..}
instance Property "SourceArn" NotifyConfigurationTypeProperty where
type PropertyType "SourceArn" NotifyConfigurationTypeProperty = Value Prelude.Text
set :: PropertyType "SourceArn" NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
-> NotifyConfigurationTypeProperty
set PropertyType "SourceArn" NotifyConfigurationTypeProperty
newValue NotifyConfigurationTypeProperty {Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
Value Text
haddock_workaround_ :: NotifyConfigurationTypeProperty -> ()
blockEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
from :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
mfaEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
noActionEmail :: NotifyConfigurationTypeProperty -> Maybe NotifyEmailTypeProperty
replyTo :: NotifyConfigurationTypeProperty -> Maybe (Value Text)
sourceArn :: NotifyConfigurationTypeProperty -> Value Text
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
sourceArn :: Value Text
..}
= NotifyConfigurationTypeProperty {sourceArn :: Value Text
sourceArn = PropertyType "SourceArn" NotifyConfigurationTypeProperty
Value Text
newValue, Maybe (Value Text)
Maybe NotifyEmailTypeProperty
()
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
haddock_workaround_ :: ()
blockEmail :: Maybe NotifyEmailTypeProperty
from :: Maybe (Value Text)
mfaEmail :: Maybe NotifyEmailTypeProperty
noActionEmail :: Maybe NotifyEmailTypeProperty
replyTo :: Maybe (Value Text)
..}