| 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.Content
Description
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.
Constructors
| Content' | |
Instances
| ToQuery Content Source # | |
Defined in Amazonka.SES.Types.Content Methods toQuery :: Content -> QueryString # | |
| Generic Content Source # | |
| Read Content Source # | |
| Show Content Source # | |
| NFData Content Source # | |
Defined in Amazonka.SES.Types.Content | |
| Eq Content Source # | |
| Hashable Content Source # | |
Defined in Amazonka.SES.Types.Content | |
| type Rep Content Source # | |
Defined in Amazonka.SES.Types.Content type Rep Content = D1 ('MetaData "Content" "Amazonka.SES.Types.Content" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" '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.