File Coverage

blib/lib/Paws/ELB/InstanceState.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::ELB::InstanceState;
2 1     1   447 use Moose;
  1         4  
  1         8  
3             has Description => (is => 'ro', isa => 'Str');
4             has InstanceId => (is => 'ro', isa => 'Str');
5             has ReasonCode => (is => 'ro', isa => 'Str');
6             has State => (is => 'ro', isa => 'Str');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::ELB::InstanceState
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::ELB::InstanceState object:
25              
26             $service_obj->Method(Att1 => { Description => $value, ..., State => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::ELB::InstanceState object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Description
34              
35             =head1 DESCRIPTION
36              
37             Information about the state of an EC2 instance.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Description => Str
43              
44             A description of the instance state. This string can contain one or
45             more of the following messages.
46              
47             =over
48              
49             =item *
50              
51             C<N/A>
52              
53             =item *
54              
55             C<A transient error occurred. Please try again later.>
56              
57             =item *
58              
59             C<Instance has failed at least the UnhealthyThreshold number of health
60             checks consecutively.>
61              
62             =item *
63              
64             C<Instance has not passed the configured HealthyThreshold number of
65             health checks consecutively.>
66              
67             =item *
68              
69             C<Instance registration is still in progress.>
70              
71             =item *
72              
73             C<Instance is in the EC2 Availability Zone for which LoadBalancer is
74             not configured to route traffic to.>
75              
76             =item *
77              
78             C<Instance is not currently registered with the LoadBalancer.>
79              
80             =item *
81              
82             C<Instance deregistration currently in progress.>
83              
84             =item *
85              
86             C<Disable Availability Zone is currently in progress.>
87              
88             =item *
89              
90             C<Instance is in pending state.>
91              
92             =item *
93              
94             C<Instance is in stopped state.>
95              
96             =item *
97              
98             C<Instance is in terminated state.>
99              
100             =back
101              
102              
103              
104             =head2 InstanceId => Str
105              
106             The ID of the instance.
107              
108              
109             =head2 ReasonCode => Str
110              
111             Information about the cause of C<OutOfService> instances. Specifically,
112             whether the cause is Elastic Load Balancing or the instance.
113              
114             Valid values: C<ELB> | C<Instance> | C<N/A>
115              
116              
117             =head2 State => Str
118              
119             The current state of the instance.
120              
121             Valid values: C<InService> | C<OutOfService> | C<Unknown>
122              
123              
124              
125             =head1 SEE ALSO
126              
127             This class forms part of L<Paws>, describing an object used in L<Paws::ELB>
128              
129             =head1 BUGS and CONTRIBUTIONS
130              
131             The source code is located here: https://github.com/pplu/aws-sdk-perl
132              
133             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
134              
135             =cut
136