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

Description

 
Synopsis

Documentation

data CampaignEmailMessage Source #

Specifies the content and "From" address for an email message that's sent to recipients of a campaign.

See: newCampaignEmailMessage smart constructor.

Constructors

CampaignEmailMessage' 

Fields

  • body :: Maybe Text

    The body of the email for recipients whose email clients don't render HTML content.

  • fromAddress :: Maybe Text

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

  • htmlBody :: Maybe Text

    The body of the email, in HTML format, for recipients whose email clients render HTML content.

  • title :: Maybe Text

    The subject line, or title, of the email.

Instances

Instances details
Eq CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

Read CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

Show CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

Generic CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

Associated Types

type Rep CampaignEmailMessage :: Type -> Type #

NFData CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

Methods

rnf :: CampaignEmailMessage -> () #

Hashable CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

ToJSON CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

FromJSON CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

type Rep CampaignEmailMessage Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.CampaignEmailMessage

type Rep CampaignEmailMessage = D1 ('MetaData "CampaignEmailMessage" "Amazonka.Pinpoint.Types.CampaignEmailMessage" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CampaignEmailMessage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fromAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "htmlBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCampaignEmailMessage :: CampaignEmailMessage Source #

Create a value of CampaignEmailMessage 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:body:CampaignEmailMessage', campaignEmailMessage_body - The body of the email for recipients whose email clients don't render HTML content.

$sel:fromAddress:CampaignEmailMessage', campaignEmailMessage_fromAddress - The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.

$sel:htmlBody:CampaignEmailMessage', campaignEmailMessage_htmlBody - The body of the email, in HTML format, for recipients whose email clients render HTML content.

$sel:title:CampaignEmailMessage', campaignEmailMessage_title - The subject line, or title, of the email.

campaignEmailMessage_body :: Lens' CampaignEmailMessage (Maybe Text) Source #

The body of the email for recipients whose email clients don't render HTML content.

campaignEmailMessage_fromAddress :: Lens' CampaignEmailMessage (Maybe Text) Source #

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

campaignEmailMessage_htmlBody :: Lens' CampaignEmailMessage (Maybe Text) Source #

The body of the email, in HTML format, for recipients whose email clients render HTML content.

campaignEmailMessage_title :: Lens' CampaignEmailMessage (Maybe Text) Source #

The subject line, or title, of the email.