aws-sdk-ec2 1.546.0 → 1.547.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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +146 -46
- data/lib/aws-sdk-ec2/client_api.rb +18 -3
- data/lib/aws-sdk-ec2/image.rb +24 -2
- data/lib/aws-sdk-ec2/instance.rb +4 -1
- data/lib/aws-sdk-ec2/placement_group.rb +3 -0
- data/lib/aws-sdk-ec2/resource.rb +19 -2
- data/lib/aws-sdk-ec2/subnet.rb +4 -0
- data/lib/aws-sdk-ec2/types.rb +182 -6
- data/lib/aws-sdk-ec2/volume.rb +6 -0
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +17 -6
- data/sig/resource.rbs +3 -1
- data/sig/subnet.rbs +1 -0
- data/sig/types.rbs +15 -0
- data/sig/volume.rbs +3 -0
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8889,6 +8889,9 @@ module Aws::EC2
|
|
8889
8889
|
|
8890
8890
|
# @!attribute [rw] availability_zone
|
8891
8891
|
# The Availability Zone in which to create the default subnet.
|
8892
|
+
#
|
8893
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
8894
|
+
# but not both.
|
8892
8895
|
# @return [String]
|
8893
8896
|
#
|
8894
8897
|
# @!attribute [rw] dry_run
|
@@ -8904,12 +8907,20 @@ module Aws::EC2
|
|
8904
8907
|
# before you can create an IPv6 only subnet.
|
8905
8908
|
# @return [Boolean]
|
8906
8909
|
#
|
8910
|
+
# @!attribute [rw] availability_zone_id
|
8911
|
+
# The ID of the Availability Zone.
|
8912
|
+
#
|
8913
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
8914
|
+
# but not both.
|
8915
|
+
# @return [String]
|
8916
|
+
#
|
8907
8917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest AWS API Documentation
|
8908
8918
|
#
|
8909
8919
|
class CreateDefaultSubnetRequest < Struct.new(
|
8910
8920
|
:availability_zone,
|
8911
8921
|
:dry_run,
|
8912
|
-
:ipv_6_native
|
8922
|
+
:ipv_6_native,
|
8923
|
+
:availability_zone_id)
|
8913
8924
|
SENSITIVE = []
|
8914
8925
|
include Aws::Structure
|
8915
8926
|
end
|
@@ -9710,7 +9721,7 @@ module Aws::EC2
|
|
9710
9721
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
9711
9722
|
# different encryption status (for example, where the source volume
|
9712
9723
|
# and snapshots are unencrypted, and you want to create an AMI with
|
9713
|
-
# encrypted volumes or snapshots),
|
9724
|
+
# encrypted volumes or snapshots), use the CopyImage action.
|
9714
9725
|
#
|
9715
9726
|
# * The only option that can be changed for existing mappings or
|
9716
9727
|
# snapshots is `DeleteOnTermination`.
|
@@ -14685,6 +14696,17 @@ module Aws::EC2
|
|
14685
14696
|
# @!attribute [rw] availability_zone
|
14686
14697
|
# The ID of the Availability Zone in which to create the volume. For
|
14687
14698
|
# example, `us-east-1a`.
|
14699
|
+
#
|
14700
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
14701
|
+
# but not both.
|
14702
|
+
# @return [String]
|
14703
|
+
#
|
14704
|
+
# @!attribute [rw] availability_zone_id
|
14705
|
+
# The ID of the Availability Zone in which to create the volume. For
|
14706
|
+
# example, `use1-az1`.
|
14707
|
+
#
|
14708
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
14709
|
+
# but not both.
|
14688
14710
|
# @return [String]
|
14689
14711
|
#
|
14690
14712
|
# @!attribute [rw] encrypted
|
@@ -14906,6 +14928,7 @@ module Aws::EC2
|
|
14906
14928
|
#
|
14907
14929
|
class CreateVolumeRequest < Struct.new(
|
14908
14930
|
:availability_zone,
|
14931
|
+
:availability_zone_id,
|
14909
14932
|
:encrypted,
|
14910
14933
|
:iops,
|
14911
14934
|
:kms_key_id,
|
@@ -22405,8 +22428,8 @@ module Aws::EC2
|
|
22405
22428
|
#
|
22406
22429
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using
|
22407
22430
|
# this attribute returns the `Client.AuthFailure` error. To get
|
22408
|
-
# information about the block device mappings for an AMI,
|
22409
|
-
#
|
22431
|
+
# information about the block device mappings for an AMI, use the
|
22432
|
+
# DescribeImages action.
|
22410
22433
|
# @return [String]
|
22411
22434
|
#
|
22412
22435
|
# @!attribute [rw] image_id
|
@@ -23226,6 +23249,9 @@ module Aws::EC2
|
|
23226
23249
|
#
|
23227
23250
|
# * `availability-zone` - The Availability Zone of the instance.
|
23228
23251
|
#
|
23252
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
23253
|
+
# instance.
|
23254
|
+
#
|
23229
23255
|
# * `event.code` - The code for the scheduled event (`instance-reboot`
|
23230
23256
|
# \| `system-reboot` \| `system-maintenance` \|
|
23231
23257
|
# `instance-retirement` \| `instance-stop`).
|
@@ -23755,6 +23781,9 @@ module Aws::EC2
|
|
23755
23781
|
#
|
23756
23782
|
# * `availability-zone` - The Availability Zone of the instance.
|
23757
23783
|
#
|
23784
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
23785
|
+
# instance.
|
23786
|
+
#
|
23758
23787
|
# * `block-device-mapping.attach-time` - The attach time for an EBS
|
23759
23788
|
# volume mapped to the instance, for example,
|
23760
23789
|
# `2022-09-15T17:15:20.000Z`.
|
@@ -28957,6 +28986,9 @@ module Aws::EC2
|
|
28957
28986
|
# * `launched-availability-zone` - The Availability Zone in which the
|
28958
28987
|
# request is launched.
|
28959
28988
|
#
|
28989
|
+
# * `launched-availability-zone-id` - The ID of the Availability Zone
|
28990
|
+
# in which the request is launched.
|
28991
|
+
#
|
28960
28992
|
# * `network-interface.addresses.primary` - Indicates whether the IP
|
28961
28993
|
# address is the primary private IP address.
|
28962
28994
|
#
|
@@ -29057,6 +29089,13 @@ module Aws::EC2
|
|
29057
29089
|
|
29058
29090
|
# Contains the parameters for DescribeSpotPriceHistory.
|
29059
29091
|
#
|
29092
|
+
# @!attribute [rw] availability_zone_id
|
29093
|
+
# Filters the results by the specified ID of the Availability Zone.
|
29094
|
+
#
|
29095
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
29096
|
+
# but not both
|
29097
|
+
# @return [String]
|
29098
|
+
#
|
29060
29099
|
# @!attribute [rw] dry_run
|
29061
29100
|
# Checks whether you have the required permissions for the action,
|
29062
29101
|
# without actually making the request, and provides an error response.
|
@@ -29090,6 +29129,9 @@ module Aws::EC2
|
|
29090
29129
|
# * `availability-zone` - The Availability Zone for which prices
|
29091
29130
|
# should be returned.
|
29092
29131
|
#
|
29132
|
+
# * `availability-zone-id` - The ID of the Availability Zone for which
|
29133
|
+
# prices should be returned.
|
29134
|
+
#
|
29093
29135
|
# * `instance-type` - The type of instance (for example, `m3.medium`).
|
29094
29136
|
#
|
29095
29137
|
# * `product-description` - The product description for the Spot price
|
@@ -29110,6 +29152,9 @@ module Aws::EC2
|
|
29110
29152
|
#
|
29111
29153
|
# @!attribute [rw] availability_zone
|
29112
29154
|
# Filters the results by the specified Availability Zone.
|
29155
|
+
#
|
29156
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
29157
|
+
# but not both
|
29113
29158
|
# @return [String]
|
29114
29159
|
#
|
29115
29160
|
# @!attribute [rw] max_results
|
@@ -29131,6 +29176,7 @@ module Aws::EC2
|
|
29131
29176
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryRequest AWS API Documentation
|
29132
29177
|
#
|
29133
29178
|
class DescribeSpotPriceHistoryRequest < Struct.new(
|
29179
|
+
:availability_zone_id,
|
29134
29180
|
:dry_run,
|
29135
29181
|
:start_time,
|
29136
29182
|
:end_time,
|
@@ -31123,6 +31169,9 @@ module Aws::EC2
|
|
31123
31169
|
# * `availability-zone` - The Availability Zone in which the volume
|
31124
31170
|
# was created.
|
31125
31171
|
#
|
31172
|
+
# * `availability-zone-id` - The ID of the Availability Zone in which
|
31173
|
+
# the volume was created.
|
31174
|
+
#
|
31126
31175
|
# * `create-time` - The time stamp when the volume was created.
|
31127
31176
|
#
|
31128
31177
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
@@ -42978,10 +43027,32 @@ module Aws::EC2
|
|
42978
43027
|
#
|
42979
43028
|
# @!attribute [rw] source_image_id
|
42980
43029
|
# The ID of the source AMI from which the AMI was created.
|
43030
|
+
#
|
43031
|
+
# The ID only appears if the AMI was created using CreateImage,
|
43032
|
+
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
43033
|
+
# AMI was created using any other API. For some older AMIs, the ID
|
43034
|
+
# might not be available. For more information, see [Identify the
|
43035
|
+
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon
|
43036
|
+
# EC2 User Guide*.
|
43037
|
+
#
|
43038
|
+
#
|
43039
|
+
#
|
43040
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
42981
43041
|
# @return [String]
|
42982
43042
|
#
|
42983
43043
|
# @!attribute [rw] source_image_region
|
42984
43044
|
# The Region of the source AMI.
|
43045
|
+
#
|
43046
|
+
# The Region only appears if the AMI was created using CreateImage,
|
43047
|
+
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
43048
|
+
# the AMI was created using any other API. For some older AMIs, the
|
43049
|
+
# Region might not be available. For more information, see [Identify
|
43050
|
+
# the source AMI used to create a new Amazon EC2 AMI][1] in the
|
43051
|
+
# *Amazon EC2 User Guide*.
|
43052
|
+
#
|
43053
|
+
#
|
43054
|
+
#
|
43055
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
42985
43056
|
# @return [String]
|
42986
43057
|
#
|
42987
43058
|
# @!attribute [rw] free_tier_eligible
|
@@ -44025,6 +44096,11 @@ module Aws::EC2
|
|
44025
44096
|
# The Availability Zone where the resulting instance will reside.
|
44026
44097
|
# @return [String]
|
44027
44098
|
#
|
44099
|
+
# @!attribute [rw] availability_zone_id
|
44100
|
+
# The ID of the Availability Zone where the resulting instance will
|
44101
|
+
# reside.
|
44102
|
+
# @return [String]
|
44103
|
+
#
|
44028
44104
|
# @!attribute [rw] bytes_converted
|
44029
44105
|
# The number of bytes converted so far.
|
44030
44106
|
# @return [Integer]
|
@@ -44053,6 +44129,7 @@ module Aws::EC2
|
|
44053
44129
|
#
|
44054
44130
|
class ImportInstanceVolumeDetailItem < Struct.new(
|
44055
44131
|
:availability_zone,
|
44132
|
+
:availability_zone_id,
|
44056
44133
|
:bytes_converted,
|
44057
44134
|
:description,
|
44058
44135
|
:image,
|
@@ -44281,6 +44358,13 @@ module Aws::EC2
|
|
44281
44358
|
include Aws::Structure
|
44282
44359
|
end
|
44283
44360
|
|
44361
|
+
# @!attribute [rw] availability_zone_id
|
44362
|
+
# The ID of the Availability Zone for the resulting EBS volume.
|
44363
|
+
#
|
44364
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
44365
|
+
# but not both.
|
44366
|
+
# @return [String]
|
44367
|
+
#
|
44284
44368
|
# @!attribute [rw] dry_run
|
44285
44369
|
# Checks whether you have the required permissions for the action,
|
44286
44370
|
# without actually making the request, and provides an error response.
|
@@ -44290,6 +44374,9 @@ module Aws::EC2
|
|
44290
44374
|
#
|
44291
44375
|
# @!attribute [rw] availability_zone
|
44292
44376
|
# The Availability Zone for the resulting EBS volume.
|
44377
|
+
#
|
44378
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
|
44379
|
+
# but not both.
|
44293
44380
|
# @return [String]
|
44294
44381
|
#
|
44295
44382
|
# @!attribute [rw] image
|
@@ -44307,6 +44394,7 @@ module Aws::EC2
|
|
44307
44394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeRequest AWS API Documentation
|
44308
44395
|
#
|
44309
44396
|
class ImportVolumeRequest < Struct.new(
|
44397
|
+
:availability_zone_id,
|
44310
44398
|
:dry_run,
|
44311
44399
|
:availability_zone,
|
44312
44400
|
:image,
|
@@ -44334,6 +44422,11 @@ module Aws::EC2
|
|
44334
44422
|
# The Availability Zone where the resulting volume will reside.
|
44335
44423
|
# @return [String]
|
44336
44424
|
#
|
44425
|
+
# @!attribute [rw] availability_zone_id
|
44426
|
+
# The ID of the Availability Zone where the resulting volume will
|
44427
|
+
# reside.
|
44428
|
+
# @return [String]
|
44429
|
+
#
|
44337
44430
|
# @!attribute [rw] bytes_converted
|
44338
44431
|
# The number of bytes converted so far.
|
44339
44432
|
# @return [Integer]
|
@@ -44354,6 +44447,7 @@ module Aws::EC2
|
|
44354
44447
|
#
|
44355
44448
|
class ImportVolumeTaskDetails < Struct.new(
|
44356
44449
|
:availability_zone,
|
44450
|
+
:availability_zone_id,
|
44357
44451
|
:bytes_converted,
|
44358
44452
|
:description,
|
44359
44453
|
:image,
|
@@ -47487,6 +47581,10 @@ module Aws::EC2
|
|
47487
47581
|
# The Availability Zone of the instance.
|
47488
47582
|
# @return [String]
|
47489
47583
|
#
|
47584
|
+
# @!attribute [rw] availability_zone_id
|
47585
|
+
# The ID of the Availability Zone of the instance.
|
47586
|
+
# @return [String]
|
47587
|
+
#
|
47490
47588
|
# @!attribute [rw] outpost_arn
|
47491
47589
|
# The Amazon Resource Name (ARN) of the Outpost.
|
47492
47590
|
# @return [String]
|
@@ -47529,6 +47627,7 @@ module Aws::EC2
|
|
47529
47627
|
#
|
47530
47628
|
class InstanceStatus < Struct.new(
|
47531
47629
|
:availability_zone,
|
47630
|
+
:availability_zone_id,
|
47532
47631
|
:outpost_arn,
|
47533
47632
|
:operator,
|
47534
47633
|
:events,
|
@@ -51642,6 +51741,10 @@ module Aws::EC2
|
|
51642
51741
|
# The Availability Zone of the instance.
|
51643
51742
|
# @return [String]
|
51644
51743
|
#
|
51744
|
+
# @!attribute [rw] availability_zone_id
|
51745
|
+
# The ID of the Availability Zone of the instance.
|
51746
|
+
# @return [String]
|
51747
|
+
#
|
51645
51748
|
# @!attribute [rw] affinity
|
51646
51749
|
# The affinity setting for the instance on the Dedicated Host.
|
51647
51750
|
# @return [String]
|
@@ -51682,6 +51785,7 @@ module Aws::EC2
|
|
51682
51785
|
#
|
51683
51786
|
class LaunchTemplatePlacement < Struct.new(
|
51684
51787
|
:availability_zone,
|
51788
|
+
:availability_zone_id,
|
51685
51789
|
:affinity,
|
51686
51790
|
:group_name,
|
51687
51791
|
:host_id,
|
@@ -51698,6 +51802,16 @@ module Aws::EC2
|
|
51698
51802
|
#
|
51699
51803
|
# @!attribute [rw] availability_zone
|
51700
51804
|
# The Availability Zone for the instance.
|
51805
|
+
#
|
51806
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
51807
|
+
# but not both
|
51808
|
+
# @return [String]
|
51809
|
+
#
|
51810
|
+
# @!attribute [rw] availability_zone_id
|
51811
|
+
# The ID of the Availability Zone for the instance.
|
51812
|
+
#
|
51813
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
51814
|
+
# but not both
|
51701
51815
|
# @return [String]
|
51702
51816
|
#
|
51703
51817
|
# @!attribute [rw] affinity
|
@@ -51742,6 +51856,7 @@ module Aws::EC2
|
|
51742
51856
|
#
|
51743
51857
|
class LaunchTemplatePlacementRequest < Struct.new(
|
51744
51858
|
:availability_zone,
|
51859
|
+
:availability_zone_id,
|
51745
51860
|
:affinity,
|
51746
51861
|
:group_name,
|
51747
51862
|
:host_id,
|
@@ -61318,6 +61433,21 @@ module Aws::EC2
|
|
61318
61433
|
|
61319
61434
|
# Describes the placement of an instance.
|
61320
61435
|
#
|
61436
|
+
# @!attribute [rw] availability_zone_id
|
61437
|
+
# The ID of the Availability Zone of the instance.
|
61438
|
+
#
|
61439
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
61440
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
61441
|
+
# selects an Availability Zone based on the load balancing criteria
|
61442
|
+
# for the Region.
|
61443
|
+
#
|
61444
|
+
# This parameter is not supported for [CreateFleet][1].
|
61445
|
+
#
|
61446
|
+
#
|
61447
|
+
#
|
61448
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
|
61449
|
+
# @return [String]
|
61450
|
+
#
|
61321
61451
|
# @!attribute [rw] affinity
|
61322
61452
|
# The affinity setting for the instance on the Dedicated Host.
|
61323
61453
|
#
|
@@ -61397,8 +61527,10 @@ module Aws::EC2
|
|
61397
61527
|
# @!attribute [rw] availability_zone
|
61398
61528
|
# The Availability Zone of the instance.
|
61399
61529
|
#
|
61400
|
-
#
|
61401
|
-
#
|
61530
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
61531
|
+
# but not both. If neither is specified, Amazon EC2 automatically
|
61532
|
+
# selects an Availability Zone based on the load balancing criteria
|
61533
|
+
# for the Region.
|
61402
61534
|
#
|
61403
61535
|
# This parameter is not supported for [CreateFleet][1].
|
61404
61536
|
#
|
@@ -61410,6 +61542,7 @@ module Aws::EC2
|
|
61410
61542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement AWS API Documentation
|
61411
61543
|
#
|
61412
61544
|
class Placement < Struct.new(
|
61545
|
+
:availability_zone_id,
|
61413
61546
|
:affinity,
|
61414
61547
|
:group_name,
|
61415
61548
|
:partition_number,
|
@@ -69355,8 +69488,18 @@ module Aws::EC2
|
|
69355
69488
|
# The service state.
|
69356
69489
|
# @return [String]
|
69357
69490
|
#
|
69491
|
+
# @!attribute [rw] availability_zone_ids
|
69492
|
+
# The IDs of the Availability Zones in which the service is available.
|
69493
|
+
#
|
69494
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
69495
|
+
# but not both
|
69496
|
+
# @return [Array<String>]
|
69497
|
+
#
|
69358
69498
|
# @!attribute [rw] availability_zones
|
69359
69499
|
# The Availability Zones in which the service is available.
|
69500
|
+
#
|
69501
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
69502
|
+
# but not both
|
69360
69503
|
# @return [Array<String>]
|
69361
69504
|
#
|
69362
69505
|
# @!attribute [rw] acceptance_required
|
@@ -69421,6 +69564,7 @@ module Aws::EC2
|
|
69421
69564
|
:service_id,
|
69422
69565
|
:service_name,
|
69423
69566
|
:service_state,
|
69567
|
+
:availability_zone_ids,
|
69424
69568
|
:availability_zones,
|
69425
69569
|
:acceptance_required,
|
69426
69570
|
:manages_vpc_endpoints,
|
@@ -69456,8 +69600,18 @@ module Aws::EC2
|
|
69456
69600
|
# The Region where the service is hosted.
|
69457
69601
|
# @return [String]
|
69458
69602
|
#
|
69603
|
+
# @!attribute [rw] availability_zone_ids
|
69604
|
+
# The IDs of the Availability Zones in which the service is available.
|
69605
|
+
#
|
69606
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
69607
|
+
# but not both
|
69608
|
+
# @return [Array<String>]
|
69609
|
+
#
|
69459
69610
|
# @!attribute [rw] availability_zones
|
69460
69611
|
# The Availability Zones in which the service is available.
|
69612
|
+
#
|
69613
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
69614
|
+
# but not both
|
69461
69615
|
# @return [Array<String>]
|
69462
69616
|
#
|
69463
69617
|
# @!attribute [rw] owner
|
@@ -69517,6 +69671,7 @@ module Aws::EC2
|
|
69517
69671
|
:service_id,
|
69518
69672
|
:service_type,
|
69519
69673
|
:service_region,
|
69674
|
+
:availability_zone_ids,
|
69520
69675
|
:availability_zones,
|
69521
69676
|
:owner,
|
69522
69677
|
:base_endpoint_dns_names,
|
@@ -70936,6 +71091,16 @@ module Aws::EC2
|
|
70936
71091
|
#
|
70937
71092
|
# @!attribute [rw] launched_availability_zone
|
70938
71093
|
# The Availability Zone in which the request is launched.
|
71094
|
+
#
|
71095
|
+
# Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId`
|
71096
|
+
# can be specified, but not both
|
71097
|
+
# @return [String]
|
71098
|
+
#
|
71099
|
+
# @!attribute [rw] launched_availability_zone_id
|
71100
|
+
# The ID of the Availability Zone in which the request is launched.
|
71101
|
+
#
|
71102
|
+
# Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId`
|
71103
|
+
# can be specified, but not both
|
70939
71104
|
# @return [String]
|
70940
71105
|
#
|
70941
71106
|
# @!attribute [rw] product_description
|
@@ -71016,6 +71181,7 @@ module Aws::EC2
|
|
71016
71181
|
:launch_group,
|
71017
71182
|
:launch_specification,
|
71018
71183
|
:launched_availability_zone,
|
71184
|
+
:launched_availability_zone_id,
|
71019
71185
|
:product_description,
|
71020
71186
|
:spot_instance_request_id,
|
71021
71187
|
:spot_price,
|
@@ -71566,6 +71732,10 @@ module Aws::EC2
|
|
71566
71732
|
# The Availability Zone.
|
71567
71733
|
# @return [String]
|
71568
71734
|
#
|
71735
|
+
# @!attribute [rw] availability_zone_id
|
71736
|
+
# The ID of the Availability Zone.
|
71737
|
+
# @return [String]
|
71738
|
+
#
|
71569
71739
|
# @!attribute [rw] instance_type
|
71570
71740
|
# The instance type.
|
71571
71741
|
# @return [String]
|
@@ -71593,6 +71763,7 @@ module Aws::EC2
|
|
71593
71763
|
#
|
71594
71764
|
class SpotPrice < Struct.new(
|
71595
71765
|
:availability_zone,
|
71766
|
+
:availability_zone_id,
|
71596
71767
|
:instance_type,
|
71597
71768
|
:product_description,
|
71598
71769
|
:spot_price,
|
@@ -76723,6 +76894,10 @@ module Aws::EC2
|
|
76723
76894
|
|
76724
76895
|
# Describes a volume.
|
76725
76896
|
#
|
76897
|
+
# @!attribute [rw] availability_zone_id
|
76898
|
+
# The ID of the Availability Zone for the volume.
|
76899
|
+
# @return [String]
|
76900
|
+
#
|
76726
76901
|
# @!attribute [rw] outpost_arn
|
76727
76902
|
# The Amazon Resource Name (ARN) of the Outpost.
|
76728
76903
|
# @return [String]
|
@@ -76823,6 +76998,7 @@ module Aws::EC2
|
|
76823
76998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Volume AWS API Documentation
|
76824
76999
|
#
|
76825
77000
|
class Volume < Struct.new(
|
77001
|
+
:availability_zone_id,
|
76826
77002
|
:outpost_arn,
|
76827
77003
|
:iops,
|
76828
77004
|
:tags,
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -35,6 +35,12 @@ module Aws::EC2
|
|
35
35
|
end
|
36
36
|
alias :volume_id :id
|
37
37
|
|
38
|
+
# The ID of the Availability Zone for the volume.
|
39
|
+
# @return [String]
|
40
|
+
def availability_zone_id
|
41
|
+
data[:availability_zone_id]
|
42
|
+
end
|
43
|
+
|
38
44
|
# The Amazon Resource Name (ARN) of the Outpost.
|
39
45
|
# @return [String]
|
40
46
|
def outpost_arn
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1044,6 +1044,9 @@ module Aws::EC2
|
|
1044
1044
|
#
|
1045
1045
|
# * `availability-zone` - The Availability Zone of the instance.
|
1046
1046
|
#
|
1047
|
+
# * `availability-zone-id` - The ID of the Availability Zone of the
|
1048
|
+
# instance.
|
1049
|
+
#
|
1047
1050
|
# * `block-device-mapping.attach-time` - The attach time for an EBS
|
1048
1051
|
# volume mapped to the instance, for example,
|
1049
1052
|
# `2022-09-15T17:15:20.000Z`.
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1366,11 +1366,12 @@ module Aws
|
|
1366
1366
|
end
|
1367
1367
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_default_subnet-instance_method
|
1368
1368
|
def create_default_subnet: (
|
1369
|
-
availability_zone: ::String,
|
1369
|
+
?availability_zone: ::String,
|
1370
1370
|
?dry_run: bool,
|
1371
|
-
?ipv_6_native: bool
|
1371
|
+
?ipv_6_native: bool,
|
1372
|
+
?availability_zone_id: ::String
|
1372
1373
|
) -> _CreateDefaultSubnetResponseSuccess
|
1373
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDefaultSubnetResponseSuccess
|
1374
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDefaultSubnetResponseSuccess
|
1374
1375
|
|
1375
1376
|
interface _CreateDefaultVpcResponseSuccess
|
1376
1377
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDefaultVpcResult]
|
@@ -1509,6 +1510,7 @@ module Aws
|
|
1509
1510
|
weighted_capacity: ::Float?,
|
1510
1511
|
priority: ::Float?,
|
1511
1512
|
placement: {
|
1513
|
+
availability_zone_id: ::String?,
|
1512
1514
|
affinity: ::String?,
|
1513
1515
|
group_name: ::String?,
|
1514
1516
|
partition_number: ::Integer?,
|
@@ -2134,6 +2136,7 @@ module Aws
|
|
2134
2136
|
}?,
|
2135
2137
|
placement: {
|
2136
2138
|
availability_zone: ::String?,
|
2139
|
+
availability_zone_id: ::String?,
|
2137
2140
|
affinity: ::String?,
|
2138
2141
|
group_name: ::String?,
|
2139
2142
|
host_id: ::String?,
|
@@ -2408,6 +2411,7 @@ module Aws
|
|
2408
2411
|
}?,
|
2409
2412
|
placement: {
|
2410
2413
|
availability_zone: ::String?,
|
2414
|
+
availability_zone_id: ::String?,
|
2411
2415
|
affinity: ::String?,
|
2412
2416
|
group_name: ::String?,
|
2413
2417
|
host_id: ::String?,
|
@@ -4103,6 +4107,7 @@ module Aws
|
|
4103
4107
|
|
4104
4108
|
interface _CreateVolumeResponseSuccess
|
4105
4109
|
include ::Seahorse::Client::_ResponseSuccess[Types::Volume]
|
4110
|
+
def availability_zone_id: () -> ::String
|
4106
4111
|
def outpost_arn: () -> ::String
|
4107
4112
|
def iops: () -> ::Integer
|
4108
4113
|
def tags: () -> ::Array[Types::Tag]
|
@@ -4125,7 +4130,8 @@ module Aws
|
|
4125
4130
|
end
|
4126
4131
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_volume-instance_method
|
4127
4132
|
def create_volume: (
|
4128
|
-
availability_zone: ::String,
|
4133
|
+
?availability_zone: ::String,
|
4134
|
+
?availability_zone_id: ::String,
|
4129
4135
|
?encrypted: bool,
|
4130
4136
|
?iops: ::Integer,
|
4131
4137
|
?kms_key_id: ::String,
|
@@ -4153,7 +4159,7 @@ module Aws
|
|
4153
4159
|
},
|
4154
4160
|
?dry_run: bool
|
4155
4161
|
) -> _CreateVolumeResponseSuccess
|
4156
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVolumeResponseSuccess
|
4162
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVolumeResponseSuccess
|
4157
4163
|
|
4158
4164
|
interface _CreateVpcResponseSuccess
|
4159
4165
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcResult]
|
@@ -7782,6 +7788,7 @@ module Aws
|
|
7782
7788
|
end
|
7783
7789
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_spot_price_history-instance_method
|
7784
7790
|
def describe_spot_price_history: (
|
7791
|
+
?availability_zone_id: ::String,
|
7785
7792
|
?dry_run: bool,
|
7786
7793
|
?start_time: ::Time,
|
7787
7794
|
?end_time: ::Time,
|
@@ -10607,6 +10614,7 @@ module Aws
|
|
10607
10614
|
}?,
|
10608
10615
|
instance_type: ("a1.medium" | "a1.large" | "a1.xlarge" | "a1.2xlarge" | "a1.4xlarge" | "a1.metal" | "c1.medium" | "c1.xlarge" | "c3.large" | "c3.xlarge" | "c3.2xlarge" | "c3.4xlarge" | "c3.8xlarge" | "c4.large" | "c4.xlarge" | "c4.2xlarge" | "c4.4xlarge" | "c4.8xlarge" | "c5.large" | "c5.xlarge" | "c5.2xlarge" | "c5.4xlarge" | "c5.9xlarge" | "c5.12xlarge" | "c5.18xlarge" | "c5.24xlarge" | "c5.metal" | "c5a.large" | "c5a.xlarge" | "c5a.2xlarge" | "c5a.4xlarge" | "c5a.8xlarge" | "c5a.12xlarge" | "c5a.16xlarge" | "c5a.24xlarge" | "c5ad.large" | "c5ad.xlarge" | "c5ad.2xlarge" | "c5ad.4xlarge" | "c5ad.8xlarge" | "c5ad.12xlarge" | "c5ad.16xlarge" | "c5ad.24xlarge" | "c5d.large" | "c5d.xlarge" | "c5d.2xlarge" | "c5d.4xlarge" | "c5d.9xlarge" | "c5d.12xlarge" | "c5d.18xlarge" | "c5d.24xlarge" | "c5d.metal" | "c5n.large" | "c5n.xlarge" | "c5n.2xlarge" | "c5n.4xlarge" | "c5n.9xlarge" | "c5n.18xlarge" | "c5n.metal" | "c6g.medium" | "c6g.large" | "c6g.xlarge" | "c6g.2xlarge" | "c6g.4xlarge" | "c6g.8xlarge" | "c6g.12xlarge" | "c6g.16xlarge" | "c6g.metal" | "c6gd.medium" | "c6gd.large" | "c6gd.xlarge" | "c6gd.2xlarge" | "c6gd.4xlarge" | "c6gd.8xlarge" | "c6gd.12xlarge" | "c6gd.16xlarge" | "c6gd.metal" | "c6gn.medium" | "c6gn.large" | "c6gn.xlarge" | "c6gn.2xlarge" | "c6gn.4xlarge" | "c6gn.8xlarge" | "c6gn.12xlarge" | "c6gn.16xlarge" | "c6i.large" | "c6i.xlarge" | "c6i.2xlarge" | "c6i.4xlarge" | "c6i.8xlarge" | "c6i.12xlarge" | "c6i.16xlarge" | "c6i.24xlarge" | "c6i.32xlarge" | "c6i.metal" | "cc1.4xlarge" | "cc2.8xlarge" | "cg1.4xlarge" | "cr1.8xlarge" | "d2.xlarge" | "d2.2xlarge" | "d2.4xlarge" | "d2.8xlarge" | "d3.xlarge" | "d3.2xlarge" | "d3.4xlarge" | "d3.8xlarge" | "d3en.xlarge" | "d3en.2xlarge" | "d3en.4xlarge" | "d3en.6xlarge" | "d3en.8xlarge" | "d3en.12xlarge" | "dl1.24xlarge" | "f1.2xlarge" | "f1.4xlarge" | "f1.16xlarge" | "g2.2xlarge" | "g2.8xlarge" | "g3.4xlarge" | "g3.8xlarge" | "g3.16xlarge" | "g3s.xlarge" | "g4ad.xlarge" | "g4ad.2xlarge" | "g4ad.4xlarge" | "g4ad.8xlarge" | "g4ad.16xlarge" | "g4dn.xlarge" | "g4dn.2xlarge" | "g4dn.4xlarge" | "g4dn.8xlarge" | "g4dn.12xlarge" | "g4dn.16xlarge" | "g4dn.metal" | "g5.xlarge" | "g5.2xlarge" | "g5.4xlarge" | "g5.8xlarge" | "g5.12xlarge" | "g5.16xlarge" | "g5.24xlarge" | "g5.48xlarge" | "g5g.xlarge" | "g5g.2xlarge" | "g5g.4xlarge" | "g5g.8xlarge" | "g5g.16xlarge" | "g5g.metal" | "hi1.4xlarge" | "hpc6a.48xlarge" | "hs1.8xlarge" | "h1.2xlarge" | "h1.4xlarge" | "h1.8xlarge" | "h1.16xlarge" | "i2.xlarge" | "i2.2xlarge" | "i2.4xlarge" | "i2.8xlarge" | "i3.large" | "i3.xlarge" | "i3.2xlarge" | "i3.4xlarge" | "i3.8xlarge" | "i3.16xlarge" | "i3.metal" | "i3en.large" | "i3en.xlarge" | "i3en.2xlarge" | "i3en.3xlarge" | "i3en.6xlarge" | "i3en.12xlarge" | "i3en.24xlarge" | "i3en.metal" | "im4gn.large" | "im4gn.xlarge" | "im4gn.2xlarge" | "im4gn.4xlarge" | "im4gn.8xlarge" | "im4gn.16xlarge" | "inf1.xlarge" | "inf1.2xlarge" | "inf1.6xlarge" | "inf1.24xlarge" | "is4gen.medium" | "is4gen.large" | "is4gen.xlarge" | "is4gen.2xlarge" | "is4gen.4xlarge" | "is4gen.8xlarge" | "m1.small" | "m1.medium" | "m1.large" | "m1.xlarge" | "m2.xlarge" | "m2.2xlarge" | "m2.4xlarge" | "m3.medium" | "m3.large" | "m3.xlarge" | "m3.2xlarge" | "m4.large" | "m4.xlarge" | "m4.2xlarge" | "m4.4xlarge" | "m4.10xlarge" | "m4.16xlarge" | "m5.large" | "m5.xlarge" | "m5.2xlarge" | "m5.4xlarge" | "m5.8xlarge" | "m5.12xlarge" | "m5.16xlarge" | "m5.24xlarge" | "m5.metal" | "m5a.large" | "m5a.xlarge" | "m5a.2xlarge" | "m5a.4xlarge" | "m5a.8xlarge" | "m5a.12xlarge" | "m5a.16xlarge" | "m5a.24xlarge" | "m5ad.large" | "m5ad.xlarge" | "m5ad.2xlarge" | "m5ad.4xlarge" | "m5ad.8xlarge" | "m5ad.12xlarge" | "m5ad.16xlarge" | "m5ad.24xlarge" | "m5d.large" | "m5d.xlarge" | "m5d.2xlarge" | "m5d.4xlarge" | "m5d.8xlarge" | "m5d.12xlarge" | "m5d.16xlarge" | "m5d.24xlarge" | "m5d.metal" | "m5dn.large" | "m5dn.xlarge" | "m5dn.2xlarge" | "m5dn.4xlarge" | "m5dn.8xlarge" | "m5dn.12xlarge" | "m5dn.16xlarge" | "m5dn.24xlarge" | "m5dn.metal" | "m5n.large" | "m5n.xlarge" | "m5n.2xlarge" | "m5n.4xlarge" | "m5n.8xlarge" | "m5n.12xlarge" | "m5n.16xlarge" | "m5n.24xlarge" | "m5n.metal" | "m5zn.large" | "m5zn.xlarge" | "m5zn.2xlarge" | "m5zn.3xlarge" | "m5zn.6xlarge" | "m5zn.12xlarge" | "m5zn.metal" | "m6a.large" | "m6a.xlarge" | "m6a.2xlarge" | "m6a.4xlarge" | "m6a.8xlarge" | "m6a.12xlarge" | "m6a.16xlarge" | "m6a.24xlarge" | "m6a.32xlarge" | "m6a.48xlarge" | "m6g.metal" | "m6g.medium" | "m6g.large" | "m6g.xlarge" | "m6g.2xlarge" | "m6g.4xlarge" | "m6g.8xlarge" | "m6g.12xlarge" | "m6g.16xlarge" | "m6gd.metal" | "m6gd.medium" | "m6gd.large" | "m6gd.xlarge" | "m6gd.2xlarge" | "m6gd.4xlarge" | "m6gd.8xlarge" | "m6gd.12xlarge" | "m6gd.16xlarge" | "m6i.large" | "m6i.xlarge" | "m6i.2xlarge" | "m6i.4xlarge" | "m6i.8xlarge" | "m6i.12xlarge" | "m6i.16xlarge" | "m6i.24xlarge" | "m6i.32xlarge" | "m6i.metal" | "mac1.metal" | "p2.xlarge" | "p2.8xlarge" | "p2.16xlarge" | "p3.2xlarge" | "p3.8xlarge" | "p3.16xlarge" | "p3dn.24xlarge" | "p4d.24xlarge" | "r3.large" | "r3.xlarge" | "r3.2xlarge" | "r3.4xlarge" | "r3.8xlarge" | "r4.large" | "r4.xlarge" | "r4.2xlarge" | "r4.4xlarge" | "r4.8xlarge" | "r4.16xlarge" | "r5.large" | "r5.xlarge" | "r5.2xlarge" | "r5.4xlarge" | "r5.8xlarge" | "r5.12xlarge" | "r5.16xlarge" | "r5.24xlarge" | "r5.metal" | "r5a.large" | "r5a.xlarge" | "r5a.2xlarge" | "r5a.4xlarge" | "r5a.8xlarge" | "r5a.12xlarge" | "r5a.16xlarge" | "r5a.24xlarge" | "r5ad.large" | "r5ad.xlarge" | "r5ad.2xlarge" | "r5ad.4xlarge" | "r5ad.8xlarge" | "r5ad.12xlarge" | "r5ad.16xlarge" | "r5ad.24xlarge" | "r5b.large" | "r5b.xlarge" | "r5b.2xlarge" | "r5b.4xlarge" | "r5b.8xlarge" | "r5b.12xlarge" | "r5b.16xlarge" | "r5b.24xlarge" | "r5b.metal" | "r5d.large" | "r5d.xlarge" | "r5d.2xlarge" | "r5d.4xlarge" | "r5d.8xlarge" | "r5d.12xlarge" | "r5d.16xlarge" | "r5d.24xlarge" | "r5d.metal" | "r5dn.large" | "r5dn.xlarge" | "r5dn.2xlarge" | "r5dn.4xlarge" | "r5dn.8xlarge" | "r5dn.12xlarge" | "r5dn.16xlarge" | "r5dn.24xlarge" | "r5dn.metal" | "r5n.large" | "r5n.xlarge" | "r5n.2xlarge" | "r5n.4xlarge" | "r5n.8xlarge" | "r5n.12xlarge" | "r5n.16xlarge" | "r5n.24xlarge" | "r5n.metal" | "r6g.medium" | "r6g.large" | "r6g.xlarge" | "r6g.2xlarge" | "r6g.4xlarge" | "r6g.8xlarge" | "r6g.12xlarge" | "r6g.16xlarge" | "r6g.metal" | "r6gd.medium" | "r6gd.large" | "r6gd.xlarge" | "r6gd.2xlarge" | "r6gd.4xlarge" | "r6gd.8xlarge" | "r6gd.12xlarge" | "r6gd.16xlarge" | "r6gd.metal" | "r6i.large" | "r6i.xlarge" | "r6i.2xlarge" | "r6i.4xlarge" | "r6i.8xlarge" | "r6i.12xlarge" | "r6i.16xlarge" | "r6i.24xlarge" | "r6i.32xlarge" | "r6i.metal" | "t1.micro" | "t2.nano" | "t2.micro" | "t2.small" | "t2.medium" | "t2.large" | "t2.xlarge" | "t2.2xlarge" | "t3.nano" | "t3.micro" | "t3.small" | "t3.medium" | "t3.large" | "t3.xlarge" | "t3.2xlarge" | "t3a.nano" | "t3a.micro" | "t3a.small" | "t3a.medium" | "t3a.large" | "t3a.xlarge" | "t3a.2xlarge" | "t4g.nano" | "t4g.micro" | "t4g.small" | "t4g.medium" | "t4g.large" | "t4g.xlarge" | "t4g.2xlarge" | "u-6tb1.56xlarge" | "u-6tb1.112xlarge" | "u-9tb1.112xlarge" | "u-12tb1.112xlarge" | "u-6tb1.metal" | "u-9tb1.metal" | "u-12tb1.metal" | "u-18tb1.metal" | "u-24tb1.metal" | "vt1.3xlarge" | "vt1.6xlarge" | "vt1.24xlarge" | "x1.16xlarge" | "x1.32xlarge" | "x1e.xlarge" | "x1e.2xlarge" | "x1e.4xlarge" | "x1e.8xlarge" | "x1e.16xlarge" | "x1e.32xlarge" | "x2iezn.2xlarge" | "x2iezn.4xlarge" | "x2iezn.6xlarge" | "x2iezn.8xlarge" | "x2iezn.12xlarge" | "x2iezn.metal" | "x2gd.medium" | "x2gd.large" | "x2gd.xlarge" | "x2gd.2xlarge" | "x2gd.4xlarge" | "x2gd.8xlarge" | "x2gd.12xlarge" | "x2gd.16xlarge" | "x2gd.metal" | "z1d.large" | "z1d.xlarge" | "z1d.2xlarge" | "z1d.3xlarge" | "z1d.6xlarge" | "z1d.12xlarge" | "z1d.metal" | "x2idn.16xlarge" | "x2idn.24xlarge" | "x2idn.32xlarge" | "x2iedn.xlarge" | "x2iedn.2xlarge" | "x2iedn.4xlarge" | "x2iedn.8xlarge" | "x2iedn.16xlarge" | "x2iedn.24xlarge" | "x2iedn.32xlarge" | "c6a.large" | "c6a.xlarge" | "c6a.2xlarge" | "c6a.4xlarge" | "c6a.8xlarge" | "c6a.12xlarge" | "c6a.16xlarge" | "c6a.24xlarge" | "c6a.32xlarge" | "c6a.48xlarge" | "c6a.metal" | "m6a.metal" | "i4i.large" | "i4i.xlarge" | "i4i.2xlarge" | "i4i.4xlarge" | "i4i.8xlarge" | "i4i.16xlarge" | "i4i.32xlarge" | "i4i.metal" | "x2idn.metal" | "x2iedn.metal" | "c7g.medium" | "c7g.large" | "c7g.xlarge" | "c7g.2xlarge" | "c7g.4xlarge" | "c7g.8xlarge" | "c7g.12xlarge" | "c7g.16xlarge" | "mac2.metal" | "c6id.large" | "c6id.xlarge" | "c6id.2xlarge" | "c6id.4xlarge" | "c6id.8xlarge" | "c6id.12xlarge" | "c6id.16xlarge" | "c6id.24xlarge" | "c6id.32xlarge" | "c6id.metal" | "m6id.large" | "m6id.xlarge" | "m6id.2xlarge" | "m6id.4xlarge" | "m6id.8xlarge" | "m6id.12xlarge" | "m6id.16xlarge" | "m6id.24xlarge" | "m6id.32xlarge" | "m6id.metal" | "r6id.large" | "r6id.xlarge" | "r6id.2xlarge" | "r6id.4xlarge" | "r6id.8xlarge" | "r6id.12xlarge" | "r6id.16xlarge" | "r6id.24xlarge" | "r6id.32xlarge" | "r6id.metal" | "r6a.large" | "r6a.xlarge" | "r6a.2xlarge" | "r6a.4xlarge" | "r6a.8xlarge" | "r6a.12xlarge" | "r6a.16xlarge" | "r6a.24xlarge" | "r6a.32xlarge" | "r6a.48xlarge" | "r6a.metal" | "p4de.24xlarge" | "u-3tb1.56xlarge" | "u-18tb1.112xlarge" | "u-24tb1.112xlarge" | "trn1.2xlarge" | "trn1.32xlarge" | "hpc6id.32xlarge" | "c6in.large" | "c6in.xlarge" | "c6in.2xlarge" | "c6in.4xlarge" | "c6in.8xlarge" | "c6in.12xlarge" | "c6in.16xlarge" | "c6in.24xlarge" | "c6in.32xlarge" | "m6in.large" | "m6in.xlarge" | "m6in.2xlarge" | "m6in.4xlarge" | "m6in.8xlarge" | "m6in.12xlarge" | "m6in.16xlarge" | "m6in.24xlarge" | "m6in.32xlarge" | "m6idn.large" | "m6idn.xlarge" | "m6idn.2xlarge" | "m6idn.4xlarge" | "m6idn.8xlarge" | "m6idn.12xlarge" | "m6idn.16xlarge" | "m6idn.24xlarge" | "m6idn.32xlarge" | "r6in.large" | "r6in.xlarge" | "r6in.2xlarge" | "r6in.4xlarge" | "r6in.8xlarge" | "r6in.12xlarge" | "r6in.16xlarge" | "r6in.24xlarge" | "r6in.32xlarge" | "r6idn.large" | "r6idn.xlarge" | "r6idn.2xlarge" | "r6idn.4xlarge" | "r6idn.8xlarge" | "r6idn.12xlarge" | "r6idn.16xlarge" | "r6idn.24xlarge" | "r6idn.32xlarge" | "c7g.metal" | "m7g.medium" | "m7g.large" | "m7g.xlarge" | "m7g.2xlarge" | "m7g.4xlarge" | "m7g.8xlarge" | "m7g.12xlarge" | "m7g.16xlarge" | "m7g.metal" | "r7g.medium" | "r7g.large" | "r7g.xlarge" | "r7g.2xlarge" | "r7g.4xlarge" | "r7g.8xlarge" | "r7g.12xlarge" | "r7g.16xlarge" | "r7g.metal" | "c6in.metal" | "m6in.metal" | "m6idn.metal" | "r6in.metal" | "r6idn.metal" | "inf2.xlarge" | "inf2.8xlarge" | "inf2.24xlarge" | "inf2.48xlarge" | "trn1n.32xlarge" | "i4g.large" | "i4g.xlarge" | "i4g.2xlarge" | "i4g.4xlarge" | "i4g.8xlarge" | "i4g.16xlarge" | "hpc7g.4xlarge" | "hpc7g.8xlarge" | "hpc7g.16xlarge" | "c7gn.medium" | "c7gn.large" | "c7gn.xlarge" | "c7gn.2xlarge" | "c7gn.4xlarge" | "c7gn.8xlarge" | "c7gn.12xlarge" | "c7gn.16xlarge" | "p5.48xlarge" | "m7i.large" | "m7i.xlarge" | "m7i.2xlarge" | "m7i.4xlarge" | "m7i.8xlarge" | "m7i.12xlarge" | "m7i.16xlarge" | "m7i.24xlarge" | "m7i.48xlarge" | "m7i-flex.large" | "m7i-flex.xlarge" | "m7i-flex.2xlarge" | "m7i-flex.4xlarge" | "m7i-flex.8xlarge" | "m7a.medium" | "m7a.large" | "m7a.xlarge" | "m7a.2xlarge" | "m7a.4xlarge" | "m7a.8xlarge" | "m7a.12xlarge" | "m7a.16xlarge" | "m7a.24xlarge" | "m7a.32xlarge" | "m7a.48xlarge" | "m7a.metal-48xl" | "hpc7a.12xlarge" | "hpc7a.24xlarge" | "hpc7a.48xlarge" | "hpc7a.96xlarge" | "c7gd.medium" | "c7gd.large" | "c7gd.xlarge" | "c7gd.2xlarge" | "c7gd.4xlarge" | "c7gd.8xlarge" | "c7gd.12xlarge" | "c7gd.16xlarge" | "m7gd.medium" | "m7gd.large" | "m7gd.xlarge" | "m7gd.2xlarge" | "m7gd.4xlarge" | "m7gd.8xlarge" | "m7gd.12xlarge" | "m7gd.16xlarge" | "r7gd.medium" | "r7gd.large" | "r7gd.xlarge" | "r7gd.2xlarge" | "r7gd.4xlarge" | "r7gd.8xlarge" | "r7gd.12xlarge" | "r7gd.16xlarge" | "r7a.medium" | "r7a.large" | "r7a.xlarge" | "r7a.2xlarge" | "r7a.4xlarge" | "r7a.8xlarge" | "r7a.12xlarge" | "r7a.16xlarge" | "r7a.24xlarge" | "r7a.32xlarge" | "r7a.48xlarge" | "c7i.large" | "c7i.xlarge" | "c7i.2xlarge" | "c7i.4xlarge" | "c7i.8xlarge" | "c7i.12xlarge" | "c7i.16xlarge" | "c7i.24xlarge" | "c7i.48xlarge" | "mac2-m2pro.metal" | "r7iz.large" | "r7iz.xlarge" | "r7iz.2xlarge" | "r7iz.4xlarge" | "r7iz.8xlarge" | "r7iz.12xlarge" | "r7iz.16xlarge" | "r7iz.32xlarge" | "c7a.medium" | "c7a.large" | "c7a.xlarge" | "c7a.2xlarge" | "c7a.4xlarge" | "c7a.8xlarge" | "c7a.12xlarge" | "c7a.16xlarge" | "c7a.24xlarge" | "c7a.32xlarge" | "c7a.48xlarge" | "c7a.metal-48xl" | "r7a.metal-48xl" | "r7i.large" | "r7i.xlarge" | "r7i.2xlarge" | "r7i.4xlarge" | "r7i.8xlarge" | "r7i.12xlarge" | "r7i.16xlarge" | "r7i.24xlarge" | "r7i.48xlarge" | "dl2q.24xlarge" | "mac2-m2.metal" | "i4i.12xlarge" | "i4i.24xlarge" | "c7i.metal-24xl" | "c7i.metal-48xl" | "m7i.metal-24xl" | "m7i.metal-48xl" | "r7i.metal-24xl" | "r7i.metal-48xl" | "r7iz.metal-16xl" | "r7iz.metal-32xl" | "c7gd.metal" | "m7gd.metal" | "r7gd.metal" | "g6.xlarge" | "g6.2xlarge" | "g6.4xlarge" | "g6.8xlarge" | "g6.12xlarge" | "g6.16xlarge" | "g6.24xlarge" | "g6.48xlarge" | "gr6.4xlarge" | "gr6.8xlarge" | "c7i-flex.large" | "c7i-flex.xlarge" | "c7i-flex.2xlarge" | "c7i-flex.4xlarge" | "c7i-flex.8xlarge" | "u7i-12tb.224xlarge" | "u7in-16tb.224xlarge" | "u7in-24tb.224xlarge" | "u7in-32tb.224xlarge" | "u7ib-12tb.224xlarge" | "c7gn.metal" | "r8g.medium" | "r8g.large" | "r8g.xlarge" | "r8g.2xlarge" | "r8g.4xlarge" | "r8g.8xlarge" | "r8g.12xlarge" | "r8g.16xlarge" | "r8g.24xlarge" | "r8g.48xlarge" | "r8g.metal-24xl" | "r8g.metal-48xl" | "mac2-m1ultra.metal" | "g6e.xlarge" | "g6e.2xlarge" | "g6e.4xlarge" | "g6e.8xlarge" | "g6e.12xlarge" | "g6e.16xlarge" | "g6e.24xlarge" | "g6e.48xlarge" | "c8g.medium" | "c8g.large" | "c8g.xlarge" | "c8g.2xlarge" | "c8g.4xlarge" | "c8g.8xlarge" | "c8g.12xlarge" | "c8g.16xlarge" | "c8g.24xlarge" | "c8g.48xlarge" | "c8g.metal-24xl" | "c8g.metal-48xl" | "m8g.medium" | "m8g.large" | "m8g.xlarge" | "m8g.2xlarge" | "m8g.4xlarge" | "m8g.8xlarge" | "m8g.12xlarge" | "m8g.16xlarge" | "m8g.24xlarge" | "m8g.48xlarge" | "m8g.metal-24xl" | "m8g.metal-48xl" | "x8g.medium" | "x8g.large" | "x8g.xlarge" | "x8g.2xlarge" | "x8g.4xlarge" | "x8g.8xlarge" | "x8g.12xlarge" | "x8g.16xlarge" | "x8g.24xlarge" | "x8g.48xlarge" | "x8g.metal-24xl" | "x8g.metal-48xl" | "i7ie.large" | "i7ie.xlarge" | "i7ie.2xlarge" | "i7ie.3xlarge" | "i7ie.6xlarge" | "i7ie.12xlarge" | "i7ie.18xlarge" | "i7ie.24xlarge" | "i7ie.48xlarge" | "i8g.large" | "i8g.xlarge" | "i8g.2xlarge" | "i8g.4xlarge" | "i8g.8xlarge" | "i8g.12xlarge" | "i8g.16xlarge" | "i8g.24xlarge" | "i8g.metal-24xl" | "u7i-6tb.112xlarge" | "u7i-8tb.112xlarge" | "u7inh-32tb.480xlarge" | "p5e.48xlarge" | "p5en.48xlarge" | "f2.12xlarge" | "f2.48xlarge" | "trn2.48xlarge" | "c7i-flex.12xlarge" | "c7i-flex.16xlarge" | "m7i-flex.12xlarge" | "m7i-flex.16xlarge" | "i7ie.metal-24xl" | "i7ie.metal-48xl" | "i8g.48xlarge" | "c8gd.medium" | "c8gd.large" | "c8gd.xlarge" | "c8gd.2xlarge" | "c8gd.4xlarge" | "c8gd.8xlarge" | "c8gd.12xlarge" | "c8gd.16xlarge" | "c8gd.24xlarge" | "c8gd.48xlarge" | "c8gd.metal-24xl" | "c8gd.metal-48xl" | "i7i.large" | "i7i.xlarge" | "i7i.2xlarge" | "i7i.4xlarge" | "i7i.8xlarge" | "i7i.12xlarge" | "i7i.16xlarge" | "i7i.24xlarge" | "i7i.48xlarge" | "i7i.metal-24xl" | "i7i.metal-48xl" | "p6-b200.48xlarge" | "m8gd.medium" | "m8gd.large" | "m8gd.xlarge" | "m8gd.2xlarge" | "m8gd.4xlarge" | "m8gd.8xlarge" | "m8gd.12xlarge" | "m8gd.16xlarge" | "m8gd.24xlarge" | "m8gd.48xlarge" | "m8gd.metal-24xl" | "m8gd.metal-48xl" | "r8gd.medium" | "r8gd.large" | "r8gd.xlarge" | "r8gd.2xlarge" | "r8gd.4xlarge" | "r8gd.8xlarge" | "r8gd.12xlarge" | "r8gd.16xlarge" | "r8gd.24xlarge" | "r8gd.48xlarge" | "r8gd.metal-24xl" | "r8gd.metal-48xl" | "c8gn.medium" | "c8gn.large" | "c8gn.xlarge" | "c8gn.2xlarge" | "c8gn.4xlarge" | "c8gn.8xlarge" | "c8gn.12xlarge" | "c8gn.16xlarge" | "c8gn.24xlarge" | "c8gn.48xlarge" | "c8gn.metal-24xl" | "c8gn.metal-48xl" | "f2.6xlarge" | "p6e-gb200.36xlarge")?,
|
10609
10616
|
placement: {
|
10617
|
+
availability_zone_id: ::String?,
|
10610
10618
|
affinity: ::String?,
|
10611
10619
|
group_name: ::String?,
|
10612
10620
|
partition_number: ::Integer?,
|
@@ -10715,8 +10723,9 @@ module Aws
|
|
10715
10723
|
end
|
10716
10724
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#import_volume-instance_method
|
10717
10725
|
def import_volume: (
|
10726
|
+
?availability_zone_id: ::String,
|
10718
10727
|
?dry_run: bool,
|
10719
|
-
availability_zone: ::String,
|
10728
|
+
?availability_zone: ::String,
|
10720
10729
|
image: {
|
10721
10730
|
format: ("VMDK" | "RAW" | "VHD"),
|
10722
10731
|
bytes: ::Integer,
|
@@ -10921,6 +10930,7 @@ module Aws
|
|
10921
10930
|
weighted_capacity: ::Float?,
|
10922
10931
|
priority: ::Float?,
|
10923
10932
|
placement: {
|
10933
|
+
availability_zone_id: ::String?,
|
10924
10934
|
affinity: ::String?,
|
10925
10935
|
group_name: ::String?,
|
10926
10936
|
partition_number: ::Integer?,
|
@@ -13731,6 +13741,7 @@ module Aws
|
|
13731
13741
|
enabled: bool
|
13732
13742
|
},
|
13733
13743
|
?placement: {
|
13744
|
+
availability_zone_id: ::String?,
|
13734
13745
|
affinity: ::String?,
|
13735
13746
|
group_name: ::String?,
|
13736
13747
|
partition_number: ::Integer?,
|