amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.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

AWSRequest UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Associated Types

type AWSResponse UpdateEmailTemplate #

Generic UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Associated Types

type Rep UpdateEmailTemplate :: Type -> Type #

Read UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Show UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

NFData UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Methods

rnf :: UpdateEmailTemplate -> () #

Eq UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Hashable UpdateEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

type AWSResponse 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" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" 'False) (C1 ('MetaCons "UpdateEmailTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EmailTemplateContent)))

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:

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
Generic UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Associated Types

type Rep UpdateEmailTemplateResponse :: Type -> Type #

Read UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Show UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

NFData UpdateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.UpdateEmailTemplate

Eq 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" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" '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