aws-sdk-ec2 1.675.0 → 1.676.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.
@@ -3932,6 +3932,9 @@ module Aws::EC2
3932
3932
  # * {Types::VolumeAttachment#associated_resource #associated_resource} => String
3933
3933
  # * {Types::VolumeAttachment#instance_owning_service #instance_owning_service} => String
3934
3934
  # * {Types::VolumeAttachment#ebs_card_index #ebs_card_index} => Integer
3935
+ # * {Types::VolumeAttachment#availability_zone #availability_zone} => String
3936
+ # * {Types::VolumeAttachment#availability_zone_id #availability_zone_id} => String
3937
+ # * {Types::VolumeAttachment#trim_state #trim_state} => String
3935
3938
  # * {Types::VolumeAttachment#volume_id #volume_id} => String
3936
3939
  # * {Types::VolumeAttachment#instance_id #instance_id} => String
3937
3940
  # * {Types::VolumeAttachment#device #device} => String
@@ -3974,6 +3977,9 @@ module Aws::EC2
3974
3977
  # resp.associated_resource #=> String
3975
3978
  # resp.instance_owning_service #=> String
3976
3979
  # resp.ebs_card_index #=> Integer
3980
+ # resp.availability_zone #=> String
3981
+ # resp.availability_zone_id #=> String
3982
+ # resp.trim_state #=> String, one of "enabled", "disabled"
3977
3983
  # resp.volume_id #=> String
3978
3984
  # resp.instance_id #=> String
3979
3985
  # resp.device #=> String
@@ -6063,19 +6069,23 @@ module Aws::EC2
6063
6069
  #
6064
6070
  # @option params [Integer] :iops
6065
6071
  # The number of I/O operations per second (IOPS) to provision for the
6066
- # volume copy. Required for `io1` and `io2` volumes. Optional for `gp3`
6067
- # volumes. Omit for all other volume types. Full provisioned IOPS
6068
- # performance can be achieved only once the volume copy is fully
6069
- # initialized.
6072
+ # volume copy. Required for `io1`, `io2`, and `io2a` volumes. Optional
6073
+ # for `gp3` and `gp3a` volumes. Omit for all other volume types. Full
6074
+ # provisioned IOPS performance can be achieved only once the volume copy
6075
+ # is fully initialized.
6070
6076
  #
6071
6077
  # Valid ranges:
6072
6078
  #
6073
6079
  # * gp3: `3,000 `(*default*)` - 80,000` IOPS
6074
6080
  #
6081
+ # * gp3a: `1,000 - 80,000` IOPS. Default: `3,000`
6082
+ #
6075
6083
  # * io1: `100 - 64,000` IOPS
6076
6084
  #
6077
6085
  # * io2: `100 - 256,000` IOPS
6078
6086
  #
6087
+ # * io2a: `100 - 256,000` IOPS
6088
+ #
6079
6089
  # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
6080
6090
  # IOPS. Other instances can support up to 32,000 IOPS.
6081
6091
  #
@@ -6096,10 +6106,14 @@ module Aws::EC2
6096
6106
  #
6097
6107
  # * gp3: `65,536` GiB
6098
6108
  #
6109
+ # * gp3a: `65,536` GiB
6110
+ #
6099
6111
  # * io1: `16,384` GiB
6100
6112
  #
6101
6113
  # * io2: `65,536` GiB
6102
6114
  #
6115
+ # * io2a: `65,536` GiB
6116
+ #
6103
6117
  # * st1 and sc1: `16,384` GiB
6104
6118
  #
6105
6119
  # * standard: `1024` GiB
@@ -6121,8 +6135,8 @@ module Aws::EC2
6121
6135
  # Indicates whether to enable Amazon EBS Multi-Attach for the volume
6122
6136
  # copy. If you enable Multi-Attach, you can attach the volume to up to
6123
6137
  # 16 Nitro instances in the same Availability Zone simultaneously.
6124
- # Supported with `io1` and `io2` volumes only. For more information, see
6125
- # [ Amazon EBS Multi-Attach][1].
6138
+ # Supported with `io1`, `io2`, and `io2a` volumes only. For more
6139
+ # information, see [ Amazon EBS Multi-Attach][1].
6126
6140
  #
6127
6141
  #
6128
6142
  #
@@ -6130,8 +6144,8 @@ module Aws::EC2
6130
6144
  #
6131
6145
  # @option params [Integer] :throughput
6132
6146
  # The throughput to provision for the volume copy, in MiB/s. Supported
6133
- # for `gp3` volumes only. Omit for all other volume types. Full
6134
- # provisioned throughput performance can be achieved only once the
6147
+ # for `gp3` and `gp3a` volumes only. Omit for all other volume types.
6148
+ # Full provisioned throughput performance can be achieved only once the
6135
6149
  # volume copy is fully initialized.
6136
6150
  #
6137
6151
  # Valid Range: `125 - 2000` MiB/s
@@ -6175,7 +6189,7 @@ module Aws::EC2
6175
6189
  # source_volume_id: "VolumeId", # required
6176
6190
  # iops: 1,
6177
6191
  # size: 1,
6178
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
6192
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
6179
6193
  # dry_run: false,
6180
6194
  # tag_specifications: [
6181
6195
  # {
@@ -6205,7 +6219,7 @@ module Aws::EC2
6205
6219
  # resp.volumes[0].tags #=> Array
6206
6220
  # resp.volumes[0].tags[0].key #=> String
6207
6221
  # resp.volumes[0].tags[0].value #=> String
6208
- # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
6222
+ # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
6209
6223
  # resp.volumes[0].fast_restored #=> Boolean
6210
6224
  # resp.volumes[0].multi_attach_enabled #=> Boolean
6211
6225
  # resp.volumes[0].throughput #=> Integer
@@ -6216,6 +6230,11 @@ module Aws::EC2
6216
6230
  # resp.volumes[0].volume_initialization_rate #=> Integer
6217
6231
  # resp.volumes[0].volume_arn #=> String
6218
6232
  # resp.volumes[0].owner_id #=> String
6233
+ # resp.volumes[0].multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
6234
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones #=> Array
6235
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
6236
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
6237
+ # resp.volumes[0].trim_on_attach #=> String, one of "enabled", "disabled"
6219
6238
  # resp.volumes[0].volume_id #=> String
6220
6239
  # resp.volumes[0].size #=> Integer
6221
6240
  # resp.volumes[0].snapshot_id #=> String
@@ -6227,6 +6246,9 @@ module Aws::EC2
6227
6246
  # resp.volumes[0].attachments[0].associated_resource #=> String
6228
6247
  # resp.volumes[0].attachments[0].instance_owning_service #=> String
6229
6248
  # resp.volumes[0].attachments[0].ebs_card_index #=> Integer
6249
+ # resp.volumes[0].attachments[0].availability_zone #=> String
6250
+ # resp.volumes[0].attachments[0].availability_zone_id #=> String
6251
+ # resp.volumes[0].attachments[0].trim_state #=> String, one of "enabled", "disabled"
6230
6252
  # resp.volumes[0].attachments[0].volume_id #=> String
6231
6253
  # resp.volumes[0].attachments[0].instance_id #=> String
6232
6254
  # resp.volumes[0].attachments[0].device #=> String
@@ -8900,7 +8922,16 @@ module Aws::EC2
8900
8922
  # kms_key_id: "KmsKeyId",
8901
8923
  # snapshot_id: "SnapshotId",
8902
8924
  # volume_size: 1,
8903
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
8925
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
8926
+ # multi_availability_zone_configuration: {
8927
+ # configuration_type: "multi-az-1", # accepts multi-az-1
8928
+ # standby_availability_zones: [
8929
+ # {
8930
+ # availability_zone: "SupplementaryAvailabilityZoneName",
8931
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
8932
+ # },
8933
+ # ],
8934
+ # },
8904
8935
  # },
8905
8936
  # no_device: "String",
8906
8937
  # },
@@ -9078,7 +9109,11 @@ module Aws::EC2
9078
9109
  # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
9079
9110
  # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
9080
9111
  # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
9081
- # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
9112
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
9113
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
9114
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
9115
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
9116
+ # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
9082
9117
  # resp.errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
9083
9118
  # resp.errors[0].launch_template_and_overrides.overrides.availability_zone_id #=> String
9084
9119
  # resp.errors[0].lifecycle #=> String, one of "spot", "on-demand", "interruptible-capacity-reservation", "capacity-block"
@@ -9150,7 +9185,11 @@ module Aws::EC2
9150
9185
  # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
9151
9186
  # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
9152
9187
  # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
9153
- # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
9188
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
9189
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
9190
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
9191
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
9192
+ # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
9154
9193
  # resp.instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
9155
9194
  # resp.instances[0].launch_template_and_overrides.overrides.availability_zone_id #=> String
9156
9195
  # resp.instances[0].lifecycle #=> String, one of "spot", "on-demand", "interruptible-capacity-reservation", "capacity-block"
@@ -9688,11 +9727,20 @@ module Aws::EC2
9688
9727
  # iops: 1,
9689
9728
  # snapshot_id: "SnapshotId",
9690
9729
  # volume_size: 1,
9691
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
9730
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
9692
9731
  # kms_key_id: "String",
9693
9732
  # throughput: 1,
9694
9733
  # outpost_arn: "String",
9695
9734
  # availability_zone: "String",
9735
+ # multi_availability_zone_configuration: {
9736
+ # configuration_type: "multi-az-1", # accepts multi-az-1
9737
+ # standby_availability_zones: [
9738
+ # {
9739
+ # availability_zone: "SupplementaryAvailabilityZoneName",
9740
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
9741
+ # },
9742
+ # ],
9743
+ # },
9696
9744
  # encrypted: false,
9697
9745
  # volume_initialization_rate: 1,
9698
9746
  # availability_zone_id: "String",
@@ -11746,10 +11794,19 @@ module Aws::EC2
11746
11794
  # kms_key_id: "KmsKeyId",
11747
11795
  # snapshot_id: "SnapshotId",
11748
11796
  # volume_size: 1,
11749
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
11797
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
11750
11798
  # throughput: 1,
11751
11799
  # volume_initialization_rate: 1,
11752
11800
  # ebs_card_index: 1,
