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

Description

Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.

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

Synopsis

Creating a Request

data GetEmailTemplate Source #

Represents a request to display the template object (which includes the subject line, HTML part and text part) for the template you specify.

See: newGetEmailTemplate smart constructor.

Constructors

GetEmailTemplate' 

Fields

Instances

Instances details
Eq GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Read GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Show GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Generic GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Associated Types

type Rep GetEmailTemplate :: Type -> Type #

NFData GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Methods

rnf :: GetEmailTemplate -> () #

Hashable GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

AWSRequest GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Associated Types

type AWSResponse GetEmailTemplate #

ToHeaders GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

ToPath GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

ToQuery GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

type Rep GetEmailTemplate Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

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

Defined in Amazonka.SESV2.GetEmailTemplate

newGetEmailTemplate Source #

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

Request Lenses

Destructuring the Response

data GetEmailTemplateResponse Source #

The following element is returned by the service.

See: newGetEmailTemplateResponse smart constructor.

Constructors

GetEmailTemplateResponse' 

Fields

Instances

Instances details
Eq GetEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Read GetEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Show GetEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Generic GetEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

Associated Types

type Rep GetEmailTemplateResponse :: Type -> Type #

NFData GetEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

type Rep GetEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.SESV2.GetEmailTemplate

type Rep GetEmailTemplateResponse = D1 ('MetaData "GetEmailTemplateResponse" "Amazonka.SESV2.GetEmailTemplate" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "GetEmailTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "templateContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EmailTemplateContent))))

newGetEmailTemplateResponse Source #

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

$sel:templateName:GetEmailTemplate', getEmailTemplateResponse_templateName - The name of the template.

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

Response Lenses

getEmailTemplateResponse_templateContent :: Lens' GetEmailTemplateResponse EmailTemplateContent Source #

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