libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Pinpoint.Types.EmailChannelRequest

Description

 
Synopsis

Documentation

data EmailChannelRequest Source #

Specifies the status and settings of the email channel for an application.

See: newEmailChannelRequest smart constructor.

Constructors

EmailChannelRequest' 

Fields

  • enabled :: Maybe Bool

    Specifies whether to enable the email channel for the application.

  • configurationSet :: Maybe Text

    The Amazon SES configuration set that you want to apply to messages that you send through the channel.

  • roleArn :: Maybe Text

    The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.

  • fromAddress :: Text

    The verified email address that you want to send email from when you send email through the channel.

  • identity :: Text

    The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.

Instances

Instances details
Eq EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

Read EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

Show EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

Generic EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

Associated Types

type Rep EmailChannelRequest :: Type -> Type #

NFData EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

Methods

rnf :: EmailChannelRequest -> () #

Hashable EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

ToJSON EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

type Rep EmailChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailChannelRequest

type Rep EmailChannelRequest = D1 ('MetaData "EmailChannelRequest" "Amazonka.Pinpoint.Types.EmailChannelRequest" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "EmailChannelRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "configurationSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "fromAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "identity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newEmailChannelRequest Source #

Create a value of EmailChannelRequest with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:enabled:EmailChannelRequest', emailChannelRequest_enabled - Specifies whether to enable the email channel for the application.

$sel:configurationSet:EmailChannelRequest', emailChannelRequest_configurationSet - The Amazon SES configuration set that you want to apply to messages that you send through the channel.

$sel:roleArn:EmailChannelRequest', emailChannelRequest_roleArn - The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.

$sel:fromAddress:EmailChannelRequest', emailChannelRequest_fromAddress - The verified email address that you want to send email from when you send email through the channel.

$sel:identity:EmailChannelRequest', emailChannelRequest_identity - The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.

emailChannelRequest_enabled :: Lens' EmailChannelRequest (Maybe Bool) Source #

Specifies whether to enable the email channel for the application.

emailChannelRequest_configurationSet :: Lens' EmailChannelRequest (Maybe Text) Source #

The Amazon SES configuration set that you want to apply to messages that you send through the channel.

emailChannelRequest_roleArn :: Lens' EmailChannelRequest (Maybe Text) Source #

The ARN of the AWS Identity and Access Management (IAM) role that you want Amazon Pinpoint to use when it submits email-related event data for the channel.

emailChannelRequest_fromAddress :: Lens' EmailChannelRequest Text Source #

The verified email address that you want to send email from when you send email through the channel.

emailChannelRequest_identity :: Lens' EmailChannelRequest Text Source #

The Amazon Resource Name (ARN) of the identity, verified with Amazon Simple Email Service (Amazon SES), that you want to use when you send email through the channel.