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.CreateEmailTemplate

Description

Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.

You can execute this operation no more than once per second.

Synopsis

Creating a Request

data CreateEmailTemplate Source #

Represents a request to create an email template. For more information, see the Amazon SES Developer Guide.

See: newCreateEmailTemplate smart constructor.

Constructors

CreateEmailTemplate' 

Fields

Instances

Instances details
Eq CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Read CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Show CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Generic CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Associated Types

type Rep CreateEmailTemplate :: Type -> Type #

NFData CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Methods

rnf :: CreateEmailTemplate -> () #

Hashable CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

ToJSON CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

AWSRequest CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Associated Types

type AWSResponse CreateEmailTemplate #

ToHeaders CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

ToPath CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

ToQuery CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

type Rep CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

type Rep CreateEmailTemplate = D1 ('MetaData "CreateEmailTemplate" "Amazonka.SESV2.CreateEmailTemplate" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "CreateEmailTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EmailTemplateContent)))
type AWSResponse CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

newCreateEmailTemplate Source #

Create a value of CreateEmailTemplate 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:templateName:CreateEmailTemplate', createEmailTemplate_templateName - The name of the template.

$sel:templateContent:CreateEmailTemplate', createEmailTemplate_templateContent - The content of the email template, composed of a subject line, an HTML part, and a text-only part.

Request Lenses

createEmailTemplate_templateContent :: Lens' CreateEmailTemplate EmailTemplateContent Source #

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

Destructuring the Response

data CreateEmailTemplateResponse Source #

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

See: newCreateEmailTemplateResponse smart constructor.

Constructors

CreateEmailTemplateResponse' 

Fields

Instances

Instances details
Eq CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Read CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Show CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Generic CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

Associated Types

type Rep CreateEmailTemplateResponse :: Type -> Type #

NFData CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

type Rep CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.CreateEmailTemplate

type Rep CreateEmailTemplateResponse = D1 ('MetaData "CreateEmailTemplateResponse" "Amazonka.SESV2.CreateEmailTemplate" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "CreateEmailTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateEmailTemplateResponse Source #

Create a value of CreateEmailTemplateResponse 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:httpStatus:CreateEmailTemplateResponse', createEmailTemplateResponse_httpStatus - The response's http status code.

Response Lenses