blib/lib/Paws/EC2/StateReason.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/StartInstancesResult.pm ↑ Summary blib/lib/Paws/EC2/StopInstances.pm »
1 package Paws::EC2::StateReason;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has Code => (is => 'ro', isa => 'Str', request_name => 'code', traits => ['NameInRequest']);
4 1 has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
5 1 1;
6  
7 ### main pod documentation begin ###
8  
9 =head1 NAME
10  
11 Paws::EC2::StateReason
12  
13 =head1 USAGE
14  
15 This class represents one of two things:
16  
17 =head3 Arguments in a call to a service
18  
19 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20 Each attribute should be used as a named argument in the calls that expect this type of object.
21  
22 As an example, if Att1 is expected to be a Paws::EC2::StateReason object:
23  
24 $service_obj->Method(Att1 => { Code => $value, ..., Message => $value });
25  
26 =head3 Results returned from an API call
27  
28 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::StateReason object:
29  
30 $result = $service_obj->Method(...);
31 $result->Att1->Code
32  
33 =head1 DESCRIPTION
34  
35 This class has no description
36  
37 =head1 ATTRIBUTES
38  
39  
40 =head2 Code => Str
41  
42 The reason code for the state change.
43  
44  
45 =head2 Message => Str
46  
47 The message for the state change.
48  
49 =over
50  
51 =item *
52  
53 C<Server.InsufficientInstanceCapacity>: There was insufficient capacity
54 available to satisfy the launch request.
55  
56 =item *
57  
58 C<Server.InternalError>: An internal error caused the instance to
59 terminate during launch.
60  
61 =item *
62  
63 C<Server.ScheduledStop>: The instance was stopped due to a scheduled
64 retirement.
65  
66 =item *
67  
68 C<Server.SpotInstanceShutdown>: The instance was stopped because the
69 number of Spot requests with a maximum price equal to or higher than
70 the Spot price exceeded available capacity or because of an increase in
71 the Spot price.
72  
73 =item *
74  
75 C<Server.SpotInstanceTermination>: The instance was terminated because
76 the number of Spot requests with a maximum price equal to or higher
77 than the Spot price exceeded available capacity or because of an
78 increase in the Spot price.
79  
80 =item *
81  
82 C<Client.InstanceInitiatedShutdown>: The instance was shut down using
83 the C<shutdown -h> command from the instance.
84  
85 =item *
86  
87 C<Client.InstanceTerminated>: The instance was terminated or rebooted
88 during AMI creation.
89  
90 =item *
91  
92 C<Client.InternalError>: A client error caused the instance to
93 terminate during launch.
94  
95 =item *
96  
97 C<Client.InvalidSnapshot.NotFound>: The specified snapshot was not
98 found.
99  
100 =item *
101  
102 C<Client.UserInitiatedHibernate>: Hibernation was initiated on the
103 instance.
104  
105 =item *
106  
107 C<Client.UserInitiatedShutdown>: The instance was shut down using the
108 Amazon EC2 API.
109  
110 =item *
111  
112 C<Client.VolumeLimitExceeded>: The limit on the number of EBS volumes
113 or total storage was exceeded. Decrease usage or request an increase in
114 your account limits.
115  
116 =back
117  
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
« blib/lib/Paws/EC2/StartInstancesResult.pm ↑ Summary blib/lib/Paws/EC2/StopInstances.pm »