libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.CreateEmailTemplate

Description

Creates a message template for messages that are sent through the email channel.

Synopsis

Creating a Request

data CreateEmailTemplate Source #

See: newCreateEmailTemplate smart constructor.

Constructors

CreateEmailTemplate' 

Fields

  • templateName :: Text

    The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

  • emailTemplateRequest :: EmailTemplateRequest
     

Instances

Instances details
Eq CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Read CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Show CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Generic CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Associated Types

type Rep CreateEmailTemplate :: Type -> Type #

NFData CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Methods

rnf :: CreateEmailTemplate -> () #

Hashable CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

ToJSON CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

AWSRequest CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Associated Types

type AWSResponse CreateEmailTemplate #

ToHeaders CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

ToPath CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

ToQuery CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

type Rep CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

type Rep CreateEmailTemplate = D1 ('MetaData "CreateEmailTemplate" "Amazonka.Pinpoint.CreateEmailTemplate" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CreateEmailTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "emailTemplateRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EmailTemplateRequest)))
type AWSResponse CreateEmailTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.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 message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

$sel:emailTemplateRequest:CreateEmailTemplate', createEmailTemplate_emailTemplateRequest - Undocumented member.

Request Lenses

createEmailTemplate_templateName :: Lens' CreateEmailTemplate Text Source #

The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.

Destructuring the Response

data CreateEmailTemplateResponse Source #

See: newCreateEmailTemplateResponse smart constructor.

Constructors

CreateEmailTemplateResponse' 

Fields

Instances

Instances details
Eq CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Read CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Show CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Generic CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

Associated Types

type Rep CreateEmailTemplateResponse :: Type -> Type #

NFData CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

type Rep CreateEmailTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateEmailTemplate

type Rep CreateEmailTemplateResponse = D1 ('MetaData "CreateEmailTemplateResponse" "Amazonka.Pinpoint.CreateEmailTemplate" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "CreateEmailTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "createTemplateMessageBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CreateTemplateMessageBody)))

Response Lenses