« blib/lib/Paws/EC2/SpotDatafeedSubscription.pm
↑ Summary
blib/lib/Paws/EC2/SpotInstanceStateFault.pm »
| 1 | package Paws::EC2::SpotInstanceRequest; | ||
| 2 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | has ActualBlockHourlyPrice => (is => 'ro', isa => 'Str', request_name => 'actualBlockHourlyPrice', traits => ['NameInRequest']); | |
| 4 | 1 | has AvailabilityZoneGroup => (is => 'ro', isa => 'Str', request_name => 'availabilityZoneGroup', traits => ['NameInRequest']); | |
| 5 | 1 | has BlockDurationMinutes => (is => 'ro', isa => 'Int', request_name => 'blockDurationMinutes', traits => ['NameInRequest']); | |
| 6 | 1 | has CreateTime => (is => 'ro', isa => 'Str', request_name => 'createTime', traits => ['NameInRequest']); | |
| 7 | 1 | has Fault => (is => 'ro', isa => 'Paws::EC2::SpotInstanceStateFault', request_name => 'fault', traits => ['NameInRequest']); | |
| 8 | 1 | has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']); | |
| 9 | 1 | has InstanceInterruptionBehavior => (is => 'ro', isa => 'Str', request_name => 'instanceInterruptionBehavior', traits => ['NameInRequest']); | |
| 10 | 1 | has LaunchedAvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'launchedAvailabilityZone', traits => ['NameInRequest']); | |
| 11 | 1 | has LaunchGroup => (is => 'ro', isa => 'Str', request_name => 'launchGroup', traits => ['NameInRequest']); | |
| 12 | 1 | has LaunchSpecification => (is => 'ro', isa => 'Paws::EC2::LaunchSpecification', request_name => 'launchSpecification', traits => ['NameInRequest']); | |
| 13 | 1 | has ProductDescription => (is => 'ro', isa => 'Str', request_name => 'productDescription', traits => ['NameInRequest']); | |
| 14 | 1 | has SpotInstanceRequestId => (is => 'ro', isa => 'Str', request_name => 'spotInstanceRequestId', traits => ['NameInRequest']); | |
| 15 | 1 | has SpotPrice => (is => 'ro', isa => 'Str', request_name => 'spotPrice', traits => ['NameInRequest']); | |
| 16 | 1 | has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']); | |
| 17 | 1 | has Status => (is => 'ro', isa => 'Paws::EC2::SpotInstanceStatus', request_name => 'status', traits => ['NameInRequest']); | |
| 18 | 1 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']); | |
| 19 | 1 | has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']); | |
| 20 | 1 | has ValidFrom => (is => 'ro', isa => 'Str', request_name => 'validFrom', traits => ['NameInRequest']); | |
| 21 | 1 | has ValidUntil => (is => 'ro', isa => 'Str', request_name => 'validUntil', traits => ['NameInRequest']); | |
| 22 | 1 | 1; | |
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::EC2::SpotInstanceRequest | ||
| 29 | |||
| 30 | =head1 USAGE | ||
| 31 | |||
| 32 | This class represents one of two things: | ||
| 33 | |||
| 34 | =head3 Arguments in a call to a service | ||
| 35 | |||
| 36 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 37 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 38 | |||
| 39 | As an example, if Att1 is expected to be a Paws::EC2::SpotInstanceRequest object: | ||
| 40 | |||
| 41 | $service_obj->Method(Att1 => { ActualBlockHourlyPrice => $value, ..., ValidUntil => $value }); | ||
| 42 | |||
| 43 | =head3 Results returned from an API call | ||
| 44 | |||
| 45 | Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotInstanceRequest object: | ||
| 46 | |||
| 47 | $result = $service_obj->Method(...); | ||
| 48 | $result->Att1->ActualBlockHourlyPrice | ||
| 49 | |||
| 50 | =head1 DESCRIPTION | ||
| 51 | |||
| 52 | This class has no description | ||
| 53 | |||
| 54 | =head1 ATTRIBUTES | ||
| 55 | |||
| 56 | |||
| 57 | =head2 ActualBlockHourlyPrice => Str | ||
| 58 | |||
| 59 | Deprecated. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 AvailabilityZoneGroup => Str | ||
| 63 | |||
| 64 | The Availability Zone group. If you specify the same Availability Zone | ||
| 65 | group for all Spot Instance requests, all Spot Instances are launched | ||
| 66 | in the same Availability Zone. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 BlockDurationMinutes => Int | ||
| 70 | |||
| 71 | Deprecated. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 CreateTime => Str | ||
| 75 | |||
| 76 | The date and time when the Spot Instance request was created, in UTC | ||
| 77 | format (for example, I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). | ||
| 78 | |||
| 79 | |||
| 80 | =head2 Fault => L<Paws::EC2::SpotInstanceStateFault> | ||
| 81 | |||
| 82 | The fault codes for the Spot Instance request, if any. | ||
| 83 | |||
| 84 | |||
| 85 | =head2 InstanceId => Str | ||
| 86 | |||
| 87 | The instance ID, if an instance has been launched to fulfill the Spot | ||
| 88 | Instance request. | ||
| 89 | |||
| 90 | |||
| 91 | =head2 InstanceInterruptionBehavior => Str | ||
| 92 | |||
| 93 | The behavior when a Spot Instance is interrupted. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 LaunchedAvailabilityZone => Str | ||
| 97 | |||
| 98 | The Availability Zone in which the request is launched. | ||
| 99 | |||
| 100 | |||
| 101 | =head2 LaunchGroup => Str | ||
| 102 | |||
| 103 | The instance launch group. Launch groups are Spot Instances that launch | ||
| 104 | together and terminate together. | ||
| 105 | |||
| 106 | |||
| 107 | =head2 LaunchSpecification => L<Paws::EC2::LaunchSpecification> | ||
| 108 | |||
| 109 | Additional information for launching instances. | ||
| 110 | |||
| 111 | |||
| 112 | =head2 ProductDescription => Str | ||
| 113 | |||
| 114 | The product description associated with the Spot Instance. | ||
| 115 | |||
| 116 | |||
| 117 | =head2 SpotInstanceRequestId => Str | ||
| 118 | |||
| 119 | The ID of the Spot Instance request. | ||
| 120 | |||
| 121 | |||
| 122 | =head2 SpotPrice => Str | ||
| 123 | |||
| 124 | The maximum price per hour that you are willing to pay for a Spot | ||
| 125 | Instance. | ||
| 126 | |||
| 127 | |||
| 128 | =head2 State => Str | ||
| 129 | |||
| 130 | The state of the Spot Instance request. Spot status information helps | ||
| 131 | track your Spot Instance requests. For more information, see Spot | ||
| 132 | status | ||
| 133 | (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-bid-status.html) | ||
| 134 | in the I<Amazon EC2 User Guide for Linux Instances>. | ||
| 135 | |||
| 136 | |||
| 137 | =head2 Status => L<Paws::EC2::SpotInstanceStatus> | ||
| 138 | |||
| 139 | The status code and status message describing the Spot Instance | ||
| 140 | request. | ||
| 141 | |||
| 142 | |||
| 143 | =head2 Tags => ArrayRef[L<Paws::EC2::Tag>] | ||
| 144 | |||
| 145 | Any tags assigned to the resource. | ||
| 146 | |||
| 147 | |||
| 148 | =head2 Type => Str | ||
| 149 | |||
| 150 | The Spot Instance request type. | ||
| 151 | |||
| 152 | |||
| 153 | =head2 ValidFrom => Str | ||
| 154 | |||
| 155 | The start date of the request, in UTC format (for example, | ||
| 156 | I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). The request becomes active at | ||
| 157 | this date and time. | ||
| 158 | |||
| 159 | |||
| 160 | =head2 ValidUntil => Str | ||
| 161 | |||
| 162 | The end date of the request, in UTC format | ||
| 163 | (I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). | ||
| 164 | |||
| 165 | =over | ||
| 166 | |||
| 167 | =item * | ||
| 168 | |||
| 169 | For a persistent request, the request remains active until the | ||
| 170 | C<validUntil> date and time is reached. Otherwise, the request remains | ||
| 171 | active until you cancel it. | ||
| 172 | |||
| 173 | =item * | ||
| 174 | |||
| 175 | For a one-time request, the request remains active until all instances | ||
| 176 | launch, the request is canceled, or the C<validUntil> date and time is | ||
| 177 | reached. By default, the request is valid for 7 days from the date the | ||
| 178 | request was created. | ||
| 179 | |||
| 180 | =back | ||
| 181 | |||
| 182 | |||
| 183 | |||
| 184 | |||
| 185 | =head1 SEE ALSO | ||
| 186 | |||
| 187 | This class forms part of L<Paws>, describing an object used in L<Paws::EC2> | ||
| 188 | |||
| 189 | =head1 BUGS and CONTRIBUTIONS | ||
| 190 | |||
| 191 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 192 | |||
| 193 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 194 | |||
| 195 | =cut | ||