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

Description

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

Synopsis

Creating a Request

data CreateVoiceTemplate Source #

See: newCreateVoiceTemplate smart constructor.

Constructors

CreateVoiceTemplate' 

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.

  • voiceTemplateRequest :: VoiceTemplateRequest
     

Instances

Instances details
Eq CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Read CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Show CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Generic CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Associated Types

type Rep CreateVoiceTemplate :: Type -> Type #

NFData CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Methods

rnf :: CreateVoiceTemplate -> () #

Hashable CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

ToJSON CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

AWSRequest CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Associated Types

type AWSResponse CreateVoiceTemplate #

ToHeaders CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

ToPath CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

ToQuery CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

type Rep CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

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

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

newCreateVoiceTemplate Source #

Create a value of CreateVoiceTemplate 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:CreateVoiceTemplate', createVoiceTemplate_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:voiceTemplateRequest:CreateVoiceTemplate', createVoiceTemplate_voiceTemplateRequest - Undocumented member.

Request Lenses

createVoiceTemplate_templateName :: Lens' CreateVoiceTemplate 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 CreateVoiceTemplateResponse Source #

See: newCreateVoiceTemplateResponse smart constructor.

Constructors

CreateVoiceTemplateResponse' 

Fields

Instances

Instances details
Eq CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Read CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Show CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Generic CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Associated Types

type Rep CreateVoiceTemplateResponse :: Type -> Type #

NFData CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

type Rep CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

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

Response Lenses