11801
+ # multi_availability_zone_configuration: {
11802
+ # configuration_type: "multi-az-1", # accepts multi-az-1
11803
+ # standby_availability_zones: [
11804
+ # {
11805
+ # availability_zone: "SupplementaryAvailabilityZoneName",
11806
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
11807
+ # },
11808
+ # ],
11809
+ # },
11753
11810
  # },
11754
11811
  # no_device: "String",
11755
11812
  # },
@@ -12204,10 +12261,19 @@ module Aws::EC2
12204
12261
  # kms_key_id: "KmsKeyId",
12205
12262
  # snapshot_id: "SnapshotId",
12206
12263
  # volume_size: 1,
12207
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
12264
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
12208
12265
  # throughput: 1,
12209
12266
  # volume_initialization_rate: 1,
12210
12267
  # ebs_card_index: 1,
12268
+ # multi_availability_zone_configuration: {
12269
+ # configuration_type: "multi-az-1", # accepts multi-az-1
12270
+ # standby_availability_zones: [
12271
+ # {
12272
+ # availability_zone: "SupplementaryAvailabilityZoneName",
12273
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
12274
+ # },
12275
+ # ],
12276
+ # },
12211
12277
  # },
12212
12278
  # no_device: "String",
12213
12279
  # },
@@ -12483,10 +12549,14 @@ module Aws::EC2
12483
12549
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
12484
12550
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
12485
12551
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
12486
- # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
12552
+ # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
12487
12553
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.throughput #=> Integer
12488
12554
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
12489
12555
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.ebs_card_index #=> Integer
12556
+ # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
12557
+ # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
12558
+ # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
12559
+ # resp.launch_template_version.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
12490
12560
  # resp.launch_template_version.launch_template_data.block_device_mappings[0].no_device #=> String
12491
12561
  # resp.launch_template_version.launch_template_data.network_interfaces #=> Array
12492
12562
  # resp.launch_template_version.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
@@ -20900,7 +20970,7 @@ module Aws::EC2
20900
20970
  # [3]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-creating-volume.html
20901
20971
  #
20902
20972
  # @option params [String] :availability_zone
20903
- # The ID of the Availability Zone in which to create the volume. For
20973
+ # The name of the Availability Zone in which to create the volume. For
20904
20974
  # example, `us-east-1a`.
20905
20975
  #
20906
20976
  # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
@@ -20931,17 +21001,21 @@ module Aws::EC2
20931
21001
  #
20932
21002
  # @option params [Integer] :iops
20933
21003
  # The number of I/O operations per second (IOPS) to provision for the
20934
- # volume. Required for `io1` and `io2` volumes. Optional for `gp3`
20935
- # volumes. Omit for all other volume types.
21004
+ # volume. Required for `io1`, `io2`, and `io2a` volumes. Optional for
21005
+ # `gp3` and `gp3a` volumes. Omit for all other volume types.
20936
21006
  #
20937
21007
  # Valid ranges:
20938
21008
  #
20939
21009
  # * gp3: `3,000 `(*default*)` - 80,000` IOPS
20940
21010
  #
21011
+ # * gp3a: `1,000 - 80,000` IOPS. Default: `3,000`
21012
+ #
20941
21013
  # * io1: `100 - 64,000` IOPS
20942
21014
  #
20943
21015
  # * io2: `100 - 256,000` IOPS
20944
21016
  #
21017
+ # * io2a: `100 - 256,000` IOPS
21018
+ #
20945
21019
  # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
20946
21020
  # IOPS. Other instances can support up to 32,000 IOPS.
20947
21021
  #
@@ -20994,10 +21068,14 @@ module Aws::EC2
20994
21068
  #
20995
21069
  # * gp3: `1 - 65,536` GiB
20996
21070
  #
21071
+ # * gp3a: `1 - 65,536` GiB
21072
+ #
20997
21073
  # * io1: `4 - 16,384` GiB
20998
21074
  #
20999
21075
  # * io2: `4 - 65,536` GiB
21000
21076
  #
21077
+ # * io2a: `4 - 65,536` GiB
21078
+ #
21001
21079
  # * st1 and sc1: `125 - 16,384` GiB
21002
21080
  #
21003
21081
  # * standard: `1 - 1024` GiB
@@ -21011,8 +21089,12 @@ module Aws::EC2
21011
21089
  #
21012
21090
  # * General Purpose SSD: `gp2` \| `gp3`
21013
21091
  #
21092
+ # * General Purpose Adaptive SSD: `gp3a`
21093
+ #
21014
21094
  # * Provisioned IOPS SSD: `io1` \| `io2`
21015
21095
  #
21096
+ # * Provisioned IOPS Adaptive SSD: `io2a`
21097
+ #
21016
21098
  # * Throughput Optimized HDD: `st1`
21017
21099
  #
21018
21100
  # * Cold HDD: `sc1`
@@ -21038,8 +21120,9 @@ module Aws::EC2
21038
21120
  # Indicates whether to enable Amazon EBS Multi-Attach. If you enable
21039
21121
  # Multi-Attach, you can attach the volume to up to 16 [Instances built
21040
21122
  # on the Nitro System][1] in the same Availability Zone. This parameter
21041
- # is supported with `io1` and `io2` volumes only. For more information,
21042
- # see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
21123
+ # is supported with `io1`, `io2`, and `io2a` volumes only. For more
21124
+ # information, see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User
21125
+ # Guide*.
21043
21126
  #
21044
21127
  #
21045
21128
  #
@@ -21048,7 +21131,7 @@ module Aws::EC2
21048
21131
  #
21049
21132
  # @option params [Integer] :throughput
21050
21133
  # The throughput to provision for the volume, in MiB/s. Supported for
21051
- # `gp3` volumes only. Omit for all other volume types.
21134
+ # `gp3` and `gp3a` volumes only. Omit for all other volume types.
21052
21135
  #
21053
21136
  # Valid Range: `125 - 2000` MiB/s
21054
21137
  #
@@ -21099,6 +21182,37 @@ module Aws::EC2
21099
21182
  # @option params [Types::OperatorRequest] :operator
21100
21183
  # Reserved for internal use.
21101
21184
  #
21185
+ # @option params [Types::MultiAvailabilityZoneVolumeConfigurationRequest] :multi_availability_zone_configuration
21186
+ # The Multi-Availability Zone configuration for the volume. To create a
21187
+ # Multi-Availability Zone volume, specify the configuration type and the
21188
+ # standby Availability Zone.
21189
+ #
21190
+ # @option params [String] :trim_on_attach
21191
+ # Specifies whether the volume reports TRIM support to the operating
21192
+ # system when the volume is attached to an EC2 instance. Amazon EBS
21193
+ # applies this intent only when the volume attaches to an EC2 instance,
21194
+ # and TRIM support on the volume stays the same for the life of the
21195
+ # attachment. To check whether an attached volume is reporting TRIM
21196
+ # support, use `TrimState` in the attachments of the volume using
21197
+ # `DescribeVolumes`. Volumes created from a snapshot don't inherit the
21198
+ # source volume's setting. For more information, see [Amazon EBS
21199
+ # TRIM][1] in the *Amazon EBS User Guide*.
21200
+ #
21201
+ # If you omit this parameter, the default is `enabled` for `gp3a` and
21202
+ # `io2a` volumes, and `disabled` for `gp2`, `gp3`, `io1`, `io2`, `sc1`,
21203
+ # and `st1` volumes.
21204
+ #
21205
+ # Valid values:
21206
+ #
21207
+ # * `enabled`: The volume reports TRIM support to the operating system.
21208
+ #
21209
+ # * `disabled`: The volume does not report TRIM support to the operating
21210
+ # system.
21211
+ #
21212
+ #
21213
+ #
21214
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
21215
+ #
21102
21216
  # @option params [Boolean] :dry_run
21103
21217
  # Checks whether you have the required permissions for the action,
21104
21218
  # without actually making the request, and provides an error response.
@@ -21121,6 +21235,8 @@ module Aws::EC2
21121
21235
  # * {Types::Volume#volume_initialization_rate #volume_initialization_rate} => Integer
21122
21236
  # * {Types::Volume#volume_arn #volume_arn} => String
21123
21237
  # * {Types::Volume#owner_id #owner_id} => String
21238
+ # * {Types::Volume#multi_availability_zone_configuration #multi_availability_zone_configuration} => Types::MultiAvailabilityZoneVolumeConfiguration
21239
+ # * {Types::Volume#trim_on_attach #trim_on_attach} => String
21124
21240
  # * {Types::Volume#volume_id #volume_id} => String
21125
21241
  # * {Types::Volume#size #size} => Integer
21126
21242
  # * {Types::Volume#snapshot_id #snapshot_id} => String
@@ -21183,6 +21299,77 @@ module Aws::EC2
21183
21299
  # volume_type: "io1",
21184
21300
  # }
21185
21301
  #
21302
+ # @example Example: To create a volume that reports TRIM support
21303
+ #
21304
+ # # This example creates a 100 GiB General Purpose SSD (gp3a) volume in the Availability Zone ``us-east-1a`` that reports
21305
+ # # TRIM support to the operating system when it is attached to an instance.
21306
+ #
21307
+ # resp = client.create_volume({
21308
+ # availability_zone: "us-east-1a",
21309
+ # size: 100,
21310
+ # trim_on_attach: "enabled",
21311
+ # volume_type: "gp3a",
21312
+ # })
21313
+ #
21314
+ # resp.to_h outputs the following:
21315
+ # {
21316
+ # availability_zone: "us-east-1a",
21317
+ # availability_zone_id: "use1-az1",
21318
+ # create_time: Time.parse("2026-11-23T18:52:32.724Z"),
21319
+ # iops: 3000,
21320
+ # multi_attach_enabled: false,
21321
+ # size: 100,
21322
+ # snapshot_id: "",
21323
+ # state: "creating",
21324
+ # throughput: 125,
21325
+ # trim_on_attach: "enabled",
21326
+ # volume_id: "vol-1234567890abcdef0",
21327
+ # volume_type: "gp3a",
21328
+ # }
21329
+ #
21330
+ # @example Example: To create a Multi-AZ volume
21331
+ #
21332
+ # # This example creates a 100 GiB General Purpose SSD (gp3) Multi-AZ volume with its active replica in the Availability
21333
+ # # Zone ``us-east-1a`` and its standby replica in the Availability Zone ``us-east-1b``.
21334
+ #
21335
+ # resp = client.create_volume({
21336
+ # availability_zone: "us-east-1a",
21337
+ # multi_availability_zone_configuration: {
21338
+ # configuration_type: "multi-az-1",
21339
+ # standby_availability_zones: [
21340
+ # {
21341
+ # availability_zone: "us-east-1b",
21342
+ # },
21343
+ # ],
21344
+ # },
21345
+ # size: 100,
21346
+ # volume_type: "gp3",
21347
+ # })
21348
+ #
21349
+ # resp.to_h outputs the following:
21350
+ # {
21351
+ # availability_zone: "us-east-1a",
21352
+ # availability_zone_id: "use1-az1",
21353
+ # create_time: Time.parse("2026-11-11T18:52:32.724Z"),
21354
+ # iops: 3000,
21355
+ # multi_attach_enabled: false,
21356
+ # multi_availability_zone_configuration: {
21357
+ # configuration_type: "multi-az-1",
21358
+ # standby_availability_zones: [
21359
+ # {
21360
+ # availability_zone: "us-east-1b",
21361
+ # availability_zone_id: "use1-az2",
21362
+ # },
21363
+ # ],
21364
+ # },
21365
+ # size: 100,
21366
+ # snapshot_id: "",
21367
+ # state: "creating",
21368
+ # throughput: 125,
21369
+ # volume_id: "vol-1234567890abcdef0",
21370
+ # volume_type: "gp3",
21371
+ # }
21372
+ #
21186
21373
  # @example Request syntax with placeholder values
