blib/lib/Paws/CloudWatch/InsightRuleMetricDatapoint.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudWatch::InsightRuleMetricDatapoint;
3 use Moose;
4 has Average => (is => 'ro', isa => 'Num');
5 has MaxContributorValue => (is => 'ro', isa => 'Num');
6 has Maximum => (is => 'ro', isa => 'Num');
7 has Minimum => (is => 'ro', isa => 'Num');
8 has SampleCount => (is => 'ro', isa => 'Num');
9 has Sum => (is => 'ro', isa => 'Num');
10 has Timestamp => (is => 'ro', isa => 'Str', required => 1);
11 has UniqueContributors => (is => 'ro', isa => 'Num');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CloudWatch::InsightRuleMetricDatapoint
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::CloudWatch::InsightRuleMetricDatapoint object:
31  
32 $service_obj->Method(Att1 => { Average => $value, ..., UniqueContributors => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::InsightRuleMetricDatapoint object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Average
40  
41 =head1 DESCRIPTION
42  
43 One data point from the metric time series returned in a Contributor
44 Insights rule report.
45  
46 For more information, see GetInsightRuleReport
47 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetInsightRuleReport.html).
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 Average => Num
53  
54 The average value from all contributors during the time period
55 represented by that data point.
56  
57 This statistic is returned only if you included it in the C<Metrics>
58 array in your request.
59  
60  
61 =head2 MaxContributorValue => Num
62  
63 The maximum value provided by one contributor during this timestamp.
64 Each timestamp is evaluated separately, so the identity of the max
65 contributor could be different for each timestamp.
66  
67 This statistic is returned only if you included it in the C<Metrics>
68 array in your request.
69  
70  
71 =head2 Maximum => Num
72  
73 The maximum value from a single occurence from a single contributor
74 during the time period represented by that data point.
75  
76 This statistic is returned only if you included it in the C<Metrics>
77 array in your request.
78  
79  
80 =head2 Minimum => Num
81  
82 The minimum value from a single contributor during the time period
83 represented by that data point.
84  
85 This statistic is returned only if you included it in the C<Metrics>
86 array in your request.
87  
88  
89 =head2 SampleCount => Num
90  
91 The number of occurrences that matched the rule during this data point.
92  
93 This statistic is returned only if you included it in the C<Metrics>
94 array in your request.
95  
96  
97 =head2 Sum => Num
98  
99 The sum of the values from all contributors during the time period
100 represented by that data point.
101  
102 This statistic is returned only if you included it in the C<Metrics>
103 array in your request.
104  
105  
106 =head2 B<REQUIRED> Timestamp => Str
107  
108 The timestamp of the data point.
109  
110  
111 =head2 UniqueContributors => Num
112  
113 The number of unique contributors who published data during this
114 timestamp.
115  
116 This statistic is returned only if you included it in the C<Metrics>
117 array in your request.
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatch>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132