blib/lib/Paws/ELB/InstanceState.pm untested

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