File Coverage

blib/lib/Paws/EC2/SpotInstanceRequest.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::SpotInstanceRequest;
2 1     1   314 use Moose;
  1     1   3  
  1         7  
  1         551  
  1         3  
  1         7  
3             has ActualBlockHourlyPrice => (is => 'ro', isa => 'Str', request_name => 'actualBlockHourlyPrice', traits => ['NameInRequest']);
4             has AvailabilityZoneGroup => (is => 'ro', isa => 'Str', request_name => 'availabilityZoneGroup', traits => ['NameInRequest']);
5             has BlockDurationMinutes => (is => 'ro', isa => 'Int', request_name => 'blockDurationMinutes', traits => ['NameInRequest']);
6             has CreateTime => (is => 'ro', isa => 'Str', request_name => 'createTime', traits => ['NameInRequest']);
7             has Fault => (is => 'ro', isa => 'Paws::EC2::SpotInstanceStateFault', request_name => 'fault', traits => ['NameInRequest']);
8             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
9             has InstanceInterruptionBehavior => (is => 'ro', isa => 'Str', request_name => 'instanceInterruptionBehavior', traits => ['NameInRequest']);
10             has LaunchedAvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'launchedAvailabilityZone', traits => ['NameInRequest']);
11             has LaunchGroup => (is => 'ro', isa => 'Str', request_name => 'launchGroup', traits => ['NameInRequest']);
12             has LaunchSpecification => (is => 'ro', isa => 'Paws::EC2::LaunchSpecification', request_name => 'launchSpecification', traits => ['NameInRequest']);
13             has ProductDescription => (is => 'ro', isa => 'Str', request_name => 'productDescription', traits => ['NameInRequest']);
14             has SpotInstanceRequestId => (is => 'ro', isa => 'Str', request_name => 'spotInstanceRequestId', traits => ['NameInRequest']);
15             has SpotPrice => (is => 'ro', isa => 'Str', request_name => 'spotPrice', traits => ['NameInRequest']);
16             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
17             has Status => (is => 'ro', isa => 'Paws::EC2::SpotInstanceStatus', request_name => 'status', traits => ['NameInRequest']);
18             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
19             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
20             has ValidFrom => (is => 'ro', isa => 'Str', request_name => 'validFrom', traits => ['NameInRequest']);
21             has ValidUntil => (is => 'ro', isa => 'Str', request_name => 'validUntil', traits => ['NameInRequest']);
22             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             If you specified a duration and your Spot instance request was
60             fulfilled, this is the fixed hourly price in effect for the Spot
61             instance while it runs.
62              
63              
64             =head2 AvailabilityZoneGroup => Str
65              
66             The Availability Zone group. If you specify the same Availability Zone
67             group for all Spot instance requests, all Spot instances are launched
68             in the same Availability Zone.
69              
70              
71             =head2 BlockDurationMinutes => Int
72              
73             The duration for the Spot instance, in minutes.
74              
75              
76             =head2 CreateTime => Str
77              
78             The date and time when the Spot instance request was created, in UTC
79             format (for example, I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z).
80              
81              
82             =head2 Fault => L<Paws::EC2::SpotInstanceStateFault>
83              
84             The fault codes for the Spot instance request, if any.
85              
86              
87             =head2 InstanceId => Str
88              
89             The instance ID, if an instance has been launched to fulfill the Spot
90             instance request.
91              
92              
93             =head2 InstanceInterruptionBehavior => Str
94              
95             Indicates whether a Spot instance stops or terminates when it is
96             interrupted.
97              
98              
99             =head2 LaunchedAvailabilityZone => Str
100              
101             The Availability Zone in which the bid is launched.
102              
103              
104             =head2 LaunchGroup => Str
105              
106             The instance launch group. Launch groups are Spot instances that launch
107             together and terminate together.
108              
109              
110             =head2 LaunchSpecification => L<Paws::EC2::LaunchSpecification>
111              
112             Additional information for launching instances.
113              
114              
115             =head2 ProductDescription => Str
116              
117             The product description associated with the Spot instance.
118              
119              
120             =head2 SpotInstanceRequestId => Str
121              
122             The ID of the Spot instance request.
123              
124              
125             =head2 SpotPrice => Str
126              
127             The maximum hourly price (bid) for the Spot instance launched to
128             fulfill the request.
129              
130              
131             =head2 State => Str
132              
133             The state of the Spot instance request. Spot bid status information can
134             help you track your Spot instance requests. For more information, see
135             Spot Bid Status in the I<Amazon Elastic Compute Cloud User Guide>.
136              
137              
138             =head2 Status => L<Paws::EC2::SpotInstanceStatus>
139              
140             The status code and status message describing the Spot instance
141             request.
142              
143              
144             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
145              
146             Any tags assigned to the resource.
147              
148              
149             =head2 Type => Str
150              
151             The Spot instance request type.
152              
153              
154             =head2 ValidFrom => Str
155              
156             The start date of the request, in UTC format (for example,
157             I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). The request becomes active at
158             this date and time.
159              
160              
161             =head2 ValidUntil => Str
162              
163             The end date of the request, in UTC format (for example,
164             I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). If this is a one-time request,
165             it remains active until all instances launch, the request is canceled,
166             or this date is reached. If the request is persistent, it remains
167             active until it is canceled or this date is reached.
168              
169              
170              
171             =head1 SEE ALSO
172              
173             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
174              
175             =head1 BUGS and CONTRIBUTIONS
176              
177             The source code is located here: https://github.com/pplu/aws-sdk-perl
178              
179             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
180              
181             =cut