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

Description

Updates 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 UpdateEmailTemplate Source #

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

See: newUpdateEmailTemplate smart constructor.

Constructors

UpdateEmailTemplate' 

Fields

Instances

Instances details
Eq UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Read UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Show UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Generic UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Associated Types

type Rep UpdateEmailTemplate :: Type -> Type #

NFData UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Methods

rnf :: UpdateEmailTemplate -> () #

Hashable UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

ToJSON UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

AWSRequest UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Associated Types

type AWSResponse UpdateEmailTemplate #

ToHeaders UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

ToPath UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

ToQuery UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

type Rep UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

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

Defined in Amazonka.SESV2.UpdateEmailTemplate

newUpdateEmailTemplate Source #

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

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

Request Lenses

updateEmailTemplate_templateContent :: Lens' UpdateEmailTemplate 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 UpdateEmailTemplateResponse Source #

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

See: newUpdateEmailTemplateResponse smart constructor.

Constructors

UpdateEmailTemplateResponse' 

Fields

Instances

Instances details
Eq UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Read UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Show UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Generic UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Associated Types

type Rep UpdateEmailTemplateResponse :: Type -> Type #

NFData UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

type Rep UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

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

newUpdateEmailTemplateResponse Source #

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

Response Lenses