21187
21374
  #
21188
21375
  # resp = client.create_volume({
@@ -21194,7 +21381,7 @@ module Aws::EC2
21194
21381
  # outpost_arn: "String",
21195
21382
  # size: 1,
21196
21383
  # snapshot_id: "SnapshotId",
21197
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
21384
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
21198
21385
  # tag_specifications: [
21199
21386
  # {
21200
21387
  # resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fca-policy, fleet, fpga-image, host-reservation, image, image-usage-report, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-metering-policy, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, vpc-encryption-control, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task, ipam-prefix-list-resolver, ipam-policy, ipam-prefix-list-resolver-target, ipam-internet-registry-association, secondary-interface, secondary-network, secondary-subnet, capacity-manager-data-export, vpn-concentrator, ipam-pool-allocation, capacity-reservation-cancellation-quote, application-status-check, capacity-reservation-modification-quote, secondary-network-acl, secondary-network-acl-association, metric-category, virtual-edge-network-gateway, virtual-edge-network-gateway-route-table, virtual-edge-network-gateway-route-table-association, virtual-edge-network-route-server-peer
@@ -21213,6 +21400,16 @@ module Aws::EC2
21213
21400
  # operator: {
21214
21401
  # principal: "String",
21215
21402
  # },
21403
+ # multi_availability_zone_configuration: {
21404
+ # configuration_type: "multi-az-1", # accepts multi-az-1
21405
+ # standby_availability_zones: [
21406
+ # {
21407
+ # availability_zone: "SupplementaryAvailabilityZoneName",
21408
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
21409
+ # },
21410
+ # ],
21411
+ # },
21412
+ # trim_on_attach: "enabled", # accepts enabled, disabled
21216
21413
  # dry_run: false,
21217
21414
  # })
21218
21415
  #
@@ -21225,7 +21422,7 @@ module Aws::EC2
21225
21422
  # resp.tags #=> Array
21226
21423
  # resp.tags[0].key #=> String
21227
21424
  # resp.tags[0].value #=> String
21228
- # resp.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
21425
+ # resp.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
21229
21426
  # resp.fast_restored #=> Boolean
21230
21427
  # resp.multi_attach_enabled #=> Boolean
21231
21428
  # resp.throughput #=> Integer
@@ -21236,6 +21433,11 @@ module Aws::EC2
21236
21433
  # resp.volume_initialization_rate #=> Integer
21237
21434
  # resp.volume_arn #=> String
21238
21435
  # resp.owner_id #=> String
21436
+ # resp.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
21437
+ # resp.multi_availability_zone_configuration.standby_availability_zones #=> Array
21438
+ # resp.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
21439
+ # resp.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
21440
+ # resp.trim_on_attach #=> String, one of "enabled", "disabled"
21239
21441
  # resp.volume_id #=> String
21240
21442
  # resp.size #=> Integer
21241
21443
  # resp.snapshot_id #=> String
@@ -21247,6 +21449,9 @@ module Aws::EC2
21247
21449
  # resp.attachments[0].associated_resource #=> String
21248
21450
  # resp.attachments[0].instance_owning_service #=> String
21249
21451
  # resp.attachments[0].ebs_card_index #=> Integer
21452
+ # resp.attachments[0].availability_zone #=> String
21453
+ # resp.attachments[0].availability_zone_id #=> String
21454
+ # resp.attachments[0].trim_state #=> String, one of "enabled", "disabled"
21250
21455
  # resp.attachments[0].volume_id #=> String
21251
21456
  # resp.attachments[0].instance_id #=> String
21252
21457
  # resp.attachments[0].device #=> String
@@ -33804,7 +34009,11 @@ module Aws::EC2
33804
34009
  # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.kms_key_id #=> String
33805
34010
  # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.snapshot_id #=> String
33806
34011
  # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.volume_size #=> Integer
33807
- # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
34012
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
34013
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
34014
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
34015
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
34016
+ # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
33808
34017
  # resp.fleets[0].launch_template_configs[0].overrides[0].block_device_mappings[0].no_device #=> String
33809
34018
  # resp.fleets[0].launch_template_configs[0].overrides[0].availability_zone_id #=> String
33810
34019
  # resp.fleets[0].target_capacity_specification.total_target_capacity #=> Integer
@@ -33906,7 +34115,11 @@ module Aws::EC2
33906
34115
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
33907
34116
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
33908
34117
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
33909
- # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
34118
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
34119
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
34120
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
34121
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
34122
+ # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
33910
34123
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
33911
34124
  # resp.fleets[0].errors[0].launch_template_and_overrides.overrides.availability_zone_id #=> String
33912
34125
  # resp.fleets[0].errors[0].lifecycle #=> String, one of "spot", "on-demand", "interruptible-capacity-reservation", "capacity-block"
@@ -33978,7 +34191,11 @@ module Aws::EC2
33978
34191
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.kms_key_id #=> String
33979
34192
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.snapshot_id #=> String
33980
34193
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_size #=> Integer
33981
- # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
34194
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
34195
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
34196
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
34197
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
34198
+ # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
33982
34199
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.block_device_mappings[0].no_device #=> String
33983
34200
  # resp.fleets[0].instances[0].launch_template_and_overrides.overrides.availability_zone_id #=> String
33984
34201
  # resp.fleets[0].instances[0].lifecycle #=> String, one of "spot", "on-demand", "interruptible-capacity-reservation", "capacity-block"
@@ -34910,11 +35127,15 @@ module Aws::EC2
34910
35127
  # resp.block_device_mappings[0].ebs.iops #=> Integer
34911
35128
  # resp.block_device_mappings[0].ebs.snapshot_id #=> String
34912
35129
  # resp.block_device_mappings[0].ebs.volume_size #=> Integer
34913
- # resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
35130
+ # resp.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
34914
35131
  # resp.block_device_mappings[0].ebs.kms_key_id #=> String
34915
35132
  # resp.block_device_mappings[0].ebs.throughput #=> Integer
34916
35133
  # resp.block_device_mappings[0].ebs.outpost_arn #=> String
34917
35134
  # resp.block_device_mappings[0].ebs.availability_zone #=> String
35135
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
35136
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
35137
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
35138
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
34918
35139
  # resp.block_device_mappings[0].ebs.encrypted #=> Boolean
34919
35140
  # resp.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
34920
35141
  # resp.block_device_mappings[0].ebs.availability_zone_id #=> String
@@ -35365,8 +35586,8 @@ module Aws::EC2
35365
35586
  # EBS volume, in GiB.
35366
35587
  #
35367
35588
  # * `block-device-mapping.volume-type` - The volume type of the Amazon
35368
- # EBS volume (`io1` \| `io2` \| `gp2` \| `gp3` \| `sc1 `\| `st1` \|
35369
- # `standard`).
35589
+ # EBS volume (`io1` \| `io2` \| `io2a` \| `gp2` \| `gp3` \| `gp3a` \|
35590
+ # `sc1 `\| `st1` \| `standard`).
35370
35591
  #
35371
35592
  # * `block-device-mapping.encrypted` - A Boolean that indicates whether
35372
35593
  # the Amazon EBS volume is encrypted.
@@ -35629,11 +35850,15 @@ module Aws::EC2
35629
35850
  # resp.images[0].block_device_mappings[0].ebs.iops #=> Integer
35630
35851
  # resp.images[0].block_device_mappings[0].ebs.snapshot_id #=> String
35631
35852
  # resp.images[0].block_device_mappings[0].ebs.volume_size #=> Integer
35632
- # resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
35853
+ # resp.images[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
35633
35854
  # resp.images[0].block_device_mappings[0].ebs.kms_key_id #=> String
35634
35855
  # resp.images[0].block_device_mappings[0].ebs.throughput #=> Integer
35635
35856
  # resp.images[0].block_device_mappings[0].ebs.outpost_arn #=> String
35636
35857
  # resp.images[0].block_device_mappings[0].ebs.availability_zone #=> String
35858
+ # resp.images[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
35859
+ # resp.images[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
35860
+ # resp.images[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
35861
+ # resp.images[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
35637
35862
  # resp.images[0].block_device_mappings[0].ebs.encrypted #=> Boolean
35638
35863
  # resp.images[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
35639
35864
  # resp.images[0].block_device_mappings[0].ebs.availability_zone_id #=> String
@@ -36013,6 +36238,11 @@ module Aws::EC2
36013
36238
  # resp.block_device_mappings[0].ebs.operator.principal #=> String
36014
36239
  # resp.block_device_mappings[0].ebs.operator.hidden_by_default #=> Boolean
36015
36240
  # resp.block_device_mappings[0].ebs.ebs_card_index #=> Integer
36241
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
36242
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
36243
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
36244
+ # resp.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
36245
+ # resp.block_device_mappings[0].ebs.trim_state #=> String, one of "enabled", "disabled"
36016
36246
  # resp.disable_api_termination.value #=> Boolean
36017
36247
  # resp.ena_support.value #=> Boolean
36018
36248
  # resp.enclave_options.enabled #=> Boolean
