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

Description

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

Synopsis

Creating a Request

data CreateSmsTemplate Source #

See: newCreateSmsTemplate smart constructor.

Constructors

CreateSmsTemplate' 

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.

  • sMSTemplateRequest :: SMSTemplateRequest
     

Instances

Instances details
Eq CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Read CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Show CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Generic CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Associated Types

type Rep CreateSmsTemplate :: Type -> Type #

NFData CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Methods

rnf :: CreateSmsTemplate -> () #

Hashable CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

ToJSON CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

AWSRequest CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Associated Types

type AWSResponse CreateSmsTemplate #

ToHeaders CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

ToPath CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

ToQuery CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

type Rep CreateSmsTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

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

Defined in Amazonka.Pinpoint.CreateSmsTemplate

newCreateSmsTemplate Source #

Create a value of CreateSmsTemplate 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:CreateSmsTemplate', createSmsTemplate_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:sMSTemplateRequest:CreateSmsTemplate', createSmsTemplate_sMSTemplateRequest - Undocumented member.

Request Lenses

createSmsTemplate_templateName :: Lens' CreateSmsTemplate 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 CreateSmsTemplateResponse Source #

See: newCreateSmsTemplateResponse smart constructor.

Constructors

CreateSmsTemplateResponse' 

Fields

Instances

Instances details
Eq CreateSmsTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Read CreateSmsTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Show CreateSmsTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Generic CreateSmsTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

Associated Types

type Rep CreateSmsTemplateResponse :: Type -> Type #

NFData CreateSmsTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

type Rep CreateSmsTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateSmsTemplate

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

newCreateSmsTemplateResponse Source #

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

$sel:createTemplateMessageBody:CreateSmsTemplateResponse', createSmsTemplateResponse_createTemplateMessageBody - Undocumented member.

Response Lenses