« blib/lib/Paws/SESv2/TagResourceResponse.pm
↑ Summary
blib/lib/Paws/SESv2/TestRenderEmailTemplate.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SESv2::Template; | ||
| 3 | use Moose; | ||
| 4 | has TemplateArn => (is => 'ro', isa => 'Str'); | ||
| 5 | has TemplateData => (is => 'ro', isa => 'Str'); | ||
| 6 | has TemplateName => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::SESv2::Template | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::SESv2::Template object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { TemplateArn => $value, ..., TemplateName => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::SESv2::Template object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->TemplateArn | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | An object that defines the email template to use for an email message, | ||
| 39 | and the values to use for any message variables in that template. An | ||
| 40 | I<email template> is a type of message template that contains content | ||
| 41 | that you want to define, save, and reuse in email messages that you | ||
| 42 | send. | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 TemplateArn => Str | ||
| 48 | |||
| 49 | The Amazon Resource Name (ARN) of the template. | ||
| 50 | |||
| 51 | |||
| 52 | =head2 TemplateData => Str | ||
| 53 | |||
| 54 | An object that defines the values to use for message variables in the | ||
| 55 | template. This object is a set of key-value pairs. Each key defines a | ||
| 56 | message variable in the template. The corresponding value defines the | ||
| 57 | value to use for that variable. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 TemplateName => Str | ||
| 61 | |||
| 62 | The name of the template. You will refer to this name when you send | ||
| 63 | email using the C<SendTemplatedEmail> or C<SendBulkTemplatedEmail> | ||
| 64 | operations. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head1 SEE ALSO | ||
| 69 | |||
| 70 | This class forms part of L<Paws>, describing an object used in L<Paws::SESv2> | ||
| 71 | |||
| 72 | =head1 BUGS and CONTRIBUTIONS | ||
| 73 | |||
| 74 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 75 | |||
| 76 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 77 | |||
| 78 | =cut | ||
| 79 |