@@ -38299,6 +38529,11 @@ module Aws::EC2
38299
38529
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.operator.principal #=> String
38300
38530
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.operator.hidden_by_default #=> Boolean
38301
38531
  # resp.reservations[0].instances[0].block_device_mappings[0].ebs.ebs_card_index #=> Integer
38532
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
38533
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
38534
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
38535
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
38536
+ # resp.reservations[0].instances[0].block_device_mappings[0].ebs.trim_state #=> String, one of "enabled", "disabled"
38302
38537
  # resp.reservations[0].instances[0].client_token #=> String
38303
38538
  # resp.reservations[0].instances[0].ebs_optimized #=> Boolean
38304
38539
  # resp.reservations[0].instances[0].ena_support #=> Boolean
@@ -40020,10 +40255,14 @@ module Aws::EC2
40020
40255
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
40021
40256
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
40022
40257
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
40023
- # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
40258
+ # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
40024
40259
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.throughput #=> Integer
40025
40260
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
40026
40261
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.ebs_card_index #=> Integer
40262
+ # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
40263
+ # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
40264
+ # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
40265
+ # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
40027
40266
  # resp.launch_template_versions[0].launch_template_data.block_device_mappings[0].no_device #=> String
40028
40267
  # resp.launch_template_versions[0].launch_template_data.network_interfaces #=> Array
40029
40268
  # resp.launch_template_versions[0].launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
@@ -48146,11 +48385,15 @@ module Aws::EC2
48146
48385
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.iops #=> Integer
48147
48386
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.snapshot_id #=> String
48148
48387
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_size #=> Integer
48149
- # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
48388
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
48150
48389
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.kms_key_id #=> String
48151
48390
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.throughput #=> Integer
48152
48391
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.outpost_arn #=> String
48153
48392
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone #=> String
48393
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
48394
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
48395
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
48396
+ # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
48154
48397
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.encrypted #=> Boolean
48155
48398
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
48156
48399
  # resp.spot_fleet_request_configs[0].spot_fleet_request_config.launch_specifications[0].block_device_mappings[0].ebs.availability_zone_id #=> String
@@ -48431,9 +48674,10 @@ module Aws::EC2
48431
48674
  # volume, in GiB.
48432
48675
  #
48433
48676
  # * `launch.block-device-mapping.volume-type` - The type of EBS volume:
48434
- # `gp2` or `gp3` for General Purpose SSD, `io1` or `io2` for
48435
- # Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1` for
48436
- # Cold HDD, or `standard` for Magnetic.
48677
+ # `gp2` or `gp3` for General Purpose SSD, `gp3a` for General Purpose
48678
+ # Adaptive SSD, `io1` or `io2` for Provisioned IOPS SSD, `io2a` for
48679
+ # Provisioned IOPS Adaptive SSD, `st1` for Throughput Optimized HDD,
48680
+ # `sc1` for Cold HDD, or `standard` for Magnetic.
48437
48681
  #
48438
48682
  # * `launch.group-id` - The ID of the security group for the instance.
48439
48683
  #
@@ -48620,11 +48864,15 @@ module Aws::EC2
48620
48864
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
48621
48865
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
48622
48866
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
48623
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
48867
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
48624
48868
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
48625
48869
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
48626
48870
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
48627
48871
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
48872
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
48873
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
48874
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
48875
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
48628
48876
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
48629
48877
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
48630
48878
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
@@ -52900,6 +53148,95 @@ module Aws::EC2
52900
53148
  # ],
52901
53149
  # }
52902
53150
  #
53151
+ # @example Example: To describe the status of a Multi-AZ volume
53152
+ #
53153
+ # # This example describes the status of the Multi-AZ volume ``vol-1234567890abcdef0``. The Multi-AZ status details show
53154
+ # # that the data on the standby replica is in sync with the active replica and that the volume is ready to fail over.
53155
+ #
53156
+ # resp = client.describe_volume_status({
53157
+ # volume_ids: [
53158
+ # "vol-1234567890abcdef0",
53159
+ # ],
53160
+ # })
53161
+ #
53162
+ # resp.to_h outputs the following:
53163
+ # {
53164
+ # volume_statuses: [
53165
+ # {
53166
+ # actions: [
53167
+ # ],
53168
+ # availability_zone: "us-east-1a",
53169
+ # availability_zone_id: "use1-az1",
53170
+ # events: [
53171
+ # ],
53172
+ # multi_availability_zone_status_details: {
53173
+ # failover_readiness: "ready",
53174
+ # replication_data_state: "in-sync",
53175
+ # },
53176
+ # volume_id: "vol-1234567890abcdef0",
53177
+ # volume_status: {
53178
+ # details: [
53179
+ # {
53180
+ # name: "io-enabled",
53181
+ # status: "passed",
53182
+ # },
53183
+ # {
53184
+ # name: "io-performance",
53185
+ # status: "not-applicable",
53186
+ # },
53187
+ # ],
53188
+ # status: "ok",
53189
+ # },
53190
+ # },
53191
+ # ],
53192
+ # }
53193
+ #
53194
+ # @example Example: To describe the status of a Multi-AZ volume that is catching up
53195
+ #
53196
+ # # This example describes the status of the Multi-AZ volume ``vol-1234567890abcdef0`` while data written to the active
53197
+ # # replica during an out-of-sync period is being replicated to the standby replica. The volume is not ready to fail over
53198
+ # # until the catch-up completes.
53199
+ #
53200
+ # resp = client.describe_volume_status({
53201
+ # volume_ids: [
53202
+ # "vol-1234567890abcdef0",
53203
+ # ],
53204
+ # })
53205
+ #
53206
+ # resp.to_h outputs the following:
53207
+ # {
53208
+ # volume_statuses: [
53209
+ # {
53210
+ # actions: [
53211
+ # ],
53212
+ # availability_zone: "us-east-1a",
53213
+ # availability_zone_id: "use1-az1",
53214
+ # events: [
53215
+ # ],
53216
+ # multi_availability_zone_status_details: {
53217
+ # catchup_progress: 40,
53218
+ # catchup_total_bytes: 10737418240,
53219
+ # failover_readiness: "not-ready",
53220
+ # replication_data_state: "catching-up",
53221
+ # },
53222
+ # volume_id: "vol-1234567890abcdef0",
53223
+ # volume_status: {
53224
+ # details: [
53225
+ # {
53226
+ # name: "io-enabled",
53227
+ # status: "passed",
53228
+ # },
53229
+ # {
53230
+ # name: "io-performance",
53231
+ # status: "not-applicable",
53232
+ # },
53233
+ # ],
53234
+ # status: "ok",
53235
+ # },
53236
+ # },
53237
+ # ],
53238
+ # }
53239
+ #
52903
53240
  # @example Request syntax with placeholder values
52904
53241
  #
52905
53242
  # resp = client.describe_volume_status({
@@ -52949,6 +53286,10 @@ module Aws::EC2
52949
53286
  # resp.volume_statuses[0].operator.managed #=> Boolean
52950
53287
  # resp.volume_statuses[0].operator.principal #=> String
52951
53288
  # resp.volume_statuses[0].operator.hidden_by_default #=> Boolean
53289
+ # resp.volume_statuses[0].multi_availability_zone_status_details.replication_data_state #=> String, one of "in-sync", "out-of-sync", "catching-up", "insufficient-data"
53290
+ # resp.volume_statuses[0].multi_availability_zone_status_details.failover_readiness #=> String, one of "ready", "not-ready", "insufficient-data"
53291
+ # resp.volume_statuses[0].multi_availability_zone_status_details.catchup_progress #=> Integer
53292
+ # resp.volume_statuses[0].multi_availability_zone_status_details.catchup_total_bytes #=> Integer
52952
53293
  #
52953
53294
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus AWS API Documentation
52954
53295
  #
@@ -53059,8 +53400,8 @@ module Aws::EC2
53059
53400
  #
53060
53401
  # * `volume-id` - The volume ID.
53061
53402
  #
53062
- # * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `io1`
53063
- # \| `io2` \| `st1` \| `sc1`\| `standard`)
53403
+ # * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \| `gp3a`
53404
+ # \| `io1` \| `io2` \| `io2a` \| `st1` \| `sc1`\| `standard`)
53064
53405
  #
53065
53406
  # @option params [String] :next_token
53066
53407
  # The token returned from a previous paginated request. Pagination
@@ -53163,6 +53504,91 @@ module Aws::EC2
53163
53504
  # ],
53164
53505
  # }
53165
53506
  #
53507
+ # @example Example: To describe the TRIM setting and state of a volume
53508
+ #
53509
+ # # This example describes the volume ``vol-1234567890abcdef0``. The response shows the volume's TrimOnAttach setting and
53510
+ # # the TrimState of its attachment to the instance ``i-1234567890abcdef0``.
53511
+ #
53512
+ # resp = client.describe_volumes({
53513
+ # volume_ids: [
53514
+ # "vol-1234567890abcdef0",
53515
+ # ],
53516
+ # })
53517
+ #
53518
+ # resp.to_h outputs the following:
53519
+ # {
53520
+ # volumes: [
53521
+ # {
53522
+ # attachments: [
53523
+ # {
53524
+ # attach_time: Time.parse("2026-11-23T19:02:11.000Z"),
53525
+ # delete_on_termination: false,
53526
+ # device: "/dev/sdf",
53527
+ # instance_id: "i-1234567890abcdef0",
53528
+ # state: "attached",
53529
+ # trim_state: "enabled",
53530
+ # volume_id: "vol-1234567890abcdef0",
53531
+ # },
53532
+ # ],
53533
+ # availability_zone: "us-east-1a",
53534
+ # availability_zone_id: "use1-az1",
53535
+ # create_time: Time.parse("2026-11-23T18:52:32.724Z"),
53536
+ # encrypted: false,
53537
+ # iops: 3000,
53538
+ # multi_attach_enabled: false,
53539
+ # size: 100,
53540
+ # snapshot_id: "",
53541
+ # state: "in-use",
53542
+ # throughput: 125,
53543
+ # trim_on_attach: "enabled",
53544
+ # volume_id: "vol-1234567890abcdef0",
53545
+ # volume_type: "gp3a",
53546
+ # },
53547
+ # ],
53548
+ # }
53549
+ #
53550
+ # @example Example: To describe a Multi-AZ volume
53551
+ #
53552
+ # # This example describes the Multi-AZ volume ``vol-1234567890abcdef0``. The response includes the volume's Multi-AZ
53553
+ # # configuration, which lists its standby Availability Zone.
53554
+ #
53555
+ # resp = client.describe_volumes({
53556
+ # volume_ids: [
53557
+ # "vol-1234567890abcdef0",
53558
+ # ],
53559
+ # })
53560
+ #
53561
+ # resp.to_h outputs the following:
53562
+ # {
53563
+ # volumes: [
53564
+ # {
53565
+ # attachments: [
53566
+ # ],
53567
+ # availability_zone: "us-east-1a",
53568
+ # availability_zone_id: "use1-az1",
53569
+ # create_time: Time.parse("2026-11-11T18:52:32.724Z"),
53570
+ # encrypted: false,
53571
+ # iops: 3000,
53572
+ # multi_attach_enabled: false,
53573
+ # multi_availability_zone_configuration: {
53574
+ # configuration_type: "multi-az-1",
53575
+ # standby_availability_zones: [
53576
+ # {
53577
+ # availability_zone: "us-east-1b",
53578
+ # availability_zone_id: "use1-az2",
53579
+ # },
53580
+ # ],
53581
+ # },
53582
+ # size: 100,
53583
+ # snapshot_id: "",
53584
+ # state: "available",
53585
+ # throughput: 125,
53586
+ # volume_id: "vol-1234567890abcdef0",
53587
+ # volume_type: "gp3",
53588
+ # },
53589
+ # ],
53590
+ # }
53591
+ #
53166
53592
  # @example Request syntax with placeholder values
