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 EmailTemplateContent = EmailTemplateContent' {}
- newEmailTemplateContent :: EmailTemplateContent
- emailTemplateContent_subject :: Lens' EmailTemplateContent (Maybe Text)
- emailTemplateContent_text :: Lens' EmailTemplateContent (Maybe Text)
- emailTemplateContent_html :: Lens' EmailTemplateContent (Maybe Text)
Documentation
data EmailTemplateContent Source #
The content of the email, composed of a subject line, an HTML part, and a text-only part.
See: newEmailTemplateContent
smart constructor.
Instances
newEmailTemplateContent :: EmailTemplateContent Source #
Create a value of EmailTemplateContent
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:subject:EmailTemplateContent'
, emailTemplateContent_subject
- The subject line of the email.
$sel:text:EmailTemplateContent'
, emailTemplateContent_text
- The email body that will be visible to recipients whose email clients do
not display HTML.
$sel:html:EmailTemplateContent'
, emailTemplateContent_html
- The HTML body of the email.
emailTemplateContent_subject :: Lens' EmailTemplateContent (Maybe Text) Source #
The subject line of the email.
emailTemplateContent_text :: Lens' EmailTemplateContent (Maybe Text) Source #
The email body that will be visible to recipients whose email clients do not display HTML.
emailTemplateContent_html :: Lens' EmailTemplateContent (Maybe Text) Source #
The HTML body of the email.