| 1 | package Paws::EC2::EventInformation; | ||
| 2 | use Moose; | ||
| 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 EC2 Fleet or Spot Fleet did not have the | ||
| 57 | required permissions either to launch or terminate an instance. | ||
| 58 | |||
| 59 | =item * | ||
| 60 | |||
| 61 | C<spotFleetRequestConfigurationInvalid> - The configuration is not | ||
| 62 | valid. For more information, see the description of the event. | ||
| 63 | |||
| 64 | =item * | ||
| 65 | |||
| 66 | C<spotInstanceCountLimitExceeded> - You've reached the limit on the | ||
| 67 | number of Spot Instances that you can launch. | ||
| 68 | |||
| 69 | =back | ||
| 70 | |||
| 71 | The following are the C<fleetRequestChange> events: | ||
| 72 | |||
| 73 | =over | ||
| 74 | |||
| 75 | =item * | ||
| 76 | |||
| 77 | C<active> - The EC2 Fleet or Spot Fleet request has been validated and | ||
| 78 | Amazon EC2 is attempting to maintain the target number of running Spot | ||
| 79 | Instances. | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | C<cancelled> - The EC2 Fleet or Spot Fleet request is canceled and has | ||
| 84 | no running Spot Instances. The EC2 Fleet or Spot Fleet will be deleted | ||
| 85 | two days after its instances were terminated. | ||
| 86 | |||
| 87 | =item * | ||
| 88 | |||
| 89 | C<cancelled_running> - The EC2 Fleet or Spot Fleet request is canceled | ||
| 90 | and does not launch additional Spot Instances. Existing Spot Instances | ||
| 91 | continue to run until they are interrupted or terminated. | ||
| 92 | |||
| 93 | =item * | ||
| 94 | |||
| 95 | C<cancelled_terminating> - The EC2 Fleet or Spot Fleet request is | ||
| 96 | canceled and its Spot Instances are terminating. | ||
| 97 | |||
| 98 | =item * | ||
| 99 | |||
| 100 | C<expired> - The EC2 Fleet or Spot Fleet request has expired. A | ||
| 101 | subsequent event indicates that the instances were terminated, if the | ||
| 102 | request was created with C<TerminateInstancesWithExpiration> set. | ||
| 103 | |||
| 104 | =item * | ||
| 105 | |||
| 106 | C<modify_in_progress> - A request to modify the EC2 Fleet or Spot Fleet | ||
| 107 | request was accepted and is in progress. | ||
| 108 | |||
| 109 | =item * | ||
| 110 | |||
| 111 | C<modify_successful> - The EC2 Fleet or Spot Fleet request was | ||
| 112 | modified. | ||
| 113 | |||
| 114 | =item * | ||
| 115 | |||
| 116 | C<price_update> - The price for a launch configuration was adjusted | ||
| 117 | because it was too high. This change is permanent. | ||
| 118 | |||
| 119 | =item * | ||
| 120 | |||
| 121 | C<submitted> - The EC2 Fleet or Spot Fleet request is being evaluated | ||
| 122 | and Amazon EC2 is preparing to launch the target number of Spot | ||
| 123 | Instances. | ||
| 124 | |||
| 125 | =back | ||
| 126 | |||
| 127 | The following are the C<instanceChange> events: | ||
| 128 | |||
| 129 | =over | ||
| 130 | |||
| 131 | =item * | ||
| 132 | |||
| 133 | C<launched> - A request was fulfilled and a new instance was launched. | ||
| 134 | |||
| 135 | =item * | ||
| 136 | |||
| 137 | C<terminated> - An instance was terminated by the user. | ||
| 138 | |||
| 139 | =back | ||
| 140 | |||
| 141 | The following are the C<Information> events: | ||
| 142 | |||
| 143 | =over | ||
| 144 | |||
| 145 | =item * | ||
| 146 | |||
| 147 | C<launchSpecTemporarilyBlacklisted> - The configuration is not valid | ||
| 148 | and several attempts to launch instances have failed. For more | ||
| 149 | information, see the description of the event. | ||
| 150 | |||
| 151 | =item * | ||
| 152 | |||
| 153 | C<launchSpecUnusable> - The price in a launch specification is not | ||
| 154 | valid because it is below the Spot price or the Spot price is above the | ||
| 155 | On-Demand price. | ||
| 156 | |||
| 157 | =item * | ||
| 158 | |||
| 159 | C<fleetProgressHalted> - The price in every launch specification is not | ||
| 160 | valid. A launch specification might become valid if the Spot price | ||
| 161 | changes. | ||
| 162 | |||
| 163 | =back | ||
| 164 | |||
| 165 | |||
| 166 | |||
| 167 | =head2 InstanceId => Str | ||
| 168 | |||
| 169 | The ID of the instance. This information is available only for | ||
| 170 | C<instanceChange> events. | ||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | =head1 SEE ALSO | ||
| 175 | |||
| 176 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 177 | |||
| 178 | =head1 BUGS and CONTRIBUTIONS | ||
| 179 | |||
| 180 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 181 | |||
| 182 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 183 | |||
| 184 | =cut |