53167
53593
  #
53168
53594
  # resp = client.describe_volumes({
@@ -53190,7 +53616,7 @@ module Aws::EC2
53190
53616
  # resp.volumes[0].tags #=> Array
53191
53617
  # resp.volumes[0].tags[0].key #=> String
53192
53618
  # resp.volumes[0].tags[0].value #=> String
53193
- # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
53619
+ # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
53194
53620
  # resp.volumes[0].fast_restored #=> Boolean
53195
53621
  # resp.volumes[0].multi_attach_enabled #=> Boolean
53196
53622
  # resp.volumes[0].throughput #=> Integer
@@ -53201,6 +53627,11 @@ module Aws::EC2
53201
53627
  # resp.volumes[0].volume_initialization_rate #=> Integer
53202
53628
  # resp.volumes[0].volume_arn #=> String
53203
53629
  # resp.volumes[0].owner_id #=> String
53630
+ # resp.volumes[0].multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
53631
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones #=> Array
53632
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
53633
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
53634
+ # resp.volumes[0].trim_on_attach #=> String, one of "enabled", "disabled"
53204
53635
  # resp.volumes[0].volume_id #=> String
53205
53636
  # resp.volumes[0].size #=> Integer
53206
53637
  # resp.volumes[0].snapshot_id #=> String
@@ -53212,6 +53643,9 @@ module Aws::EC2
53212
53643
  # resp.volumes[0].attachments[0].associated_resource #=> String
53213
53644
  # resp.volumes[0].attachments[0].instance_owning_service #=> String
53214
53645
  # resp.volumes[0].attachments[0].ebs_card_index #=> Integer
53646
+ # resp.volumes[0].attachments[0].availability_zone #=> String
53647
+ # resp.volumes[0].attachments[0].availability_zone_id #=> String
53648
+ # resp.volumes[0].attachments[0].trim_state #=> String, one of "enabled", "disabled"
53215
53649
  # resp.volumes[0].attachments[0].volume_id #=> String
53216
53650
  # resp.volumes[0].attachments[0].instance_id #=> String
53217
53651
  # resp.volumes[0].attachments[0].device #=> String
@@ -53266,7 +53700,8 @@ module Aws::EC2
53266
53700
  # * `original-size` - The original size of the volume, in GiB.
53267
53701
  #
53268
53702
  # * `original-volume-type` - The original volume type of the volume
53269
- # (standard \| io1 \| io2 \| gp2 \| sc1 \| st1).
53703
+ # (standard \| io1 \| io2 \| io2a \| gp2 \| gp3 \| gp3a \| sc1 \|
53704
+ # st1).
53270
53705
  #
53271
53706
  # * `originalMultiAttachEnabled` - Indicates whether Multi-Attach
53272
53707
  # support was enabled (true \| false).
@@ -53278,7 +53713,8 @@ module Aws::EC2
53278
53713
  # * `target-size` - The target size of the volume, in GiB.
53279
53714
  #
53280
53715
  # * `target-volume-type` - The target volume type of the volume
53281
- # (standard \| io1 \| io2 \| gp2 \| sc1 \| st1).
53716
+ # (standard \| io1 \| io2 \| io2a \| gp2 \| gp3 \| gp3a \| sc1 \|
53717
+ # st1).
53282
53718
  #
53283
53719
  # * `targetMultiAttachEnabled` - Indicates whether Multi-Attach support
53284
53720
  # is to be enabled (true \| false).
@@ -53310,6 +53746,95 @@ module Aws::EC2
53310
53746
  #
53311
53747
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
53312
53748
  #
53749
+ #
53750
+ # @example Example: To describe a modification of the TRIM setting of a volume
53751
+ #
53752
+ # # This example describes the modification that changed the TrimOnAttach setting of the volume ``vol-1234567890abcdef0``
53753
+ # # from ``enabled`` to ``disabled``.
53754
+ #
53755
+ # resp = client.describe_volumes_modifications({
53756
+ # volume_ids: [
53757
+ # "vol-1234567890abcdef0",
53758
+ # ],
53759
+ # })
53760
+ #
53761
+ # resp.to_h outputs the following:
53762
+ # {
53763
+ # volumes_modifications: [
53764
+ # {
53765
+ # end_time: Time.parse("2026-11-23T20:16:37.000Z"),
53766
+ # modification_state: "completed",
53767
+ # original_iops: 3000,
53768
+ # original_multi_attach_enabled: false,
53769
+ # original_size: 100,
53770
+ # original_throughput: 125,
53771
+ # original_trim_on_attach: "enabled",
53772
+ # original_volume_type: "gp3a",
53773
+ # progress: 100,
53774
+ # start_time: Time.parse("2026-11-23T20:15:10.000Z"),
53775
+ # target_iops: 3000,
53776
+ # target_multi_attach_enabled: false,
53777
+ # target_size: 100,
53778
+ # target_throughput: 125,
53779
+ # target_trim_on_attach: "disabled",
53780
+ # target_volume_type: "gp3a",
53781
+ # volume_id: "vol-1234567890abcdef0",
53782
+ # },
53783
+ # ],
53784
+ # }
53785
+ #
53786
+ # @example Example: To describe a modification of a Multi-AZ volume
53787
+ #
53788
+ # # This example describes the modification that moved the standby replica of the Multi-AZ volume ``vol-1234567890abcdef0``
53789
+ # # from the Availability Zone ``us-east-1b`` to the Availability Zone ``us-east-1c``.
53790
+ #
53791
+ # resp = client.describe_volumes_modifications({
53792
+ # volume_ids: [
53793
+ # "vol-1234567890abcdef0",
53794
+ # ],
53795
+ # })
53796
+ #
53797
+ # resp.to_h outputs the following:
53798
+ # {
53799
+ # volumes_modifications: [
53800
+ # {
53801
+ # end_time: Time.parse("2026-11-11T20:42:37.000Z"),
53802
+ # modification_state: "completed",
53803
+ # original_iops: 3000,
53804
+ # original_multi_attach_enabled: false,
53805
+ # original_multi_availability_zone_configuration: {
53806
+ # configuration_type: "multi-az-1",
53807
+ # standby_availability_zones: [
53808
+ # {
53809
+ # availability_zone: "us-east-1b",
53810
+ # availability_zone_id: "use1-az2",
53811
+ # },
53812
+ # ],
53813
+ # },
53814
+ # original_size: 100,
53815
+ # original_throughput: 125,
53816
+ # original_volume_type: "gp3",
53817
+ # progress: 100,
53818
+ # start_time: Time.parse("2026-11-11T20:15:10.000Z"),
53819
+ # target_iops: 3000,
53820
+ # target_multi_attach_enabled: false,
53821
+ # target_multi_availability_zone_configuration: {
53822
+ # configuration_type: "multi-az-1",
53823
+ # standby_availability_zones: [
53824
+ # {
53825
+ # availability_zone: "us-east-1c",
53826
+ # availability_zone_id: "use1-az4",
53827
+ # },
53828
+ # ],
53829
+ # },
53830
+ # target_size: 100,
53831
+ # target_throughput: 125,
53832
+ # target_volume_type: "gp3",
53833
+ # volume_id: "vol-1234567890abcdef0",
53834
+ # },
53835
+ # ],
53836
+ # }
53837
+ #
53313
53838
  # @example Request syntax with placeholder values
53314
53839
  #
53315
53840
  # resp = client.describe_volumes_modifications({
@@ -53335,12 +53860,12 @@ module Aws::EC2
53335
53860
  # resp.volumes_modifications[0].status_message #=> String
53336
53861
  # resp.volumes_modifications[0].target_size #=> Integer
53337
53862
  # resp.volumes_modifications[0].target_iops #=> Integer
53338
- # resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
53863
+ # resp.volumes_modifications[0].target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
53339
53864
  # resp.volumes_modifications[0].target_throughput #=> Integer
53340
53865
  # resp.volumes_modifications[0].target_multi_attach_enabled #=> Boolean
53341
53866
  # resp.volumes_modifications[0].original_size #=> Integer
53342
53867
  # resp.volumes_modifications[0].original_iops #=> Integer
53343
- # resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
53868
+ # resp.volumes_modifications[0].original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
53344
53869
  # resp.volumes_modifications[0].original_throughput #=> Integer
53345
53870
  # resp.volumes_modifications[0].original_multi_attach_enabled #=> Boolean
53346
53871
  # resp.volumes_modifications[0].progress #=> Integer
@@ -53349,6 +53874,16 @@ module Aws::EC2
53349
53874
  # resp.volumes_modifications[0].operator.managed #=> Boolean
53350
53875
  # resp.volumes_modifications[0].operator.principal #=> String
53351
53876
  # resp.volumes_modifications[0].operator.hidden_by_default #=> Boolean
