amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SESV2.Types.Content

Description

 
Synopsis

Documentation

data Content Source #

An object that represents the content of the email, and optionally a character set specification.

See: newContent smart constructor.

Constructors

Content' 

Fields

  • charset :: Maybe Text

    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.

  • data' :: Text

    The content of the message itself.

Instances

Instances details
ToJSON Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

Generic Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

Associated Types

type Rep Content :: Type -> Type #

Methods

from :: Content -> Rep Content x #

to :: Rep Content x -> Content #

Read Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

Show Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

NFData Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

Methods

rnf :: Content -> () #

Eq Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

Methods

(==) :: Content -> Content -> Bool #

(/=) :: Content -> Content -> Bool #

Hashable Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

Methods

hashWithSalt :: Int -> Content -> Int #

hash :: Content -> Int #

type Rep Content Source # 
Instance details

Defined in Amazonka.SESV2.Types.Content

type Rep Content = D1 ('MetaData "Content" "Amazonka.SESV2.Types.Content" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" '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)))

newContent Source #

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.

content_data :: Lens' Content Text Source #

The content of the message itself.