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 the body of the email message.
See: newBody
smart constructor.
Body' | |
|
Instances
Eq Body Source # | |
Read Body Source # | |
Show Body Source # | |
Generic Body Source # | |
NFData Body Source # | |
Defined in Amazonka.SESV2.Types.Body | |
Hashable Body Source # | |
Defined in Amazonka.SESV2.Types.Body | |
ToJSON 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" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "Body'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Content)) :*: S1 ('MetaSel ('Just "html") '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: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.
$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.