53877
+ # resp.volumes_modifications[0].original_multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
53878
+ # resp.volumes_modifications[0].original_multi_availability_zone_configuration.standby_availability_zones #=> Array
53879
+ # resp.volumes_modifications[0].original_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
53880
+ # resp.volumes_modifications[0].original_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
53881
+ # resp.volumes_modifications[0].target_multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
53882
+ # resp.volumes_modifications[0].target_multi_availability_zone_configuration.standby_availability_zones #=> Array
53883
+ # resp.volumes_modifications[0].target_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
53884
+ # resp.volumes_modifications[0].target_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
53885
+ # resp.volumes_modifications[0].target_trim_on_attach #=> String, one of "enabled", "disabled"
53886
+ # resp.volumes_modifications[0].original_trim_on_attach #=> String, one of "enabled", "disabled"
53352
53887
  #
53353
53888
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications AWS API Documentation
53354
53889
  #
@@ -55598,6 +56133,9 @@ module Aws::EC2
55598
56133
  # * {Types::VolumeAttachment#associated_resource #associated_resource} => String
55599
56134
  # * {Types::VolumeAttachment#instance_owning_service #instance_owning_service} => String
55600
56135
  # * {Types::VolumeAttachment#ebs_card_index #ebs_card_index} => Integer
56136
+ # * {Types::VolumeAttachment#availability_zone #availability_zone} => String
56137
+ # * {Types::VolumeAttachment#availability_zone_id #availability_zone_id} => String
56138
+ # * {Types::VolumeAttachment#trim_state #trim_state} => String
55601
56139
  # * {Types::VolumeAttachment#volume_id #volume_id} => String
55602
56140
  # * {Types::VolumeAttachment#instance_id #instance_id} => String
55603
56141
  # * {Types::VolumeAttachment#device #device} => String
@@ -55638,6 +56176,9 @@ module Aws::EC2
55638
56176
  # resp.associated_resource #=> String
55639
56177
  # resp.instance_owning_service #=> String
55640
56178
  # resp.ebs_card_index #=> Integer
56179
+ # resp.availability_zone #=> String
56180
+ # resp.availability_zone_id #=> String
56181
+ # resp.trim_state #=> String, one of "enabled", "disabled"
55641
56182
  # resp.volume_id #=> String
55642
56183
  # resp.instance_id #=> String
55643
56184
  # resp.device #=> String
@@ -59719,6 +60260,105 @@ module Aws::EC2
59719
60260
  req.send_request(options)
59720
60261
  end
59721
60262
 
60263
+ # Initiates a failover for a single Multi-Availability Zone (Multi-AZ)
60264
+ # EBS volume, or fails over all Multi-AZ volumes that are attached to an
60265
+ # instance and have their active replica in the instance's Availability
60266
+ # Zone. During a failover, EBS promotes the standby replica to the
60267
+ # active replica. After the failover, the volume's active and standby
60268
+ # Availability Zones are swapped.
60269
+ #
60270
+ # Specify either a `VolumeId` or an `InstanceId`:
60271
+ #
60272
+ # * `VolumeId`: Fails over the specified volume.
60273
+ #
60274
+ # * `InstanceId`: Fails over all Multi-AZ volumes that are attached to
60275
+ # the instance and have their active replica in the instance's
60276
+ # Availability Zone. The following attached volumes are not failed
60277
+ # over:
60278
+ #
60279
+ # * Volumes that are not Multi-AZ volumes.
60280
+ #
60281
+ # * Multi-AZ volumes whose standby replica is in the instance's
60282
+ # Availability Zone.
60283
+ # When you specify `InstanceId`, all of the volumes fail over
60284
+ # together, and the failover is crash-consistent across all of the
60285
+ # volumes. The failover is atomic: either all of the volumes fail
60286
+ # over, or none of them do.
60287
+ #
60288
+ # @option params [String] :volume_id
60289
+ # The ID of the Multi-AZ volume to fail over. The Multi-AZ volume's
60290
+ # active replica must be in the Availability Zone specified by
60291
+ # `SourceActiveAvailabilityZone` or `SourceActiveAvailabilityZoneId`.
60292
+ #
60293
+ # Either `VolumeId` or `InstanceId` must be specified, but not both.
60294
+ #
60295
+ # @option params [String] :instance_id
60296
+ # The ID of the instance. The instance must be in the Availability Zone
60297
+ # specified by `SourceActiveAvailabilityZone` or
60298
+ # `SourceActiveAvailabilityZoneId`. EBS fails over all Multi-AZ volumes
60299
+ # that are attached to the instance and have their active replica in the
60300
+ # specified Availability Zone.
60301
+ #
60302
+ # Either `VolumeId` or `InstanceId` must be specified, but not both.
60303
+ #
60304
+ # @option params [String] :source_active_availability_zone
60305
+ # The name of the Availability Zone that the volume's active replica is
60306
+ # in, or that the instance is in. For example, `us-east-1a`.
60307
+ #
60308
+ # Either `SourceActiveAvailabilityZone` or
60309
+ # `SourceActiveAvailabilityZoneId` must be specified, but not both.
60310
+ #
60311
+ # @option params [String] :source_active_availability_zone_id
60312
+ # The ID of the Availability Zone that the volume's active replica is
60313
+ # in, or that the instance is in. For example, `use1-az1`.
60314
+ #
60315
+ # Either `SourceActiveAvailabilityZone` or
60316
+ # `SourceActiveAvailabilityZoneId` must be specified, but not both.
60317
+ #
60318
+ # @option params [Boolean] :dry_run
60319
+ # Checks whether you have the required permissions for the action,
60320
+ # without actually making the request, and provides an error response.
60321
+ # If you have the required permissions, the error response is
60322
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
60323
+ #
60324
+ # @return [Types::FailoverVolumesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
60325
+ #
60326
+ # * {Types::FailoverVolumesResult#volume_failovers #volume_failovers} => Array&lt;Types::VolumeFailoverInfo&gt;
60327
+ #
60328
+ # @example Request syntax with placeholder values
60329
+ #
60330
+ # resp = client.failover_volumes({
60331
+ # volume_id: "VolumeId",
60332
+ # instance_id: "InstanceIdWithVolumeResolver",
60333
+ # source_active_availability_zone: "SupplementaryAvailabilityZoneName",
60334
+ # source_active_availability_zone_id: "SupplementaryAvailabilityZoneId",
60335
+ # dry_run: false,
60336
+ # })
60337
+ #
60338
+ # @example Response structure
60339
+ #
60340
+ # resp.volume_failovers #=> Array
60341
+ # resp.volume_failovers[0].volume_id #=> String
60342
+ # resp.volume_failovers[0].source_active_availability_zone #=> String
60343
+ # resp.volume_failovers[0].source_active_availability_zone_id #=> String
60344
+ # resp.volume_failovers[0].source_standby_availability_zones #=> Array
60345
+ # resp.volume_failovers[0].source_standby_availability_zones[0].availability_zone #=> String
60346
+ # resp.volume_failovers[0].source_standby_availability_zones[0].availability_zone_id #=> String
60347
+ # resp.volume_failovers[0].target_active_availability_zone #=> String
60348
+ # resp.volume_failovers[0].target_active_availability_zone_id #=> String
60349
+ # resp.volume_failovers[0].target_standby_availability_zones #=> Array
60350
+ # resp.volume_failovers[0].target_standby_availability_zones[0].availability_zone #=> String
60351
+ # resp.volume_failovers[0].target_standby_availability_zones[0].availability_zone_id #=> String
60352
+ #
60353
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FailoverVolumes AWS API Documentation
60354
+ #
60355
+ # @overload failover_volumes(params = {})
60356
+ # @param [Hash] params ({})
60357
+ def failover_volumes(params = {}, options = {})
60358
+ req = build_request(:failover_volumes, params)
60359
+ req.send_request(options)
60360
+ end
60361
+
59722
60362
  # Returns the currently negotiated security parameters for an active VPN
59723
60363
  # tunnel, including IKE version, DH groups, encryption algorithms, and
59724
60364
  # integrity algorithms.
@@ -63297,10 +63937,14 @@ module Aws::EC2
63297
63937
  # resp.launch_template_data.block_device_mappings[0].ebs.kms_key_id #=> String
63298
63938
  # resp.launch_template_data.block_device_mappings[0].ebs.snapshot_id #=> String
63299
63939
  # resp.launch_template_data.block_device_mappings[0].ebs.volume_size #=> Integer
63300
- # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
63940
+ # resp.launch_template_data.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
63301
63941
  # resp.launch_template_data.block_device_mappings[0].ebs.throughput #=> Integer
63302
63942
  # resp.launch_template_data.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
63303
63943
  # resp.launch_template_data.block_device_mappings[0].ebs.ebs_card_index #=> Integer
63944
+ # resp.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
63945
+ # resp.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
63946
+ # resp.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
63947
+ # resp.launch_template_data.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
63304
63948
  # resp.launch_template_data.block_device_mappings[0].no_device #=> String
63305
63949
  # resp.launch_template_data.network_interfaces #=> Array
63306
63950
  # resp.launch_template_data.network_interfaces[0].associate_carrier_ip_address #=> Boolean
@@ -66982,7 +67626,7 @@ module Aws::EC2
66982
67626
  #
66983
67627
  # resp.volumes #=> Array
66984
67628
  # resp.volumes[0].volume_id #=> String
66985
- # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
67629
+ # resp.volumes[0].volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
66986
67630
  # resp.volumes[0].state #=> String, one of "creating", "available", "in-use", "deleting", "deleted", "error"
66987
67631
  # resp.volumes[0].size #=> Integer
66988
67632
  # resp.volumes[0].iops #=> Integer
@@ -66998,6 +67642,10 @@ module Aws::EC2
66998
67642
  # resp.volumes[0].create_time #=> Time
66999
67643
  # resp.volumes[0].recycle_bin_enter_time #=> Time
67000
67644
  # resp.volumes[0].recycle_bin_exit_time #=> Time
67645
+ # resp.volumes[0].multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
67646
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones #=> Array
67647
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
67648
+ # resp.volumes[0].multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
67001
67649
  # resp.next_token #=> String
67002
67650
  #
67003
67651
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListVolumesInRecycleBin AWS API Documentation
@@ -68276,7 +68924,16 @@ module Aws::EC2
68276
68924
  # kms_key_id: "KmsKeyId",
68277
68925
  # snapshot_id: "SnapshotId",
68278
68926
  # volume_size: 1,
