blib/lib/Paws/Route53/CloudWatchAlarmConfiguration.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::Route53::CloudWatchAlarmConfiguration;
3 use Moose;
4 has ComparisonOperator => (is => 'ro', isa => 'Str', required => 1);
5 has Dimensions => (is => 'ro', isa => 'ArrayRef[Paws::Route53::Dimension]', request_name => 'Dimension', traits => ['NameInRequest']);
6 has EvaluationPeriods => (is => 'ro', isa => 'Int', required => 1);
7 has MetricName => (is => 'ro', isa => 'Str', required => 1);
8 has Namespace => (is => 'ro', isa => 'Str', required => 1);
9 has Period => (is => 'ro', isa => 'Int', required => 1);
10 has Statistic => (is => 'ro', isa => 'Str', required => 1);
11 has Threshold => (is => 'ro', isa => 'Num', required => 1);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Route53::CloudWatchAlarmConfiguration
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::Route53::CloudWatchAlarmConfiguration object:
31  
32 $service_obj->Method(Att1 => { ComparisonOperator => $value, ..., Threshold => $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::Route53::CloudWatchAlarmConfiguration object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->ComparisonOperator
40  
41 =head1 DESCRIPTION
42  
43 A complex type that contains information about the CloudWatch alarm
44 that Amazon Route 53 is monitoring for this health check.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> ComparisonOperator => Str
50  
51 For the metric that the CloudWatch alarm is associated with, the
52 arithmetic operation that is used for the comparison.
53  
54  
55 =head2 Dimensions => ArrayRef[L<Paws::Route53::Dimension>]
56  
57 For the metric that the CloudWatch alarm is associated with, a complex
58 type that contains information about the dimensions for the metric. For
59 information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics
60 Reference
61 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html)
62 in the I<Amazon CloudWatch User Guide>.
63  
64  
65 =head2 B<REQUIRED> EvaluationPeriods => Int
66  
67 For the metric that the CloudWatch alarm is associated with, the number
68 of periods that the metric is compared to the threshold.
69  
70  
71 =head2 B<REQUIRED> MetricName => Str
72  
73 The name of the CloudWatch metric that the alarm is associated with.
74  
75  
76 =head2 B<REQUIRED> Namespace => Str
77  
78 The namespace of the metric that the alarm is associated with. For more
79 information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics
80 Reference
81 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html)
82 in the I<Amazon CloudWatch User Guide>.
83  
84  
85 =head2 B<REQUIRED> Period => Int
86  
87 For the metric that the CloudWatch alarm is associated with, the
88 duration of one evaluation period in seconds.
89  
90  
91 =head2 B<REQUIRED> Statistic => Str
92  
93 For the metric that the CloudWatch alarm is associated with, the
94 statistic that is applied to the metric.
95  
96  
97 =head2 B<REQUIRED> Threshold => Num
98  
99 For the metric that the CloudWatch alarm is associated with, the value
100 the metric is compared with.
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, describing an object used in L<Paws::Route53>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115