| 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.Body
Description
Documentation
Represents the body of the email message.
See: newBody smart constructor.
Constructors
| Body' | |
Fields
| |
Instances
| ToJSON Body Source # | |
Defined in Amazonka.SESV2.Types.Body | |
| Generic Body Source # | |
| Read Body Source # | |
| Show Body Source # | |
| NFData Body Source # | |
Defined in Amazonka.SESV2.Types.Body | |
| Eq Body Source # | |
| Hashable Body Source # | |
Defined in Amazonka.SESV2.Types.Body | |
| type Rep Body Source # | |
Defined in Amazonka.SESV2.Types.Body type Rep Body = D1 ('MetaData "Body" "Amazonka.SESV2.Types.Body" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "Body'" 'PrefixI 'True) (S1 ('MetaSel ('Just "html") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Content)) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Content)))) | |
Create a value of Body 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:html:Body', body_html - An object that represents the version of the message that is displayed
in email clients that support HTML. HTML messages can include formatted
text, hyperlinks, images, and more.
$sel:text:Body', body_text - An object that represents the version of the message that is displayed
in email clients that don't support HTML, or clients where the
recipient has disabled HTML rendering.