« blib/lib/Paws/Pinpoint/TagsModel.pm
↑ Summary
blib/lib/Paws/Pinpoint/TemplateActiveVersionRequest.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::Template; | ||
| 3 | use Moose; | ||
| 4 | has Name => (is => 'ro', isa => 'Str'); | ||
| 5 | has Version => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Pinpoint::Template | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Pinpoint::Template object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Name => $value, ..., Version => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::Template object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Name | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Specifies the name and version of the message template to use for the | ||
| 38 | message. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 Name => Str | ||
| 44 | |||
| 45 | The name of the message template to use for the message. If specified, | ||
| 46 | this value must match the name of an existing message template. | ||
| 47 | |||
| 48 | |||
| 49 | =head2 Version => Str | ||
| 50 | |||
| 51 | The unique identifier for the version of the message template to use | ||
| 52 | for the message. If specified, this value must match the identifier for | ||
| 53 | an existing template version. To retrieve a list of versions and | ||
| 54 | version identifiers for a template, use the | ||
| 55 | |||
| 56 | Template Versions resource. | ||
| 57 | |||
| 58 | If you don't specify a value for this property, Amazon Pinpoint uses | ||
| 59 | the I<active version> of the template. The I<active version> is | ||
| 60 | typically the version of a template that's been most recently reviewed | ||
| 61 | and approved for use, depending on your workflow. It isn't necessarily | ||
| 62 | the latest version of a template. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |