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