File Coverage

blib/lib/Paws/SES/MessageTag.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::SES::MessageTag;
2 1     1   637 use Moose;
  1         3  
  1         10  
3             has Name => (is => 'ro', isa => 'Str', required => 1);
4             has Value => (is => 'ro', isa => 'Str', required => 1);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::SES::MessageTag
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::SES::MessageTag object:
23              
24             $service_obj->Method(Att1 => { Name => $value, ..., Value => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::SES::MessageTag object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->Name
32              
33             =head1 DESCRIPTION
34              
35             Contains the name and value of a tag that you can provide to
36             C<SendEmail> or C<SendRawEmail> to apply to an email.
37              
38             Message tags, which you use with configuration sets, enable you to
39             publish email sending events. For information about using configuration
40             sets, see the Amazon SES Developer Guide.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 B<REQUIRED> Name => Str
46              
47             The name of the tag. The name must:
48              
49             =over
50              
51             =item *
52              
53             Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
54             or dashes (-).
55              
56             =item *
57              
58             Contain less than 256 characters.
59              
60             =back
61              
62              
63              
64             =head2 B<REQUIRED> Value => Str
65              
66             The value of the tag. The value must:
67              
68             =over
69              
70             =item *
71              
72             Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_),
73             or dashes (-).
74              
75             =item *
76              
77             Contain less than 256 characters.
78              
79             =back
80              
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, describing an object used in L<Paws::SES>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95