line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::EC2::Image; |
2
|
1
|
|
|
1
|
|
459
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
10
|
|
3
|
|
|
|
|
|
|
has Architecture => (is => 'ro', isa => 'Str', request_name => 'architecture', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::BlockDeviceMapping]', request_name => 'blockDeviceMapping', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
has EnaSupport => (is => 'ro', isa => 'Bool', request_name => 'enaSupport', traits => ['NameInRequest']); |
8
|
|
|
|
|
|
|
has Hypervisor => (is => 'ro', isa => 'Str', request_name => 'hypervisor', traits => ['NameInRequest']); |
9
|
|
|
|
|
|
|
has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']); |
10
|
|
|
|
|
|
|
has ImageLocation => (is => 'ro', isa => 'Str', request_name => 'imageLocation', traits => ['NameInRequest']); |
11
|
|
|
|
|
|
|
has ImageOwnerAlias => (is => 'ro', isa => 'Str', request_name => 'imageOwnerAlias', traits => ['NameInRequest']); |
12
|
|
|
|
|
|
|
has ImageType => (is => 'ro', isa => 'Str', request_name => 'imageType', traits => ['NameInRequest']); |
13
|
|
|
|
|
|
|
has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']); |
14
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']); |
15
|
|
|
|
|
|
|
has OwnerId => (is => 'ro', isa => 'Str', request_name => 'imageOwnerId', traits => ['NameInRequest']); |
16
|
|
|
|
|
|
|
has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']); |
17
|
|
|
|
|
|
|
has ProductCodes => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ProductCode]', request_name => 'productCodes', traits => ['NameInRequest']); |
18
|
|
|
|
|
|
|
has Public => (is => 'ro', isa => 'Bool', request_name => 'isPublic', traits => ['NameInRequest']); |
19
|
|
|
|
|
|
|
has RamdiskId => (is => 'ro', isa => 'Str', request_name => 'ramdiskId', traits => ['NameInRequest']); |
20
|
|
|
|
|
|
|
has RootDeviceName => (is => 'ro', isa => 'Str', request_name => 'rootDeviceName', traits => ['NameInRequest']); |
21
|
|
|
|
|
|
|
has RootDeviceType => (is => 'ro', isa => 'Str', request_name => 'rootDeviceType', traits => ['NameInRequest']); |
22
|
|
|
|
|
|
|
has SriovNetSupport => (is => 'ro', isa => 'Str', request_name => 'sriovNetSupport', traits => ['NameInRequest']); |
23
|
|
|
|
|
|
|
has State => (is => 'ro', isa => 'Str', request_name => 'imageState', traits => ['NameInRequest']); |
24
|
|
|
|
|
|
|
has StateReason => (is => 'ro', isa => 'Paws::EC2::StateReason', request_name => 'stateReason', traits => ['NameInRequest']); |
25
|
|
|
|
|
|
|
has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']); |
26
|
|
|
|
|
|
|
has VirtualizationType => (is => 'ro', isa => 'Str', request_name => 'virtualizationType', traits => ['NameInRequest']); |
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
### main pod documentation begin ### |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Paws::EC2::Image |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 USAGE |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
This class represents one of two things: |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
42
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::EC2::Image object: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Architecture => $value, ..., VirtualizationType => $value }); |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head3 Results returned from an API call |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Image object: |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
53
|
|
|
|
|
|
|
$result->Att1->Architecture |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 DESCRIPTION |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This class has no description |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 Architecture => Str |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
The architecture of the image. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>] |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Any block device mapping entries. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 CreationDate => Str |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The date and time the image was created. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 Description => Str |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
The description of the AMI that was provided during image creation. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 EnaSupport => Bool |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Specifies whether enhanced networking with ENA is enabled. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 Hypervisor => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The hypervisor type of the image. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 ImageId => Str |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
The ID of the AMI. |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 ImageLocation => Str |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
The location of the AMI. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 ImageOwnerAlias => Str |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The AWS account alias (for example, C<amazon>, C<self>) or the AWS |
105
|
|
|
|
|
|
|
account ID of the AMI owner. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
=head2 ImageType => Str |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
The type of image. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 KernelId => Str |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
The kernel associated with the image, if any. Only applicable for |
116
|
|
|
|
|
|
|
machine images. |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
=head2 Name => Str |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
The name of the AMI that was provided during image creation. |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
=head2 OwnerId => Str |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
The AWS account ID of the image owner. |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=head2 Platform => Str |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
The value is C<Windows> for Windows AMIs; otherwise blank. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 ProductCodes => ArrayRef[L<Paws::EC2::ProductCode>] |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
Any product codes associated with the AMI. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 Public => Bool |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Indicates whether the image has public launch permissions. The value is |
142
|
|
|
|
|
|
|
C<true> if this image has public launch permissions or C<false> if it |
143
|
|
|
|
|
|
|
has only implicit and explicit launch permissions. |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 RamdiskId => Str |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
The RAM disk associated with the image, if any. Only applicable for |
149
|
|
|
|
|
|
|
machine images. |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head2 RootDeviceName => Str |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
The device name of the root device (for example, C</dev/sda1> or |
155
|
|
|
|
|
|
|
C</dev/xvda>). |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=head2 RootDeviceType => Str |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
The type of root device used by the AMI. The AMI can use an EBS volume |
161
|
|
|
|
|
|
|
or an instance store volume. |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=head2 SriovNetSupport => Str |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
Specifies whether enhanced networking with the Intel 82599 Virtual |
167
|
|
|
|
|
|
|
Function interface is enabled. |
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=head2 State => Str |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
The current state of the AMI. If the state is C<available>, the image |
173
|
|
|
|
|
|
|
is successfully registered and can be used to launch an instance. |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=head2 StateReason => L<Paws::EC2::StateReason> |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
The reason for the state change. |
179
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
|
181
|
|
|
|
|
|
|
=head2 Tags => ArrayRef[L<Paws::EC2::Tag>] |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
Any tags assigned to the image. |
184
|
|
|
|
|
|
|
|
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=head2 VirtualizationType => Str |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
The type of virtualization of the AMI. |
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=head1 SEE ALSO |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::EC2> |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=cut |