| 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.Content
Description
Documentation
An object that represents the content of the email, and optionally a character set specification.
See: newContent smart constructor.
Constructors
| Content' | |
Fields
| |
Instances
| ToJSON Content Source # | |
Defined in Amazonka.SESV2.Types.Content | |
| Generic Content Source # | |
| Read Content Source # | |
| Show Content Source # | |
| NFData Content Source # | |
Defined in Amazonka.SESV2.Types.Content | |
| Eq Content Source # | |
| Hashable Content Source # | |
Defined in Amazonka.SESV2.Types.Content | |
| type Rep Content Source # | |
Defined in Amazonka.SESV2.Types.Content type Rep Content = D1 ('MetaData "Content" "Amazonka.SESV2.Types.Content" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "Content'" 'PrefixI 'True) (S1 ('MetaSel ('Just "charset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Content 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:charset:Content', content_charset - The character set for the content. Because of the constraints of the
SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text
includes characters outside of the ASCII range, you have to specify a
character set. For example, you could specify UTF-8, ISO-8859-1, or
Shift_JIS.
$sel:data':Content', content_data - The content of the message itself.
content_charset :: Lens' Content (Maybe Text) Source #
The character set for the content. Because of the constraints of the
SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text
includes characters outside of the ASCII range, you have to specify a
character set. For example, you could specify UTF-8, ISO-8859-1, or
Shift_JIS.