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

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 CreateTemplate Source #

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

See: newCreateTemplate smart constructor.

Constructors

CreateTemplate' 

Fields

  • template :: Template

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

Instances

Instances details
Eq CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Read CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Show CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Generic CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Associated Types

type Rep CreateTemplate :: Type -> Type #

NFData CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Methods

rnf :: CreateTemplate -> () #

Hashable CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

AWSRequest CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Associated Types

type AWSResponse CreateTemplate #

ToHeaders CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

ToPath CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

ToQuery CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

type Rep CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

type Rep CreateTemplate = D1 ('MetaData "CreateTemplate" "Amazonka.SES.CreateTemplate" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "CreateTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "template") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Template)))
type AWSResponse CreateTemplate Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

newCreateTemplate Source #

Create a value of CreateTemplate 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:template:CreateTemplate', createTemplate_template - The content of the email, composed of a subject line, an HTML part, and a text-only part.

Request Lenses

createTemplate_template :: Lens' CreateTemplate Template Source #

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

Destructuring the Response

data CreateTemplateResponse Source #

See: newCreateTemplateResponse smart constructor.

Constructors

CreateTemplateResponse' 

Fields

Instances

Instances details
Eq CreateTemplateResponse Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Read CreateTemplateResponse Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Show CreateTemplateResponse Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Generic CreateTemplateResponse Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Associated Types

type Rep CreateTemplateResponse :: Type -> Type #

NFData CreateTemplateResponse Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

Methods

rnf :: CreateTemplateResponse -> () #

type Rep CreateTemplateResponse Source # 
Instance details

Defined in Amazonka.SES.CreateTemplate

type Rep CreateTemplateResponse = D1 ('MetaData "CreateTemplateResponse" "Amazonka.SES.CreateTemplate" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "CreateTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateTemplateResponse Source #

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

Response Lenses