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.
@@ -54,11 +54,11 @@ module Aws::EC2
54
54
  data[:source_volume_id]
55
55
  end
56
56
 
57
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`, and
58
- # `io2` volumes, this represents the number of IOPS that are provisioned
59
- # for the volume. For `gp2` volumes, this represents the baseline
60
- # performance of the volume and the rate at which the volume accumulates
61
- # I/O credits for bursting.
57
+ # The number of I/O operations per second (IOPS). For `gp3`, `gp3a`,
58
+ # `io1`, `io2`, and `io2a` volumes, this represents the number of IOPS
59
+ # that are provisioned for the volume. For `gp2` volumes, this
60
+ # represents the baseline performance of the volume and the rate at
61
+ # which the volume accumulates I/O credits for bursting.
62
62
  # @return [Integer]
63
63
  def iops
64
64
  data[:iops]
@@ -135,6 +135,38 @@ module Aws::EC2
135
135
  data[:owner_id]
136
136
  end
137
137
 
138
+ # The Multi-Availability Zone configuration of the volume. Returned only
139
+ # for Multi-Availability Zone volumes.
140
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
141
+ def multi_availability_zone_configuration
142
+ data[:multi_availability_zone_configuration]
143
+ end
144
+
145
+ # Specifies whether the volume reports TRIM support to the operating
146
+ # system when the volume is attached to an EC2 instance. Amazon EBS
147
+ # applies this intent only when the volume attaches to an EC2 instance,
148
+ # and TRIM support on the volume stays the same for the life of the
149
+ # attachment. To check whether an attached volume is reporting TRIM
150
+ # support, use `TrimState` in the attachments of the volume. Volumes
151
+ # created from a snapshot don't inherit the source volume's setting.
152
+ # For more information, see [Amazon EBS TRIM][1] in the *Amazon EBS User
153
+ # Guide*.
154
+ #
155
+ # Valid values:
156
+ #
157
+ # * `enabled`: The volume reports TRIM support to the operating system.
158
+ #
159
+ # * `disabled`: The volume does not report TRIM support to the operating
160
+ # system.
161
+ #
162
+ #
163
+ #
164
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
165
+ # @return [String]
166
+ def trim_on_attach
167
+ data[:trim_on_attach]
168
+ end
169
+
138
170
  # The size of the volume, in GiBs.
139
171
  # @return [Integer]
140
172
  def size
data/lib/aws-sdk-ec2.rb CHANGED
@@ -78,7 +78,7 @@ module Aws::EC2
78
78
  autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection'
79
79
  autoload :VpcAddress, 'aws-sdk-ec2/vpc_address'
80
80
 
81
- GEM_VERSION = '1.675.0'
81
+ GEM_VERSION = '1.676.0'
82
82
 
83
83
  end
84
84
 
data/sig/client.rbs CHANGED
@@ -785,6 +785,9 @@ module Aws
785
785
  def associated_resource: () -> ::String
786
786
  def instance_owning_service: () -> ::String
787
787
  def ebs_card_index: () -> ::Integer
788
+ def availability_zone: () -> ::String
789
+ def availability_zone_id: () -> ::String
790
+ def trim_state: () -> ("enabled" | "disabled")
788
791
  def volume_id: () -> ::String
789
792
  def instance_id: () -> ::String
790
793
  def device: () -> ::String
@@ -1150,7 +1153,7 @@ module Aws
1150
1153
  source_volume_id: ::String,
1151
1154
  ?iops: ::Integer,
1152
1155
  ?size: ::Integer,
1153
- ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
1156
+ ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a"),
1154
1157
  ?dry_run: bool,
1155
1158
  ?tag_specifications: Array[
1156
1159
  {
@@ -4272,7 +4275,7 @@ module Aws
4272
4275
  def source_volume_id: () -> ::String
4273
4276
  def iops: () -> ::Integer
4274
4277
  def tags: () -> ::Array[Types::Tag]
4275
- def volume_type: () -> ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
4278
+ def volume_type: () -> ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
4276
4279
  def fast_restored: () -> bool
4277
4280
  def multi_attach_enabled: () -> bool
4278
4281
  def throughput: () -> ::Integer
@@ -4281,6 +4284,8 @@ module Aws
4281
4284
  def volume_initialization_rate: () -> ::Integer
4282
4285
  def volume_arn: () -> ::String
4283
4286
  def owner_id: () -> ::String
4287
+ def multi_availability_zone_configuration: () -> Types::MultiAvailabilityZoneVolumeConfiguration
4288
+ def trim_on_attach: () -> ("enabled" | "disabled")
4284
4289
  def volume_id: () -> ::String
4285
4290
  def size: () -> ::Integer
4286
4291
  def snapshot_id: () -> ::String
@@ -4301,7 +4306,7 @@ module Aws
4301
4306
  ?outpost_arn: ::String,
4302
4307
  ?size: ::Integer,
4303
4308
  ?snapshot_id: ::String,
4304
- ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
4309
+ ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a"),
4305
4310
  ?tag_specifications: Array[
4306
4311
  {
4307
4312
  resource_type: ("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")?,
@@ -4320,6 +4325,16 @@ module Aws
4320
4325
  ?operator: {
4321
4326
  principal: ::String?
4322
4327
  },
4328
+ ?multi_availability_zone_configuration: {
4329
+ configuration_type: ("multi-az-1")?,
4330
+ standby_availability_zones: Array[
4331
+ {
4332
+ availability_zone: ::String?,
4333
+ availability_zone_id: ::String?
4334
+ }
4335
+ ]?
4336
+ },
4337
+ ?trim_on_attach: ("enabled" | "disabled"),
4323
4338
  ?dry_run: bool
4324
4339
  ) -> _CreateVolumeResponseSuccess
4325
4340
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVolumeResponseSuccess
@@ -10100,6 +10115,9 @@ module Aws
10100
10115
  def associated_resource: () -> ::String
10101
10116
  def instance_owning_service: () -> ::String
10102
10117
  def ebs_card_index: () -> ::Integer
10118
+ def availability_zone: () -> ::String
10119
+ def availability_zone_id: () -> ::String
10120
+ def trim_state: () -> ("enabled" | "disabled")
10103
10121
  def volume_id: () -> ::String
10104
10122
  def instance_id: () -> ::String
10105
10123
  def device: () -> ::String
@@ -11043,6 +11061,20 @@ module Aws
11043
11061
  ) -> _ExportVerifiedAccessInstanceClientConfigurationResponseSuccess
11044
11062
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExportVerifiedAccessInstanceClientConfigurationResponseSuccess
11045
11063
 
11064
+ interface _FailoverVolumesResponseSuccess
11065
+ include ::Seahorse::Client::_ResponseSuccess[Types::FailoverVolumesResult]
11066
+ def volume_failovers: () -> ::Array[Types::VolumeFailoverInfo]
11067
+ end
11068
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#failover_volumes-instance_method
11069
+ def failover_volumes: (
11070
+ ?volume_id: ::String,
11071
+ ?instance_id: ::String,
11072
+ ?source_active_availability_zone: ::String,
11073
+ ?source_active_availability_zone_id: ::String,
11074
+ ?dry_run: bool
11075
+ ) -> _FailoverVolumesResponseSuccess
11076
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _FailoverVolumesResponseSuccess
11077
+
11046
11078
  interface _GetActiveVpnTunnelStatusResponseSuccess
11047
11079
  include ::Seahorse::Client::_ResponseSuccess[Types::GetActiveVpnTunnelStatusResult]
11048
11080
  def active_vpn_tunnel_status: () -> Types::ActiveVpnTunnelStatus
@@ -14117,10 +14149,21 @@ module Aws
14117
14149
  ?dry_run: bool,
14118
14150
  volume_id: ::String,
14119
14151
  ?size: ::Integer,
14120
- ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
14152
+ ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a"),
14121
14153
  ?iops: ::Integer,
14122
14154
  ?throughput: ::Integer,
14123
- ?multi_attach_enabled: bool
14155
+ ?multi_attach_enabled: bool,
14156
+ ?multi_availability_zone_configuration: {
14157
+ configuration_type: ("multi-az-1")?,
14158
+ force_detach_standby: bool?,
14159
+ standby_availability_zones: Array[
14160
+ {
14161
+ availability_zone: ::String?,
14162
+ availability_zone_id: ::String?
14163
+ }
14164
+ ]?
14165
+ },
14166
+ ?trim_on_attach: ("enabled" | "disabled")
14124
14167
  ) -> _ModifyVolumeResponseSuccess
14125
14168
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyVolumeResponseSuccess
14126
14169
 
data/sig/instance.rbs CHANGED
@@ -277,11 +277,20 @@ module Aws
277
277
  iops: ::Integer?,
278
278
  snapshot_id: ::String?,
279
279
  volume_size: ::Integer?,
280
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
280
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
281
281
  kms_key_id: ::String?,
282
282
  throughput: ::Integer?,
283
283
  outpost_arn: ::String?,
284
284
  availability_zone: ::String?,
285
+ multi_availability_zone_configuration: {
286
+ configuration_type: ("multi-az-1")?,
287
+ standby_availability_zones: Array[
288
+ {
289
+ availability_zone: ::String?,
290
+ availability_zone_id: ::String?
291
+ }
292
+ ]?
293
+ }?,
285
294
  encrypted: bool?,
286
295
  volume_initialization_rate: ::Integer?,
287
296
  availability_zone_id: ::String?,
data/sig/params.rbs CHANGED
@@ -192,7 +192,16 @@ module Aws
192
192
  kms_key_id: ::String?,
193
193
  snapshot_id: ::String?,
194
194
  volume_size: ::Integer?,
195
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?
195
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
196
+ multi_availability_zone_configuration: {
197
+ configuration_type: ("multi-az-1")?,
198
+ standby_availability_zones: Array[
199
+ {
200
+ availability_zone: ::String?,
201
+ availability_zone_id: ::String?
202
+ }
203
+ ]?
204
+ }?
196
205
  }
197
206
 
198
207
  type fleet_block_device_mapping_request = {
@@ -207,11 +216,20 @@ module Aws
207
216
  iops: ::Integer?,
208
217
  snapshot_id: ::String?,
209
218
  volume_size: ::Integer?,
210
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
219
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
211
220
  kms_key_id: ::String?,
212
221
  throughput: ::Integer?,
213
222
  outpost_arn: ::String?,
214
223
  availability_zone: ::String?,
224
+ multi_availability_zone_configuration: {
225
+ configuration_type: ("multi-az-1")?,
226
+ standby_availability_zones: Array[
227
+ {
228
+ availability_zone: ::String?,
229
+ availability_zone_id: ::String?
230
+ }
231
+ ]?
232
+ }?,
215
233
  encrypted: bool?,
216
234
  volume_initialization_rate: ::Integer?,
217
235
  availability_zone_id: ::String?,
@@ -384,10 +402,19 @@ module Aws
384
402
  kms_key_id: ::String?,
385
403
  snapshot_id: ::String?,
386
404
  volume_size: ::Integer?,
387
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
405
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
388
406
  throughput: ::Integer?,
389
407
  volume_initialization_rate: ::Integer?,
390
- ebs_card_index: ::Integer?
408
+ ebs_card_index: ::Integer?,
409
+ multi_availability_zone_configuration: {
410
+ configuration_type: ("multi-az-1")?,
411
+ standby_availability_zones: Array[
412
+ {
413
+ availability_zone: ::String?,
414
+ availability_zone_id: ::String?
415
+ }
416
+ ]?
417
+ }?
391
418
  }
392
419
 
393
420
  type launch_template_block_device_mapping_request = {
data/sig/resource.rbs CHANGED
@@ -113,11 +113,20 @@ module Aws
113
113
  iops: ::Integer?,
114
114
  snapshot_id: ::String?,
115
115
  volume_size: ::Integer?,
116
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
116
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
117
117
  kms_key_id: ::String?,
118
118
  throughput: ::Integer?,
119
119
  outpost_arn: ::String?,
120
120
  availability_zone: ::String?,
121
+ multi_availability_zone_configuration: {
122
+ configuration_type: ("multi-az-1")?,
123
+ standby_availability_zones: Array[
124
+ {
125
+ availability_zone: ::String?,
126
+ availability_zone_id: ::String?
127
+ }
128
+ ]?
129
+ }?,
121
130
  encrypted: bool?,
122
131
  volume_initialization_rate: ::Integer?,
123
132
  availability_zone_id: ::String?,
@@ -638,7 +647,7 @@ module Aws
638
647
  ?outpost_arn: ::String,
639
648
  ?size: ::Integer,
640
649
  ?snapshot_id: ::String,
641
- ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
650
+ ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a"),
642
651
  ?tag_specifications: Array[
643
652
  {
644
653
  resource_type: ("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")?,
@@ -657,6 +666,16 @@ module Aws
657
666
  ?operator: {
658
667
  principal: ::String?
659
668
  },
669
+ ?multi_availability_zone_configuration: {
670
+ configuration_type: ("multi-az-1")?,
671
+ standby_availability_zones: Array[
672
+ {
673
+ availability_zone: ::String?,
674
+ availability_zone_id: ::String?
675
+ }
676
+ ]?
677
+ },
678
+ ?trim_on_attach: ("enabled" | "disabled"),
660
679
  ?dry_run: bool
661
680
  ) -> Volume
662
681
  | (?Hash[Symbol, untyped]) -> Volume
@@ -785,11 +804,20 @@ module Aws
785
804
  iops: ::Integer?,
786
805
  snapshot_id: ::String?,
787
806
  volume_size: ::Integer?,
788
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
807
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
789
808
  kms_key_id: ::String?,
790
809
  throughput: ::Integer?,
791
810
  outpost_arn: ::String?,
792
811
  availability_zone: ::String?,
812
+ multi_availability_zone_configuration: {
813
+ configuration_type: ("multi-az-1")?,
814
+ standby_availability_zones: Array[
815
+ {
816
+ availability_zone: ::String?,
817
+ availability_zone_id: ::String?
818
+ }
819
+ ]?
820
+ }?,
793
821
  encrypted: bool?,
794
822
  volume_initialization_rate: ::Integer?,
795
823
  availability_zone_id: ::String?,
data/sig/subnet.rbs CHANGED
@@ -109,11 +109,20 @@ module Aws
109
109
  iops: ::Integer?,
110
110
  snapshot_id: ::String?,
111
111
  volume_size: ::Integer?,
112
- volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")?,
112
+ volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")?,
113
113
  kms_key_id: ::String?,
114
114
  throughput: ::Integer?,
115
115
  outpost_arn: ::String?,
116
116
  availability_zone: ::String?,
117
+ multi_availability_zone_configuration: {
118
+ configuration_type: ("multi-az-1")?,
119
+ standby_availability_zones: Array[
120
+ {
121
+ availability_zone: ::String?,
122
+ availability_zone_id: ::String?
123
+ }
124
+ ]?
125
+ }?,
117
126
  encrypted: bool?,
118
127
  volume_initialization_rate: ::Integer?,
119
128
  availability_zone_id: ::String?,
data/sig/types.rbs CHANGED
@@ -2255,7 +2255,7 @@ module Aws::EC2
2255
2255
  attr_accessor source_volume_id: ::String
2256
2256
  attr_accessor iops: ::Integer
2257
2257
  attr_accessor size: ::Integer
2258
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
2258
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
2259
2259
  attr_accessor dry_run: bool
2260
2260
  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
2261
2261
  attr_accessor multi_attach_enabled: bool
@@ -4229,13 +4229,15 @@ module Aws::EC2
4229
4229
  attr_accessor outpost_arn: ::String
4230
4230
  attr_accessor size: ::Integer
4231
4231
  attr_accessor snapshot_id: ::String
4232
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
4232
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
4233
4233
  attr_accessor tag_specifications: ::Array[Types::TagSpecification]
4234
4234
  attr_accessor multi_attach_enabled: bool
4235
4235
  attr_accessor throughput: ::Integer
4236
4236
  attr_accessor client_token: ::String
4237
4237
  attr_accessor volume_initialization_rate: ::Integer
4238
4238
  attr_accessor operator: Types::OperatorRequest
4239
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfigurationRequest
4240
+ attr_accessor trim_on_attach: ("enabled" | "disabled")
4239
4241
  attr_accessor dry_run: bool
4240
4242
  SENSITIVE: []
4241
4243
  end
@@ -9703,11 +9705,12 @@ module Aws::EC2
9703
9705
  attr_accessor iops: ::Integer
9704
9706
  attr_accessor snapshot_id: ::String
9705
9707
  attr_accessor volume_size: ::Integer
9706
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
9708
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
9707
9709
  attr_accessor kms_key_id: ::String
9708
9710
  attr_accessor throughput: ::Integer
9709
9711
  attr_accessor outpost_arn: ::String
9710
9712
  attr_accessor availability_zone: ::String
9713
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
9711
9714
  attr_accessor encrypted: bool
9712
9715
  attr_accessor volume_initialization_rate: ::Integer
9713
9716
  attr_accessor availability_zone_id: ::String
@@ -9723,7 +9726,8 @@ module Aws::EC2
9723
9726
  attr_accessor kms_key_id: ::String
9724
9727
  attr_accessor snapshot_id: ::String
9725
9728
  attr_accessor volume_size: ::Integer
9726
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
9729
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
9730
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
9727
9731
  SENSITIVE: []
9728
9732
  end
9729
9733
 
@@ -9759,6 +9763,8 @@ module Aws::EC2
9759
9763
  attr_accessor volume_owner_id: ::String
9760
9764
  attr_accessor operator: Types::OperatorResponse
9761
9765
  attr_accessor ebs_card_index: ::Integer
9766
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
9767
+ attr_accessor trim_state: ("enabled" | "disabled")
9762
9768
  SENSITIVE: []
9763
9769
  end
9764
9770
 
@@ -10459,6 +10465,26 @@ module Aws::EC2
10459
10465
  SENSITIVE: []
10460
10466
  end
10461
10467
 
10468
+ class FailoverAvailabilityZone
10469
+ attr_accessor availability_zone: ::String
10470
+ attr_accessor availability_zone_id: ::String
10471
+ SENSITIVE: []
10472
+ end
10473
+
10474
+ class FailoverVolumesRequest
10475
+ attr_accessor volume_id: ::String
10476
+ attr_accessor instance_id: ::String
10477
+ attr_accessor source_active_availability_zone: ::String
10478
+ attr_accessor source_active_availability_zone_id: ::String
10479
+ attr_accessor dry_run: bool
10480
+ SENSITIVE: []
10481
+ end
10482
+
10483
+ class FailoverVolumesResult
10484
+ attr_accessor volume_failovers: ::Array[Types::VolumeFailoverInfo]
10485
+ SENSITIVE: []
10486
+ end
10487
+
10462
10488
  class FastLaunchLaunchTemplateSpecificationRequest
10463
10489
  attr_accessor launch_template_id: ::String
10464
10490
  attr_accessor launch_template_name: ::String
@@ -10594,7 +10620,8 @@ module Aws::EC2
10594
10620
  attr_accessor kms_key_id: ::String
10595
10621
  attr_accessor snapshot_id: ::String
10596
10622
  attr_accessor volume_size: ::Integer
10597
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
10623
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
10624
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfigurationRequest
10598
10625
  SENSITIVE: []
10599
10626
  end
10600
10627
 
@@ -14139,10 +14166,11 @@ module Aws::EC2
14139
14166
  attr_accessor kms_key_id: ::String
14140
14167
  attr_accessor snapshot_id: ::String
14141
14168
  attr_accessor volume_size: ::Integer
14142
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
14169
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
14143
14170
  attr_accessor throughput: ::Integer
14144
14171
  attr_accessor volume_initialization_rate: ::Integer
14145
14172
  attr_accessor ebs_card_index: ::Integer
14173
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
14146
14174
  SENSITIVE: []
14147
14175
  end
14148
14176
 
@@ -14153,10 +14181,11 @@ module Aws::EC2
14153
14181
  attr_accessor kms_key_id: ::String
14154
14182
  attr_accessor snapshot_id: ::String
14155
14183
  attr_accessor volume_size: ::Integer
14156
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
14184
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
14157
14185
  attr_accessor throughput: ::Integer
14158
14186
  attr_accessor volume_initialization_rate: ::Integer
14159
14187
  attr_accessor ebs_card_index: ::Integer
14188
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfigurationRequest
14160
14189
  SENSITIVE: []
14161
14190
  end
14162
14191
 
@@ -16044,10 +16073,12 @@ module Aws::EC2
16044
16073
  attr_accessor dry_run: bool
16045
16074
  attr_accessor volume_id: ::String
16046
16075
  attr_accessor size: ::Integer
16047
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
16076
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
16048
16077
  attr_accessor iops: ::Integer
16049
16078
  attr_accessor throughput: ::Integer
16050
16079
  attr_accessor multi_attach_enabled: bool
16080
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfigurationModifyRequest
16081
+ attr_accessor trim_on_attach: ("enabled" | "disabled")
16051
16082
  SENSITIVE: []
16052
16083
  end
16053
16084
 
@@ -16383,6 +16414,33 @@ module Aws::EC2
16383
16414
  SENSITIVE: []
16384
16415
  end
16385
16416
 
16417
+ class MultiAvailabilityZoneStatusDetails
16418
+ attr_accessor replication_data_state: ("in-sync" | "out-of-sync" | "catching-up" | "insufficient-data")
16419
+ attr_accessor failover_readiness: ("ready" | "not-ready" | "insufficient-data")
16420
+ attr_accessor catchup_progress: ::Integer
16421
+ attr_accessor catchup_total_bytes: ::Integer
16422
+ SENSITIVE: []
16423
+ end
16424
+
16425
+ class MultiAvailabilityZoneVolumeConfiguration
16426
+ attr_accessor configuration_type: ("multi-az-1")
16427
+ attr_accessor standby_availability_zones: ::Array[Types::StandbyVolumeAvailabilityZone]
16428
+ SENSITIVE: []
16429
+ end
16430
+
16431
+ class MultiAvailabilityZoneVolumeConfigurationModifyRequest
16432
+ attr_accessor configuration_type: ("multi-az-1")
16433
+ attr_accessor force_detach_standby: bool
16434
+ attr_accessor standby_availability_zones: ::Array[Types::StandbyVolumeAvailabilityZoneRequest]
16435
+ SENSITIVE: []
16436
+ end
16437
+
16438
+ class MultiAvailabilityZoneVolumeConfigurationRequest
16439
+ attr_accessor configuration_type: ("multi-az-1")
16440
+ attr_accessor standby_availability_zones: ::Array[Types::StandbyVolumeAvailabilityZoneRequest]
16441
+ SENSITIVE: []
16442
+ end
16443
+
16386
16444
  class NatFlexCostAllocationPolicyDocument
16387
16445
  attr_accessor reporting_granularity: ::Array[("eni" | "ec2" | "subnet" | "vpc" | "account" | "peering-id" | "cidr")]
16388
16446
  attr_accessor dimensions: ::Array[("data-transfer" | "data-processing")]
@@ -19466,6 +19524,18 @@ module Aws::EC2
19466
19524
  SENSITIVE: []
19467
19525
  end
19468
19526
 
19527
+ class StandbyVolumeAvailabilityZone
19528
+ attr_accessor availability_zone: ::String
19529
+ attr_accessor availability_zone_id: ::String
19530
+ SENSITIVE: []
19531
+ end
19532
+
19533
+ class StandbyVolumeAvailabilityZoneRequest
19534
+ attr_accessor availability_zone: ::String
19535
+ attr_accessor availability_zone_id: ::String
19536
+ SENSITIVE: []
19537
+ end
19538
+
19469
19539
  class StartDeclarativePoliciesReportRequest
19470
19540
  attr_accessor dry_run: bool
19471
19541
  attr_accessor s3_bucket: ::String
@@ -21126,7 +21196,7 @@ module Aws::EC2
21126
21196
  attr_accessor source_volume_id: ::String
21127
21197
  attr_accessor iops: ::Integer
21128
21198
  attr_accessor tags: ::Array[Types::Tag]
21129
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
21199
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
21130
21200
  attr_accessor fast_restored: bool
21131
21201
  attr_accessor multi_attach_enabled: bool
21132
21202
  attr_accessor throughput: ::Integer
@@ -21135,6 +21205,8 @@ module Aws::EC2
21135
21205
  attr_accessor volume_initialization_rate: ::Integer
21136
21206
  attr_accessor volume_arn: ::String
21137
21207
  attr_accessor owner_id: ::String
21208
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
21209
+ attr_accessor trim_on_attach: ("enabled" | "disabled")
21138
21210
  attr_accessor volume_id: ::String
21139
21211
  attr_accessor size: ::Integer
21140
21212
  attr_accessor snapshot_id: ::String
@@ -21152,6 +21224,9 @@ module Aws::EC2
21152
21224
  attr_accessor associated_resource: ::String
21153
21225
  attr_accessor instance_owning_service: ::String
21154
21226
  attr_accessor ebs_card_index: ::Integer
21227
+ attr_accessor availability_zone: ::String
21228
+ attr_accessor availability_zone_id: ::String
21229
+ attr_accessor trim_state: ("enabled" | "disabled")
21155
21230
  attr_accessor volume_id: ::String
21156
21231
  attr_accessor instance_id: ::String
21157
21232
  attr_accessor device: ::String
@@ -21165,30 +21240,45 @@ module Aws::EC2
21165
21240
  SENSITIVE: []
21166
21241
  end
21167
21242
 
21243
+ class VolumeFailoverInfo
21244
+ attr_accessor volume_id: ::String
21245
+ attr_accessor source_active_availability_zone: ::String
21246
+ attr_accessor source_active_availability_zone_id: ::String
21247
+ attr_accessor source_standby_availability_zones: ::Array[Types::FailoverAvailabilityZone]
21248
+ attr_accessor target_active_availability_zone: ::String
21249
+ attr_accessor target_active_availability_zone_id: ::String
21250
+ attr_accessor target_standby_availability_zones: ::Array[Types::FailoverAvailabilityZone]
21251
+ SENSITIVE: []
21252
+ end
21253
+
21168
21254
  class VolumeModification
21169
21255
  attr_accessor volume_id: ::String
21170
21256
  attr_accessor modification_state: ("modifying" | "optimizing" | "completed" | "failed")
21171
21257
  attr_accessor status_message: ::String
21172
21258
  attr_accessor target_size: ::Integer
21173
21259
  attr_accessor target_iops: ::Integer
21174
- attr_accessor target_volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
21260
+ attr_accessor target_volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
21175
21261
  attr_accessor target_throughput: ::Integer
21176
21262
  attr_accessor target_multi_attach_enabled: bool
21177
21263
  attr_accessor original_size: ::Integer
21178
21264
  attr_accessor original_iops: ::Integer
21179
- attr_accessor original_volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
21265
+ attr_accessor original_volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
21180
21266
  attr_accessor original_throughput: ::Integer
21181
21267
  attr_accessor original_multi_attach_enabled: bool
21182
21268
  attr_accessor progress: ::Integer
21183
21269
  attr_accessor start_time: ::Time
21184
21270
  attr_accessor end_time: ::Time
21185
21271
  attr_accessor operator: Types::OperatorResponse
21272
+ attr_accessor original_multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
21273
+ attr_accessor target_multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
21274
+ attr_accessor target_trim_on_attach: ("enabled" | "disabled")
21275
+ attr_accessor original_trim_on_attach: ("enabled" | "disabled")
21186
21276
  SENSITIVE: []
21187
21277
  end
21188
21278
 
21189
21279
  class VolumeRecycleBinInfo
21190
21280
  attr_accessor volume_id: ::String
21191
- attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3")
21281
+ attr_accessor volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3" | "gp3a" | "io2a")
21192
21282
  attr_accessor state: ("creating" | "available" | "in-use" | "deleting" | "deleted" | "error")
21193
21283
  attr_accessor size: ::Integer
21194
21284
  attr_accessor iops: ::Integer
@@ -21202,6 +21292,7 @@ module Aws::EC2
21202
21292
  attr_accessor create_time: ::Time
21203
21293
  attr_accessor recycle_bin_enter_time: ::Time
21204
21294
  attr_accessor recycle_bin_exit_time: ::Time
21295
+ attr_accessor multi_availability_zone_configuration: Types::MultiAvailabilityZoneVolumeConfiguration
21205
21296
  SENSITIVE: []
21206
21297
  end
21207
21298
 
@@ -21252,6 +21343,7 @@ module Aws::EC2
21252
21343
  attr_accessor initialization_status_details: Types::InitializationStatusDetails
21253
21344
  attr_accessor availability_zone_id: ::String
21254
21345
  attr_accessor operator: Types::OperatorResponse
21346
+ attr_accessor multi_availability_zone_status_details: Types::MultiAvailabilityZoneStatusDetails
21255
21347
  SENSITIVE: []
21256
21348
  end
21257
21349