68279
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
68927
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
68928
+ # multi_availability_zone_configuration: {
68929
+ # configuration_type: "multi-az-1", # accepts multi-az-1
68930
+ # standby_availability_zones: [
68931
+ # {
68932
+ # availability_zone: "SupplementaryAvailabilityZoneName",
68933
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
68934
+ # },
68935
+ # ],
68936
+ # },
68280
68937
  # },
68281
68938
  # no_device: "String",
68282
68939
  # },
@@ -74009,10 +74666,14 @@ module Aws::EC2
74009
74666
  #
74010
74667
  # * `gp3`: 1 - 65,536 GiB
74011
74668
  #
74669
+ # * `gp3a`: 1 - 65,536 GiB
74670
+ #
74012
74671
  # * `io1`: 4 - 16,384 GiB
74013
74672
  #
74014
74673
  # * `io2`: 4 - 65,536 GiB
74015
74674
  #
74675
+ # * `io2a`: 4 - 65,536 GiB
74676
+ #
74016
74677
  # * `st1` and `sc1`: 125 - 16,384 GiB
74017
74678
  #
74018
74679
  # * `standard`: 1 - 1024 GiB
@@ -74031,24 +74692,28 @@ module Aws::EC2
74031
74692
  #
74032
74693
  # @option params [Integer] :iops
74033
74694
  # The target IOPS rate of the volume. This parameter is valid only for
74034
- # `gp3`, `io1`, and `io2` volumes.
74695
+ # `gp3`, `gp3a`, `io1`, `io2`, and `io2a` volumes.
74035
74696
  #
74036
74697
  # The following are the supported values for each volume type:
74037
74698
  #
74038
74699
  # * `gp3`: 3,000 - 80,000 IOPS
74039
74700
  #
74701
+ # * `gp3a`: 1,000 - 80,000 IOPS
74702
+ #
74040
74703
  # * `io1`: 100 - 64,000 IOPS
74041
74704
  #
74042
74705
  # * `io2`: 100 - 256,000 IOPS
74043
74706
  #
74707
+ # * `io2a`: 100 - 256,000 IOPS
74708
+ #
74044
74709
  # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
74045
74710
  # IOPS. Other instances can support up to 32,000 IOPS.
74046
74711
  #
74047
74712
  # </note>
74048
74713
  #
74049
74714
  # Default: The existing value is retained if you keep the same volume
74050
- # type. If you change the volume type to `io1`, `io2`, or `gp3`, the
74051
- # default is 3,000.
74715
+ # type. If you change the volume type to `io1`, `io2`, `io2a`, `gp3`, or
74716
+ # `gp3a`, the default is 3,000.
74052
74717
  #
74053
74718
  #
74054
74719
  #
@@ -74056,10 +74721,10 @@ module Aws::EC2
74056
74721
  #
74057
74722
  # @option params [Integer] :throughput
74058
74723
  # The target throughput of the volume, in MiB/s. This parameter is valid
74059
- # only for `gp3` volumes. The maximum value is 2,000.
74724
+ # only for `gp3` and `gp3a` volumes. The maximum value is 2,000.
74060
74725
  #
74061
74726
  # Default: The existing value is retained if the source and target
74062
- # volume type is `gp3`. Otherwise, the default value is 125.
74727
+ # volume type is `gp3` or `gp3a`. Otherwise, the default value is 125.
74063
74728
  #
74064
74729
  # Valid Range: Minimum value of 125. Maximum value of 2,000.
74065
74730
  #
@@ -74067,28 +74732,213 @@ module Aws::EC2
74067
74732
  # Specifies whether to enable Amazon EBS Multi-Attach. If you enable
74068
74733
  # Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
74069
74734
  # instances][1] in the same Availability Zone. This parameter is
74070
- # supported with `io1` and `io2` volumes only. For more information, see
74071
- # [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
74735
+ # supported with `io1`, `io2`, and `io2a` volumes only. For more
74736
+ # information, see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User
74737
+ # Guide*.
74072
74738
  #
74073
74739
  #
74074
74740
  #
74075
74741
  # [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
74076
74742
  # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
74077
74743
  #
74744
+ # @option params [Types::MultiAvailabilityZoneVolumeConfigurationModifyRequest] :multi_availability_zone_configuration
74745
+ # The Multi-Availability Zone configuration for the volume. To move the
74746
+ # standby replica to a different Availability Zone, specify the new
74747
+ # standby Availability Zone in `StandbyAvailabilityZones`.
74748
+ #
74749
+ # @option params [String] :trim_on_attach
74750
+ # Specifies whether the volume reports TRIM support to the operating
74751
+ # system when the volume is attached to an EC2 instance. Amazon EBS
74752
+ # applies this intent only when the volume attaches to an EC2 instance,
74753
+ # and TRIM support on the volume stays the same for the life of the
74754
+ # attachment. To check whether an attached volume is reporting TRIM
74755
+ # support, use `TrimState` in the attachments of the volume using
74756
+ # `DescribeVolumes`. Volumes created from a snapshot don't inherit the
74757
+ # source volume's setting. For more information, see [Amazon EBS
74758
+ # TRIM][1] in the *Amazon EBS User Guide*.
74759
+ #
74760
+ # If you use `ModifyVolume` to change this setting, you must detach and
74761
+ # reattach the volume to the EC2 instance.
74762
+ #
74763
+ # Valid values:
74764
+ #
74765
+ # * `enabled`: The volume reports TRIM support to the operating system.
74766
+ #
74767
+ # * `disabled`: The volume does not report TRIM support to the operating
74768
+ # system.
74769
+ #
74770
+ #
74771
+ #
74772
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
74773
+ #
74078
74774
  # @return [Types::ModifyVolumeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
74079
74775
  #
74080
74776
  # * {Types::ModifyVolumeResult#volume_modification #volume_modification} => Types::VolumeModification
74081
74777
  #
74778
+ #
74779
+ # @example Example: To change the TRIM setting of a volume
74780
+ #
74781
+ # # This example changes the TrimOnAttach setting of the volume ``vol-1234567890abcdef0`` to ``disabled``. The new setting
74782
+ # # applies the next time the volume is attached to an instance.
74783
+ #
74784
+ # resp = client.modify_volume({
74785
+ # trim_on_attach: "disabled",
74786
+ # volume_id: "vol-1234567890abcdef0",
74787
+ # })
74788
+ #
74789
+ # resp.to_h outputs the following:
74790
+ # {
74791
+ # volume_modification: {
74792
+ # modification_state: "modifying",
74793
+ # original_iops: 3000,
74794
+ # original_multi_attach_enabled: false,
74795
+ # original_size: 100,
74796
+ # original_throughput: 125,
74797
+ # original_trim_on_attach: "enabled",
74798
+ # original_volume_type: "gp3a",
74799
+ # progress: 0,
74800
+ # start_time: Time.parse("2026-11-23T20:15:10.000Z"),
74801
+ # target_iops: 3000,
74802
+ # target_multi_attach_enabled: false,
74803
+ # target_size: 100,
74804
+ # target_throughput: 125,
74805
+ # target_trim_on_attach: "disabled",
74806
+ # target_volume_type: "gp3a",
74807
+ # volume_id: "vol-1234567890abcdef0",
74808
+ # },
74809
+ # }
74810
+ #
74811
+ # @example Example: To move the standby replica of a Multi-AZ volume to a different Availability Zone
74812
+ #
74813
+ # # This example moves the standby replica of the Multi-AZ volume ``vol-1234567890abcdef0`` from the Availability Zone
74814
+ # # ``us-east-1b`` to the Availability Zone ``us-east-1c``.
74815
+ #
74816
+ # resp = client.modify_volume({
74817
+ # multi_availability_zone_configuration: {
74818
+ # standby_availability_zones: [
74819
+ # {
74820
+ # availability_zone: "us-east-1c",
74821
+ # },
74822
+ # ],
74823
+ # },
74824
+ # volume_id: "vol-1234567890abcdef0",
74825
+ # })
74826
+ #
74827
+ # resp.to_h outputs the following:
74828
+ # {
74829
+ # volume_modification: {
74830
+ # modification_state: "modifying",
74831
+ # original_iops: 3000,
74832
+ # original_multi_attach_enabled: false,
74833
+ # original_multi_availability_zone_configuration: {
74834
+ # configuration_type: "multi-az-1",
74835
+ # standby_availability_zones: [
74836
+ # {
74837
+ # availability_zone: "us-east-1b",
74838
+ # availability_zone_id: "use1-az2",
74839
+ # },
74840
+ # ],
74841
+ # },
74842
+ # original_size: 100,
74843
+ # original_throughput: 125,
74844
+ # original_volume_type: "gp3",
74845
+ # progress: 0,
74846
+ # start_time: Time.parse("2026-11-11T20:15:10.000Z"),
74847
+ # target_iops: 3000,
74848
+ # target_multi_attach_enabled: false,
74849
+ # target_multi_availability_zone_configuration: {
74850
+ # configuration_type: "multi-az-1",
74851
+ # standby_availability_zones: [
74852
+ # {
74853
+ # availability_zone: "us-east-1c",
74854
+ # availability_zone_id: "use1-az4",
74855
+ # },
74856
+ # ],
74857
+ # },
74858
+ # target_size: 100,
74859
+ # target_throughput: 125,
74860
+ # target_volume_type: "gp3",
74861
+ # volume_id: "vol-1234567890abcdef0",
74862
+ # },
74863
+ # }
74864
+ #
74865
+ # @example Example: To move the standby replica of a Multi-AZ volume that is attached in its standby Availability Zone
74866
+ #
74867
+ # # This example moves the standby replica of the Multi-AZ volume ``vol-1234567890abcdef0`` to the Availability Zone with
74868
+ # # the ID ``use1-az4``. Because the volume is attached to an instance in its current standby Availability Zone, the example
74869
+ # # force-detaches the volume from that instance as part of the move.
74870
+ #
74871
+ # resp = client.modify_volume({
74872
+ # multi_availability_zone_configuration: {
74873
+ # force_detach_standby: true,
74874
+ # standby_availability_zones: [
74875
+ # {
74876
+ # availability_zone_id: "use1-az4",
74877
+ # },
74878
+ # ],
74879
+ # },
74880
+ # volume_id: "vol-1234567890abcdef0",
74881
+ # })
74882
+ #
74883
+ # resp.to_h outputs the following:
74884
+ # {
74885
+ # volume_modification: {
74886
+ # modification_state: "modifying",
74887
+ # original_iops: 3000,
74888
+ # original_multi_attach_enabled: false,
74889
+ # original_multi_availability_zone_configuration: {
74890
+ # configuration_type: "multi-az-1",
74891
+ # standby_availability_zones: [
74892
+ # {
74893
+ # availability_zone: "us-east-1b",
74894
+ # availability_zone_id: "use1-az2",
74895
+ # },
74896
+ # ],
74897
+ # },
74898
+ # original_size: 100,
74899
+ # original_throughput: 125,
74900
+ # original_volume_type: "gp3",
74901
+ # progress: 0,
74902
+ # start_time: Time.parse("2026-11-11T20:15:10.000Z"),
74903
+ # target_iops: 3000,
74904
+ # target_multi_attach_enabled: false,
74905
+ # target_multi_availability_zone_configuration: {
74906
+ # configuration_type: "multi-az-1",
74907
+ # standby_availability_zones: [
74908
+ # {
74909
+ # availability_zone: "us-east-1c",
74910
+ # availability_zone_id: "use1-az4",
74911
+ # },
74912
+ # ],
74913
+ # },
74914
+ # target_size: 100,
74915
+ # target_throughput: 125,
74916
+ # target_volume_type: "gp3",
74917
+ # volume_id: "vol-1234567890abcdef0",
74918
+ # },
74919
+ # }
74920
+ #
74082
74921
  # @example Request syntax with placeholder values
