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.EmailMessage

Description

 
Synopsis

Documentation

data EmailMessage Source #

Specifies the default settings and content for a one-time email message that's sent directly to an endpoint.

See: newEmailMessage smart constructor.

Constructors

EmailMessage' 

Fields

Instances

Instances details
Eq EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

Read EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

Show EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

Generic EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

Associated Types

type Rep EmailMessage :: Type -> Type #

NFData EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

Methods

rnf :: EmailMessage -> () #

Hashable EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

ToJSON EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

type Rep EmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.EmailMessage

type Rep EmailMessage = D1 ('MetaData "EmailMessage" "Amazonka.Pinpoint.Types.EmailMessage" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "EmailMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "substitutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text [Text]))) :*: (S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fromAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "rawEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RawEmail)) :*: S1 ('MetaSel ('Just "feedbackForwardingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "simpleEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SimpleEmail)) :*: S1 ('MetaSel ('Just "replyToAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))))

newEmailMessage :: EmailMessage Source #

Create a value of EmailMessage 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:substitutions:EmailMessage', emailMessage_substitutions - The default message variables to use in the email message. You can override the default variables with individual address variables.

$sel:body:EmailMessage', emailMessage_body - The body of the email message.

$sel:fromAddress:EmailMessage', emailMessage_fromAddress - The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.

$sel:rawEmail:EmailMessage', emailMessage_rawEmail - The email message, represented as a raw MIME message.

$sel:feedbackForwardingAddress:EmailMessage', emailMessage_feedbackForwardingAddress - The email address to forward bounces and complaints to, if feedback forwarding is enabled.

$sel:simpleEmail:EmailMessage', emailMessage_simpleEmail - The email message, composed of a subject, a text part, and an HTML part.

$sel:replyToAddresses:EmailMessage', emailMessage_replyToAddresses - The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.

emailMessage_substitutions :: Lens' EmailMessage (Maybe (HashMap Text [Text])) Source #

The default message variables to use in the email message. You can override the default variables with individual address variables.

emailMessage_body :: Lens' EmailMessage (Maybe Text) Source #

The body of the email message.

emailMessage_fromAddress :: Lens' EmailMessage (Maybe Text) Source #

The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.

emailMessage_rawEmail :: Lens' EmailMessage (Maybe RawEmail) Source #

The email message, represented as a raw MIME message.

emailMessage_feedbackForwardingAddress :: Lens' EmailMessage (Maybe Text) Source #

The email address to forward bounces and complaints to, if feedback forwarding is enabled.

emailMessage_simpleEmail :: Lens' EmailMessage (Maybe SimpleEmail) Source #

The email message, composed of a subject, a text part, and an HTML part.

emailMessage_replyToAddresses :: Lens' EmailMessage (Maybe [Text]) Source #

The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.