module Stratosphere.Pinpoint.EmailChannel (
        EmailChannel(..), mkEmailChannel
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data EmailChannel
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html>
    EmailChannel {EmailChannel -> ()
haddock_workaround_ :: (),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-applicationid>
                  EmailChannel -> Value Text
applicationId :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-configurationset>
                  EmailChannel -> Maybe (Value Text)
configurationSet :: (Prelude.Maybe (Value Prelude.Text)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-enabled>
                  EmailChannel -> Maybe (Value Bool)
enabled :: (Prelude.Maybe (Value Prelude.Bool)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-fromaddress>
                  EmailChannel -> Value Text
fromAddress :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-identity>
                  EmailChannel -> Value Text
identity :: (Value Prelude.Text),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-orchestrationsendingrolearn>
                  EmailChannel -> Maybe (Value Text)
orchestrationSendingRoleArn :: (Prelude.Maybe (Value Prelude.Text)),
                  -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-emailchannel.html#cfn-pinpoint-emailchannel-rolearn>
                  EmailChannel -> Maybe (Value Text)
roleArn :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (EmailChannel -> EmailChannel -> Bool
(EmailChannel -> EmailChannel -> Bool)
-> (EmailChannel -> EmailChannel -> Bool) -> Eq EmailChannel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: EmailChannel -> EmailChannel -> Bool
== :: EmailChannel -> EmailChannel -> Bool
$c/= :: EmailChannel -> EmailChannel -> Bool
/= :: EmailChannel -> EmailChannel -> Bool
Prelude.Eq, Int -> EmailChannel -> ShowS
[EmailChannel] -> ShowS
EmailChannel -> String
(Int -> EmailChannel -> ShowS)
-> (EmailChannel -> String)
-> ([EmailChannel] -> ShowS)
-> Show EmailChannel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> EmailChannel -> ShowS
showsPrec :: Int -> EmailChannel -> ShowS
$cshow :: EmailChannel -> String
show :: EmailChannel -> String
$cshowList :: [EmailChannel] -> ShowS
showList :: [EmailChannel] -> ShowS
Prelude.Show)
mkEmailChannel ::
  Value Prelude.Text
  -> Value Prelude.Text -> Value Prelude.Text -> EmailChannel
mkEmailChannel :: Value Text -> Value Text -> Value Text -> EmailChannel
mkEmailChannel Value Text
applicationId Value Text
fromAddress Value Text
identity
  = EmailChannel
      {haddock_workaround_ :: ()
haddock_workaround_ = (), applicationId :: Value Text
applicationId = Value Text
applicationId,
       fromAddress :: Value Text
fromAddress = Value Text
fromAddress, identity :: Value Text
identity = Value Text
identity,
       configurationSet :: Maybe (Value Text)
configurationSet = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, enabled :: Maybe (Value Bool)
enabled = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       orchestrationSendingRoleArn :: Maybe (Value Text)
orchestrationSendingRoleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       roleArn :: Maybe (Value Text)
roleArn = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties EmailChannel where
  toResourceProperties :: EmailChannel -> ResourceProperties
toResourceProperties EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::Pinpoint::EmailChannel",
         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
"ApplicationId" 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
applicationId,
                            Key
"FromAddress" 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
fromAddress, Key
"Identity" 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
identity]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"ConfigurationSet" (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)
configurationSet,
                               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                               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
"OrchestrationSendingRoleArn"
                                 (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)
orchestrationSendingRoleArn,
                               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
"RoleArn" (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)
roleArn]))}
instance JSON.ToJSON EmailChannel where
  toJSON :: EmailChannel -> Value
toJSON EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (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
"ApplicationId" 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
applicationId,
               Key
"FromAddress" 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
fromAddress, Key
"Identity" 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
identity]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"ConfigurationSet" (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)
configurationSet,
                  Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Enabled" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
enabled,
                  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
"OrchestrationSendingRoleArn"
                    (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)
orchestrationSendingRoleArn,
                  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
"RoleArn" (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)
roleArn])))
instance Property "ApplicationId" EmailChannel where
  type PropertyType "ApplicationId" EmailChannel = Value Prelude.Text
  set :: PropertyType "ApplicationId" EmailChannel
-> EmailChannel -> EmailChannel
set PropertyType "ApplicationId" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel {applicationId :: Value Text
applicationId = PropertyType "ApplicationId" EmailChannel
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
instance Property "ConfigurationSet" EmailChannel where
  type PropertyType "ConfigurationSet" EmailChannel = Value Prelude.Text
  set :: PropertyType "ConfigurationSet" EmailChannel
-> EmailChannel -> EmailChannel
set PropertyType "ConfigurationSet" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel {configurationSet :: Maybe (Value Text)
configurationSet = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConfigurationSet" EmailChannel
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
instance Property "Enabled" EmailChannel where
  type PropertyType "Enabled" EmailChannel = Value Prelude.Bool
  set :: PropertyType "Enabled" EmailChannel -> EmailChannel -> EmailChannel
set PropertyType "Enabled" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel {enabled :: Maybe (Value Bool)
enabled = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Enabled" EmailChannel
Value Bool
newValue, Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
instance Property "FromAddress" EmailChannel where
  type PropertyType "FromAddress" EmailChannel = Value Prelude.Text
  set :: PropertyType "FromAddress" EmailChannel
-> EmailChannel -> EmailChannel
set PropertyType "FromAddress" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel {fromAddress :: Value Text
fromAddress = PropertyType "FromAddress" EmailChannel
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
instance Property "Identity" EmailChannel where
  type PropertyType "Identity" EmailChannel = Value Prelude.Text
  set :: PropertyType "Identity" EmailChannel
-> EmailChannel -> EmailChannel
set PropertyType "Identity" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel {identity :: Value Text
identity = PropertyType "Identity" EmailChannel
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
instance Property "OrchestrationSendingRoleArn" EmailChannel where
  type PropertyType "OrchestrationSendingRoleArn" EmailChannel = Value Prelude.Text
  set :: PropertyType "OrchestrationSendingRoleArn" EmailChannel
-> EmailChannel -> EmailChannel
set PropertyType "OrchestrationSendingRoleArn" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel
        {orchestrationSendingRoleArn :: Maybe (Value Text)
orchestrationSendingRoleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OrchestrationSendingRoleArn" EmailChannel
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
roleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
roleArn :: Maybe (Value Text)
..}
instance Property "RoleArn" EmailChannel where
  type PropertyType "RoleArn" EmailChannel = Value Prelude.Text
  set :: PropertyType "RoleArn" EmailChannel -> EmailChannel -> EmailChannel
set PropertyType "RoleArn" EmailChannel
newValue EmailChannel {Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: EmailChannel -> ()
applicationId :: EmailChannel -> Value Text
configurationSet :: EmailChannel -> Maybe (Value Text)
enabled :: EmailChannel -> Maybe (Value Bool)
fromAddress :: EmailChannel -> Value Text
identity :: EmailChannel -> Value Text
orchestrationSendingRoleArn :: EmailChannel -> Maybe (Value Text)
roleArn :: EmailChannel -> Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
roleArn :: Maybe (Value Text)
..}
    = EmailChannel {roleArn :: Maybe (Value Text)
roleArn = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RoleArn" EmailChannel
Value Text
newValue, Maybe (Value Bool)
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
haddock_workaround_ :: ()
applicationId :: Value Text
configurationSet :: Maybe (Value Text)
enabled :: Maybe (Value Bool)
fromAddress :: Value Text
identity :: Value Text
orchestrationSendingRoleArn :: Maybe (Value Text)
..}