File Coverage

blib/lib/Paws/ElasticBeanstalk/InstanceHealthSummary.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::ElasticBeanstalk::InstanceHealthSummary;
2 1     1   633 use Moose;
  1         3  
  1         12  
3             has Degraded => (is => 'ro', isa => 'Int');
4             has Info => (is => 'ro', isa => 'Int');
5             has NoData => (is => 'ro', isa => 'Int');
6             has Ok => (is => 'ro', isa => 'Int');
7             has Pending => (is => 'ro', isa => 'Int');
8             has Severe => (is => 'ro', isa => 'Int');
9             has Unknown => (is => 'ro', isa => 'Int');
10             has Warning => (is => 'ro', isa => 'Int');
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::ElasticBeanstalk::InstanceHealthSummary
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::ElasticBeanstalk::InstanceHealthSummary object:
29              
30             $service_obj->Method(Att1 => { Degraded => $value, ..., Warning => $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::ElasticBeanstalk::InstanceHealthSummary object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->Degraded
38              
39             =head1 DESCRIPTION
40              
41             Represents summary information about the health of an instance. For
42             more information, see Health Colors and Statuses.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Degraded => Int
48              
49             B<Red.> The health agent is reporting a high number of request failures
50             or other issues for an instance or environment.
51              
52              
53             =head2 Info => Int
54              
55             B<Green.> An operation is in progress on an instance.
56              
57              
58             =head2 NoData => Int
59              
60             B<Grey.> AWS Elastic Beanstalk and the health agent are reporting no
61             data on an instance.
62              
63              
64             =head2 Ok => Int
65              
66             B<Green.> An instance is passing health checks and the health agent is
67             not reporting any problems.
68              
69              
70             =head2 Pending => Int
71              
72             B<Grey.> An operation is in progress on an instance within the command
73             timeout.
74              
75              
76             =head2 Severe => Int
77              
78             B<Red.> The health agent is reporting a very high number of request
79             failures or other issues for an instance or environment.
80              
81              
82             =head2 Unknown => Int
83              
84             B<Grey.> AWS Elastic Beanstalk and the health agent are reporting an
85             insufficient amount of data on an instance.
86              
87              
88             =head2 Warning => Int
89              
90             B<Yellow.> The health agent is reporting a moderate number of request
91             failures or other issues for an instance or environment.
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106