blib/lib/Paws/CostExplorer/Anomaly.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CostExplorer::Anomaly;
3 use Moose;
4 has AnomalyEndDate => (is => 'ro', isa => 'Str');
5 has AnomalyId => (is => 'ro', isa => 'Str', required => 1);
6 has AnomalyScore => (is => 'ro', isa => 'Paws::CostExplorer::AnomalyScore', required => 1);
7 has AnomalyStartDate => (is => 'ro', isa => 'Str');
8 has DimensionValue => (is => 'ro', isa => 'Str');
9 has Feedback => (is => 'ro', isa => 'Str');
10 has Impact => (is => 'ro', isa => 'Paws::CostExplorer::Impact', required => 1);
11 has MonitorArn => (is => 'ro', isa => 'Str', required => 1);
12 has RootCauses => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::RootCause]');
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CostExplorer::Anomaly
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::CostExplorer::Anomaly object:
32  
33 $service_obj->Method(Att1 => { AnomalyEndDate => $value, ..., RootCauses => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::Anomaly object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->AnomalyEndDate
41  
42 =head1 DESCRIPTION
43  
44 An unusual cost pattern. This consists of the detailed metadata and the
45 current status of the anomaly object.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 AnomalyEndDate => Str
51  
52 The last day the anomaly is detected.
53  
54  
55 =head2 B<REQUIRED> AnomalyId => Str
56  
57 The unique identifier for the anomaly.
58  
59  
60 =head2 B<REQUIRED> AnomalyScore => L<Paws::CostExplorer::AnomalyScore>
61  
62 The latest and maximum score for the anomaly.
63  
64  
65 =head2 AnomalyStartDate => Str
66  
67 The first day the anomaly is detected.
68  
69  
70 =head2 DimensionValue => Str
71  
72 The dimension for the anomaly. For example, an AWS service in a service
73 monitor.
74  
75  
76 =head2 Feedback => Str
77  
78 The feedback value.
79  
80  
81 =head2 B<REQUIRED> Impact => L<Paws::CostExplorer::Impact>
82  
83 The dollar impact for the anomaly.
84  
85  
86 =head2 B<REQUIRED> MonitorArn => Str
87  
88 The Amazon Resource Name (ARN) for the cost monitor that generated this
89 anomaly.
90  
91  
92 =head2 RootCauses => ArrayRef[L<Paws::CostExplorer::RootCause>]
93  
94 The list of identified root causes for the anomaly.
95  
96  
97  
98 =head1 SEE ALSO
99  
100 This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer>
101  
102 =head1 BUGS and CONTRIBUTIONS
103  
104 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
105  
106 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
107  
108 =cut
109