blib/lib/Paws/EC2/Instance.pm

filter: Statementstmt 100% 53 / 53 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 54 / 54 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/ImportVolumeTaskDetails.pm ↑ Summary blib/lib/Paws/EC2/InstanceAttribute.pm »
1 package Paws::EC2::Instance;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has AmiLaunchIndex => (is => 'ro', isa => 'Int', request_name => 'amiLaunchIndex', traits => ['NameInRequest']);
4 1 has Architecture => (is => 'ro', isa => 'Str', request_name => 'architecture', traits => ['NameInRequest']);
5 1 has BlockDeviceMappings => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceBlockDeviceMapping]', request_name => 'blockDeviceMapping', traits => ['NameInRequest']);
6 1 has BootMode => (is => 'ro', isa => 'Str', request_name => 'bootMode', traits => ['NameInRequest']);
7 1 has CapacityReservationId => (is => 'ro', isa => 'Str', request_name => 'capacityReservationId', traits => ['NameInRequest']);
8 1 has CapacityReservationSpecification => (is => 'ro', isa => 'Paws::EC2::CapacityReservationSpecificationResponse', request_name => 'capacityReservationSpecification', traits => ['NameInRequest']);
9 1 has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest']);
10 1 has CpuOptions => (is => 'ro', isa => 'Paws::EC2::CpuOptions', request_name => 'cpuOptions', traits => ['NameInRequest']);
11 1 has EbsOptimized => (is => 'ro', isa => 'Bool', request_name => 'ebsOptimized', traits => ['NameInRequest']);
12 1 has ElasticGpuAssociations => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ElasticGpuAssociation]', request_name => 'elasticGpuAssociationSet', traits => ['NameInRequest']);
13 1 has ElasticInferenceAcceleratorAssociations => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ElasticInferenceAcceleratorAssociation]', request_name => 'elasticInferenceAcceleratorAssociationSet', traits => ['NameInRequest']);
14 1 has EnaSupport => (is => 'ro', isa => 'Bool', request_name => 'enaSupport', traits => ['NameInRequest']);
15 1 has EnclaveOptions => (is => 'ro', isa => 'Paws::EC2::EnclaveOptions', request_name => 'enclaveOptions', traits => ['NameInRequest']);
16 1 has HibernationOptions => (is => 'ro', isa => 'Paws::EC2::HibernationOptions', request_name => 'hibernationOptions', traits => ['NameInRequest']);
17 1 has Hypervisor => (is => 'ro', isa => 'Str', request_name => 'hypervisor', traits => ['NameInRequest']);
18 1 has IamInstanceProfile => (is => 'ro', isa => 'Paws::EC2::IamInstanceProfile', request_name => 'iamInstanceProfile', traits => ['NameInRequest']);
19 1 has ImageId => (is => 'ro', isa => 'Str', request_name => 'imageId', traits => ['NameInRequest']);
20 1 has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
21 1 has InstanceLifecycle => (is => 'ro', isa => 'Str', request_name => 'instanceLifecycle', traits => ['NameInRequest']);
22 1 has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
23 1 has KernelId => (is => 'ro', isa => 'Str', request_name => 'kernelId', traits => ['NameInRequest']);
24 1 has KeyName => (is => 'ro', isa => 'Str', request_name => 'keyName', traits => ['NameInRequest']);
25 1 has LaunchTime => (is => 'ro', isa => 'Str', request_name => 'launchTime', traits => ['NameInRequest']);
26 1 has Licenses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::LicenseConfiguration]', request_name => 'licenseSet', traits => ['NameInRequest']);
27 1 has MetadataOptions => (is => 'ro', isa => 'Paws::EC2::InstanceMetadataOptionsResponse', request_name => 'metadataOptions', traits => ['NameInRequest']);
28 1 has Monitoring => (is => 'ro', isa => 'Paws::EC2::Monitoring', request_name => 'monitoring', traits => ['NameInRequest']);
29 1 has NetworkInterfaces => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceNetworkInterface]', request_name => 'networkInterfaceSet', traits => ['NameInRequest']);
30 1 has OutpostArn => (is => 'ro', isa => 'Str', request_name => 'outpostArn', traits => ['NameInRequest']);
31 1 has Placement => (is => 'ro', isa => 'Paws::EC2::Placement', request_name => 'placement', traits => ['NameInRequest']);
32 1 has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
33 1 has PrivateDnsName => (is => 'ro', isa => 'Str', request_name => 'privateDnsName', traits => ['NameInRequest']);
34 1 has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
35 1 has ProductCodes => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ProductCode]', request_name => 'productCodes', traits => ['NameInRequest']);
36 1 has PublicDnsName => (is => 'ro', isa => 'Str', request_name => 'dnsName', traits => ['NameInRequest']);
37 1 has PublicIpAddress => (is => 'ro', isa => 'Str', request_name => 'ipAddress', traits => ['NameInRequest']);
38 1 has RamdiskId => (is => 'ro', isa => 'Str', request_name => 'ramdiskId', traits => ['NameInRequest']);
39 1 has RootDeviceName => (is => 'ro', isa => 'Str', request_name => 'rootDeviceName', traits => ['NameInRequest']);
40 1 has RootDeviceType => (is => 'ro', isa => 'Str', request_name => 'rootDeviceType', traits => ['NameInRequest']);
41 1 has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::EC2::GroupIdentifier]', request_name => 'groupSet', traits => ['NameInRequest']);
42 1 has SourceDestCheck => (is => 'ro', isa => 'Bool', request_name => 'sourceDestCheck', traits => ['NameInRequest']);
43 1 has SpotInstanceRequestId => (is => 'ro', isa => 'Str', request_name => 'spotInstanceRequestId', traits => ['NameInRequest']);
44 1 has SriovNetSupport => (is => 'ro', isa => 'Str', request_name => 'sriovNetSupport', traits => ['NameInRequest']);
45 1 has State => (is => 'ro', isa => 'Paws::EC2::InstanceState', request_name => 'instanceState', traits => ['NameInRequest']);
46 1 has StateReason => (is => 'ro', isa => 'Paws::EC2::StateReason', request_name => 'stateReason', traits => ['NameInRequest']);
47 1 has StateTransitionReason => (is => 'ro', isa => 'Str', request_name => 'reason', traits => ['NameInRequest']);
48 1 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
49 1 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
50 1 has VirtualizationType => (is => 'ro', isa => 'Str', request_name => 'virtualizationType', traits => ['NameInRequest']);
51 1 has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
52 1 1;
53  
54 ### main pod documentation begin ###
55  
56 =head1 NAME
57  
58 Paws::EC2::Instance
59  
60 =head1 USAGE
61  
62 This class represents one of two things:
63  
64 =head3 Arguments in a call to a service
65  
66 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
67 Each attribute should be used as a named argument in the calls that expect this type of object.
68  
69 As an example, if Att1 is expected to be a Paws::EC2::Instance object:
70  
71 $service_obj->Method(Att1 => { AmiLaunchIndex => $value, ..., VpcId => $value });
72  
73 =head3 Results returned from an API call
74  
75 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Instance object:
76  
77 $result = $service_obj->Method(...);
78 $result->Att1->AmiLaunchIndex
79  
80 =head1 DESCRIPTION
81  
82 This class has no description
83  
84 =head1 ATTRIBUTES
85  
86  
87 =head2 AmiLaunchIndex => Int
88  
89 The AMI launch index, which can be used to find this instance in the
90 launch group.
91  
92  
93 =head2 Architecture => Str
94  
95 The architecture of the image.
96  
97  
98 =head2 BlockDeviceMappings => ArrayRef[L<Paws::EC2::InstanceBlockDeviceMapping>]
99  
100 Any block device mapping entries for the instance.
101  
102  
103 =head2 BootMode => Str
104  
105 The boot mode of the instance. For more information, see Boot modes
106 (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-boot.html) in
107 the I<Amazon EC2 User Guide>.
108  
109  
110 =head2 CapacityReservationId => Str
111  
112 The ID of the Capacity Reservation.
113  
114  
115 =head2 CapacityReservationSpecification => L<Paws::EC2::CapacityReservationSpecificationResponse>
116  
117 Information about the Capacity Reservation targeting option.
118  
119  
120 =head2 ClientToken => Str
121  
122 The idempotency token you provided when you launched the instance, if
123 applicable.
124  
125  
126 =head2 CpuOptions => L<Paws::EC2::CpuOptions>
127  
128 The CPU options for the instance.
129  
130  
131 =head2 EbsOptimized => Bool
132  
133 Indicates whether the instance is optimized for Amazon EBS I/O. This
134 optimization provides dedicated throughput to Amazon EBS and an
135 optimized configuration stack to provide optimal I/O performance. This
136 optimization isn't available with all instance types. Additional usage
137 charges apply when using an EBS Optimized instance.
138  
139  
140 =head2 ElasticGpuAssociations => ArrayRef[L<Paws::EC2::ElasticGpuAssociation>]
141  
142 The Elastic GPU associated with the instance.
143  
144  
145 =head2 ElasticInferenceAcceleratorAssociations => ArrayRef[L<Paws::EC2::ElasticInferenceAcceleratorAssociation>]
146  
147 The elastic inference accelerator associated with the instance.
148  
149  
150 =head2 EnaSupport => Bool
151  
152 Specifies whether enhanced networking with ENA is enabled.
153  
154  
155 =head2 EnclaveOptions => L<Paws::EC2::EnclaveOptions>
156  
157 Indicates whether the instance is enabled for Amazon Web Services Nitro
158 Enclaves.
159  
160  
161 =head2 HibernationOptions => L<Paws::EC2::HibernationOptions>
162  
163 Indicates whether the instance is enabled for hibernation.
164  
165  
166 =head2 Hypervisor => Str
167  
168 The hypervisor type of the instance. The value C<xen> is used for both
169 Xen and Nitro hypervisors.
170  
171  
172 =head2 IamInstanceProfile => L<Paws::EC2::IamInstanceProfile>
173  
174 The IAM instance profile associated with the instance, if applicable.
175  
176  
177 =head2 ImageId => Str
178  
179 The ID of the AMI used to launch the instance.
180  
181  
182 =head2 InstanceId => Str
183  
184 The ID of the instance.
185  
186  
187 =head2 InstanceLifecycle => Str
188  
189 Indicates whether this is a Spot Instance or a Scheduled Instance.
190  
191  
192 =head2 InstanceType => Str
193  
194 The instance type.
195  
196  
197 =head2 KernelId => Str
198  
199 The kernel associated with this instance, if applicable.
200  
201  
202 =head2 KeyName => Str
203  
204 The name of the key pair, if this instance was launched with an
205 associated key pair.
206  
207  
208 =head2 LaunchTime => Str
209  
210 The time the instance was launched.
211  
212  
213 =head2 Licenses => ArrayRef[L<Paws::EC2::LicenseConfiguration>]
214  
215 The license configurations.
216  
217  
218 =head2 MetadataOptions => L<Paws::EC2::InstanceMetadataOptionsResponse>
219  
220 The metadata options for the instance.
221  
222  
223 =head2 Monitoring => L<Paws::EC2::Monitoring>
224  
225 The monitoring for the instance.
226  
227  
228 =head2 NetworkInterfaces => ArrayRef[L<Paws::EC2::InstanceNetworkInterface>]
229  
230 [EC2-VPC] The network interfaces for the instance.
231  
232  
233 =head2 OutpostArn => Str
234  
235 The Amazon Resource Name (ARN) of the Outpost.
236  
237  
238 =head2 Placement => L<Paws::EC2::Placement>
239  
240 The location where the instance launched, if applicable.
241  
242  
243 =head2 Platform => Str
244  
245 The value is C<Windows> for Windows instances; otherwise blank.
246  
247  
248 =head2 PrivateDnsName => Str
249  
250 (IPv4 only) The private DNS hostname name assigned to the instance.
251 This DNS hostname can only be used inside the Amazon EC2 network. This
252 name is not available until the instance enters the C<running> state.
253  
254 [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided
255 private DNS hostnames if you've enabled DNS resolution and DNS
256 hostnames in your VPC. If you are not using the Amazon-provided DNS
257 server in your VPC, your custom domain name servers must resolve the
258 hostname as appropriate.
259  
260  
261 =head2 PrivateIpAddress => Str
262  
263 The private IPv4 address assigned to the instance.
264  
265  
266 =head2 ProductCodes => ArrayRef[L<Paws::EC2::ProductCode>]
267  
268 The product codes attached to this instance, if applicable.
269  
270  
271 =head2 PublicDnsName => Str
272  
273 (IPv4 only) The public DNS name assigned to the instance. This name is
274 not available until the instance enters the C<running> state. For
275 EC2-VPC, this name is only available if you've enabled DNS hostnames
276 for your VPC.
277  
278  
279 =head2 PublicIpAddress => Str
280  
281 The public IPv4 address, or the Carrier IP address assigned to the
282 instance, if applicable.
283  
284 A Carrier IP address only applies to an instance launched in a subnet
285 associated with a Wavelength Zone.
286  
287  
288 =head2 RamdiskId => Str
289  
290 The RAM disk associated with this instance, if applicable.
291  
292  
293 =head2 RootDeviceName => Str
294  
295 The device name of the root device volume (for example, C</dev/sda1>).
296  
297  
298 =head2 RootDeviceType => Str
299  
300 The root device type used by the AMI. The AMI can use an EBS volume or
301 an instance store volume.
302  
303  
304 =head2 SecurityGroups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
305  
306 The security groups for the instance.
307  
308  
309 =head2 SourceDestCheck => Bool
310  
311 Indicates whether source/destination checking is enabled.
312  
313  
314 =head2 SpotInstanceRequestId => Str
315  
316 If the request is a Spot Instance request, the ID of the request.
317  
318  
319 =head2 SriovNetSupport => Str
320  
321 Specifies whether enhanced networking with the Intel 82599 Virtual
322 Function interface is enabled.
323  
324  
325 =head2 State => L<Paws::EC2::InstanceState>
326  
327 The current state of the instance.
328  
329  
330 =head2 StateReason => L<Paws::EC2::StateReason>
331  
332 The reason for the most recent state transition.
333  
334  
335 =head2 StateTransitionReason => Str
336  
337 The reason for the most recent state transition. This might be an empty
338 string.
339  
340  
341 =head2 SubnetId => Str
342  
343 [EC2-VPC] The ID of the subnet in which the instance is running.
344  
345  
346 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
347  
348 Any tags assigned to the instance.
349  
350  
351 =head2 VirtualizationType => Str
352  
353 The virtualization type of the instance.
354  
355  
356 =head2 VpcId => Str
357  
358 [EC2-VPC] The ID of the VPC in which the instance is running.
359  
360  
361  
362 =head1 SEE ALSO
363  
364 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
365  
366 =head1 BUGS and CONTRIBUTIONS
367  
368 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
369  
370 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
371  
372 =cut
« blib/lib/Paws/EC2/ImportVolumeTaskDetails.pm ↑ Summary blib/lib/Paws/EC2/InstanceAttribute.pm »