| 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.SES.Types.Template
Description
Synopsis
- data Template = Template' {}
- newTemplate :: Text -> Template
- template_htmlPart :: Lens' Template (Maybe Text)
- template_subjectPart :: Lens' Template (Maybe Text)
- template_textPart :: Lens' Template (Maybe Text)
- template_templateName :: Lens' Template Text
Documentation
The content of the email, composed of a subject line, an HTML part, and a text-only part.
See: newTemplate smart constructor.
Constructors
| Template' | |
Fields
| |
Instances
Create a value of Template 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:htmlPart:Template', template_htmlPart - The HTML body of the email.
$sel:subjectPart:Template', template_subjectPart - The subject line of the email.
$sel:textPart:Template', template_textPart - The email body that will be visible to recipients whose email clients do
not display HTML.
$sel:templateName:Template', template_templateName - The name of the template. You will refer to this name when you send
email using the SendTemplatedEmail or SendBulkTemplatedEmail
operations.