Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CampaignEmailMessage = CampaignEmailMessage' {}
- newCampaignEmailMessage :: CampaignEmailMessage
- campaignEmailMessage_body :: Lens' CampaignEmailMessage (Maybe Text)
- campaignEmailMessage_fromAddress :: Lens' CampaignEmailMessage (Maybe Text)
- campaignEmailMessage_htmlBody :: Lens' CampaignEmailMessage (Maybe Text)
- campaignEmailMessage_title :: Lens' CampaignEmailMessage (Maybe Text)
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.
CampaignEmailMessage' | |
|
Instances
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.