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

Description

Creates a message template for messages that are sent through a push notification channel.

Synopsis

Creating a Request

data CreatePushTemplate Source #

See: newCreatePushTemplate smart constructor.

Constructors

CreatePushTemplate' 

Fields

Instances

Instances details
Eq CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Read CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Show CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Generic CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Associated Types

type Rep CreatePushTemplate :: Type -> Type #

NFData CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Methods

rnf :: CreatePushTemplate -> () #

Hashable CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

ToJSON CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

AWSRequest CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Associated Types

type AWSResponse CreatePushTemplate #

ToHeaders CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

ToPath CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

ToQuery CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

type Rep CreatePushTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

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

Defined in Amazonka.Pinpoint.CreatePushTemplate

newCreatePushTemplate Source #

Create a value of CreatePushTemplate 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:CreatePushTemplate', createPushTemplate_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:pushNotificationTemplateRequest:CreatePushTemplate', createPushTemplate_pushNotificationTemplateRequest - Undocumented member.

Request Lenses

createPushTemplate_templateName :: Lens' CreatePushTemplate 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 CreatePushTemplateResponse Source #

See: newCreatePushTemplateResponse smart constructor.

Constructors

CreatePushTemplateResponse' 

Fields

Instances

Instances details
Eq CreatePushTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Read CreatePushTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Show CreatePushTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Generic CreatePushTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

Associated Types

type Rep CreatePushTemplateResponse :: Type -> Type #

NFData CreatePushTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

type Rep CreatePushTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreatePushTemplate

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

newCreatePushTemplateResponse Source #

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

$sel:createTemplateMessageBody:CreatePushTemplateResponse', createPushTemplateResponse_createTemplateMessageBody - Undocumented member.

Response Lenses