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

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 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::AnomalyDetector;
3 use Moose;
4 has Configuration => (is => 'ro', isa => 'Paws::CloudWatch::AnomalyDetectorConfiguration');
5 has Dimensions => (is => 'ro', isa => 'ArrayRef[Paws::CloudWatch::Dimension]');
6 has MetricName => (is => 'ro', isa => 'Str');
7 has Namespace => (is => 'ro', isa => 'Str');
8 has Stat => (is => 'ro', isa => 'Str');
9 has StateValue => (is => 'ro', isa => 'Str');
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::CloudWatch::AnomalyDetector
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::AnomalyDetector object:
29  
30 $service_obj->Method(Att1 => { Configuration => $value, ..., StateValue => $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::AnomalyDetector object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->Configuration
38  
39 =head1 DESCRIPTION
40  
41 An anomaly detection model associated with a particular CloudWatch
42 metric and statistic. You can use the model to display a band of
43 expected normal values when the metric is graphed.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Configuration => L<Paws::CloudWatch::AnomalyDetectorConfiguration>
49  
50 The configuration specifies details about how the anomaly detection
51 model is to be trained, including time ranges to exclude from use for
52 training the model, and the time zone to use for the metric.
53  
54  
55 =head2 Dimensions => ArrayRef[L<Paws::CloudWatch::Dimension>]
56  
57 The metric dimensions associated with the anomaly detection model.
58  
59  
60 =head2 MetricName => Str
61  
62 The name of the metric associated with the anomaly detection model.
63  
64  
65 =head2 Namespace => Str
66  
67 The namespace of the metric associated with the anomaly detection
68 model.
69  
70  
71 =head2 Stat => Str
72  
73 The statistic associated with the anomaly detection model.
74  
75  
76 =head2 StateValue => Str
77  
78 The current status of the anomaly detector's training. The possible
79 values are C<TRAINED | PENDING_TRAINING | TRAINED_INSUFFICIENT_DATA>
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatch>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94