aws-sdk-ec2 1.220.0 → 1.221.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +110 -91
- data/lib/aws-sdk-ec2/client_api.rb +2 -0
- data/lib/aws-sdk-ec2/instance.rb +7 -6
- data/lib/aws-sdk-ec2/resource.rb +10 -12
- data/lib/aws-sdk-ec2/subnet.rb +10 -12
- data/lib/aws-sdk-ec2/types.rb +89 -87
- metadata +2 -2
@@ -2814,6 +2814,7 @@ module Aws::EC2
|
|
2814
2814
|
CapacityReservation.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
|
2815
2815
|
CapacityReservation.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: Boolean, location_name: "ephemeralStorage"))
|
2816
2816
|
CapacityReservation.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationState, location_name: "state"))
|
2817
|
+
CapacityReservation.add_member(:start_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "startDate"))
|
2817
2818
|
CapacityReservation.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "endDate"))
|
2818
2819
|
CapacityReservation.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "endDateType"))
|
2819
2820
|
CapacityReservation.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "instanceMatchCriteria"))
|
@@ -7709,6 +7710,7 @@ module Aws::EC2
|
|
7709
7710
|
ModifyCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
|
7710
7711
|
ModifyCapacityReservationRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
|
7711
7712
|
ModifyCapacityReservationRequest.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "EndDateType"))
|
7713
|
+
ModifyCapacityReservationRequest.add_member(:accept, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accept"))
|
7712
7714
|
ModifyCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7713
7715
|
ModifyCapacityReservationRequest.struct_class = Types::ModifyCapacityReservationRequest
|
7714
7716
|
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -263,7 +263,7 @@ module Aws::EC2
|
|
263
263
|
# the instance. A value of `true` means that checking is enabled, and
|
264
264
|
# `false` means that checking is disabled. The value must be `false` for
|
265
265
|
# the instance to perform NAT. For more information, see [NAT
|
266
|
-
#
|
266
|
+
# instances][1] in the *Amazon VPC User Guide*.
|
267
267
|
#
|
268
268
|
#
|
269
269
|
#
|
@@ -942,7 +942,7 @@ module Aws::EC2
|
|
942
942
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
943
943
|
# must add them when you launch the instance. For more information, see
|
944
944
|
# [Updating the block device mapping when launching an instance][1] in
|
945
|
-
# the *Amazon
|
945
|
+
# the *Amazon EC2 User Guide*.
|
946
946
|
#
|
947
947
|
#
|
948
948
|
#
|
@@ -978,8 +978,9 @@ module Aws::EC2
|
|
978
978
|
# system shutdown).
|
979
979
|
# @option options [Types::AttributeValue] :instance_type
|
980
980
|
# Changes the instance type to the specified value. For more
|
981
|
-
# information, see [Instance types][1]
|
982
|
-
# valid, the error returned is
|
981
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
982
|
+
# If the instance type is not valid, the error returned is
|
983
|
+
# `InvalidInstanceAttributeValue`.
|
983
984
|
#
|
984
985
|
#
|
985
986
|
#
|
@@ -1258,7 +1259,7 @@ module Aws::EC2
|
|
1258
1259
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1259
1260
|
# launch. If the instance cannot hibernate successfully, a normal
|
1260
1261
|
# shutdown occurs. For more information, see [Hibernate your
|
1261
|
-
# instance][1] in the *Amazon
|
1262
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
1262
1263
|
#
|
1263
1264
|
# Default: `false`
|
1264
1265
|
#
|
@@ -1797,7 +1798,7 @@ module Aws::EC2
|
|
1797
1798
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1798
1799
|
# launch. If the instance cannot hibernate successfully, a normal
|
1799
1800
|
# shutdown occurs. For more information, see [Hibernate your
|
1800
|
-
# instance][1] in the *Amazon
|
1801
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
1801
1802
|
#
|
1802
1803
|
# Default: `false`
|
1803
1804
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -242,7 +242,7 @@ module Aws::EC2
|
|
242
242
|
# must be specified here or in a launch template.
|
243
243
|
# @option options [String] :instance_type
|
244
244
|
# The instance type. For more information, see [Instance types][1] in
|
245
|
-
# the *Amazon
|
245
|
+
# the *Amazon EC2 User Guide*.
|
246
246
|
#
|
247
247
|
# Default: `m1.small`
|
248
248
|
#
|
@@ -272,8 +272,8 @@ module Aws::EC2
|
|
272
272
|
# The ID of the kernel.
|
273
273
|
#
|
274
274
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
275
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
276
|
-
#
|
275
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
276
|
+
# Guide*.
|
277
277
|
#
|
278
278
|
#
|
279
279
|
#
|
@@ -328,8 +328,8 @@ module Aws::EC2
|
|
328
328
|
# go to the AWS Resource Center and search for the kernel ID.
|
329
329
|
#
|
330
330
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
331
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
332
|
-
#
|
331
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
332
|
+
# Guide*.
|
333
333
|
#
|
334
334
|
#
|
335
335
|
#
|
@@ -439,8 +439,7 @@ module Aws::EC2
|
|
439
439
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
440
440
|
# resource that you can attach to your Windows instance to accelerate
|
441
441
|
# the graphics performance of your applications. For more information,
|
442
|
-
# see [
|
443
|
-
# User Guide*.
|
442
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
444
443
|
#
|
445
444
|
#
|
446
445
|
#
|
@@ -478,7 +477,7 @@ module Aws::EC2
|
|
478
477
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
479
478
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
480
479
|
# information, see [Burstable performance instances][2] in the *Amazon
|
481
|
-
#
|
480
|
+
# EC2 User Guide*.
|
482
481
|
#
|
483
482
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
484
483
|
#
|
@@ -488,8 +487,7 @@ module Aws::EC2
|
|
488
487
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
489
488
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
490
489
|
# The CPU options for the instance. For more information, see
|
491
|
-
# [Optimizing CPU options][1] in the *Amazon
|
492
|
-
# Guide*.
|
490
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
493
491
|
#
|
494
492
|
#
|
495
493
|
#
|
@@ -502,8 +500,8 @@ module Aws::EC2
|
|
502
500
|
# platform, Availability Zone).
|
503
501
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
504
502
|
# Indicates whether an instance is enabled for hibernation. For more
|
505
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
506
|
-
#
|
503
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
504
|
+
# Guide*.
|
507
505
|
#
|
508
506
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
509
507
|
# instance.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -436,7 +436,7 @@ module Aws::EC2
|
|
436
436
|
# must be specified here or in a launch template.
|
437
437
|
# @option options [String] :instance_type
|
438
438
|
# The instance type. For more information, see [Instance types][1] in
|
439
|
-
# the *Amazon
|
439
|
+
# the *Amazon EC2 User Guide*.
|
440
440
|
#
|
441
441
|
# Default: `m1.small`
|
442
442
|
#
|
@@ -466,8 +466,8 @@ module Aws::EC2
|
|
466
466
|
# The ID of the kernel.
|
467
467
|
#
|
468
468
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
469
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
470
|
-
#
|
469
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
470
|
+
# Guide*.
|
471
471
|
#
|
472
472
|
#
|
473
473
|
#
|
@@ -522,8 +522,8 @@ module Aws::EC2
|
|
522
522
|
# go to the AWS Resource Center and search for the kernel ID.
|
523
523
|
#
|
524
524
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
525
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
526
|
-
#
|
525
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
526
|
+
# Guide*.
|
527
527
|
#
|
528
528
|
#
|
529
529
|
#
|
@@ -628,8 +628,7 @@ module Aws::EC2
|
|
628
628
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
629
629
|
# resource that you can attach to your Windows instance to accelerate
|
630
630
|
# the graphics performance of your applications. For more information,
|
631
|
-
# see [
|
632
|
-
# User Guide*.
|
631
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
633
632
|
#
|
634
633
|
#
|
635
634
|
#
|
@@ -667,7 +666,7 @@ module Aws::EC2
|
|
667
666
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
668
667
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
669
668
|
# information, see [Burstable performance instances][2] in the *Amazon
|
670
|
-
#
|
669
|
+
# EC2 User Guide*.
|
671
670
|
#
|
672
671
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
673
672
|
#
|
@@ -677,8 +676,7 @@ module Aws::EC2
|
|
677
676
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
678
677
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
679
678
|
# The CPU options for the instance. For more information, see
|
680
|
-
# [Optimizing CPU options][1] in the *Amazon
|
681
|
-
# Guide*.
|
679
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
682
680
|
#
|
683
681
|
#
|
684
682
|
#
|
@@ -691,8 +689,8 @@ module Aws::EC2
|
|
691
689
|
# platform, Availability Zone).
|
692
690
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
693
691
|
# Indicates whether an instance is enabled for hibernation. For more
|
694
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
695
|
-
#
|
692
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
693
|
+
# Guide*.
|
696
694
|
#
|
697
695
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
698
696
|
# instance.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -685,8 +685,8 @@ module Aws::EC2
|
|
685
685
|
# Indicates whether the host accepts any untargeted instance launches
|
686
686
|
# that match its instance type configuration, or if it only accepts
|
687
687
|
# Host tenancy instance launches that specify its unique host ID. For
|
688
|
-
# more information, see [ Understanding
|
689
|
-
#
|
688
|
+
# more information, see [ Understanding auto-placement and
|
689
|
+
# affinity][1] in the *Amazon EC2 User Guide*.
|
690
690
|
#
|
691
691
|
# Default: `on`
|
692
692
|
#
|
@@ -701,7 +701,7 @@ module Aws::EC2
|
|
701
701
|
#
|
702
702
|
# @!attribute [rw] client_token
|
703
703
|
# Unique, case-sensitive identifier that you provide to ensure the
|
704
|
-
# idempotency of the request. For more information, see [
|
704
|
+
# idempotency of the request. For more information, see [Ensuring
|
705
705
|
# Idempotency][1].
|
706
706
|
#
|
707
707
|
#
|
@@ -743,8 +743,7 @@ module Aws::EC2
|
|
743
743
|
# @!attribute [rw] host_recovery
|
744
744
|
# Indicates whether to enable or disable host recovery for the
|
745
745
|
# Dedicated Host. Host recovery is disabled by default. For more
|
746
|
-
# information, see [ Host
|
747
|
-
# Cloud User Guide*.
|
746
|
+
# information, see [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
748
747
|
#
|
749
748
|
# Default: `off`
|
750
749
|
#
|
@@ -2782,8 +2781,8 @@ module Aws::EC2
|
|
2782
2781
|
# @return [Types::EbsBlockDevice]
|
2783
2782
|
#
|
2784
2783
|
# @!attribute [rw] no_device
|
2785
|
-
#
|
2786
|
-
#
|
2784
|
+
# To omit the device from the block device mapping, specify an empty
|
2785
|
+
# string.
|
2787
2786
|
# @return [String]
|
2788
2787
|
#
|
2789
2788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMapping AWS API Documentation
|
@@ -3454,8 +3453,8 @@ module Aws::EC2
|
|
3454
3453
|
# date and time specified in your request. The reserved capacity is
|
3455
3454
|
# no longer available for your use.
|
3456
3455
|
#
|
3457
|
-
# * `cancelled` - The Capacity Reservation was
|
3458
|
-
#
|
3456
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
3457
|
+
# capacity is no longer available for your use.
|
3459
3458
|
#
|
3460
3459
|
# * `pending` - The Capacity Reservation request was successful but
|
3461
3460
|
# the capacity provisioning is still pending.
|
@@ -3466,6 +3465,10 @@ module Aws::EC2
|
|
3466
3465
|
# retained for 60 minutes.
|
3467
3466
|
# @return [String]
|
3468
3467
|
#
|
3468
|
+
# @!attribute [rw] start_date
|
3469
|
+
# The date and time at which the Capacity Reservation was started.
|
3470
|
+
# @return [Time]
|
3471
|
+
#
|
3469
3472
|
# @!attribute [rw] end_date
|
3470
3473
|
# The date and time at which the Capacity Reservation expires. When a
|
3471
3474
|
# Capacity Reservation expires, the reserved capacity is released and
|
@@ -3526,6 +3529,7 @@ module Aws::EC2
|
|
3526
3529
|
:ebs_optimized,
|
3527
3530
|
:ephemeral_storage,
|
3528
3531
|
:state,
|
3532
|
+
:start_date,
|
3529
3533
|
:end_date,
|
3530
3534
|
:end_date_type,
|
3531
3535
|
:instance_match_criteria,
|
@@ -3563,10 +3567,9 @@ module Aws::EC2
|
|
3563
3567
|
# </note>
|
3564
3568
|
#
|
3565
3569
|
# For more information about Capacity Reservations, see [On-Demand
|
3566
|
-
# Capacity Reservations][1] in the *Amazon
|
3567
|
-
#
|
3568
|
-
#
|
3569
|
-
# Compute Cloud User Guide*.
|
3570
|
+
# Capacity Reservations][1] in the *Amazon EC2 User Guide*. For examples
|
3571
|
+
# of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example
|
3572
|
+
# configurations][2] in the *Amazon EC2 User Guide*.
|
3570
3573
|
#
|
3571
3574
|
#
|
3572
3575
|
#
|
@@ -3607,10 +3610,9 @@ module Aws::EC2
|
|
3607
3610
|
# </note>
|
3608
3611
|
#
|
3609
3612
|
# For more information about Capacity Reservations, see [On-Demand
|
3610
|
-
# Capacity Reservations][1] in the *Amazon
|
3611
|
-
#
|
3612
|
-
#
|
3613
|
-
# Compute Cloud User Guide*.
|
3613
|
+
# Capacity Reservations][1] in the *Amazon EC2 User Guide*. For examples
|
3614
|
+
# of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example
|
3615
|
+
# configurations][2] in the *Amazon EC2 User Guide*.
|
3614
3616
|
#
|
3615
3617
|
#
|
3616
3618
|
#
|
@@ -5277,7 +5279,7 @@ module Aws::EC2
|
|
5277
5279
|
#
|
5278
5280
|
# @!attribute [rw] client_token
|
5279
5281
|
# Unique, case-sensitive identifier that you provide to ensure the
|
5280
|
-
# idempotency of the request. For more information, see [
|
5282
|
+
# idempotency of the request. For more information, see [Ensure
|
5281
5283
|
# Idempotency][1].
|
5282
5284
|
#
|
5283
5285
|
#
|
@@ -5287,8 +5289,7 @@ module Aws::EC2
|
|
5287
5289
|
#
|
5288
5290
|
# @!attribute [rw] instance_type
|
5289
5291
|
# The instance type for which to reserve capacity. For more
|
5290
|
-
# information, see [Instance
|
5291
|
-
# Cloud User Guide*.
|
5292
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
5292
5293
|
#
|
5293
5294
|
#
|
5294
5295
|
#
|
@@ -6329,7 +6330,7 @@ module Aws::EC2
|
|
6329
6330
|
# @!attribute [rw] type
|
6330
6331
|
# The type of request. The default value is `maintain`.
|
6331
6332
|
#
|
6332
|
-
# * `maintain` - The EC2 Fleet
|
6333
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
6333
6334
|
# desired capacity, and continues to maintain your desired Spot
|
6334
6335
|
# capacity by replenishing interrupted Spot Instances.
|
6335
6336
|
#
|
@@ -6343,7 +6344,7 @@ module Aws::EC2
|
|
6343
6344
|
# that could not be launched.
|
6344
6345
|
#
|
6345
6346
|
# For more information, see [EC2 Fleet request types][1] in the
|
6346
|
-
# *Amazon
|
6347
|
+
# *Amazon EC2 User Guide*.
|
6347
6348
|
#
|
6348
6349
|
#
|
6349
6350
|
#
|
@@ -14227,8 +14228,8 @@ module Aws::EC2
|
|
14227
14228
|
# the date and time specified in your request. The reserved
|
14228
14229
|
# capacity is no longer available for your use.
|
14229
14230
|
#
|
14230
|
-
# * `cancelled` - The Capacity Reservation was
|
14231
|
-
#
|
14231
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The
|
14232
|
+
# reserved capacity is no longer available for your use.
|
14232
14233
|
#
|
14233
14234
|
# * `pending` - The Capacity Reservation request was successful but
|
14234
14235
|
# the capacity provisioning is still pending.
|
@@ -17370,8 +17371,8 @@ module Aws::EC2
|
|
17370
17371
|
# @return [Boolean]
|
17371
17372
|
#
|
17372
17373
|
# @!attribute [rw] instance_types
|
17373
|
-
# The instance types. For more information, see [Instance
|
17374
|
-
# the *Amazon
|
17374
|
+
# The instance types. For more information, see [Instance types][1] in
|
17375
|
+
# the *Amazon EC2 User Guide*.
|
17375
17376
|
#
|
17376
17377
|
#
|
17377
17378
|
#
|
@@ -17535,8 +17536,8 @@ module Aws::EC2
|
|
17535
17536
|
end
|
17536
17537
|
|
17537
17538
|
# @!attribute [rw] instance_types
|
17538
|
-
# The instance type. For more information, see [Instance
|
17539
|
-
# the *Amazon
|
17539
|
+
# The instance type. For more information, see [Instance types][1] in
|
17540
|
+
# the *Amazon EC2 User Guide*.
|
17540
17541
|
#
|
17541
17542
|
#
|
17542
17543
|
#
|
@@ -20355,8 +20356,8 @@ module Aws::EC2
|
|
20355
20356
|
#
|
20356
20357
|
# @!attribute [rw] instance_type
|
20357
20358
|
# The instance type that the reservation will cover (for example,
|
20358
|
-
# `m1.small`). For more information, see [Instance
|
20359
|
-
# *Amazon
|
20359
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
20360
|
+
# *Amazon EC2 User Guide*.
|
20360
20361
|
#
|
20361
20362
|
#
|
20362
20363
|
#
|
@@ -26012,7 +26013,7 @@ module Aws::EC2
|
|
26012
26013
|
# @!attribute [rw] delete_on_termination
|
26013
26014
|
# Indicates whether the EBS volume is deleted on instance termination.
|
26014
26015
|
# For more information, see [Preserving Amazon EBS volumes on instance
|
26015
|
-
# termination][1] in the Amazon
|
26016
|
+
# termination][1] in the *Amazon EC2 User Guide*.
|
26016
26017
|
#
|
26017
26018
|
#
|
26018
26019
|
#
|
@@ -26063,18 +26064,15 @@ module Aws::EC2
|
|
26063
26064
|
#
|
26064
26065
|
# * `io1` and `io2`\: 4-16,384
|
26065
26066
|
#
|
26066
|
-
# * `st1`\:
|
26067
|
-
#
|
26068
|
-
# * `sc1`\: 500-16,384
|
26067
|
+
# * `st1` and `sc1`\: 125-16,384
|
26069
26068
|
#
|
26070
26069
|
# * `standard`\: 1-1,024
|
26071
26070
|
# @return [Integer]
|
26072
26071
|
#
|
26073
26072
|
# @!attribute [rw] volume_type
|
26074
26073
|
# The volume type. For more information, see [Amazon EBS volume
|
26075
|
-
# types][1] in the *Amazon
|
26076
|
-
#
|
26077
|
-
# volume supports.
|
26074
|
+
# types][1] in the *Amazon EC2 User Guide*. If the volume type is
|
26075
|
+
# `io1` or `io2`, you must specify the IOPS that the volume supports.
|
26078
26076
|
#
|
26079
26077
|
#
|
26080
26078
|
#
|
@@ -26110,7 +26108,7 @@ module Aws::EC2
|
|
26110
26108
|
# the encryption state to `true` depends on the volume origin (new or
|
26111
26109
|
# from a snapshot), starting encryption state, ownership, and whether
|
26112
26110
|
# encryption by default is enabled. For more information, see [Amazon
|
26113
|
-
# EBS
|
26111
|
+
# EBS encryption][1] in the *Amazon EC2 User Guide*.
|
26114
26112
|
#
|
26115
26113
|
# In no case can you remove encryption from an encrypted volume.
|
26116
26114
|
#
|
@@ -26145,8 +26143,8 @@ module Aws::EC2
|
|
26145
26143
|
#
|
26146
26144
|
# @!attribute [rw] ebs_optimized_support
|
26147
26145
|
# Indicates whether the instance type is Amazon EBS-optimized. For
|
26148
|
-
# more information, see [Amazon EBS-
|
26149
|
-
# EC2 User Guide
|
26146
|
+
# more information, see [Amazon EBS-optimized instances][1] in *Amazon
|
26147
|
+
# EC2 User Guide*.
|
26150
26148
|
#
|
26151
26149
|
#
|
26152
26150
|
#
|
@@ -28340,8 +28338,7 @@ module Aws::EC2
|
|
28340
28338
|
# Describes the Amazon EC2 launch template and the launch template
|
28341
28339
|
# version that can be used by an EC2 Fleet to configure Amazon EC2
|
28342
28340
|
# instances. For information about launch templates, see [Launching an
|
28343
|
-
# instance from a launch template][1] in the *Amazon
|
28344
|
-
# Cloud User Guide*.
|
28341
|
+
# instance from a launch template][1] in the *Amazon EC2 User Guide*.
|
28345
28342
|
#
|
28346
28343
|
#
|
28347
28344
|
#
|
@@ -28415,7 +28412,7 @@ module Aws::EC2
|
|
28415
28412
|
# The Spot Instance replacement strategy to use when Amazon EC2 emits a
|
28416
28413
|
# signal that your Spot Instance is at an elevated risk of being
|
28417
28414
|
# interrupted. For more information, see [Capacity rebalancing][1] in
|
28418
|
-
# the *Amazon
|
28415
|
+
# the *Amazon EC2 User Guide*.
|
28419
28416
|
#
|
28420
28417
|
#
|
28421
28418
|
#
|
@@ -28989,8 +28986,8 @@ module Aws::EC2
|
|
28989
28986
|
# date and time specified in your request. The reserved capacity is
|
28990
28987
|
# no longer available for your use.
|
28991
28988
|
#
|
28992
|
-
# * `cancelled` - The Capacity Reservation was
|
28993
|
-
#
|
28989
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
28990
|
+
# capacity is no longer available for your use.
|
28994
28991
|
#
|
28995
28992
|
# * `pending` - The Capacity Reservation request was successful but
|
28996
28993
|
# the capacity provisioning is still pending.
|
@@ -30267,7 +30264,7 @@ module Aws::EC2
|
|
30267
30264
|
# Indicates whether your instance is configured for hibernation. This
|
30268
30265
|
# parameter is valid only if the instance meets the [hibernation
|
30269
30266
|
# prerequisites][1]. For more information, see [Hibernate your
|
30270
|
-
# instance][2] in the *Amazon
|
30267
|
+
# instance][2] in the *Amazon EC2 User Guide*.
|
30271
30268
|
#
|
30272
30269
|
#
|
30273
30270
|
#
|
@@ -30290,7 +30287,7 @@ module Aws::EC2
|
|
30290
30287
|
# Indicates whether your instance is configured for hibernation. This
|
30291
30288
|
# parameter is valid only if the instance meets the [hibernation
|
30292
30289
|
# prerequisites][1]. For more information, see [Hibernate your
|
30293
|
-
# instance][2] in the *Amazon
|
30290
|
+
# instance][2] in the *Amazon EC2 User Guide*.
|
30294
30291
|
#
|
30295
30292
|
#
|
30296
30293
|
#
|
@@ -30394,7 +30391,7 @@ module Aws::EC2
|
|
30394
30391
|
#
|
30395
30392
|
# @!attribute [rw] client_token
|
30396
30393
|
# Unique, case-sensitive identifier that you provide to ensure the
|
30397
|
-
# idempotency of the request. For more information, see [
|
30394
|
+
# idempotency of the request. For more information, see [Ensuring
|
30398
30395
|
# Idempotency][1].
|
30399
30396
|
#
|
30400
30397
|
#
|
@@ -30444,10 +30441,10 @@ module Aws::EC2
|
|
30444
30441
|
#
|
30445
30442
|
# @!attribute [rw] allows_multiple_instance_types
|
30446
30443
|
# Indicates whether the Dedicated Host supports multiple instance
|
30447
|
-
# types of the same instance family
|
30448
|
-
#
|
30449
|
-
#
|
30450
|
-
#
|
30444
|
+
# types of the same instance family. If the value is `on`, the
|
30445
|
+
# Dedicated Host supports multiple instance types in the instance
|
30446
|
+
# family. If the value is `off`, the Dedicated Host supports a single
|
30447
|
+
# instance type only.
|
30451
30448
|
# @return [String]
|
30452
30449
|
#
|
30453
30450
|
# @!attribute [rw] owner_id
|
@@ -32435,7 +32432,7 @@ module Aws::EC2
|
|
32435
32432
|
# the instance. A value of `true` means that checking is enabled, and
|
32436
32433
|
# `false` means that checking is disabled. The value must be `false`
|
32437
32434
|
# for the instance to perform NAT. For more information, see [NAT
|
32438
|
-
#
|
32435
|
+
# instances][1] in the *Amazon VPC User Guide*.
|
32439
32436
|
#
|
32440
32437
|
#
|
32441
32438
|
#
|
@@ -33717,8 +33714,8 @@ module Aws::EC2
|
|
33717
33714
|
# Describes the instance type.
|
33718
33715
|
#
|
33719
33716
|
# @!attribute [rw] instance_type
|
33720
|
-
# The instance type. For more information, see [Instance
|
33721
|
-
# the *Amazon
|
33717
|
+
# The instance type. For more information, see [Instance types][1] in
|
33718
|
+
# the *Amazon EC2 User Guide*.
|
33722
33719
|
#
|
33723
33720
|
#
|
33724
33721
|
#
|
@@ -33849,8 +33846,8 @@ module Aws::EC2
|
|
33849
33846
|
# The instance types offered.
|
33850
33847
|
#
|
33851
33848
|
# @!attribute [rw] instance_type
|
33852
|
-
# The instance type. For more information, see [Instance
|
33853
|
-
# the *Amazon
|
33849
|
+
# The instance type. For more information, see [Instance types][1] in
|
33850
|
+
# the *Amazon EC2 User Guide*.
|
33854
33851
|
#
|
33855
33852
|
#
|
33856
33853
|
#
|
@@ -36612,6 +36609,7 @@ module Aws::EC2
|
|
36612
36609
|
# instance_count: 1,
|
36613
36610
|
# end_date: Time.now,
|
36614
36611
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
36612
|
+
# accept: false,
|
36615
36613
|
# dry_run: false,
|
36616
36614
|
# }
|
36617
36615
|
#
|
@@ -36652,6 +36650,11 @@ module Aws::EC2
|
|
36652
36650
|
# `EndDateType` is `limited`.
|
36653
36651
|
# @return [String]
|
36654
36652
|
#
|
36653
|
+
# @!attribute [rw] accept
|
36654
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
36655
|
+
# default.
|
36656
|
+
# @return [Boolean]
|
36657
|
+
#
|
36655
36658
|
# @!attribute [rw] dry_run
|
36656
36659
|
# Checks whether you have the required permissions for the action,
|
36657
36660
|
# without actually making the request, and provides an error response.
|
@@ -36666,6 +36669,7 @@ module Aws::EC2
|
|
36666
36669
|
:instance_count,
|
36667
36670
|
:end_date,
|
36668
36671
|
:end_date_type,
|
36672
|
+
:accept,
|
36669
36673
|
:dry_run)
|
36670
36674
|
SENSITIVE = []
|
36671
36675
|
include Aws::Structure
|
@@ -37154,8 +37158,8 @@ module Aws::EC2
|
|
37154
37158
|
#
|
37155
37159
|
# @!attribute [rw] host_recovery
|
37156
37160
|
# Indicates whether to enable or disable host recovery for the
|
37157
|
-
# Dedicated Host. For more information, see [ Host
|
37158
|
-
# *Amazon
|
37161
|
+
# Dedicated Host. For more information, see [ Host recovery][1] in the
|
37162
|
+
# *Amazon EC2 User Guide*.
|
37159
37163
|
#
|
37160
37164
|
#
|
37161
37165
|
#
|
@@ -37458,7 +37462,7 @@ module Aws::EC2
|
|
37458
37462
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
37459
37463
|
# must add them when you launch the instance. For more information,
|
37460
37464
|
# see [Updating the block device mapping when launching an
|
37461
|
-
# instance][1] in the *Amazon
|
37465
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
37462
37466
|
#
|
37463
37467
|
#
|
37464
37468
|
#
|
@@ -37514,8 +37518,9 @@ module Aws::EC2
|
|
37514
37518
|
#
|
37515
37519
|
# @!attribute [rw] instance_type
|
37516
37520
|
# Changes the instance type to the specified value. For more
|
37517
|
-
# information, see [Instance types][1]
|
37518
|
-
# valid, the error returned is
|
37521
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
37522
|
+
# If the instance type is not valid, the error returned is
|
37523
|
+
# `InvalidInstanceAttributeValue`.
|
37519
37524
|
#
|
37520
37525
|
#
|
37521
37526
|
#
|
@@ -42521,7 +42526,7 @@ module Aws::EC2
|
|
42521
42526
|
#
|
42522
42527
|
# @!attribute [rw] client_token
|
42523
42528
|
# Unique, case-sensitive identifier that you provide to ensure the
|
42524
|
-
# idempotency of the request. For more information, see [
|
42529
|
+
# idempotency of the request. For more information, see [Ensuring
|
42525
42530
|
# Idempotency][1].
|
42526
42531
|
#
|
42527
42532
|
#
|
@@ -42573,7 +42578,7 @@ module Aws::EC2
|
|
42573
42578
|
|
42574
42579
|
# @!attribute [rw] client_token
|
42575
42580
|
# Unique, case-sensitive identifier that you provide to ensure the
|
42576
|
-
# idempotency of the request. For more information, see [
|
42581
|
+
# idempotency of the request. For more information, see [Ensuring
|
42577
42582
|
# Idempotency][1].
|
42578
42583
|
#
|
42579
42584
|
#
|
@@ -46828,7 +46833,7 @@ module Aws::EC2
|
|
46828
46833
|
#
|
46829
46834
|
# @!attribute [rw] instance_type
|
46830
46835
|
# The instance type. For more information, see [Instance types][1] in
|
46831
|
-
# the *Amazon
|
46836
|
+
# the *Amazon EC2 User Guide*.
|
46832
46837
|
#
|
46833
46838
|
# Default: `m1.small`
|
46834
46839
|
#
|
@@ -46864,8 +46869,8 @@ module Aws::EC2
|
|
46864
46869
|
# The ID of the kernel.
|
46865
46870
|
#
|
46866
46871
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
46867
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
46868
|
-
#
|
46872
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
46873
|
+
# Guide*.
|
46869
46874
|
#
|
46870
46875
|
#
|
46871
46876
|
#
|
@@ -46933,8 +46938,8 @@ module Aws::EC2
|
|
46933
46938
|
# kernel ID.
|
46934
46939
|
#
|
46935
46940
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
46936
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
46937
|
-
#
|
46941
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
46942
|
+
# Guide*.
|
46938
46943
|
#
|
46939
46944
|
#
|
46940
46945
|
#
|
@@ -47076,8 +47081,8 @@ module Aws::EC2
|
|
47076
47081
|
# An elastic GPU to associate with the instance. An Elastic GPU is a
|
47077
47082
|
# GPU resource that you can attach to your Windows instance to
|
47078
47083
|
# accelerate the graphics performance of your applications. For more
|
47079
|
-
# information, see [
|
47080
|
-
#
|
47084
|
+
# information, see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2
|
47085
|
+
# User Guide*.
|
47081
47086
|
#
|
47082
47087
|
#
|
47083
47088
|
#
|
@@ -47125,8 +47130,7 @@ module Aws::EC2
|
|
47125
47130
|
# instance. Valid values are `standard` and `unlimited`. To change
|
47126
47131
|
# this attribute after launch, use [
|
47127
47132
|
# ModifyInstanceCreditSpecification][1]. For more information, see
|
47128
|
-
# [Burstable performance instances][2] in the *Amazon
|
47129
|
-
# Cloud User Guide*.
|
47133
|
+
# [Burstable performance instances][2] in the *Amazon EC2 User Guide*.
|
47130
47134
|
#
|
47131
47135
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
47132
47136
|
#
|
@@ -47138,8 +47142,7 @@ module Aws::EC2
|
|
47138
47142
|
#
|
47139
47143
|
# @!attribute [rw] cpu_options
|
47140
47144
|
# The CPU options for the instance. For more information, see
|
47141
|
-
# [Optimizing CPU options][1] in the *Amazon
|
47142
|
-
# User Guide*.
|
47145
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
47143
47146
|
#
|
47144
47147
|
#
|
47145
47148
|
#
|
@@ -47156,8 +47159,8 @@ module Aws::EC2
|
|
47156
47159
|
#
|
47157
47160
|
# @!attribute [rw] hibernation_options
|
47158
47161
|
# Indicates whether an instance is enabled for hibernation. For more
|
47159
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
47160
|
-
#
|
47162
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2
|
47163
|
+
# User Guide*.
|
47161
47164
|
#
|
47162
47165
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
47163
47166
|
# instance.
|
@@ -47709,8 +47712,8 @@ module Aws::EC2
|
|
47709
47712
|
# @return [Types::ScheduledInstancesEbs]
|
47710
47713
|
#
|
47711
47714
|
# @!attribute [rw] no_device
|
47712
|
-
#
|
47713
|
-
#
|
47715
|
+
# To omit the device from the block device mapping, specify an empty
|
47716
|
+
# string.
|
47714
47717
|
# @return [String]
|
47715
47718
|
#
|
47716
47719
|
# @!attribute [rw] virtual_name
|
@@ -47766,9 +47769,9 @@ module Aws::EC2
|
|
47766
47769
|
# `io1` or `io2` volume, with a maximum ratio of 50 IOPS/GiB for
|
47767
47770
|
# `io1`, and 500 IOPS/GiB for `io2`. Range is 100 to 64,000 IOPS for
|
47768
47771
|
# volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only
|
47769
|
-
# on [Nitro
|
47770
|
-
# performance up to 32,000 IOPS. For more information, see
|
47771
|
-
#
|
47772
|
+
# on [instances built on the Nitro System][1]. Other instance families
|
47773
|
+
# guarantee performance up to 32,000 IOPS. For more information, see
|
47774
|
+
# [Amazon EBS volume types][2] in the *Amazon EC2 User Guide*.
|
47772
47775
|
#
|
47773
47776
|
# This parameter is valid only for Provisioned IOPS SSD (`io1` and
|
47774
47777
|
# `io2`) volumes.
|
@@ -50193,9 +50196,8 @@ module Aws::EC2
|
|
50193
50196
|
#
|
50194
50197
|
# @!attribute [rw] spot_instance_type
|
50195
50198
|
# The Spot Instance request type. For [RunInstances][1], persistent
|
50196
|
-
# Spot Instance requests are only supported when
|
50197
|
-
#
|
50198
|
-
# `stop`.
|
50199
|
+
# Spot Instance requests are only supported when the instance
|
50200
|
+
# interruption behavior is either `hibernate` or `stop`.
|
50199
50201
|
#
|
50200
50202
|
#
|
50201
50203
|
#
|
@@ -50822,7 +50824,7 @@ module Aws::EC2
|
|
50822
50824
|
# Hibernates the instance if the instance was enabled for hibernation
|
50823
50825
|
# at launch. If the instance cannot hibernate successfully, a normal
|
50824
50826
|
# shutdown occurs. For more information, see [Hibernate your
|
50825
|
-
# instance][1] in the *Amazon
|
50827
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
50826
50828
|
#
|
50827
50829
|
# Default: `false`
|
50828
50830
|
#
|
@@ -51252,7 +51254,7 @@ module Aws::EC2
|
|
51252
51254
|
# willing to pay. When the maximum amount you're willing to pay is
|
51253
51255
|
# reached, the fleet stops launching instances even if it hasn’t met the
|
51254
51256
|
# target capacity. The `MaxTotalPrice` parameters are located in
|
51255
|
-
# [OnDemandOptions][1] and [SpotOptions][2]
|
51257
|
+
# [OnDemandOptions][1] and [SpotOptions][2].
|
51256
51258
|
#
|
51257
51259
|
#
|
51258
51260
|
#
|