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
Represents textual data, plus an optional character set specification.
By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.
See: newContent
smart constructor.
Instances
Eq Content Source # | |
Read Content Source # | |
Show Content Source # | |
Generic Content Source # | |
NFData Content Source # | |
Defined in Amazonka.SES.Types.Content | |
Hashable Content Source # | |
Defined in Amazonka.SES.Types.Content | |
ToQuery Content Source # | |
Defined in Amazonka.SES.Types.Content toQuery :: Content -> QueryString # | |
type Rep Content Source # | |
Defined in Amazonka.SES.Types.Content type Rep Content = D1 ('MetaData "Content" "Amazonka.SES.Types.Content" "libZSservicesZSamazonka-sesZSamazonka-ses" '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 of the content.
$sel:data':Content'
, content_data
- The textual data of the content.