File Coverage

blib/lib/Paws/EC2/EventInformation.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::EC2::EventInformation;
2 1     1   280 use Moose;
  1         2  
  1         6  
3             has EventDescription => (is => 'ro', isa => 'Str', request_name => 'eventDescription', traits => ['NameInRequest']);
4             has EventSubType => (is => 'ro', isa => 'Str', request_name => 'eventSubType', traits => ['NameInRequest']);
5             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::EC2::EventInformation
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::EC2::EventInformation object:
24              
25             $service_obj->Method(Att1 => { EventDescription => $value, ..., InstanceId => $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::EC2::EventInformation object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->EventDescription
33              
34             =head1 DESCRIPTION
35              
36             This class has no description
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 EventDescription => Str
42              
43             The description of the event.
44              
45              
46             =head2 EventSubType => Str
47              
48             The event.
49              
50             The following are the C<error> events.
51              
52             =over
53              
54             =item *
55              
56             C<iamFleetRoleInvalid> - The Spot fleet did not have the required
57             permissions either to launch or terminate an instance.
58              
59             =item *
60              
61             C<launchSpecTemporarilyBlacklisted> - The configuration is not valid
62             and several attempts to launch instances have failed. For more
63             information, see the description of the event.
64              
65             =item *
66              
67             C<spotFleetRequestConfigurationInvalid> - The configuration is not
68             valid. For more information, see the description of the event.
69              
70             =item *
71              
72             C<spotInstanceCountLimitExceeded> - You've reached the limit on the
73             number of Spot instances that you can launch.
74              
75             =back
76              
77             The following are the C<fleetRequestChange> events.
78              
79             =over
80              
81             =item *
82              
83             C<active> - The Spot fleet has been validated and Amazon EC2 is
84             attempting to maintain the target number of running Spot instances.
85              
86             =item *
87              
88             C<cancelled> - The Spot fleet is canceled and has no running Spot
89             instances. The Spot fleet will be deleted two days after its instances
90             were terminated.
91              
92             =item *
93              
94             C<cancelled_running> - The Spot fleet is canceled and will not launch
95             additional Spot instances, but its existing Spot instances continue to
96             run until they are interrupted or terminated.
97              
98             =item *
99              
100             C<cancelled_terminating> - The Spot fleet is canceled and its Spot
101             instances are terminating.
102              
103             =item *
104              
105             C<expired> - The Spot fleet request has expired. A subsequent event
106             indicates that the instances were terminated, if the request was
107             created with C<TerminateInstancesWithExpiration> set.
108              
109             =item *
110              
111             C<modify_in_progress> - A request to modify the Spot fleet request was
112             accepted and is in progress.
113              
114             =item *
115              
116             C<modify_successful> - The Spot fleet request was modified.
117              
118             =item *
119              
120             C<price_update> - The bid price for a launch configuration was adjusted
121             because it was too high. This change is permanent.
122              
123             =item *
124              
125             C<submitted> - The Spot fleet request is being evaluated and Amazon EC2
126             is preparing to launch the target number of Spot instances.
127              
128             =back
129              
130             The following are the C<instanceChange> events.
131              
132             =over
133              
134             =item *
135              
136             C<launched> - A bid was fulfilled and a new instance was launched.
137              
138             =item *
139              
140             C<terminated> - An instance was terminated by the user.
141              
142             =back
143              
144              
145              
146             =head2 InstanceId => Str
147              
148             The ID of the instance. This information is available only for
149             C<instanceChange> events.
150              
151              
152              
153             =head1 SEE ALSO
154              
155             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
156              
157             =head1 BUGS and CONTRIBUTIONS
158              
159             The source code is located here: https://github.com/pplu/aws-sdk-perl
160              
161             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
162              
163             =cut