74083
74922
  #
74084
74923
  # resp = client.modify_volume({
74085
74924
  # dry_run: false,
74086
74925
  # volume_id: "VolumeId", # required
74087
74926
  # size: 1,
74088
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
74927
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
74089
74928
  # iops: 1,
74090
74929
  # throughput: 1,
74091
74930
  # multi_attach_enabled: false,
74931
+ # multi_availability_zone_configuration: {
74932
+ # configuration_type: "multi-az-1", # accepts multi-az-1
74933
+ # force_detach_standby: false,
74934
+ # standby_availability_zones: [
74935
+ # {
74936
+ # availability_zone: "SupplementaryAvailabilityZoneName",
74937
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
74938
+ # },
74939
+ # ],
74940
+ # },
74941
+ # trim_on_attach: "enabled", # accepts enabled, disabled
74092
74942
  # })
74093
74943
  #
74094
74944
  # @example Response structure
@@ -74098,12 +74948,12 @@ module Aws::EC2
74098
74948
  # resp.volume_modification.status_message #=> String
74099
74949
  # resp.volume_modification.target_size #=> Integer
74100
74950
  # resp.volume_modification.target_iops #=> Integer
74101
- # resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
74951
+ # resp.volume_modification.target_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
74102
74952
  # resp.volume_modification.target_throughput #=> Integer
74103
74953
  # resp.volume_modification.target_multi_attach_enabled #=> Boolean
74104
74954
  # resp.volume_modification.original_size #=> Integer
74105
74955
  # resp.volume_modification.original_iops #=> Integer
74106
- # resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
74956
+ # resp.volume_modification.original_volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
74107
74957
  # resp.volume_modification.original_throughput #=> Integer
74108
74958
  # resp.volume_modification.original_multi_attach_enabled #=> Boolean
74109
74959
  # resp.volume_modification.progress #=> Integer
@@ -74112,6 +74962,16 @@ module Aws::EC2
74112
74962
  # resp.volume_modification.operator.managed #=> Boolean
74113
74963
  # resp.volume_modification.operator.principal #=> String
74114
74964
  # resp.volume_modification.operator.hidden_by_default #=> Boolean
74965
+ # resp.volume_modification.original_multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
74966
+ # resp.volume_modification.original_multi_availability_zone_configuration.standby_availability_zones #=> Array
74967
+ # resp.volume_modification.original_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
74968
+ # resp.volume_modification.original_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
74969
+ # resp.volume_modification.target_multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
74970
+ # resp.volume_modification.target_multi_availability_zone_configuration.standby_availability_zones #=> Array
74971
+ # resp.volume_modification.target_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
74972
+ # resp.volume_modification.target_multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
74973
+ # resp.volume_modification.target_trim_on_attach #=> String, one of "enabled", "disabled"
74974
+ # resp.volume_modification.original_trim_on_attach #=> String, one of "enabled", "disabled"
74115
74975
  #
74116
74976
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume AWS API Documentation
74117
74977
  #
@@ -77296,11 +78156,20 @@ module Aws::EC2
77296
78156
  # iops: 1,
77297
78157
  # snapshot_id: "SnapshotId",
77298
78158
  # volume_size: 1,
77299
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
78159
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
77300
78160
  # kms_key_id: "String",
77301
78161
  # throughput: 1,
77302
78162
  # outpost_arn: "String",
77303
78163
  # availability_zone: "String",
78164
+ # multi_availability_zone_configuration: {
78165
+ # configuration_type: "multi-az-1", # accepts multi-az-1
78166
+ # standby_availability_zones: [
78167
+ # {
78168
+ # availability_zone: "SupplementaryAvailabilityZoneName",
78169
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
78170
+ # },
78171
+ # ],
78172
+ # },
77304
78173
  # encrypted: false,
77305
78174
  # volume_initialization_rate: 1,
77306
78175
  # availability_zone_id: "String",
@@ -79052,11 +79921,20 @@ module Aws::EC2
79052
79921
  # iops: 1,
79053
79922
  # snapshot_id: "SnapshotId",
79054
79923
  # volume_size: 1,
79055
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
79924
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
79056
79925
  # kms_key_id: "String",
79057
79926
  # throughput: 1,
79058
79927
  # outpost_arn: "String",
79059
79928
  # availability_zone: "String",
79929
+ # multi_availability_zone_configuration: {
79930
+ # configuration_type: "multi-az-1", # accepts multi-az-1
79931
+ # standby_availability_zones: [
79932
+ # {
79933
+ # availability_zone: "SupplementaryAvailabilityZoneName",
79934
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
79935
+ # },
79936
+ # ],
79937
+ # },
79060
79938
  # encrypted: false,
79061
79939
  # volume_initialization_rate: 1,
79062
79940
  # availability_zone_id: "String",
@@ -79557,11 +80435,20 @@ module Aws::EC2
79557
80435
  # iops: 1,
79558
80436
  # snapshot_id: "SnapshotId",
79559
80437
  # volume_size: 1,
79560
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
80438
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
79561
80439
  # kms_key_id: "String",
79562
80440
  # throughput: 1,
79563
80441
  # outpost_arn: "String",
79564
80442
  # availability_zone: "String",
80443
+ # multi_availability_zone_configuration: {
80444
+ # configuration_type: "multi-az-1", # accepts multi-az-1
80445
+ # standby_availability_zones: [
80446
+ # {
80447
+ # availability_zone: "SupplementaryAvailabilityZoneName",
80448
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
80449
+ # },
80450
+ # ],
80451
+ # },
79565
80452
  # encrypted: false,
79566
80453
  # volume_initialization_rate: 1,
79567
80454
  # availability_zone_id: "String",
@@ -79691,11 +80578,15 @@ module Aws::EC2
79691
80578
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.iops #=> Integer
79692
80579
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.snapshot_id #=> String
79693
80580
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_size #=> Integer
79694
- # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3"
80581
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_type #=> String, one of "standard", "io1", "io2", "gp2", "sc1", "st1", "gp3", "gp3a", "io2a"
79695
80582
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.kms_key_id #=> String
79696
80583
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.throughput #=> Integer
79697
80584
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.outpost_arn #=> String
79698
80585
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone #=> String
80586
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
80587
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
80588
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
80589
+ # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
79699
80590
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.encrypted #=> Boolean
79700
80591
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.volume_initialization_rate #=> Integer
79701
80592
  # resp.spot_instance_requests[0].launch_specification.block_device_mappings[0].ebs.availability_zone_id #=> String
@@ -81315,11 +82206,20 @@ module Aws::EC2
81315
82206
  # iops: 1,
81316
82207
  # snapshot_id: "SnapshotId",
81317
82208
  # volume_size: 1,
81318
- # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
82209
+ # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3, gp3a, io2a
81319
82210
  # kms_key_id: "String",
81320
82211
  # throughput: 1,
81321
82212
  # outpost_arn: "String",
81322
82213
  # availability_zone: "String",
82214
+ # multi_availability_zone_configuration: {
82215
+ # configuration_type: "multi-az-1", # accepts multi-az-1
82216
+ # standby_availability_zones: [
82217
+ # {
82218
+ # availability_zone: "SupplementaryAvailabilityZoneName",
82219
+ # availability_zone_id: "SupplementaryAvailabilityZoneId",
82220
+ # },
82221
+ # ],
82222
+ # },
81323
82223
  # encrypted: false,
81324
82224
  # volume_initialization_rate: 1,
81325
82225
  # availability_zone_id: "String",
@@ -81563,6 +82463,11 @@ module Aws::EC2
81563
82463
  # resp.instances[0].block_device_mappings[0].ebs.operator.principal #=> String
81564
82464
  # resp.instances[0].block_device_mappings[0].ebs.operator.hidden_by_default #=> Boolean
81565
82465
  # resp.instances[0].block_device_mappings[0].ebs.ebs_card_index #=> Integer
82466
+ # resp.instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.configuration_type #=> String, one of "multi-az-1"
82467
+ # resp.instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones #=> Array
82468
+ # resp.instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone #=> String
82469
+ # resp.instances[0].block_device_mappings[0].ebs.multi_availability_zone_configuration.standby_availability_zones[0].availability_zone_id #=> String
82470
+ # resp.instances[0].block_device_mappings[0].ebs.trim_state #=> String, one of "enabled", "disabled"
81566
82471
  # resp.instances[0].client_token #=> String
81567
82472
  # resp.instances[0].ebs_optimized #=> Boolean
81568
82473
  # resp.instances[0].ena_support #=> Boolean
@@ -84711,7 +85616,7 @@ module Aws::EC2
84711
85616
  tracer: tracer
84712
85617
  )
84713
85618
  context[:gem_name] = 'aws-sdk-ec2'
84714
- context[:gem_version] = '1.675.0'
85619
+ context[:gem_version] = '1.676.0'
84715
85620
  Seahorse::Client::Request.new(handlers, context)
84716
85621
  end
84717
85622