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 |
Documentation
An object that represents the content of the email, and optionally a character set specification.
See: newContent
smart constructor.
Content' | |
|
Instances
Eq Content Source # | |
Read Content Source # | |
Show Content Source # | |
Generic Content Source # | |
NFData Content Source # | |
Defined in Amazonka.SESV2.Types.Content | |
Hashable Content Source # | |
Defined in Amazonka.SESV2.Types.Content | |
ToJSON 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" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" '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
.