aws-sdk-ec2 1.546.0 → 1.548.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.
@@ -2510,6 +2510,11 @@ module Aws::EC2
2510
2510
  # The ID of the internet gateway or virtual private gateway.
2511
2511
  # @return [String]
2512
2512
  #
2513
+ # @!attribute [rw] public_ipv_4_pool
2514
+ # The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
2515
+ # addresses that you've brought to Amazon Web Services with BYOIP.
2516
+ # @return [String]
2517
+ #
2513
2518
  # @!attribute [rw] dry_run
2514
2519
  # Checks whether you have the required permissions for the action,
2515
2520
  # without actually making the request, and provides an error response.
@@ -2529,6 +2534,7 @@ module Aws::EC2
2529
2534
  #
2530
2535
  class AssociateRouteTableRequest < Struct.new(
2531
2536
  :gateway_id,
2537
+ :public_ipv_4_pool,
2532
2538
  :dry_run,
2533
2539
  :subnet_id,
2534
2540
  :route_table_id)
@@ -8889,6 +8895,9 @@ module Aws::EC2
8889
8895
 
8890
8896
  # @!attribute [rw] availability_zone
8891
8897
  # The Availability Zone in which to create the default subnet.
8898
+ #
8899
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
8900
+ # but not both.
8892
8901
  # @return [String]
8893
8902
  #
8894
8903
  # @!attribute [rw] dry_run
@@ -8904,12 +8913,20 @@ module Aws::EC2
8904
8913
  # before you can create an IPv6 only subnet.
8905
8914
  # @return [Boolean]
8906
8915
  #
8916
+ # @!attribute [rw] availability_zone_id
8917
+ # The ID of the Availability Zone.
8918
+ #
8919
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
8920
+ # but not both.
8921
+ # @return [String]
8922
+ #
8907
8923
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnetRequest AWS API Documentation
8908
8924
  #
8909
8925
  class CreateDefaultSubnetRequest < Struct.new(
8910
8926
  :availability_zone,
8911
8927
  :dry_run,
8912
- :ipv_6_native)
8928
+ :ipv_6_native,
8929
+ :availability_zone_id)
8913
8930
  SENSITIVE = []
8914
8931
  include Aws::Structure
8915
8932
  end
@@ -14685,6 +14702,17 @@ module Aws::EC2
14685
14702
  # @!attribute [rw] availability_zone
14686
14703
  # The ID of the Availability Zone in which to create the volume. For
14687
14704
  # example, `us-east-1a`.
14705
+ #
14706
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
14707
+ # but not both.
14708
+ # @return [String]
14709
+ #
14710
+ # @!attribute [rw] availability_zone_id
14711
+ # The ID of the Availability Zone in which to create the volume. For
14712
+ # example, `use1-az1`.
14713
+ #
14714
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
14715
+ # but not both.
14688
14716
  # @return [String]
14689
14717
  #
14690
14718
  # @!attribute [rw] encrypted
@@ -14906,6 +14934,7 @@ module Aws::EC2
14906
14934
  #
