blib/lib/Paws/EC2/Image.pm untested

filter: Statementstmt 0.0% 0 / 59 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 60 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::Image;
2 use Moose;
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 BootMode => (is => 'ro', isa => 'Str', request_name => 'bootMode', traits => ['NameInRequest']);
6 has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']);
7 has DeprecationTime => (is => 'ro', isa => 'Str', request_name => 'deprecationTime', traits => ['NameInRequest']);
8 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
9 has EnaSupport => (is => 'ro', isa => 'Bool', request_name => 'enaSupport', traits => ['NameInRequest']);
10 has Hypervisor => (is => 'ro', isa => 'Str', request_name => 'hypervisor', traits => ['NameInRequest']);
11 has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']);
12 has ImageLocation => (is => 'ro', isa => 'Str', request_name => 'imageLocation', traits => ['NameInRequest']);
13 has ImageOwnerAlias => (is => 'ro', isa => 'Str', request_name => 'imageOwnerAlias', traits => ['NameInRequest']);
14 has ImageType => (is => 'ro', isa => 'Str', request_name => 'imageType', traits => ['NameInRequest']);
15 has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']);
16 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
17 has OwnerId => (is => 'ro', isa => 'Str', request_name => 'imageOwnerId', traits => ['NameInRequest']);
18 has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
19 has PlatformDetails => (is => 'ro', isa => 'Str', request_name => 'platformDetails', traits => ['NameInRequest']);
20 has ProductCodes => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ProductCode]', request_name => 'productCodes', traits => ['NameInRequest']);
21 has Public => (is => 'ro', isa => 'Bool', request_name => 'isPublic', traits => ['NameInRequest']);
22 has RamdiskId => (is => 'ro', isa => 'Str', request_name => 'ramdiskId', traits => ['NameInRequest']);
23 has RootDeviceName => (is => 'ro', isa => 'Str', request_name => 'rootDeviceName', traits => ['NameInRequest']);
24 has RootDeviceType => (is => 'ro', isa => 'Str', request_name => 'rootDeviceType', traits => ['NameInRequest']);
25 has SriovNetSupport => (is => 'ro', isa => 'Str', request_name => 'sriovNetSupport', traits => ['NameInRequest']);
26 has State => (is => 'ro', isa => 'Str', request_name => 'imageState', traits => ['NameInRequest']);
27 has StateReason => (is => 'ro', isa => 'Paws::EC2::StateReason', request_name => 'stateReason', traits => ['NameInRequest']);
28 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
29 has UsageOperation => (is => 'ro', isa => 'Str', request_name => 'usageOperation', traits => ['NameInRequest']);
30 has VirtualizationType => (is => 'ro', isa => 'Str', request_name => 'virtualizationType', traits => ['NameInRequest']);
31 1;
32  
33 ### main pod documentation begin ###
34  
35 =head1 NAME
36  
37 Paws::EC2::Image
38  
39 =head1 USAGE
40  
41 This class represents one of two things:
42  
43 =head3 Arguments in a call to a service
44  
45 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
46 Each attribute should be used as a named argument in the calls that expect this type of object.
47  
48 As an example, if Att1 is expected to be a Paws::EC2::Image object:
49  
50 $service_obj->Method(Att1 => { Architecture => $value, ..., VirtualizationType => $value });
51  
52 =head3 Results returned from an API call
53  
54 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Image object:
55  
56 $result = $service_obj->Method(...);
57 $result->Att1->Architecture
58  
59 =head1 DESCRIPTION
60  
61 This class has no description
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 Architecture => Str
67  
68 The architecture of the image.
69  
70  
71 =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::BlockDeviceMapping>]
72  
73 Any block device mapping entries.
74  
75  
76 =head2 BootMode => Str
77  
78 The boot mode of the image. For more information, see Boot modes
79 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in
80 the I<Amazon Elastic Compute Cloud User Guide>.
81  
82  
83 =head2 CreationDate => Str
84  
85 The date and time the image was created.
86  
87  
88 =head2 DeprecationTime => Str
89  
90 The date and time to deprecate the AMI, in UTC, in the following
91 format: I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z. If you specified a
92 value for seconds, Amazon EC2 rounds the seconds to the nearest minute.
93  
94  
95 =head2 Description => Str
96  
97 The description of the AMI that was provided during image creation.
98  
99  
100 =head2 EnaSupport => Bool
101  
102 Specifies whether enhanced networking with ENA is enabled.
103  
104  
105 =head2 Hypervisor => Str
106  
107 The hypervisor type of the image.
108  
109  
110 =head2 ImageId => Str
111  
112 The ID of the AMI.
113  
114  
115 =head2 ImageLocation => Str
116  
117 The location of the AMI.
118  
119  
120 =head2 ImageOwnerAlias => Str
121  
122 The AWS account alias (for example, C<amazon>, C<self>) or the AWS
123 account ID of the AMI owner.
124  
125  
126 =head2 ImageType => Str
127  
128 The type of image.
129  
130  
131 =head2 KernelId => Str
132  
133 The kernel associated with the image, if any. Only applicable for
134 machine images.
135  
136  
137 =head2 Name => Str
138  
139 The name of the AMI that was provided during image creation.
140  
141  
142 =head2 OwnerId => Str
143  
144 The AWS account ID of the image owner.
145  
146  
147 =head2 Platform => Str
148  
149 This value is set to C<windows> for Windows AMIs; otherwise, it is
150 blank.
151  
152  
153 =head2 PlatformDetails => Str
154  
155 The platform details associated with the billing code of the AMI. For
156 more information, see Obtaining Billing Information
157 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html)
158 in the I<Amazon Elastic Compute Cloud User Guide>.
159  
160  
161 =head2 ProductCodes => ArrayRef[L<Paws::EC2::ProductCode>]
162  
163 Any product codes associated with the AMI.
164  
165  
166 =head2 Public => Bool
167  
168 Indicates whether the image has public launch permissions. The value is
169 C<true> if this image has public launch permissions or C<false> if it
170 has only implicit and explicit launch permissions.
171  
172  
173 =head2 RamdiskId => Str
174  
175 The RAM disk associated with the image, if any. Only applicable for
176 machine images.
177  
178  
179 =head2 RootDeviceName => Str
180  
181 The device name of the root device volume (for example, C</dev/sda1>).
182  
183  
184 =head2 RootDeviceType => Str
185  
186 The type of root device used by the AMI. The AMI can use an EBS volume
187 or an instance store volume.
188  
189  
190 =head2 SriovNetSupport => Str
191  
192 Specifies whether enhanced networking with the Intel 82599 Virtual
193 Function interface is enabled.
194  
195  
196 =head2 State => Str
197  
198 The current state of the AMI. If the state is C<available>, the image
199 is successfully registered and can be used to launch an instance.
200  
201  
202 =head2 StateReason => L<Paws::EC2::StateReason>
203  
204 The reason for the state change.
205  
206  
207 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
208  
209 Any tags assigned to the image.
210  
211  
212 =head2 UsageOperation => Str
213  
214 The operation of the Amazon EC2 instance and the billing code that is
215 associated with the AMI. C<usageOperation> corresponds to the
216 lineitem/Operation
217 (https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation)
218 column on your AWS Cost and Usage Report and in the AWS Price List API
219 (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html).
220 For the list of C<UsageOperation> codes, see Platform Details and Usage
221 Operation Billing Codes
222 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info)
223 in the I<Amazon Elastic Compute Cloud User Guide>.
224  
225  
226 =head2 VirtualizationType => Str
227  
228 The type of virtualization of the AMI.
229  
230  
231  
232 =head1 SEE ALSO
233  
234 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
235  
236 =head1 BUGS and CONTRIBUTIONS
237  
238 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
239  
240 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
241  
242 =cut