File Coverage

blib/lib/Paws/CloudWatch/Datapoint.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudWatch::Datapoint;
2 1     1   529 use Moose;
  1     1   2  
  1         8  
  1         470  
  1         3  
  1         5  
3             has Average => (is => 'ro', isa => 'Num');
4             has ExtendedStatistics => (is => 'ro', isa => 'Paws::CloudWatch::DatapointValueMap');
5             has Maximum => (is => 'ro', isa => 'Num');
6             has Minimum => (is => 'ro', isa => 'Num');
7             has SampleCount => (is => 'ro', isa => 'Num');
8             has Sum => (is => 'ro', isa => 'Num');
9             has Timestamp => (is => 'ro', isa => 'Str');
10             has Unit => (is => 'ro', isa => 'Str');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::CloudWatch::Datapoint
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::CloudWatch::Datapoint object:
29              
30             $service_obj->Method(Att1 => { Average => $value, ..., Unit => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatch::Datapoint object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->Average
38              
39             =head1 DESCRIPTION
40              
41             Encapsulates the statistical data that CloudWatch computes from metric
42             data.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Average => Num
48              
49             The average of the metric values that correspond to the data point.
50              
51              
52             =head2 ExtendedStatistics => L<Paws::CloudWatch::DatapointValueMap>
53              
54             The percentile statistic for the data point.
55              
56              
57             =head2 Maximum => Num
58              
59             The maximum metric value for the data point.
60              
61              
62             =head2 Minimum => Num
63              
64             The minimum metric value for the data point.
65              
66              
67             =head2 SampleCount => Num
68              
69             The number of metric values that contributed to the aggregate value of
70             this data point.
71              
72              
73             =head2 Sum => Num
74              
75             The sum of the metric values for the data point.
76              
77              
78             =head2 Timestamp => Str
79              
80             The time stamp used for the data point.
81              
82              
83             =head2 Unit => Str
84              
85             The standard unit for the data point.
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatch>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100