14907
14935
  class CreateVolumeRequest < Struct.new(
14908
14936
  :availability_zone,
14937
+ :availability_zone_id,
14909
14938
  :encrypted,
14910
14939
  :iops,
14911
14940
  :kms_key_id,
@@ -23226,6 +23255,9 @@ module Aws::EC2
23226
23255
  #
23227
23256
  # * `availability-zone` - The Availability Zone of the instance.
23228
23257
  #
23258
+ # * `availability-zone-id` - The ID of the Availability Zone of the
23259
+ # instance.
23260
+ #
23229
23261
  # * `event.code` - The code for the scheduled event (`instance-reboot`
23230
23262
  # \| `system-reboot` \| `system-maintenance` \|
23231
23263
  # `instance-retirement` \| `instance-stop`).
@@ -23755,6 +23787,9 @@ module Aws::EC2
23755
23787
  #
23756
23788
  # * `availability-zone` - The Availability Zone of the instance.
23757
23789
  #
23790
+ # * `availability-zone-id` - The ID of the Availability Zone of the
23791
+ # instance.
23792
+ #
23758
23793
  # * `block-device-mapping.attach-time` - The attach time for an EBS
23759
23794
  # volume mapped to the instance, for example,
23760
23795
  # `2022-09-15T17:15:20.000Z`.
@@ -28957,6 +28992,9 @@ module Aws::EC2
28957
28992
  # * `launched-availability-zone` - The Availability Zone in which the
28958
28993
  # request is launched.
28959
28994
  #
28995
+ # * `launched-availability-zone-id` - The ID of the Availability Zone
28996
+ # in which the request is launched.
28997
+ #
28960
28998
  # * `network-interface.addresses.primary` - Indicates whether the IP
28961
28999
  # address is the primary private IP address.
28962
29000
  #
@@ -29057,6 +29095,13 @@ module Aws::EC2
29057
29095
 
29058
29096
  # Contains the parameters for DescribeSpotPriceHistory.
29059
29097
  #
29098
+ # @!attribute [rw] availability_zone_id
29099
+ # Filters the results by the specified ID of the Availability Zone.
29100
+ #
29101
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
29102
+ # but not both
29103
+ # @return [String]
29104
+ #
29060
29105
  # @!attribute [rw] dry_run
29061
29106
  # Checks whether you have the required permissions for the action,
29062
29107
  # without actually making the request, and provides an error response.
@@ -29090,6 +29135,9 @@ module Aws::EC2
29090
29135
  # * `availability-zone` - The Availability Zone for which prices
29091
29136
  # should be returned.
29092
29137
  #
29138
+ # * `availability-zone-id` - The ID of the Availability Zone for which
29139
+ # prices should be returned.
29140
+ #
29093
29141
  # * `instance-type` - The type of instance (for example, `m3.medium`).
29094
29142
  #
29095
29143
  # * `product-description` - The product description for the Spot price
@@ -29110,6 +29158,9 @@ module Aws::EC2
29110
29158
  #
29111
29159
  # @!attribute [rw] availability_zone
29112
29160
  # Filters the results by the specified Availability Zone.
29161
+ #
29162
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
29163
+ # but not both
29113
29164
  # @return [String]
29114
29165
  #
29115
29166
  # @!attribute [rw] max_results
@@ -29131,6 +29182,7 @@ module Aws::EC2
29131
29182
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistoryRequest AWS API Documentation
29132
29183
  #
29133
29184
  class DescribeSpotPriceHistoryRequest < Struct.new(
29185
+ :availability_zone_id,
29134
29186
  :dry_run,
29135
29187
  :start_time,
29136
29188
  :end_time,
@@ -31123,6 +31175,9 @@ module Aws::EC2
31123
31175
  # * `availability-zone` - The Availability Zone in which the volume
31124
31176
  # was created.
31125
31177
  #
31178
+ # * `availability-zone-id` - The ID of the Availability Zone in which
31179
+ # the volume was created.
31180
+ #
31126
31181
  # * `create-time` - The time stamp when the volume was created.
31127
31182
  #
31128
31183
  # * `encrypted` - Indicates whether the volume is encrypted (`true` \|
@@ -44025,6 +44080,11 @@ module Aws::EC2
44025
44080
  # The Availability Zone where the resulting instance will reside.
44026
44081
  # @return [String]
44027
44082
  #
44083
+ # @!attribute [rw] availability_zone_id
44084
+ # The ID of the Availability Zone where the resulting instance will
44085
+ # reside.
44086
+ # @return [String]
44087
+ #
44028
44088
  # @!attribute [rw] bytes_converted
44029
44089
  # The number of bytes converted so far.
44030
44090
  # @return [Integer]
@@ -44053,6 +44113,7 @@ module Aws::EC2
44053
44113
  #
44054
44114
  class ImportInstanceVolumeDetailItem < Struct.new(
44055
44115
  :availability_zone,
44116
+ :availability_zone_id,
44056
44117
  :bytes_converted,
44057
44118
  :description,
44058
44119
  :image,
@@ -44281,6 +44342,13 @@ module Aws::EC2
44281
44342
  include Aws::Structure
44282
44343
  end
44283
44344
 
44345
+ # @!attribute [rw] availability_zone_id
44346
+ # The ID of the Availability Zone for the resulting EBS volume.
44347
+ #
44348
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
44349
+ # but not both.
44350
+ # @return [String]
44351
+ #
44284
44352
  # @!attribute [rw] dry_run
44285
44353
  # Checks whether you have the required permissions for the action,
44286
44354
  # without actually making the request, and provides an error response.
@@ -44290,6 +44358,9 @@ module Aws::EC2
44290
44358
  #
44291
44359
  # @!attribute [rw] availability_zone
44292
44360
  # The Availability Zone for the resulting EBS volume.
44361
+ #
44362
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
44363
+ # but not both.
44293
44364
  # @return [String]
44294
44365
  #
44295
44366
  # @!attribute [rw] image
@@ -44307,6 +44378,7 @@ module Aws::EC2
44307
44378
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolumeRequest AWS API Documentation
44308
44379
  #
44309
44380
  class ImportVolumeRequest < Struct.new(
44381
+ :availability_zone_id,
44310
44382
  :dry_run,
44311
44383
  :availability_zone,
44312
44384
  :image,
@@ -44334,6 +44406,11 @@ module Aws::EC2
44334
44406
  # The Availability Zone where the resulting volume will reside.
44335
44407
  # @return [String]
44336
44408
  #
44409
+ # @!attribute [rw] availability_zone_id
44410
+ # The ID of the Availability Zone where the resulting volume will
44411
+ # reside.
44412
+ # @return [String]
44413
+ #
44337
44414
  # @!attribute [rw] bytes_converted
44338
44415
  # The number of bytes converted so far.
44339
44416
  # @return [Integer]
@@ -44354,6 +44431,7 @@ module Aws::EC2
44354
44431
  #
44355
44432
  class ImportVolumeTaskDetails < Struct.new(
44356
44433
  :availability_zone,
44434
+ :availability_zone_id,
44357
44435
  :bytes_converted,
44358
44436
  :description,
44359
44437
  :image,
@@ -47487,6 +47565,10 @@ module Aws::EC2
47487
47565
  # The Availability Zone of the instance.
47488
47566
  # @return [String]
47489
47567
  #
47568
+ # @!attribute [rw] availability_zone_id
47569
+ # The ID of the Availability Zone of the instance.
47570
+ # @return [String]
47571
+ #
47490
47572
  # @!attribute [rw] outpost_arn
47491
47573
  # The Amazon Resource Name (ARN) of the Outpost.
47492
47574
  # @return [String]
@@ -47529,6 +47611,7 @@ module Aws::EC2
47529
47611
  #
47530
47612
  class InstanceStatus < Struct.new(
47531
47613
  :availability_zone,
47614
+ :availability_zone_id,
47532
47615
  :outpost_arn,
47533
47616
  :operator,
47534
47617
  :events,
@@ -51642,6 +51725,10 @@ module Aws::EC2
51642
51725
  # The Availability Zone of the instance.
51643
51726
  # @return [String]
51644
51727
  #
51728
+ # @!attribute [rw] availability_zone_id
51729
+ # The ID of the Availability Zone of the instance.
51730
+ # @return [String]
51731
+ #
51645
51732
  # @!attribute [rw] affinity
51646
51733
  # The affinity setting for the instance on the Dedicated Host.
51647
51734
  # @return [String]
@@ -51682,6 +51769,7 @@ module Aws::EC2
51682
51769
  #
51683
51770
  class LaunchTemplatePlacement < Struct.new(
51684
51771
  :availability_zone,
51772
+ :availability_zone_id,
51685
51773
  :affinity,
51686
51774
  :group_name,
51687
51775
  :host_id,
@@ -51698,6 +51786,16 @@ module Aws::EC2
51698
51786
  #
51699
51787
  # @!attribute [rw] availability_zone
51700
51788
  # The Availability Zone for the instance.
51789
+ #
51790
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
51791
+ # but not both
51792
+ # @return [String]
51793
+ #
51794
+ # @!attribute [rw] availability_zone_id
51795
+ # The ID of the Availability Zone for the instance.
51796
+ #
51797
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
51798
+ # but not both
51701
51799
  # @return [String]
51702
51800
  #
51703
51801
  # @!attribute [rw] affinity
@@ -51742,6 +51840,7 @@ module Aws::EC2
51742
51840
  #
51743
51841
  class LaunchTemplatePlacementRequest < Struct.new(
51744
51842
  :availability_zone,
51843
+ :availability_zone_id,
51745
51844
  :affinity,
51746
51845
  :group_name,
51747
51846
  :host_id,
@@ -61318,6 +61417,21 @@ module Aws::EC2
61318
61417
 
61319
61418
  # Describes the placement of an instance.
61320
61419
  #
61420
+ # @!attribute [rw] availability_zone_id
61421
+ # The ID of the Availability Zone of the instance.
61422
+ #
61423
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
61424
+ # but not both. If neither is specified, Amazon EC2 automatically
61425
+ # selects an Availability Zone based on the load balancing criteria
61426
+ # for the Region.
61427
+ #
61428
+ # This parameter is not supported for [CreateFleet][1].
61429
+ #
61430
+ #
61431
+ #
61432
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet
61433
+ # @return [String]
61434
+ #
61321
61435
  # @!attribute [rw] affinity
61322
61436
  # The affinity setting for the instance on the Dedicated Host.
61323
61437
  #
@@ -61397,8 +61511,10 @@ module Aws::EC2
61397
61511
  # @!attribute [rw] availability_zone
61398
61512
  # The Availability Zone of the instance.
61399
61513
  #
61400
- # If not specified, an Availability Zone will be automatically chosen
61401
- # for you based on the load balancing criteria for the Region.
61514
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
61515
+ # but not both. If neither is specified, Amazon EC2 automatically
61516
+ # selects an Availability Zone based on the load balancing criteria
61517
+ # for the Region.
61402
61518
  #
61403
61519
  # This parameter is not supported for [CreateFleet][1].
61404
61520
  #
@@ -61410,6 +61526,7 @@ module Aws::EC2
61410
61526
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Placement AWS API Documentation
61411
61527
  #
61412
61528
  class Placement < Struct.new(
61529
+ :availability_zone_id,
61413
61530
  :affinity,
61414
61531
  :group_name,
61415
61532
  :partition_number,
@@ -67355,6 +67472,11 @@ module Aws::EC2
67355
67472
  # The ID of the internet gateway or virtual private gateway.
67356
67473
  # @return [String]
67357
67474
  #
67475
+ # @!attribute [rw] public_ipv_4_pool
67476
+ # The ID of a public IPv4 pool. A public IPv4 pool is a pool of IPv4
67477
+ # addresses that you've brought to Amazon Web Services with BYOIP.
67478
+ # @return [String]
67479
+ #
67358
67480
  # @!attribute [rw] association_state
67359
67481
  # The state of the association.
67360
67482
  # @return [Types::RouteTableAssociationState]
@@ -67367,6 +67489,7 @@ module Aws::EC2
67367
67489
  :route_table_id,
67368
67490
  :subnet_id,
67369
67491
  :gateway_id,
67492
+ :public_ipv_4_pool,
67370
67493
  :association_state)
67371
67494
  SENSITIVE = []
67372
67495
  include Aws::Structure
@@ -69355,8 +69478,18 @@ module Aws::EC2
69355
69478
  # The service state.
69356
69479
  # @return [String]
69357
69480
  #
69481
+ # @!attribute [rw] availability_zone_ids
69482
+ # The IDs of the Availability Zones in which the service is available.
69483
+ #
69484
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
69485
+ # but not both
69486
+ # @return [Array<String>]
69487
+ #
69358
69488
  # @!attribute [rw] availability_zones
69359
69489
  # The Availability Zones in which the service is available.
69490
+ #
69491
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
69492
+ # but not both
69360
69493
  # @return [Array<String>]
69361
69494
  #
69362
69495
  # @!attribute [rw] acceptance_required
@@ -69421,6 +69554,7 @@ module Aws::EC2
69421
69554
  :service_id,
69422
69555
  :service_name,
69423
69556
  :service_state,
69557
+ :availability_zone_ids,
69424
69558
  :availability_zones,
69425
69559
  :acceptance_required,
69426
69560
  :manages_vpc_endpoints,
@@ -69456,8 +69590,18 @@ module Aws::EC2
69456
69590
  # The Region where the service is hosted.
69457
69591
  # @return [String]
69458
69592
  #
69593
+ # @!attribute [rw] availability_zone_ids
69594
+ # The IDs of the Availability Zones in which the service is available.
69595
+ #
69596
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
69597
+ # but not both
69598
+ # @return [Array<String>]
69599
+ #
69459
69600
  # @!attribute [rw] availability_zones
69460
69601
  # The Availability Zones in which the service is available.
69602
+ #
69603
+ # Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
69604
+ # but not both
69461
69605
  # @return [Array<String>]
69462
69606
  #
69463
69607
  # @!attribute [rw] owner
@@ -69517,6 +69661,7 @@ module Aws::EC2
69517
69661
  :service_id,
69518
69662
  :service_type,
69519
69663
  :service_region,
69664
+ :availability_zone_ids,
69520
69665
  :availability_zones,
69521
69666
  :owner,
69522
69667
  :base_endpoint_dns_names,
@@ -70936,6 +71081,16 @@ module Aws::EC2
70936
71081
  #
70937
71082
  # @!attribute [rw] launched_availability_zone
70938
71083
  # The Availability Zone in which the request is launched.
71084
+ #
71085
+ # Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId`
71086
+ # can be specified, but not both
71087
+ # @return [String]
71088
+ #
71089
+ # @!attribute [rw] launched_availability_zone_id
71090
+ # The ID of the Availability Zone in which the request is launched.
71091
+ #
71092
+ # Either `launchedAvailabilityZone` or `launchedAvailabilityZoneId`
71093
+ # can be specified, but not both
70939
71094
  # @return [String]
70940
71095
  #
70941
71096
  # @!attribute [rw] product_description
@@ -71016,6 +71171,7 @@ module Aws::EC2
71016
71171
  :launch_group,
71017
71172
  :launch_specification,
71018
71173
  :launched_availability_zone,
71174
+ :launched_availability_zone_id,
71019
71175
  :product_description,
71020
71176
  :spot_instance_request_id,
71021
71177
  :spot_price,
@@ -71566,6 +71722,10 @@ module Aws::EC2
71566
71722
  # The Availability Zone.
71567
71723
  # @return [String]
71568
71724
  #
71725
+ # @!attribute [rw] availability_zone_id
71726
+ # The ID of the Availability Zone.
71727
+ # @return [String]
71728
+ #
71569
71729
  # @!attribute [rw] instance_type
71570
71730
  # The instance type.
71571
71731
  # @return [String]
@@ -71593,6 +71753,7 @@ module Aws::EC2
71593
71753
  #
71594
71754
  class SpotPrice < Struct.new(
71595
71755
  :availability_zone,
71756
+ :availability_zone_id,
71596
71757
  :instance_type,
71597
71758
  :product_description,
71598
71759
  :spot_price,
@@ -76723,6 +76884,10 @@ module Aws::EC2
76723
76884
 
76724
76885
  # Describes a volume.
76725
76886
  #
76887
+ # @!attribute [rw] availability_zone_id
76888
+ # The ID of the Availability Zone for the volume.
76889
+ # @return [String]
76890
+ #
76726
76891
  # @!attribute [rw] outpost_arn
76727
76892
  # The Amazon Resource Name (ARN) of the Outpost.
76728
76893
  # @return [String]
@@ -76823,6 +76988,7 @@ module Aws::EC2
76823
76988
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/Volume AWS API Documentation
76824
76989
  #
76825
76990
  class Volume < Struct.new(
76991
+ :availability_zone_id,
76826
76992
  :outpost_arn,
76827
76993
  :iops,
76828
76994
  :tags,
@@ -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
@@ -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
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.546.0'
81
+ GEM_VERSION = '1.548.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -511,6 +511,7 @@ module Aws
511
511
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#associate_route_table-instance_method
512
512
  def associate_route_table: (
513
513
  ?gateway_id: ::String,
514
+ ?public_ipv_4_pool: ::String,
514
515
  ?dry_run: bool,
515
516
  ?subnet_id: ::String,
516
517
  route_table_id: ::String
@@ -1366,11 +1367,12 @@ module Aws
1366
1367
  end
1367
1368
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_default_subnet-instance_method
1368
1369
  def create_default_subnet: (
1369
- availability_zone: ::String,
1370
+ ?availability_zone: ::String,
1370
1371
  ?dry_run: bool,
1371
- ?ipv_6_native: bool
1372
+ ?ipv_6_native: bool,
1373
+ ?availability_zone_id: ::String
1372
1374
  ) -> _CreateDefaultSubnetResponseSuccess
1373
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDefaultSubnetResponseSuccess
1375
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDefaultSubnetResponseSuccess
1374
1376
 
1375
1377
  interface _CreateDefaultVpcResponseSuccess
1376
1378
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDefaultVpcResult]
@@ -1509,6 +1511,7 @@ module Aws
1509
1511
  weighted_capacity: ::Float?,
1510
1512
  priority: ::Float?,
1511
1513
  placement: {
1514
+ availability_zone_id: ::String?,
1512
1515
  affinity: ::String?,
1513
1516
  group_name: ::String?,
1514
1517
  partition_number: ::Integer?,
@@ -2134,6 +2137,7 @@ module Aws
2134
2137
  }?,
2135
2138
  placement: {
2136
2139
  availability_zone: ::String?,
2140
+ availability_zone_id: ::String?,
2137
2141
  affinity: ::String?,
2138
2142
  group_name: ::String?,
2139
2143
  host_id: ::String?,
@@ -2408,6 +2412,7 @@ module Aws
2408
2412
  }?,
2409
2413
  placement: {
2410
2414
  availability_zone: ::String?,
2415
+ availability_zone_id: ::String?,
2411
2416
  affinity: ::String?,
2412
2417
  group_name: ::String?,
2413
2418
  host_id: ::String?,
@@ -4103,6 +4108,7 @@ module Aws
4103
4108
 
4104
4109
  interface _CreateVolumeResponseSuccess
4105
4110
  include ::Seahorse::Client::_ResponseSuccess[Types::Volume]
4111
+ def availability_zone_id: () -> ::String
4106
4112
  def outpost_arn: () -> ::String
4107
4113
  def iops: () -> ::Integer
4108
4114
  def tags: () -> ::Array[Types::Tag]
@@ -4125,7 +4131,8 @@ module Aws
4125
4131
  end
4126
4132
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#create_volume-instance_method
4127
4133
  def create_volume: (
4128
- availability_zone: ::String,
4134
+ ?availability_zone: ::String,
4135
+ ?availability_zone_id: ::String,
4129
4136
  ?encrypted: bool,
4130
4137
  ?iops: ::Integer,
4131
4138
  ?kms_key_id: ::String,
@@ -4153,7 +4160,7 @@ module Aws
4153
4160
  },
4154
4161
  ?dry_run: bool
4155
4162
  ) -> _CreateVolumeResponseSuccess
4156
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVolumeResponseSuccess
4163
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVolumeResponseSuccess
4157
4164
 
4158
4165
  interface _CreateVpcResponseSuccess
4159
4166
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcResult]
@@ -7782,6 +7789,7 @@ module Aws
7782
7789
  end
7783
7790
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#describe_spot_price_history-instance_method
7784
7791
  def describe_spot_price_history: (
7792
+ ?availability_zone_id: ::String,
7785
7793
  ?dry_run: bool,
7786
7794
  ?start_time: ::Time,
7787
7795
  ?end_time: ::Time,
@@ -10607,6 +10615,7 @@ module Aws
10607
10615
  }?,
10608
10616
  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
10617
  placement: {
10618
+ availability_zone_id: ::String?,
10610
10619
  affinity: ::String?,
10611
10620
  group_name: ::String?,
10612
10621
  partition_number: ::Integer?,
@@ -10715,8 +10724,9 @@ module Aws
10715
10724
  end
10716
10725
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#import_volume-instance_method
10717
10726
  def import_volume: (
10727
+ ?availability_zone_id: ::String,
10718
10728
  ?dry_run: bool,
10719
- availability_zone: ::String,
10729
+ ?availability_zone: ::String,
10720
10730
  image: {
10721
10731
  format: ("VMDK" | "RAW" | "VHD"),
10722
10732
  bytes: ::Integer,
@@ -10921,6 +10931,7 @@ module Aws
10921
10931
  weighted_capacity: ::Float?,
10922
10932
  priority: ::Float?,
10923
10933
  placement: {
10934
+ availability_zone_id: ::String?,
10924
10935
  affinity: ::String?,
10925
10936
  group_name: ::String?,
10926
10937
  partition_number: ::Integer?,
@@ -13731,6 +13742,7 @@ module Aws
13731
13742
  enabled: bool
13732
13743
  },
13733
13744
  ?placement: {
13745
+ availability_zone_id: ::String?,
13734
13746
  affinity: ::String?,
13735
13747
  group_name: ::String?,
13736
13748
  partition_number: ::Integer?,
data/sig/resource.rbs CHANGED
@@ -143,6 +143,7 @@ module Aws
143
143
  enabled: bool
144
144
  },
145
145
  ?placement: {
146
+ availability_zone_id: ::String?,
146
147
  affinity: ::String?,
147
148
  group_name: ::String?,
148
149
  partition_number: ::Integer?,
@@ -588,7 +589,8 @@ module Aws
588
589
 
589
590
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_volume-instance_method
590
591
  def create_volume: (
591
- availability_zone: ::String,
592
+ ?availability_zone: ::String,
593
+ ?availability_zone_id: ::String,
592
594
  ?encrypted: bool,
593
595
  ?iops: ::Integer,
594
596
  ?kms_key_id: ::String,