| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::VoiceTemplateResponse; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str'); | ||
| 5 | has Body => (is => 'ro', isa => 'Str'); | ||
| 6 | has CreationDate => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has DefaultSubstitutions => (is => 'ro', isa => 'Str'); | ||
| 8 | has LanguageCode => (is => 'ro', isa => 'Str'); | ||
| 9 | has LastModifiedDate => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has Tags => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__string', request_name => 'tags', traits => ['NameInRequest']); | ||
| 11 | has TemplateDescription => (is => 'ro', isa => 'Str'); | ||
| 12 | has TemplateName => (is => 'ro', isa => 'Str', required => 1); | ||
| 13 | has TemplateType => (is => 'ro', isa => 'Str', required => 1); | ||
| 14 | has Version => (is => 'ro', isa => 'Str'); | ||
| 15 | has VoiceId => (is => 'ro', isa => 'Str'); | ||
| 16 | |||
| 17 | 1; | ||
| 18 | |||
| 19 | ### main pod documentation begin ### | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Paws::Pinpoint::VoiceTemplateResponse | ||
| 24 | |||
| 25 | =head1 USAGE | ||
| 26 | |||
| 27 | This class represents one of two things: | ||
| 28 | |||
| 29 | =head3 Arguments in a call to a service | ||
| 30 | |||
| 31 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 32 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 33 | |||
| 34 | As an example, if Att1 is expected to be a Paws::Pinpoint::VoiceTemplateResponse object: | ||
| 35 | |||
| 36 | $service_obj->Method(Att1 => { Arn => $value, ..., VoiceId => $value }); | ||
| 37 | |||
| 38 | =head3 Results returned from an API call | ||
| 39 | |||
| 40 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::VoiceTemplateResponse object: | ||
| 41 | |||
| 42 | $result = $service_obj->Method(...); | ||
| 43 | $result->Att1->Arn | ||
| 44 | |||
| 45 | =head1 DESCRIPTION | ||
| 46 | |||
| 47 | Provides information about the content and settings for a message | ||
| 48 | template that can be used in messages that are sent through the voice | ||
| 49 | channel. | ||
| 50 | |||
| 51 | =head1 ATTRIBUTES | ||
| 52 | |||
| 53 | |||
| 54 | =head2 Arn => Str | ||
| 55 | |||
| 56 | The Amazon Resource Name (ARN) of the message template. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Body => Str | ||
| 60 | |||
| 61 | The text of the script that's used in messages that are based on the | ||
| 62 | message template, in plain text format. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 B<REQUIRED> CreationDate => Str | ||
| 66 | |||
| 67 | The date, in ISO 8601 format, when the message template was created. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 DefaultSubstitutions => Str | ||
| 71 | |||
| 72 | The JSON object that specifies the default values that are used for | ||
| 73 | message variables in the message template. This object is a set of | ||
| 74 | key-value pairs. Each key defines a message variable in the template. | ||
| 75 | The corresponding value defines the default value for that variable. | ||
| 76 | |||
| 77 | |||
| 78 | =head2 LanguageCode => Str | ||
| 79 | |||
| 80 | The code for the language that's used when synthesizing the text of the | ||
| 81 | script in messages that are based on the message template. For a list | ||
| 82 | of supported languages and the code for each one, see the Amazon Polly | ||
| 83 | Developer Guide | ||
| 84 | (https://docs.aws.amazon.com/polly/latest/dg/what-is.html). | ||
| 85 | |||
| 86 | |||
| 87 | =head2 B<REQUIRED> LastModifiedDate => Str | ||
| 88 | |||
| 89 | The date, in ISO 8601 format, when the message template was last | ||
| 90 | modified. | ||
| 91 | |||
| 92 | |||
| 93 | =head2 Tags => L<Paws::Pinpoint::MapOf__string> | ||
| 94 | |||
| 95 | A string-to-string map of key-value pairs that identifies the tags that | ||
| 96 | are associated with the message template. Each tag consists of a | ||
| 97 | required tag key and an associated tag value. | ||
| 98 | |||
| 99 | |||
| 100 | =head2 TemplateDescription => Str | ||
| 101 | |||
| 102 | The custom description of the message template. | ||
| 103 | |||
| 104 | |||
| 105 | =head2 B<REQUIRED> TemplateName => Str | ||
| 106 | |||
| 107 | The name of the message template. | ||
| 108 | |||
| 109 | |||
| 110 | =head2 B<REQUIRED> TemplateType => Str | ||
| 111 | |||
| 112 | The type of channel that the message template is designed for. For a | ||
| 113 | voice template, this value is VOICE. | ||
| 114 | |||
| 115 | |||
| 116 | =head2 Version => Str | ||
| 117 | |||
| 118 | The unique identifier, as an integer, for the active version of the | ||
| 119 | message template, or the version of the template that you specified by | ||
| 120 | using the version parameter in your request. | ||
| 121 | |||
| 122 | |||
| 123 | =head2 VoiceId => Str | ||
| 124 | |||
| 125 | The name of the voice that's used when delivering messages that are | ||
| 126 | based on the message template. For a list of supported voices, see the | ||
| 127 | Amazon Polly Developer Guide | ||
| 128 | (https://docs.aws.amazon.com/polly/latest/dg/what-is.html). | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head1 SEE ALSO | ||
| 133 | |||
| 134 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 135 | |||
| 136 | =head1 BUGS and CONTRIBUTIONS | ||
| 137 | |||
| 138 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 139 | |||
| 140 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 141 | |||
| 142 | =cut | ||
| 143 |