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

Description

Creates a new message template for messages using the in-app message channel.

Synopsis

Creating a Request

data CreateInAppTemplate Source #

See: newCreateInAppTemplate smart constructor.

Constructors

CreateInAppTemplate' 

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.

  • inAppTemplateRequest :: InAppTemplateRequest
     

Instances

Instances details
Eq CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Read CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Show CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Generic CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Associated Types

type Rep CreateInAppTemplate :: Type -> Type #

NFData CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Methods

rnf :: CreateInAppTemplate -> () #

Hashable CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

ToJSON CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

AWSRequest CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Associated Types

type AWSResponse CreateInAppTemplate #

ToHeaders CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

ToPath CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

ToQuery CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

type Rep CreateInAppTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

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

Defined in Amazonka.Pinpoint.CreateInAppTemplate

newCreateInAppTemplate Source #

Create a value of CreateInAppTemplate 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:CreateInAppTemplate', createInAppTemplate_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:inAppTemplateRequest:CreateInAppTemplate', createInAppTemplate_inAppTemplateRequest - Undocumented member.

Request Lenses

createInAppTemplate_templateName :: Lens' CreateInAppTemplate 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 CreateInAppTemplateResponse Source #

See: newCreateInAppTemplateResponse smart constructor.

Constructors

CreateInAppTemplateResponse' 

Fields

Instances

Instances details
Eq CreateInAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Read CreateInAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Show CreateInAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Generic CreateInAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

Associated Types

type Rep CreateInAppTemplateResponse :: Type -> Type #

NFData CreateInAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

type Rep CreateInAppTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateInAppTemplate

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

Response Lenses