| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::EC2::DescribeImages; |
|
3
|
1
|
|
|
1
|
|
335
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
|
|
has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' ); |
|
5
|
|
|
|
|
|
|
has ExecutableUsers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ExecutableBy' ); |
|
6
|
|
|
|
|
|
|
has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' ); |
|
7
|
|
|
|
|
|
|
has ImageIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'ImageId' ); |
|
8
|
|
|
|
|
|
|
has Owners => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'Owner' ); |
|
9
|
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
5416
|
use MooseX::ClassAttribute; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeImages'); |
|
13
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeImagesResult'); |
|
14
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
|
15
|
|
|
|
|
|
|
1; |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Paws::EC2::DescribeImages - Arguments for method DescribeImages on Paws::EC2 |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This class represents the parameters used for calling the method DescribeImages on the |
|
26
|
|
|
|
|
|
|
Amazon Elastic Compute Cloud service. Use the attributes of this class |
|
27
|
|
|
|
|
|
|
as arguments to method DescribeImages. |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeImages. |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
As an example: |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
$service_obj->DescribeImages(Att1 => $value1, Att2 => $value2, ...); |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
Values 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. |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head2 DryRun => Bool |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Checks whether you have the required permissions for the action, |
|
43
|
|
|
|
|
|
|
without actually making the request, and provides an error response. If |
|
44
|
|
|
|
|
|
|
you have the required permissions, the error response is |
|
45
|
|
|
|
|
|
|
C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>. |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 ExecutableUsers => ArrayRef[Str|Undef] |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
Scopes the images by users with explicit launch permissions. Specify an |
|
52
|
|
|
|
|
|
|
AWS account ID, C<self> (the sender of the request), or C<all> (public |
|
53
|
|
|
|
|
|
|
AMIs). |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 Filters => ArrayRef[L<Paws::EC2::Filter>] |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
One or more filters. |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
C<architecture> - The image architecture (C<i386> | C<x86_64>). |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
C<block-device-mapping.delete-on-termination> - A Boolean value that |
|
70
|
|
|
|
|
|
|
indicates whether the Amazon EBS volume is deleted on instance |
|
71
|
|
|
|
|
|
|
termination. |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
C<block-device-mapping.device-name> - The device name for the EBS |
|
76
|
|
|
|
|
|
|
volume (for example, C</dev/sdh>). |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=item * |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
C<block-device-mapping.snapshot-id> - The ID of the snapshot used for |
|
81
|
|
|
|
|
|
|
the EBS volume. |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
C<block-device-mapping.volume-size> - The volume size of the EBS |
|
86
|
|
|
|
|
|
|
volume, in GiB. |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=item * |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
C<block-device-mapping.volume-type> - The volume type of the EBS volume |
|
91
|
|
|
|
|
|
|
(C<gp2> | C<io1> | C<st1 >| C<sc1> | C<standard>). |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=item * |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
C<description> - The description of the image (provided during image |
|
96
|
|
|
|
|
|
|
creation). |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=item * |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
C<ena-support> - A Boolean that indicates whether enhanced networking |
|
101
|
|
|
|
|
|
|
with ENA is enabled. |
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=item * |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
C<hypervisor> - The hypervisor type (C<ovm> | C<xen>). |
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=item * |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
C<image-id> - The ID of the image. |
|
110
|
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
=item * |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
C<image-type> - The image type (C<machine> | C<kernel> | C<ramdisk>). |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
=item * |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
C<is-public> - A Boolean that indicates whether the image is public. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=item * |
|
120
|
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
C<kernel-id> - The kernel ID. |
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=item * |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
C<manifest-location> - The location of the image manifest. |
|
126
|
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=item * |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
C<name> - The name of the AMI (provided during image creation). |
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=item * |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
C<owner-alias> - String value from an Amazon-maintained list (C<amazon> |
|
134
|
|
|
|
|
|
|
| C<aws-marketplace> | C<microsoft>) of snapshot owners. Not to be |
|
135
|
|
|
|
|
|
|
confused with the user-configured AWS account alias, which is set from |
|
136
|
|
|
|
|
|
|
the IAM console. |
|
137
|
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
=item * |
|
139
|
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
C<owner-id> - The AWS account ID of the image owner. |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
=item * |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
C<platform> - The platform. To only list Windows-based AMIs, use |
|
145
|
|
|
|
|
|
|
C<windows>. |
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
=item * |
|
148
|
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
C<product-code> - The product code. |
|
150
|
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
=item * |
|
152
|
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
C<product-code.type> - The type of the product code (C<devpay> | |
|
154
|
|
|
|
|
|
|
C<marketplace>). |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=item * |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
C<ramdisk-id> - The RAM disk ID. |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=item * |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
C<root-device-name> - The name of the root device volume (for example, |
|
163
|
|
|
|
|
|
|
C</dev/sda1>). |
|
164
|
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
=item * |
|
166
|
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
C<root-device-type> - The type of the root device volume (C<ebs> | |
|
168
|
|
|
|
|
|
|
C<instance-store>). |
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=item * |
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
C<state> - The state of the image (C<available> | C<pending> | |
|
173
|
|
|
|
|
|
|
C<failed>). |
|
174
|
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
=item * |
|
176
|
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
C<state-reason-code> - The reason code for the state change. |
|
178
|
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
=item * |
|
180
|
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
C<state-reason-message> - The message for the state change. |
|
182
|
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
=item * |
|
184
|
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
C<tag>:I<key>=I<value> - The key/value combination of a tag assigned to |
|
186
|
|
|
|
|
|
|
the resource. Specify the key of the tag in the filter name and the |
|
187
|
|
|
|
|
|
|
value of the tag in the filter value. For example, for the tag |
|
188
|
|
|
|
|
|
|
Purpose=X, specify C<tag:Purpose> for the filter name and C<X> for the |
|
189
|
|
|
|
|
|
|
filter value. |
|
190
|
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
=item * |
|
192
|
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
C<tag-key> - The key of a tag assigned to the resource. This filter is |
|
194
|
|
|
|
|
|
|
independent of the tag-value filter. For example, if you use both the |
|
195
|
|
|
|
|
|
|
filter "tag-key=Purpose" and the filter "tag-value=X", you get any |
|
196
|
|
|
|
|
|
|
resources assigned both the tag key Purpose (regardless of what the |
|
197
|
|
|
|
|
|
|
tag's value is), and the tag value X (regardless of what the tag's key |
|
198
|
|
|
|
|
|
|
is). If you want to list only resources where Purpose is X, see the |
|
199
|
|
|
|
|
|
|
C<tag>:I<key>=I<value> filter. |
|
200
|
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
=item * |
|
202
|
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
C<tag-value> - The value of a tag assigned to the resource. This filter |
|
204
|
|
|
|
|
|
|
is independent of the C<tag-key> filter. |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
=item * |
|
207
|
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
C<virtualization-type> - The virtualization type (C<paravirtual> | |
|
209
|
|
|
|
|
|
|
C<hvm>). |
|
210
|
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
=back |
|
212
|
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
=head2 ImageIds => ArrayRef[Str|Undef] |
|
217
|
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
One or more image IDs. |
|
219
|
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
Default: Describes all images available to you. |
|
221
|
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
|
|
223
|
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
=head2 Owners => ArrayRef[Str|Undef] |
|
225
|
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
Filters the images by the owner. Specify an AWS account ID, C<self> |
|
227
|
|
|
|
|
|
|
(owner is the sender of the request), or an AWS owner alias (valid |
|
228
|
|
|
|
|
|
|
values are C<amazon> | C<aws-marketplace> | C<microsoft>). Omitting |
|
229
|
|
|
|
|
|
|
this option returns all images for which you have launch permissions, |
|
230
|
|
|
|
|
|
|
regardless of ownership. |
|
231
|
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
|
|
234
|
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
236
|
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method DescribeImages in L<Paws::EC2> |
|
238
|
|
|
|
|
|
|
|
|
239
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
240
|
|
|
|
|
|
|
|
|
241
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
242
|
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
244
|
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
=cut |
|
246
|
|
|
|
|
|
|
|