libZSservicesZSamazonka-sesZSamazonka-ses
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SES.Types.Content

Description

 
Synopsis

Documentation

data Content Source #

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' 

Fields

Instances

Instances details
Eq Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

Methods

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

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

Read Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

Show Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

Generic Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

Associated Types

type Rep Content :: Type -> Type #

Methods

from :: Content -> Rep Content x #

to :: Rep Content x -> Content #

NFData Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

Methods

rnf :: Content -> () #

Hashable Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

Methods

hashWithSalt :: Int -> Content -> Int #

hash :: Content -> Int #

ToQuery Content Source # 
Instance details

Defined in Amazonka.SES.Types.Content

type Rep Content Source # 
Instance details

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)))

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 of the content.

$sel:data':Content', content_data - The textual data of the content.

content_charset :: Lens' Content (Maybe Text) Source #

The character set of the content.

content_data :: Lens' Content Text Source #

The textual data of the content.