File Coverage

blib/lib/Paws/Route53/CloudWatchAlarmConfiguration.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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