libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
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.SESV2.Types.EmailTemplateContent

Description

 
Synopsis

Documentation

data EmailTemplateContent Source #

The content of the email, composed of a subject line, an HTML part, and a text-only part.

See: newEmailTemplateContent smart constructor.

Constructors

EmailTemplateContent' 

Fields

Instances

Instances details
Eq EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

Read EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

Show EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

Generic EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

Associated Types

type Rep EmailTemplateContent :: Type -> Type #

NFData EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

Methods

rnf :: EmailTemplateContent -> () #

Hashable EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

ToJSON EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

FromJSON EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

type Rep EmailTemplateContent Source # 
Instance details

Defined in Amazonka.SESV2.Types.EmailTemplateContent

type Rep EmailTemplateContent = D1 ('MetaData "EmailTemplateContent" "Amazonka.SESV2.Types.EmailTemplateContent" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "EmailTemplateContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "html") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEmailTemplateContent :: EmailTemplateContent Source #

Create a value of EmailTemplateContent 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:subject:EmailTemplateContent', emailTemplateContent_subject - The subject line of the email.

$sel:text:EmailTemplateContent', emailTemplateContent_text - The email body that will be visible to recipients whose email clients do not display HTML.

$sel:html:EmailTemplateContent', emailTemplateContent_html - The HTML body of the email.

emailTemplateContent_text :: Lens' EmailTemplateContent (Maybe Text) Source #

The email body that will be visible to recipients whose email clients do not display HTML.