1
2package Paws::EC2::DescribeSpotInstanceRequests {
3  use Moose;
4  has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
5  has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6  has SpotInstanceRequestIds => (is => 'ro', isa => 'ArrayRef[Str]', traits => ['NameInRequest'], request_name => 'SpotInstanceRequestId' );
7
8  use MooseX::ClassAttribute;
9
10  class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeSpotInstanceRequests');
11  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeSpotInstanceRequestsResult');
12  class_has _result_key => (isa => 'Str', is => 'ro');
13}
141;
15
16### main pod documentation begin ###
17
18=head1 NAME
19
20Paws::EC2::DescribeSpotInstanceRequests - Arguments for method DescribeSpotInstanceRequests on Paws::EC2
21
22=head1 DESCRIPTION
23
24This class represents the parameters used for calling the method DescribeSpotInstanceRequests on the
25Amazon Elastic Compute Cloud service. Use the attributes of this class
26as arguments to method DescribeSpotInstanceRequests.
27
28You shouln't make instances of this class. Each attribute should be used as a named argument in the call to DescribeSpotInstanceRequests.
29
30As an example:
31
32  $service_obj->DescribeSpotInstanceRequests(Att1 => $value1, Att2 => $value2, ...);
33
34Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
35
36=head1 ATTRIBUTES
37
38=head2 DryRun => Bool
39
40
41
42Checks whether you have the required permissions for the action,
43without actually making the request, and provides an error response. If
44you have the required permissions, the error response is
45C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
46
47
48
49
50
51
52
53
54
55
56=head2 Filters => ArrayRef[Paws::EC2::Filter]
57
58
59
60One or more filters.
61
62=over
63
64=item *
65
66C<availability-zone-group> - The Availability Zone group.
67
68=item *
69
70C<create-time> - The time stamp when the Spot Instance request was
71created.
72
73=item *
74
75C<fault-code> - The fault code related to the request.
76
77=item *
78
79C<fault-message> - The fault message related to the request.
80
81=item *
82
83C<instance-id> - The ID of the instance that fulfilled the request.
84
85=item *
86
87C<launch-group> - The Spot Instance launch group.
88
89=item *
90
91C<launch.block-device-mapping.delete-on-termination> - Indicates
92whether the Amazon EBS volume is deleted on instance termination.
93
94=item *
95
96C<launch.block-device-mapping.device-name> - The device name for the
97Amazon EBS volume (for example, C</dev/sdh>).
98
99=item *
100
101C<launch.block-device-mapping.snapshot-id> - The ID of the snapshot
102used for the Amazon EBS volume.
103
104=item *
105
106C<launch.block-device-mapping.volume-size> - The size of the Amazon EBS
107volume, in GiB.
108
109=item *
110
111C<launch.block-device-mapping.volume-type> - The type of the Amazon EBS
112volume (C<gp2> | C<standard> | C<io1>).
113
114=item *
115
116C<launch.group-id> - The security group for the instance.
117
118=item *
119
120C<launch.image-id> - The ID of the AMI.
121
122=item *
123
124C<launch.instance-type> - The type of instance (for example,
125C<m1.small>).
126
127=item *
128
129C<launch.kernel-id> - The kernel ID.
130
131=item *
132
133C<launch.key-name> - The name of the key pair the instance launched
134with.
135
136=item *
137
138C<launch.monitoring-enabled> - Whether monitoring is enabled for the
139Spot Instance.
140
141=item *
142
143C<launch.ramdisk-id> - The RAM disk ID.
144
145=item *
146
147C<network-interface.network-interface-id> - The ID of the network
148interface.
149
150=item *
151
152C<network-interface.device-index> - The index of the device for the
153network interface attachment on the instance.
154
155=item *
156
157C<network-interface.subnet-id> - The ID of the subnet for the instance.
158
159=item *
160
161C<network-interface.description> - A description of the network
162interface.
163
164=item *
165
166C<network-interface.private-ip-address> - The primary private IP
167address of the network interface.
168
169=item *
170
171C<network-interface.delete-on-termination> - Indicates whether the
172network interface is deleted when the instance is terminated.
173
174=item *
175
176C<network-interface.group-id> - The ID of the security group associated
177with the network interface.
178
179=item *
180
181C<network-interface.group-name> - The name of the security group
182associated with the network interface.
183
184=item *
185
186C<network-interface.addresses.primary> - Indicates whether the IP
187address is the primary private IP address.
188
189=item *
190
191C<product-description> - The product description associated with the
192instance (C<Linux/UNIX> | C<Windows>).
193
194=item *
195
196C<spot-instance-request-id> - The Spot Instance request ID.
197
198=item *
199
200C<spot-price> - The maximum hourly price for any Spot Instance launched
201to fulfill the request.
202
203=item *
204
205C<state> - The state of the Spot Instance request (C<open> | C<active>
206| C<closed> | C<cancelled> | C<failed>). Spot bid status information
207can help you track your Amazon EC2 Spot Instance requests. For more
208information, see Spot Bid Status in the Amazon Elastic Compute Cloud
209User Guide.
210
211=item *
212
213C<status-code> - The short code describing the most recent evaluation
214of your Spot Instance request.
215
216=item *
217
218C<status-message> - The message explaining the status of the Spot
219Instance request.
220
221=item *
222
223C<tag>:I<key>=I<value> - The key/value combination of a tag assigned to
224the resource.
225
226=item *
227
228C<tag-key> - The key of a tag assigned to the resource. This filter is
229independent of the C<tag-value> filter. For example, if you use both
230the filter "tag-key=Purpose" and the filter "tag-value=X", you get any
231resources assigned both the tag key Purpose (regardless of what the
232tag's value is), and the tag value X (regardless of what the tag's key
233is). If you want to list only resources where Purpose is X, see the
234C<tag>:I<key>=I<value> filter.
235
236=item *
237
238C<tag-value> - The value of a tag assigned to the resource. This filter
239is independent of the C<tag-key> filter.
240
241=item *
242
243C<type> - The type of Spot Instance request (C<one-time> |
244C<persistent>).
245
246=item *
247
248C<launched-availability-zone> - The Availability Zone in which the bid
249is launched.
250
251=item *
252
253C<valid-from> - The start date of the request.
254
255=item *
256
257C<valid-until> - The end date of the request.
258
259=back
260
261
262
263
264
265
266
267
268
269
270=head2 SpotInstanceRequestIds => ArrayRef[Str]
271
272
273
274One or more Spot Instance request IDs.
275
276
277
278
279
280
281
282
283
284
285
286
287=head1 SEE ALSO
288
289This class forms part of L<Paws>, documenting arguments for method DescribeSpotInstanceRequests in L<Paws::EC2>
290
291=head1 BUGS and CONTRIBUTIONS
292
293The source code is located here: https://github.com/pplu/aws-sdk-perl
294
295Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
296
297=cut
298
299