| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SESV2.Types.EmailTemplateContent
Description
Synopsis
- data EmailTemplateContent = EmailTemplateContent' {}
- newEmailTemplateContent :: EmailTemplateContent
- emailTemplateContent_html :: Lens' EmailTemplateContent (Maybe Text)
- emailTemplateContent_subject :: Lens' EmailTemplateContent (Maybe Text)
- emailTemplateContent_text :: 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.
Constructors
| EmailTemplateContent' | |
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:html:EmailTemplateContent', emailTemplateContent_html - The HTML body of the email.
$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.
emailTemplateContent_html :: Lens' EmailTemplateContent (Maybe Text) Source #
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.