The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Pinpoint::VoiceTemplateResponse

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::Pinpoint::VoiceTemplateResponse object:

$service_obj->Method(Att1 => { Arn => $value, ..., VoiceId => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::VoiceTemplateResponse object:

$result = $service_obj->Method(...);
$result->Att1->Arn

DESCRIPTION

Provides information about the content and settings for a message template that can be used in messages that are sent through the voice channel.

ATTRIBUTES

Arn => Str

The Amazon Resource Name (ARN) of the message template.

Body => Str

The text of the script that's used in messages that are based on the message template, in plain text format.

REQUIRED CreationDate => Str

The date, in ISO 8601 format, when the message template was created.

DefaultSubstitutions => Str

The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.

LanguageCode => Str

The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide (https://docs.aws.amazon.com/polly/latest/dg/what-is.html).

REQUIRED LastModifiedDate => Str

The date, in ISO 8601 format, when the message template was last modified.

Tags => Paws::Pinpoint::MapOf__string

A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.

TemplateDescription => Str

The custom description of the message template.

REQUIRED TemplateName => Str

The name of the message template.

REQUIRED TemplateType => Str

The type of channel that the message template is designed for. For a voice template, this value is VOICE.

Version => Str

The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.

VoiceId => Str

The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide (https://docs.aws.amazon.com/polly/latest/dg/what-is.html).

SEE ALSO

This class forms part of Paws, describing an object used in Paws::Pinpoint

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues