File Coverage

blib/lib/Paws/CodeDeploy/AlarmConfiguration.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::CodeDeploy::AlarmConfiguration;
2 1     1   413 use Moose;
  1         3  
  1         6  
3             has Alarms => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::Alarm]', request_name => 'alarms', traits => ['NameInRequest']);
4             has Enabled => (is => 'ro', isa => 'Bool', request_name => 'enabled', traits => ['NameInRequest']);
5             has IgnorePollAlarmFailure => (is => 'ro', isa => 'Bool', request_name => 'ignorePollAlarmFailure', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::CodeDeploy::AlarmConfiguration
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::CodeDeploy::AlarmConfiguration object:
24              
25             $service_obj->Method(Att1 => { Alarms => $value, ..., IgnorePollAlarmFailure => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::AlarmConfiguration object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Alarms
33              
34             =head1 DESCRIPTION
35              
36             Information about alarms associated with the deployment group.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 Alarms => ArrayRef[L<Paws::CodeDeploy::Alarm>]
42              
43             A list of alarms configured for the deployment group. A maximum of 10
44             alarms can be added to a deployment group.
45              
46              
47             =head2 Enabled => Bool
48              
49             Indicates whether the alarm configuration is enabled.
50              
51              
52             =head2 IgnorePollAlarmFailure => Bool
53              
54             Indicates whether a deployment should continue if information about the
55             current state of alarms cannot be retrieved from Amazon CloudWatch. The
56             default value is false.
57              
58             =over
59              
60             =item *
61              
62             true: The deployment will proceed even if alarm status information
63             can't be retrieved from Amazon CloudWatch.
64              
65             =item *
66              
67             false: The deployment will stop if alarm status information can't be
68             retrieved from Amazon CloudWatch.
69              
70             =back
71              
72              
73              
74              
75             =head1 SEE ALSO
76              
77             This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
78              
79             =head1 BUGS and CONTRIBUTIONS
80              
81             The source code is located here: https://github.com/pplu/aws-sdk-perl
82              
83             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
84              
85             =cut
86