amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.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

AWSRequest CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Associated Types

type AWSResponse CreateVoiceTemplate #

Generic CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Associated Types

type Rep CreateVoiceTemplate :: Type -> Type #

Read CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Show CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

NFData CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Methods

rnf :: CreateVoiceTemplate -> () #

Eq CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Hashable CreateVoiceTemplate Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

type AWSResponse 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "CreateVoiceTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "templateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "voiceTemplateRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VoiceTemplateRequest)))

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:

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
Generic CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Associated Types

type Rep CreateVoiceTemplateResponse :: Type -> Type #

Read CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Show CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

NFData CreateVoiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.CreateVoiceTemplate

Eq 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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