blib/lib/Paws/PinpointEmail/CloudWatchDimensionConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::PinpointEmail::CloudWatchDimensionConfiguration;
3 use Moose;
4 has DefaultDimensionValue => (is => 'ro', isa => 'Str', required => 1);
5 has DimensionName => (is => 'ro', isa => 'Str', required => 1);
6 has DimensionValueSource => (is => 'ro', isa => 'Str', required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::PinpointEmail::CloudWatchDimensionConfiguration
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::PinpointEmail::CloudWatchDimensionConfiguration object:
26  
27 $service_obj->Method(Att1 => { DefaultDimensionValue => $value, ..., DimensionValueSource => $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::PinpointEmail::CloudWatchDimensionConfiguration object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->DefaultDimensionValue
35  
36 =head1 DESCRIPTION
37  
38 An object that defines the dimension configuration to use when you send
39 Amazon Pinpoint email events to Amazon CloudWatch.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 B<REQUIRED> DefaultDimensionValue => Str
45  
46 The default value of the dimension that is published to Amazon
47 CloudWatch if you don't provide the value of the dimension when you
48 send an email. This value has to meet the following criteria:
49  
50 =over
51  
52 =item *
53  
54 It can only contain ASCII letters (a-z, A-Z), numbers (0-9),
55 underscores (_), or dashes (-).
56  
57 =item *
58  
59 It can contain no more than 256 characters.
60  
61 =back
62  
63  
64  
65 =head2 B<REQUIRED> DimensionName => Str
66  
67 The name of an Amazon CloudWatch dimension associated with an email
68 sending metric. The name has to meet the following criteria:
69  
70 =over
71  
72 =item *
73  
74 It can only contain ASCII letters (a-z, A-Z), numbers (0-9),
75 underscores (_), or dashes (-).
76  
77 =item *
78  
79 It can contain no more than 256 characters.
80  
81 =back
82  
83  
84  
85 =head2 B<REQUIRED> DimensionValueSource => Str
86  
87 The location where Amazon Pinpoint finds the value of a dimension to
88 publish to Amazon CloudWatch. If you want Amazon Pinpoint to use the
89 message tags that you specify using an X-SES-MESSAGE-TAGS header or a
90 parameter to the SendEmail/SendRawEmail API, choose C<messageTag>. If
91 you want Amazon Pinpoint to use your own email headers, choose
92 C<emailHeader>. If you want Amazon Pinpoint to use link tags, choose
93 C<linkTags>.
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, describing an object used in L<Paws::PinpointEmail>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108