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.
@@ -10009,19 +10009,23 @@ module Aws::EC2
10009
10009
  #
10010
10010
  # @!attribute [rw] iops
10011
10011
  # The number of I/O operations per second (IOPS) to provision for the
10012
- # volume copy. Required for `io1` and `io2` volumes. Optional for
10013
- # `gp3` volumes. Omit for all other volume types. Full provisioned
10014
- # IOPS performance can be achieved only once the volume copy is fully
10015
- # initialized.
10012
+ # volume copy. Required for `io1`, `io2`, and `io2a` volumes. Optional
10013
+ # for `gp3` and `gp3a` volumes. Omit for all other volume types. Full
10014
+ # provisioned IOPS performance can be achieved only once the volume
10015
+ # copy is fully initialized.
10016
10016
  #
10017
10017
  # Valid ranges:
10018
10018
  #
10019
10019
  # * gp3: `3,000 `(*default*)` - 80,000` IOPS
10020
10020
  #
10021
+ # * gp3a: `1,000 - 80,000` IOPS. Default: `3,000`
10022
+ #
10021
10023
  # * io1: `100 - 64,000` IOPS
10022
10024
  #
10023
10025
  # * io2: `100 - 256,000` IOPS
10024
10026
  #
10027
+ # * io2a: `100 - 256,000` IOPS
10028
+ #
10025
10029
  # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
10026
10030
  # IOPS. Other instances can support up to 32,000 IOPS.
10027
10031
  #
@@ -10043,10 +10047,14 @@ module Aws::EC2
10043
10047
  #
10044
10048
  # * gp3: `65,536` GiB
10045
10049
  #
10050
+ # * gp3a: `65,536` GiB
10051
+ #
10046
10052
  # * io1: `16,384` GiB
10047
10053
  #
10048
10054
  # * io2: `65,536` GiB
10049
10055
  #
10056
+ # * io2a: `65,536` GiB
10057
+ #
10050
10058
  # * st1 and sc1: `16,384` GiB
10051
10059
  #
10052
10060
  # * standard: `1024` GiB
@@ -10072,8 +10080,8 @@ module Aws::EC2
10072
10080
  # Indicates whether to enable Amazon EBS Multi-Attach for the volume
10073
10081
  # copy. If you enable Multi-Attach, you can attach the volume to up to
10074
10082
  # 16 Nitro instances in the same Availability Zone simultaneously.
10075
- # Supported with `io1` and `io2` volumes only. For more information,
10076
- # see [ Amazon EBS Multi-Attach][1].
10083
+ # Supported with `io1`, `io2`, and `io2a` volumes only. For more
10084
+ # information, see [ Amazon EBS Multi-Attach][1].
10077
10085
  #
10078
10086
  #
10079
10087
  #
@@ -10082,9 +10090,9 @@ module Aws::EC2
10082
10090
  #
10083
10091
  # @!attribute [rw] throughput
10084
10092
  # The throughput to provision for the volume copy, in MiB/s. Supported
10085
- # for `gp3` volumes only. Omit for all other volume types. Full
10086
- # provisioned throughput performance can be achieved only once the
10087
- # volume copy is fully initialized.
10093
+ # for `gp3` and `gp3a` volumes only. Omit for all other volume types.
10094
+ # Full provisioned throughput performance can be achieved only once
10095
+ # the volume copy is fully initialized.
10088
10096
  #
10089
10097
  # Valid Range: `125 - 2000` MiB/s
10090
10098
  # @return [Integer]
@@ -19431,7 +19439,7 @@ module Aws::EC2
19431
19439
  end
19432
19440
 
19433
19441
  # @!attribute [rw] availability_zone
19434
- # The ID of the Availability Zone in which to create the volume. For
19442
+ # The name of the Availability Zone in which to create the volume. For
19435
19443
  # example, `us-east-1a`.
19436
19444
  #
19437
19445
  # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
@@ -19465,17 +19473,21 @@ module Aws::EC2
19465
19473
  #
19466
19474
  # @!attribute [rw] iops
19467
19475
  # The number of I/O operations per second (IOPS) to provision for the
19468
- # volume. Required for `io1` and `io2` volumes. Optional for `gp3`
19469
- # volumes. Omit for all other volume types.
19476
+ # volume. Required for `io1`, `io2`, and `io2a` volumes. Optional for
19477
+ # `gp3` and `gp3a` volumes. Omit for all other volume types.
19470
19478
  #
19471
19479
  # Valid ranges:
19472
19480
  #
19473
19481
  # * gp3: `3,000 `(*default*)` - 80,000` IOPS
19474
19482
  #
19483
+ # * gp3a: `1,000 - 80,000` IOPS. Default: `3,000`
19484
+ #
19475
19485
  # * io1: `100 - 64,000` IOPS
19476
19486
  #
19477
19487
  # * io2: `100 - 256,000` IOPS
19478
19488
  #
19489
+ # * io2a: `100 - 256,000` IOPS
19490
+ #
19479
19491
  # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
19480
19492
  # IOPS. Other instances can support up to 32,000 IOPS.
19481
19493
  #
@@ -19532,10 +19544,14 @@ module Aws::EC2
19532
19544
  #
19533
19545
  # * gp3: `1 - 65,536` GiB
19534
19546
  #
19547
+ # * gp3a: `1 - 65,536` GiB
19548
+ #
19535
19549
  # * io1: `4 - 16,384` GiB
19536
19550
  #
19537
19551
  # * io2: `4 - 65,536` GiB
19538
19552
  #
19553
+ # * io2a: `4 - 65,536` GiB
19554
+ #
19539
19555
  # * st1 and sc1: `125 - 16,384` GiB
19540
19556
  #
19541
19557
  # * standard: `1 - 1024` GiB
@@ -19551,8 +19567,12 @@ module Aws::EC2
19551
19567
  #
19552
19568
  # * General Purpose SSD: `gp2` \| `gp3`
19553
19569
  #
19570
+ # * General Purpose Adaptive SSD: `gp3a`
19571
+ #
19554
19572
  # * Provisioned IOPS SSD: `io1` \| `io2`
19555
19573
  #
19574
+ # * Provisioned IOPS Adaptive SSD: `io2a`
19575
+ #
19556
19576
  # * Throughput Optimized HDD: `st1`
19557
19577
  #
19558
19578
  # * Cold HDD: `sc1`
@@ -19580,9 +19600,9 @@ module Aws::EC2
19580
19600
  # Indicates whether to enable Amazon EBS Multi-Attach. If you enable
19581
19601
  # Multi-Attach, you can attach the volume to up to 16 [Instances built
19582
19602
  # on the Nitro System][1] in the same Availability Zone. This
19583
- # parameter is supported with `io1` and `io2` volumes only. For more
19584
- # information, see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS
19585
- # User Guide*.
19603
+ # parameter is supported with `io1`, `io2`, and `io2a` volumes only.
19604
+ # For more information, see [ Amazon EBS Multi-Attach][2] in the
19605
+ # *Amazon EBS User Guide*.
19586
19606
  #
19587
19607
  #
19588
19608
  #
@@ -19592,7 +19612,7 @@ module Aws::EC2
19592
19612
  #
19593
19613
  # @!attribute [rw] throughput
19594
19614
  # The throughput to provision for the volume, in MiB/s. Supported for
19595
- # `gp3` volumes only. Omit for all other volume types.
19615
+ # `gp3` and `gp3a` volumes only. Omit for all other volume types.
19596
19616
  #
19597
19617
  # Valid Range: `125 - 2000` MiB/s
19598
19618
  # @return [Integer]
@@ -19649,6 +19669,40 @@ module Aws::EC2
19649
19669
  # Reserved for internal use.
19650
19670
  # @return [Types::OperatorRequest]
19651
19671
  #
19672
+ # @!attribute [rw] multi_availability_zone_configuration
19673
+ # The Multi-Availability Zone configuration for the volume. To create
19674
+ # a Multi-Availability Zone volume, specify the configuration type and
19675
+ # the standby Availability Zone.
19676
+ # @return [Types::MultiAvailabilityZoneVolumeConfigurationRequest]
19677
+ #
19678
+ # @!attribute [rw] trim_on_attach
19679
+ # Specifies whether the volume reports TRIM support to the operating
19680
+ # system when the volume is attached to an EC2 instance. Amazon EBS
19681
+ # applies this intent only when the volume attaches to an EC2
19682
+ # instance, and TRIM support on the volume stays the same for the life
19683
+ # of the attachment. To check whether an attached volume is reporting
19684
+ # TRIM support, use `TrimState` in the attachments of the volume using
19685
+ # `DescribeVolumes`. Volumes created from a snapshot don't inherit
19686
+ # the source volume's setting. For more information, see [Amazon EBS
19687
+ # TRIM][1] in the *Amazon EBS User Guide*.
19688
+ #
19689
+ # If you omit this parameter, the default is `enabled` for `gp3a` and
19690
+ # `io2a` volumes, and `disabled` for `gp2`, `gp3`, `io1`, `io2`,
19691
+ # `sc1`, and `st1` volumes.
19692
+ #
19693
+ # Valid values:
19694
+ #
19695
+ # * `enabled`: The volume reports TRIM support to the operating
19696
+ # system.
19697
+ #
19698
+ # * `disabled`: The volume does not report TRIM support to the
19699
+ # operating system.
19700
+ #
19701
+ #
19702
+ #
19703
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
19704
+ # @return [String]
19705
+ #
19652
19706
  # @!attribute [rw] dry_run
19653
19707
  # Checks whether you have the required permissions for the action,
19654
19708
  # without actually making the request, and provides an error response.
@@ -19674,6 +19728,8 @@ module Aws::EC2
19674
19728
  :client_token,
19675
19729
  :volume_initialization_rate,
19676
19730
  :operator,
19731
+ :multi_availability_zone_configuration,
19732
+ :trim_on_attach,
19677
19733
  :dry_run)
19678
19734
  SENSITIVE = []
19679
19735
  include Aws::Structure
@@ -29528,8 +29584,8 @@ module Aws::EC2
29528
29584
  # EBS volume, in GiB.
29529
29585
  #
29530
29586
  # * `block-device-mapping.volume-type` - The volume type of the Amazon
29531
- # EBS volume (`io1` \| `io2` \| `gp2` \| `gp3` \| `sc1 `\| `st1` \|
29532
- # `standard`).
29587
+ # EBS volume (`io1` \| `io2` \| `io2a` \| `gp2` \| `gp3` \| `gp3a`
29588
+ # \| `sc1 `\| `st1` \| `standard`).
29533
29589
  #
29534
29590
  # * `block-device-mapping.encrypted` - A Boolean that indicates
29535
29591
  # whether the Amazon EBS volume is encrypted.
@@ -37315,9 +37371,10 @@ module Aws::EC2
37315
37371
  # volume, in GiB.
37316
37372
  #
37317
37373
  # * `launch.block-device-mapping.volume-type` - The type of EBS
37318
- # volume: `gp2` or `gp3` for General Purpose SSD, `io1` or `io2` for
37319
- # Provisioned IOPS SSD, `st1` for Throughput Optimized HDD, `sc1`
37320
- # for Cold HDD, or `standard` for Magnetic.
37374
+ # volume: `gp2` or `gp3` for General Purpose SSD, `gp3a` for General
37375
+ # Purpose Adaptive SSD, `io1` or `io2` for Provisioned IOPS SSD,
37376
+ # `io2a` for Provisioned IOPS Adaptive SSD, `st1` for Throughput
37377
+ # Optimized HDD, `sc1` for Cold HDD, or `standard` for Magnetic.
37321
37378
  #
37322
37379
  # * `launch.group-id` - The ID of the security group for the instance.
37323
37380
  #
@@ -40251,7 +40308,8 @@ module Aws::EC2
40251
40308
  # * `original-size` - The original size of the volume, in GiB.
40252
40309
  #
40253
40310
  # * `original-volume-type` - The original volume type of the volume
40254
- # (standard \| io1 \| io2 \| gp2 \| sc1 \| st1).
40311
+ # (standard \| io1 \| io2 \| io2a \| gp2 \| gp3 \| gp3a \| sc1 \|
40312
+ # st1).
40255
40313
  #
40256
40314
  # * `originalMultiAttachEnabled` - Indicates whether Multi-Attach
40257
40315
  # support was enabled (true \| false).
@@ -40263,7 +40321,8 @@ module Aws::EC2
40263
40321
  # * `target-size` - The target size of the volume, in GiB.
40264
40322
  #
40265
40323
  # * `target-volume-type` - The target volume type of the volume
40266
- # (standard \| io1 \| io2 \| gp2 \| sc1 \| st1).
40324
+ # (standard \| io1 \| io2 \| io2a \| gp2 \| gp3 \| gp3a \| sc1 \|
40325
+ # st1).
40267
40326
  #
40268
40327
  # * `targetMultiAttachEnabled` - Indicates whether Multi-Attach
40269
40328
  # support is to be enabled (true \| false).
@@ -40405,7 +40464,7 @@ module Aws::EC2
40405
40464
  # * `volume-id` - The volume ID.
40406
40465
  #
40407
40466
  # * `volume-type` - The Amazon EBS volume type (`gp2` \| `gp3` \|
40408
- # `io1` \| `io2` \| `st1` \| `sc1`\| `standard`)
40467
+ # `gp3a` \| `io1` \| `io2` \| `io2a` \| `st1` \| `sc1`\| `standard`)
40409
40468
  # @return [Array<Types::Filter>]
40410
40469
  #
40411
40470
  # @!attribute [rw] next_token
@@ -44334,26 +44393,30 @@ module Aws::EC2
44334
44393
  # @return [Boolean]
44335
44394
  #
44336
44395
  # @!attribute [rw] iops
44337
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
44338
- # and `io2` volumes, this represents the number of IOPS that are
44339
- # provisioned for the volume. For `gp2` volumes, this represents the
44340
- # baseline performance of the volume and the rate at which the volume
44341
- # accumulates I/O credits for bursting.
44396
+ # The number of I/O operations per second (IOPS). For `gp3`, `gp3a`,
44397
+ # `io1`, `io2`, and `io2a` volumes, this represents the number of IOPS
44398
+ # that are provisioned for the volume. For `gp2` volumes, this
44399
+ # represents the baseline performance of the volume and the rate at
44400
+ # which the volume accumulates I/O credits for bursting.
44342
44401
  #
44343
44402
  # The following are the supported values for each volume type:
44344
44403
  #
44345
44404
  # * `gp3`: 3,000 - 80,000 IOPS
44346
44405
  #
44406
+ # * `gp3a`: 1,000 - 80,000 IOPS
44407
+ #
44347
44408
  # * `io1`: 100 - 64,000 IOPS
44348
44409
  #
44349
44410
  # * `io2`: 100 - 256,000 IOPS
44350
44411
  #
44351
- # For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
44352
- # built on the Nitro System][1]. On other instances, you can achieve
44353
- # performance up to 32,000 IOPS.
44412
+ # * `io2a`: 100 - 256,000 IOPS
44413
+ #
44414
+ # For `io2` and `io2a` volumes, you can achieve up to 256,000 IOPS on
44415
+ # [instances built on the Nitro System][1]. On other instances, you
44416
+ # can achieve performance up to 32,000 IOPS.
44354
44417
  #
44355
- # This parameter is required for `io1` and `io2` volumes. The default
44356
- # for `gp3` volumes is 3,000 IOPS.
44418
+ # This parameter is required for `io1`, `io2`, and `io2a` volumes. The
44419
+ # default for `gp3` and `gp3a` volumes is 3,000 IOPS.
44357
44420
  #
44358
44421
  #
44359
44422
  #
@@ -44376,10 +44439,14 @@ module Aws::EC2
44376
44439
  #
44377
44440
  # * `gp3`: 1 - 65,536 GiB
44378
44441
  #
44442
+ # * `gp3a`: 1 - 65,536 GiB
44443
+ #
44379
44444
  # * `io1`: 4 - 16,384 GiB
44380
44445
  #
44381
44446
  # * `io2`: 4 - 65,536 GiB
44382
44447
  #
44448
+ # * `io2a`: 4 - 65,536 GiB
44449
+ #
44383
44450
  # * `st1` and `sc1`: 125 - 16,384 GiB
44384
44451
  #
44385
44452
  # * `standard`: 1 - 1024 GiB
@@ -44412,7 +44479,7 @@ module Aws::EC2
44412
44479
  # @!attribute [rw] throughput
44413
44480
  # The throughput that the volume supports, in MiB/s.
44414
44481
  #
44415
- # This parameter is valid only for `gp3` volumes.
44482
+ # This parameter is valid only for `gp3` and `gp3a` volumes.
44416
44483
  #
44417
44484
  # Valid Range: Minimum value of 125. Maximum value of 2,000.
44418
44485
  # @return [Integer]
@@ -44449,6 +44516,12 @@ module Aws::EC2
44449
44516
  # [6]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
44450
44517
  # @return [String]
44451
44518
  #
44519
+ # @!attribute [rw] multi_availability_zone_configuration
44520
+ # The Multi-Availability Zone configuration for the volume. To create
44521
+ # a Multi-Availability Zone volume, specify the configuration type and
44522
+ # the standby Availability Zone.
44523
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
44524
+ #
44452
44525
  # @!attribute [rw] encrypted
44453
44526
  # Indicates whether the encryption state of an EBS volume is changed
44454
44527
  # while being restored from a backing snapshot. The effect of setting
@@ -44574,6 +44647,7 @@ module Aws::EC2
44574
44647
  :throughput,
44575
44648
  :outpost_arn,
44576
44649
  :availability_zone,
44650
+ :multi_availability_zone_configuration,
44577
44651
  :encrypted,
44578
44652
  :volume_initialization_rate,
44579
44653
  :availability_zone_id,
@@ -44593,11 +44667,11 @@ module Aws::EC2
44593
44667
  # @return [Boolean]
44594
44668
  #
44595
44669
  # @!attribute [rw] iops
44596
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
44597
- # and `io2` volumes, this represents the number of IOPS that are
44598
- # provisioned for the volume. For `gp2` volumes, this represents the
44599
- # baseline performance of the volume and the rate at which the volume
44600
- # accumulates I/O credits for bursting.
44670
+ # The number of I/O operations per second (IOPS). For `gp3`, `gp3a`,
44671
+ # `io1`, `io2`, and `io2a` volumes, this represents the number of IOPS
44672
+ # that are provisioned for the volume. For `gp2` volumes, this
44673
+ # represents the baseline performance of the volume and the rate at
44674
+ # which the volume accumulates I/O credits for bursting.
44601
44675
  # @return [Integer]
44602
44676
  #
44603
44677
  # @!attribute [rw] throughput
@@ -44626,6 +44700,11 @@ module Aws::EC2
44626
44700
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
44627
44701
  # @return [String]
44628
44702
  #
44703
+ # @!attribute [rw] multi_availability_zone_configuration
44704
+ # The Multi-Availability Zone configuration of the volume. Returned
44705
+ # only for Multi-Availability Zone volumes.
44706
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
44707
+ #
44629
44708
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDeviceResponse AWS API Documentation
44630
44709
  #
44631
44710
  class EbsBlockDeviceResponse < Struct.new(
@@ -44636,7 +44715,8 @@ module Aws::EC2
44636
44715
  :kms_key_id,
44637
44716
  :snapshot_id,
44638
44717
  :volume_size,
44639
- :volume_type)
44718
+ :volume_type,
44719
+ :multi_availability_zone_configuration)
44640
44720
  SENSITIVE = []
44641
44721
  include Aws::Structure
44642
44722
  end
@@ -44795,6 +44875,30 @@ module Aws::EC2
44795
44875
  # cards. The default EBS card index is 0.
44796
44876
  # @return [Integer]
44797
44877
  #
44878
+ # @!attribute [rw] multi_availability_zone_configuration
44879
+ # The Multi-Availability Zone configuration of the volume. Returned
44880
+ # only for Multi-Availability Zone volumes.
44881
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
44882
+ #
44883
+ # @!attribute [rw] trim_state
44884
+ # A read-only value that indicates whether the volume is reporting
44885
+ # TRIM support to the operating system for this attachment. Amazon EBS
44886
+ # sets this value from the volume's `TrimOnAttach` setting when the
44887
+ # volume attaches, and the value doesn't change for the life of the
44888
+ # attachment. You can't set `TrimState` directly. To change it,
44889
+ # modify `TrimOnAttach`, then detach and reattach the volume. For
44890
+ # volumes with Multi-Attach enabled, each attachment has its own
44891
+ # `TrimState`. This value isn't returned for unattached volumes.
44892
+ #
44893
+ # Valid values:
44894
+ #
44895
+ # * `enabled`: The volume reports TRIM support to the operating
44896
+ # system.
44897
+ #
44898
+ # * `disabled`: The volume does not report TRIM support to the
44899
+ # operating system.
44900
+ # @return [String]
44901
+ #
44798
44902
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsInstanceBlockDevice AWS API Documentation
44799
44903
  #
44800
44904
  class EbsInstanceBlockDevice < Struct.new(
@@ -44805,7 +44909,9 @@ module Aws::EC2
44805
44909
  :associated_resource,
44806
44910
  :volume_owner_id,
44807
44911
  :operator,
44808
- :ebs_card_index)
44912
+ :ebs_card_index,
44913
+ :multi_availability_zone_configuration,
44914
+ :trim_state)
44809
44915
  SENSITIVE = []
44810
44916
  include Aws::Structure
44811
44917
  end
@@ -47658,6 +47764,92 @@ module Aws::EC2
47658
47764
  include Aws::Structure
47659
47765
  end
47660
47766
 
47767
+ # Describes an Availability Zone by both its name and ID.
47768
+ #
47769
+ # @!attribute [rw] availability_zone
47770
+ # The name of the Availability Zone.
47771
+ # @return [String]
47772
+ #
47773
+ # @!attribute [rw] availability_zone_id
47774
+ # The ID of the Availability Zone.
47775
+ # @return [String]
47776
+ #
47777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FailoverAvailabilityZone AWS API Documentation
47778
+ #
47779
+ class FailoverAvailabilityZone < Struct.new(
47780
+ :availability_zone,
47781
+ :availability_zone_id)
47782
+ SENSITIVE = []
47783
+ include Aws::Structure
47784
+ end
47785
+
47786
+ # @!attribute [rw] volume_id
47787
+ # The ID of the Multi-AZ volume to fail over. The Multi-AZ volume's
47788
+ # active replica must be in the Availability Zone specified by
47789
+ # `SourceActiveAvailabilityZone` or `SourceActiveAvailabilityZoneId`.
47790
+ #
47791
+ # Either `VolumeId` or `InstanceId` must be specified, but not both.
47792
+ # @return [String]
47793
+ #
47794
+ # @!attribute [rw] instance_id
47795
+ # The ID of the instance. The instance must be in the Availability
47796
+ # Zone specified by `SourceActiveAvailabilityZone` or
47797
+ # `SourceActiveAvailabilityZoneId`. EBS fails over all Multi-AZ
47798
+ # volumes that are attached to the instance and have their active
47799
+ # replica in the specified Availability Zone.
47800
+ #
47801
+ # Either `VolumeId` or `InstanceId` must be specified, but not both.
47802
+ # @return [String]
47803
+ #
47804
+ # @!attribute [rw] source_active_availability_zone
47805
+ # The name of the Availability Zone that the volume's active replica
47806
+ # is in, or that the instance is in. For example, `us-east-1a`.
47807
+ #
47808
+ # Either `SourceActiveAvailabilityZone` or
47809
+ # `SourceActiveAvailabilityZoneId` must be specified, but not both.
47810
+ # @return [String]
47811
+ #
47812
+ # @!attribute [rw] source_active_availability_zone_id
47813
+ # The ID of the Availability Zone that the volume's active replica is
47814
+ # in, or that the instance is in. For example, `use1-az1`.
47815
+ #
47816
+ # Either `SourceActiveAvailabilityZone` or
47817
+ # `SourceActiveAvailabilityZoneId` must be specified, but not both.
47818
+ # @return [String]
47819
+ #
47820
+ # @!attribute [rw] dry_run
47821
+ # Checks whether you have the required permissions for the action,
47822
+ # without actually making the request, and provides an error response.
47823
+ # If you have the required permissions, the error response is
47824
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
47825
+ # @return [Boolean]
47826
+ #
47827
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FailoverVolumesRequest AWS API Documentation
47828
+ #
47829
+ class FailoverVolumesRequest < Struct.new(
47830
+ :volume_id,
47831
+ :instance_id,
47832
+ :source_active_availability_zone,
47833
+ :source_active_availability_zone_id,
47834
+ :dry_run)
47835
+ SENSITIVE = []
47836
+ include Aws::Structure
47837
+ end
47838
+
47839
+ # @!attribute [rw] volume_failovers
47840
+ # The failover details for each volume that was failed over, including
47841
+ # its volume ID and the Availability Zones that it failed over from
47842
+ # and to.
47843
+ # @return [Array<Types::VolumeFailoverInfo>]
47844
+ #
47845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FailoverVolumesResult AWS API Documentation
47846
+ #
47847
+ class FailoverVolumesResult < Struct.new(
47848
+ :volume_failovers)
47849
+ SENSITIVE = []
47850
+ include Aws::Structure
47851
+ end
47852
+
47661
47853
  # Request to create a launch template for a Windows fast launch enabled
47662
47854
  # AMI.
47663
47855
  #
@@ -48357,26 +48549,30 @@ module Aws::EC2
48357
48549
  # @return [Boolean]
48358
48550
  #
48359
48551
  # @!attribute [rw] iops
48360
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
48361
- # and `io2` volumes, this represents the number of IOPS that are
48362
- # provisioned for the volume. For `gp2` volumes, this represents the
48363
- # baseline performance of the volume and the rate at which the volume
48364
- # accumulates I/O credits for bursting.
48552
+ # The number of I/O operations per second (IOPS). For `gp3`, `gp3a`,
48553
+ # `io1`, `io2`, and `io2a` volumes, this represents the number of IOPS
48554
+ # that are provisioned for the volume. For `gp2` volumes, this
48555
+ # represents the baseline performance of the volume and the rate at
48556
+ # which the volume accumulates I/O credits for bursting.
48365
48557
  #
48366
48558
  # The following are the supported values for each volume type:
48367
48559
  #
48368
48560
  # * `gp3`: 3,000 - 80,000 IOPS
48369
48561
  #
48562
+ # * `gp3a`: 1,000 - 80,000 IOPS
48563
+ #
48370
48564
  # * `io1`: 100 - 64,000 IOPS
48371
48565
  #
48372
48566
  # * `io2`: 100 - 256,000 IOPS
48373
48567
  #
48374
- # For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
48375
- # built on the Nitro System][1]. On other instances, you can achieve
48376
- # performance up to 32,000 IOPS.
48568
+ # * `io2a`: 100 - 256,000 IOPS
48569
+ #
48570
+ # For `io2` and `io2a` volumes, you can achieve up to 256,000 IOPS on
48571
+ # [instances built on the Nitro System][1]. On other instances, you
48572
+ # can achieve performance up to 32,000 IOPS.
48377
48573
  #
48378
- # This parameter is required for `io1` and `io2` volumes. The default
48379
- # for `gp3` volumes is 3,000 IOPS.
48574
+ # This parameter is required for `io1`, `io2`, and `io2a` volumes. The
48575
+ # default for `gp3` and `gp3a` volumes is 3,000 IOPS.
48380
48576
  #
48381
48577
  #
48382
48578
  #
@@ -48386,7 +48582,7 @@ module Aws::EC2
48386
48582
  # @!attribute [rw] throughput
48387
48583
  # The throughput that the volume supports, in MiB/s.
48388
48584
  #
48389
- # This parameter is valid only for `gp3` volumes.
48585
+ # This parameter is valid only for `gp3` and `gp3a` volumes.
48390
48586
  #
48391
48587
  # Valid Range: Minimum value of 125. Maximum value of 2,000.
48392
48588
  # @return [Integer]
@@ -48422,10 +48618,14 @@ module Aws::EC2
48422
48618
  #
48423
48619
  # * `gp3`: 1 - 65,536 GiB
48424
48620
  #
48621
+ # * `gp3a`: 1 - 65,536 GiB
48622
+ #
48425
48623
  # * `io1`: 4 - 16,384 GiB
48426
48624
  #
48427
48625
  # * `io2`: 4 - 65,536 GiB
48428
48626
  #
48627
+ # * `io2a`: 4 - 65,536 GiB
48628
+ #
48429
48629
  # * `st1` and `sc1`: 125 - 16,384 GiB
48430
48630
  #
48431
48631
  # * `standard`: 1 - 1024 GiB
@@ -48440,6 +48640,12 @@ module Aws::EC2
48440
48640
  # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
48441
48641
  # @return [String]
48442
48642
  #
48643
+ # @!attribute [rw] multi_availability_zone_configuration
48644
+ # The Multi-Availability Zone configuration for the volume. To create
48645
+ # a Multi-Availability Zone volume, specify the configuration type and
48646
+ # the standby Availability Zone.
48647
+ # @return [Types::MultiAvailabilityZoneVolumeConfigurationRequest]
48648
+ #
48443
48649
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FleetEbsBlockDeviceRequest AWS API Documentation
48444
48650
  #
48445
48651
  class FleetEbsBlockDeviceRequest < Struct.new(
@@ -48450,7 +48656,8 @@ module Aws::EC2
48450
48656
  :kms_key_id,
48451
48657
  :snapshot_id,
48452
48658
  :volume_size,
48453
- :volume_type)
48659
+ :volume_type,
48660
+ :multi_availability_zone_configuration)
48454
48661
  SENSITIVE = []
48455
48662
  include Aws::Structure
48456
48663
  end
@@ -65774,6 +65981,11 @@ module Aws::EC2
65774
65981
  # cards. The default EBS card index is 0.
65775
65982
  # @return [Integer]
65776
65983
  #
65984
+ # @!attribute [rw] multi_availability_zone_configuration
65985
+ # The Multi-Availability Zone configuration of the volume. Returned
65986
+ # only for Multi-Availability Zone volumes.
65987
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
65988
+ #
65777
65989
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEbsBlockDevice AWS API Documentation
65778
65990
  #
65779
65991
  class LaunchTemplateEbsBlockDevice < Struct.new(
@@ -65786,7 +65998,8 @@ module Aws::EC2
65786
65998
  :volume_type,
65787
65999
  :throughput,
65788
66000
  :volume_initialization_rate,
65789
- :ebs_card_index)
66001
+ :ebs_card_index,
66002
+ :multi_availability_zone_configuration)
65790
66003
  SENSITIVE = []
65791
66004
  include Aws::Structure
65792
66005
  end
@@ -65805,26 +66018,30 @@ module Aws::EC2
65805
66018
  # @return [Boolean]
65806
66019
  #
65807
66020
  # @!attribute [rw] iops
65808
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
65809
- # and `io2` volumes, this represents the number of IOPS that are
65810
- # provisioned for the volume. For `gp2` volumes, this represents the
65811
- # baseline performance of the volume and the rate at which the volume
65812
- # accumulates I/O credits for bursting.
66021
+ # The number of I/O operations per second (IOPS). For `gp3`, `gp3a`,
66022
+ # `io1`, `io2`, and `io2a` volumes, this represents the number of IOPS
66023
+ # that are provisioned for the volume. For `gp2` volumes, this
66024
+ # represents the baseline performance of the volume and the rate at
66025
+ # which the volume accumulates I/O credits for bursting.
65813
66026
  #
65814
66027
  # The following are the supported values for each volume type:
65815
66028
  #
65816
66029
  # * `gp3`: 3,000 - 80,000 IOPS
65817
66030
  #
66031
+ # * `gp3a`: 1,000 - 80,000 IOPS
66032
+ #
65818
66033
  # * `io1`: 100 - 64,000 IOPS
65819
66034
  #
65820
66035
  # * `io2`: 100 - 256,000 IOPS
65821
66036
  #
65822
- # For `io2` volumes, you can achieve up to 256,000 IOPS on [instances
65823
- # built on the Nitro System][1]. On other instances, you can achieve
65824
- # performance up to 32,000 IOPS.
66037
+ # * `io2a`: 100 - 256,000 IOPS
66038
+ #
66039
+ # For `io2` and `io2a` volumes, you can achieve up to 256,000 IOPS on
66040
+ # [instances built on the Nitro System][1]. On other instances, you
66041
+ # can achieve performance up to 32,000 IOPS.
65825
66042
  #
65826
- # This parameter is supported for `io1`, `io2`, and `gp3` volumes
65827
- # only.
66043
+ # This parameter is supported for `io1`, `io2`, `io2a`, `gp3`, and
66044
+ # `gp3a` volumes only.
65828
66045
  #
65829
66046
  #
65830
66047
  #
@@ -65849,10 +66066,14 @@ module Aws::EC2
65849
66066
  #
65850
66067
  # * `gp3`: 1 - 65,536 GiB
65851
66068
  #
66069
+ # * `gp3a`: 1 - 65,536 GiB
66070
+ #
65852
66071
  # * `io1`: 4 - 16,384 GiB
65853
66072
  #
65854
66073
  # * `io2`: 4 - 65,536 GiB
65855
66074
  #
66075
+ # * `io2a`: 4 - 65,536 GiB
66076
+ #
65856
66077
  # * `st1` and `sc1`: 125 - 16,384 GiB
65857
66078
  #
65858
66079
  # * `standard`: 1 - 1024 GiB
@@ -65868,8 +66089,8 @@ module Aws::EC2
65868
66089
  # @return [String]
65869
66090
  #
65870
66091
  # @!attribute [rw] throughput
65871
- # The throughput to provision for a `gp3` volume, with a maximum of
65872
- # 2,000 MiB/s.
66092
+ # The throughput to provision for a `gp3` or `gp3a` volume, with a
66093
+ # maximum of 2,000 MiB/s.
65873
66094
  #
65874
66095
  # Valid Range: Minimum value of 125. Maximum value of 2,000.
65875
66096
  # @return [Integer]
@@ -65914,6 +66135,12 @@ module Aws::EC2
65914
66135
  # cards. The default EBS card index is 0.
65915
66136
  # @return [Integer]
65916
66137
  #
66138
+ # @!attribute [rw] multi_availability_zone_configuration
66139
+ # The Multi-Availability Zone configuration for the volume. To create
66140
+ # a Multi-Availability Zone volume, specify the configuration type and
66141
+ # the standby Availability Zone.
66142
+ # @return [Types::MultiAvailabilityZoneVolumeConfigurationRequest]
66143
+ #
65917
66144
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEbsBlockDeviceRequest AWS API Documentation
65918
66145
  #
65919
66146
  class LaunchTemplateEbsBlockDeviceRequest < Struct.new(
@@ -65926,7 +66153,8 @@ module Aws::EC2
65926
66153
  :volume_type,
65927
66154
  :throughput,
65928
66155
  :volume_initialization_rate,
65929
- :ebs_card_index)
66156
+ :ebs_card_index,
66157
+ :multi_availability_zone_configuration)
65930
66158
  SENSITIVE = []
65931
66159
  include Aws::Structure
65932
66160
  end
@@ -74589,10 +74817,14 @@ module Aws::EC2
74589
74817
  #
74590
74818
  # * `gp3`: 1 - 65,536 GiB
74591
74819
  #
74820
+ # * `gp3a`: 1 - 65,536 GiB
74821
+ #
74592
74822
  # * `io1`: 4 - 16,384 GiB
74593
74823
  #
74594
74824
  # * `io2`: 4 - 65,536 GiB
74595
74825
  #
74826
+ # * `io2a`: 4 - 65,536 GiB
74827
+ #
74596
74828
  # * `st1` and `sc1`: 125 - 16,384 GiB
74597
74829
  #
74598
74830
  # * `standard`: 1 - 1024 GiB
@@ -74613,24 +74845,28 @@ module Aws::EC2
74613
74845
  #
74614
74846
  # @!attribute [rw] iops
74615
74847
  # The target IOPS rate of the volume. This parameter is valid only for
74616
- # `gp3`, `io1`, and `io2` volumes.
74848
+ # `gp3`, `gp3a`, `io1`, `io2`, and `io2a` volumes.
74617
74849
  #
74618
74850
  # The following are the supported values for each volume type:
74619
74851
  #
74620
74852
  # * `gp3`: 3,000 - 80,000 IOPS
74621
74853
  #
74854
+ # * `gp3a`: 1,000 - 80,000 IOPS
74855
+ #
74622
74856
  # * `io1`: 100 - 64,000 IOPS
74623
74857
  #
74624
74858
  # * `io2`: 100 - 256,000 IOPS
74625
74859
  #
74860
+ # * `io2a`: 100 - 256,000 IOPS
74861
+ #
74626
74862
  # <note markdown="1"> [ Instances built on the Nitro System][1] can support up to 256,000
74627
74863
  # IOPS. Other instances can support up to 32,000 IOPS.
74628
74864
  #
74629
74865
  # </note>
74630
74866
  #
74631
74867
  # Default: The existing value is retained if you keep the same volume
74632
- # type. If you change the volume type to `io1`, `io2`, or `gp3`, the
74633
- # default is 3,000.
74868
+ # type. If you change the volume type to `io1`, `io2`, `io2a`, `gp3`,
74869
+ # or `gp3a`, the default is 3,000.
74634
74870
  #
74635
74871
  #
74636
74872
  #
@@ -74639,10 +74875,10 @@ module Aws::EC2
74639
74875
  #
74640
74876
  # @!attribute [rw] throughput
74641
74877
  # The target throughput of the volume, in MiB/s. This parameter is
74642
- # valid only for `gp3` volumes. The maximum value is 2,000.
74878
+ # valid only for `gp3` and `gp3a` volumes. The maximum value is 2,000.
74643
74879
  #
74644
74880
  # Default: The existing value is retained if the source and target
74645
- # volume type is `gp3`. Otherwise, the default value is 125.
74881
+ # volume type is `gp3` or `gp3a`. Otherwise, the default value is 125.
74646
74882
  #
74647
74883
  # Valid Range: Minimum value of 125. Maximum value of 2,000.
74648
74884
  # @return [Integer]
@@ -74651,8 +74887,9 @@ module Aws::EC2
74651
74887
  # Specifies whether to enable Amazon EBS Multi-Attach. If you enable
74652
74888
  # Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
74653
74889
  # instances][1] in the same Availability Zone. This parameter is
74654
- # supported with `io1` and `io2` volumes only. For more information,
74655
- # see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS User Guide*.
74890
+ # supported with `io1`, `io2`, and `io2a` volumes only. For more
74891
+ # information, see [ Amazon EBS Multi-Attach][2] in the *Amazon EBS
74892
+ # User Guide*.
74656
74893
  #
74657
74894
  #
74658
74895
  #
@@ -74660,6 +74897,39 @@ module Aws::EC2
74660
74897
  # [2]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html
74661
74898
  # @return [Boolean]
74662
74899
  #
74900
+ # @!attribute [rw] multi_availability_zone_configuration
74901
+ # The Multi-Availability Zone configuration for the volume. To move
74902
+ # the standby replica to a different Availability Zone, specify the
74903
+ # new standby Availability Zone in `StandbyAvailabilityZones`.
74904
+ # @return [Types::MultiAvailabilityZoneVolumeConfigurationModifyRequest]
74905
+ #
74906
+ # @!attribute [rw] trim_on_attach
74907
+ # Specifies whether the volume reports TRIM support to the operating
74908
+ # system when the volume is attached to an EC2 instance. Amazon EBS
74909
+ # applies this intent only when the volume attaches to an EC2
74910
+ # instance, and TRIM support on the volume stays the same for the life
74911
+ # of the attachment. To check whether an attached volume is reporting
74912
+ # TRIM support, use `TrimState` in the attachments of the volume using
74913
+ # `DescribeVolumes`. Volumes created from a snapshot don't inherit
74914
+ # the source volume's setting. For more information, see [Amazon EBS
74915
+ # TRIM][1] in the *Amazon EBS User Guide*.
74916
+ #
74917
+ # If you use `ModifyVolume` to change this setting, you must detach
74918
+ # and reattach the volume to the EC2 instance.
74919
+ #
74920
+ # Valid values:
74921
+ #
74922
+ # * `enabled`: The volume reports TRIM support to the operating
74923
+ # system.
74924
+ #
74925
+ # * `disabled`: The volume does not report TRIM support to the
74926
+ # operating system.
74927
+ #
74928
+ #
74929
+ #
74930
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
74931
+ # @return [String]
74932
+ #
74663
74933
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeRequest AWS API Documentation
74664
74934
  #
74665
74935
  class ModifyVolumeRequest < Struct.new(
@@ -74669,7 +74939,9 @@ module Aws::EC2
74669
74939
  :volume_type,
74670
74940
  :iops,
74671
74941
  :throughput,
74672
- :multi_attach_enabled)
74942
+ :multi_attach_enabled,
74943
+ :multi_availability_zone_configuration,
74944
+ :trim_on_attach)
74673
74945
  SENSITIVE = []
74674
74946
  include Aws::Structure
74675
74947
  end
@@ -76085,6 +76357,158 @@ module Aws::EC2
76085
76357
  include Aws::Structure
76086
76358
  end
76087
76359
 
76360
+ # The status information related to a Multi-Availability Zone volume.
76361
+ #
76362
+ # @!attribute [rw] replication_data_state
76363
+ # The state of data replication between the active and standby
76364
+ # replicas of the volume.
76365
+ #
76366
+ # Valid values:
76367
+ #
76368
+ # * `in-sync`: The standby replica maintains the same data as the
76369
+ # active replica.
76370
+ #
76371
+ # * `catching-up`: Replication has resumed and is catching up on data
76372
+ # that was written to the active replica while the volume was
76373
+ # out-of-sync.
76374
+ #
76375
+ # * `out-of-sync`: Replication has stopped and the volume was
76376
+ # out-of-sync.
76377
+ #
76378
+ # * `insufficient-data`: There is not enough data to determine the
76379
+ # replication data state.
76380
+ # @return [String]
76381
+ #
76382
+ # @!attribute [rw] failover_readiness
76383
+ # The readiness of the volume to fail over to its standby Availability
76384
+ # Zone. Failover readiness reflects both the health of the standby
76385
+ # Availability Zone infrastructure and the data replication state.
76386
+ # This value is based on the most recent metric view and might not
76387
+ # reflect the real-time state. If you need to fail over, call
76388
+ # `FailoverVolumes`, which performs a real-time readiness check.
76389
+ #
76390
+ # Valid values:
76391
+ #
76392
+ # * `ready`: The volume can fail over to its standby Availability
76393
+ # Zone.
76394
+ #
76395
+ # * `not-ready`: The volume cannot fail over at this time.
76396
+ #
76397
+ # * `insufficient-data`: There is not enough data to determine
76398
+ # failover readiness.
76399
+ # @return [String]
76400
+ #
76401
+ # @!attribute [rw] catchup_progress
76402
+ # When `replicationDataState` is `catching-up`, the data that was
76403
+ # written to the active replica while the volume was out-of-sync is
76404
+ # being replicated to the standby replica. This value is the
76405
+ # percentage of that data that has been replicated, from 0 to 100.
76406
+ # @return [Integer]
76407
+ #
76408
+ # @!attribute [rw] catchup_total_bytes
76409
+ # When `replicationDataState` is `catching-up`, the total number of
76410
+ # bytes that were written to the active replica while the volume was
76411
+ # out-of-sync and must be replicated to the standby replica. This
76412
+ # value does not change during the catch-up. Use `catchupProgress` to
76413
+ # monitor how much has been replicated.
76414
+ # @return [Integer]
76415
+ #
76416
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MultiAvailabilityZoneStatusDetails AWS API Documentation
76417
+ #
76418
+ class MultiAvailabilityZoneStatusDetails < Struct.new(
76419
+ :replication_data_state,
76420
+ :failover_readiness,
76421
+ :catchup_progress,
76422
+ :catchup_total_bytes)
76423
+ SENSITIVE = []
76424
+ include Aws::Structure
76425
+ end
76426
+
76427
+ # The Multi-Availability Zone configuration of a volume.
76428
+ #
76429
+ # @!attribute [rw] configuration_type
76430
+ # The type of Multi-Availability Zone configuration for the volume.
76431
+ #
76432
+ # Valid values: `multi-az-1`. For this configuration, the volume is
76433
+ # synchronously replicated to a standby replica in a second
76434
+ # Availability Zone.
76435
+ # @return [String]
76436
+ #
76437
+ # @!attribute [rw] standby_availability_zones
76438
+ # The standby Availability Zone of the Multi-Availability Zone volume.
76439
+ # @return [Array<Types::StandbyVolumeAvailabilityZone>]
76440
+ #
76441
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MultiAvailabilityZoneVolumeConfiguration AWS API Documentation
76442
+ #
76443
+ class MultiAvailabilityZoneVolumeConfiguration < Struct.new(
76444
+ :configuration_type,
76445
+ :standby_availability_zones)
76446
+ SENSITIVE = []
76447
+ include Aws::Structure
76448
+ end
76449
+
76450
+ # The Multi-Availability Zone configuration to apply when modifying a
76451
+ # volume.
76452
+ #
76453
+ # @!attribute [rw] configuration_type
76454
+ # The type of Multi-Availability Zone configuration for the volume. To
76455
+ # change the standby Availability Zone, you do not need to specify
76456
+ # this parameter, only `StandbyAvailabilityZones`.
76457
+ #
76458
+ # Valid values: `multi-az-1`
76459
+ # @return [String]
76460
+ #
76461
+ # @!attribute [rw] force_detach_standby
76462
+ # Specifies whether to force-detach the volume from any instance in
76463
+ # the current standby Availability Zone as part of relocating the
76464
+ # standby replica. Before EBS can relocate the standby replica, the
76465
+ # volume must be detached from the current standby Availability Zone.
76466
+ # Set this parameter to `true` to have EBS detach it for you instead
76467
+ # of detaching it yourself first. If the volume is attached and you do
76468
+ # not set this parameter, the request fails. Setting it to `true` is
76469
+ # highly recommended when the standby Availability Zone is
76470
+ # unavailable, because a normal detach might not complete.
76471
+ # @return [Boolean]
76472
+ #
76473
+ # @!attribute [rw] standby_availability_zones
76474
+ # The Availability Zone to move the standby replica to. You must
76475
+ # specify exactly one.
76476
+ # @return [Array<Types::StandbyVolumeAvailabilityZoneRequest>]
76477
+ #
76478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MultiAvailabilityZoneVolumeConfigurationModifyRequest AWS API Documentation
76479
+ #
76480
+ class MultiAvailabilityZoneVolumeConfigurationModifyRequest < Struct.new(
76481
+ :configuration_type,
76482
+ :force_detach_standby,
76483
+ :standby_availability_zones)
76484
+ SENSITIVE = []
76485
+ include Aws::Structure
76486
+ end
76487
+
76488
+ # The Multi-Availability Zone configuration to apply to a volume.
76489
+ #
76490
+ # @!attribute [rw] configuration_type
76491
+ # The type of Multi-Availability Zone configuration for the volume.
76492
+ #
76493
+ # Valid values: `multi-az-1`. For this configuration, the volume is
76494
+ # synchronously replicated to a standby replica in a second
76495
+ # Availability Zone.
76496
+ # @return [String]
76497
+ #
76498
+ # @!attribute [rw] standby_availability_zones
76499
+ # The standby Availability Zone for the Multi-Availability Zone
76500
+ # volume. You must specify exactly one.
76501
+ # @return [Array<Types::StandbyVolumeAvailabilityZoneRequest>]
76502
+ #
76503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MultiAvailabilityZoneVolumeConfigurationRequest AWS API Documentation
76504
+ #
76505
+ class MultiAvailabilityZoneVolumeConfigurationRequest < Struct.new(
76506
+ :configuration_type,
76507
+ :standby_availability_zones)
76508
+ SENSITIVE = []
76509
+ include Aws::Structure
76510
+ end
76511
+
76088
76512
  # Describes the cost allocation policy document for NAT gateways.
76089
76513
  #
76090
76514
  # @!attribute [rw] reporting_granularity
@@ -76724,11 +77148,10 @@ module Aws::EC2
76724
77148
  #
76725
77149
  # * `active`: The firewall inspects traffic for the VPC.
76726
77150
  #
76727
- # * `disabling`: Amazon Web Services is removing the firewall from the
76728
- # VPC.
77151
+ # * `disabling`: AWS is removing the firewall from the VPC.
76729
77152
  #
76730
- # * `pending`: Amazon Web Services is setting up the firewall for the
76731
- # VPC. The firewall might not inspect traffic yet.
77153
+ # * `pending`: AWS is setting up the firewall for the VPC. The
77154
+ # firewall might not inspect traffic yet.
76732
77155
  # @return [String]
76733
77156
  #
76734
77157
  # @!attribute [rw] firewall_mode
@@ -91101,6 +91524,51 @@ module Aws::EC2
91101
91524
  include Aws::Structure
91102
91525
  end
91103
91526
 
91527
+ # A standby Availability Zone of a Multi-Availability Zone volume.
91528
+ #
91529
+ # @!attribute [rw] availability_zone
91530
+ # The name of the standby Availability Zone.
91531
+ # @return [String]
91532
+ #
91533
+ # @!attribute [rw] availability_zone_id
91534
+ # The ID of the standby Availability Zone.
91535
+ # @return [String]
91536
+ #
91537
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StandbyVolumeAvailabilityZone AWS API Documentation
91538
+ #
91539
+ class StandbyVolumeAvailabilityZone < Struct.new(
91540
+ :availability_zone,
91541
+ :availability_zone_id)
91542
+ SENSITIVE = []
91543
+ include Aws::Structure
91544
+ end
91545
+
91546
+ # A standby Availability Zone for a Multi-Availability Zone volume.
91547
+ #
91548
+ # @!attribute [rw] availability_zone
91549
+ # The name of the standby Availability Zone. For example,
91550
+ # `us-east-1a`.
91551
+ #
91552
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
91553
+ # but not both.
91554
+ # @return [String]
91555
+ #
91556
+ # @!attribute [rw] availability_zone_id
91557
+ # The ID of the standby Availability Zone. For example, `use1-az1`.
91558
+ #
91559
+ # Either `AvailabilityZone` or `AvailabilityZoneId` must be specified,
91560
+ # but not both.
91561
+ # @return [String]
91562
+ #
91563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StandbyVolumeAvailabilityZoneRequest AWS API Documentation
91564
+ #
91565
+ class StandbyVolumeAvailabilityZoneRequest < Struct.new(
91566
+ :availability_zone,
91567
+ :availability_zone_id)
91568
+ SENSITIVE = []
91569
+ include Aws::Structure
91570
+ end
91571
+
91104
91572
  # @!attribute [rw] dry_run
91105
91573
  # Checks whether you have the required permissions for the action,
91106
91574
  # without actually making the request, and provides an error response.
@@ -98030,11 +98498,11 @@ module Aws::EC2
98030
98498
  # @return [String]
98031
98499
  #
98032
98500
  # @!attribute [rw] iops
98033
- # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
98034
- # and `io2` volumes, this represents the number of IOPS that are
98035
- # provisioned for the volume. For `gp2` volumes, this represents the
98036
- # baseline performance of the volume and the rate at which the volume
98037
- # accumulates I/O credits for bursting.
98501
+ # The number of I/O operations per second (IOPS). For `gp3`, `gp3a`,
98502
+ # `io1`, `io2`, and `io2a` volumes, this represents the number of IOPS
98503
+ # that are provisioned for the volume. For `gp2` volumes, this
98504
+ # represents the baseline performance of the volume and the rate at
98505
+ # which the volume accumulates I/O credits for bursting.
98038
98506
  # @return [Integer]
98039
98507
  #
98040
98508
  # @!attribute [rw] tags
@@ -98089,6 +98557,35 @@ module Aws::EC2
98089
98557
  # The ID of the Amazon Web Services account that owns the volume.
98090
98558
  # @return [String]
98091
98559
  #
98560
+ # @!attribute [rw] multi_availability_zone_configuration
98561
+ # The Multi-Availability Zone configuration of the volume. Returned
98562
+ # only for Multi-Availability Zone volumes.
98563
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
98564
+ #
98565
+ # @!attribute [rw] trim_on_attach
98566
+ # Specifies whether the volume reports TRIM support to the operating
98567
+ # system when the volume is attached to an EC2 instance. Amazon EBS
98568
+ # applies this intent only when the volume attaches to an EC2
98569
+ # instance, and TRIM support on the volume stays the same for the life
98570
+ # of the attachment. To check whether an attached volume is reporting
98571
+ # TRIM support, use `TrimState` in the attachments of the volume.
98572
+ # Volumes created from a snapshot don't inherit the source volume's
98573
+ # setting. For more information, see [Amazon EBS TRIM][1] in the
98574
+ # *Amazon EBS User Guide*.
98575
+ #
98576
+ # Valid values:
98577
+ #
98578
+ # * `enabled`: The volume reports TRIM support to the operating
98579
+ # system.
98580
+ #
98581
+ # * `disabled`: The volume does not report TRIM support to the
98582
+ # operating system.
98583
+ #
98584
+ #
98585
+ #
98586
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-trim.html
98587
+ # @return [String]
98588
+ #
98092
98589
  # @!attribute [rw] volume_id
98093
98590
  # The ID of the volume.
98094
98591
  # @return [String]
@@ -98147,6 +98644,8 @@ module Aws::EC2
98147
98644
  :volume_initialization_rate,
98148
98645
  :volume_arn,
98149
98646
  :owner_id,
98647
+ :multi_availability_zone_configuration,
98648
+ :trim_on_attach,
98150
98649
  :volume_id,
98151
98650
  :size,
98152
98651
  :snapshot_id,
@@ -98184,6 +98683,43 @@ module Aws::EC2
98184
98683
  # cards. The default EBS card index is 0.
98185
98684
  # @return [Integer]
98186
98685
  #
98686
+ # @!attribute [rw] availability_zone
98687
+ # The name of the Availability Zone of the attachment. For a
98688
+ # Multi-Availability Zone volume, compare this value with the
98689
+ # volume's `AvailabilityZone` (the active Availability Zone) and the
98690
+ # standby Availability Zone in its
98691
+ # `MultiAvailabilityZoneConfiguration` to determine whether the
98692
+ # instance is in the active or the standby Availability Zone.
98693
+ # @return [String]
98694
+ #
98695
+ # @!attribute [rw] availability_zone_id
98696
+ # The ID of the Availability Zone of the attachment. For a
98697
+ # Multi-Availability Zone volume, compare this value with the
98698
+ # volume's `AvailabilityZoneId` (the active Availability Zone) and
98699
+ # the standby Availability Zone ID in its
98700
+ # `MultiAvailabilityZoneConfiguration` to determine whether the
98701
+ # instance is in the active or the standby Availability Zone.
98702
+ # @return [String]
98703
+ #
98704
+ # @!attribute [rw] trim_state
98705
+ # A read-only value that indicates whether the volume is reporting
98706
+ # TRIM support to the operating system for this attachment. Amazon EBS
98707
+ # sets this value from the volume's `TrimOnAttach` setting when the
98708
+ # volume attaches, and the value doesn't change for the life of the
98709
+ # attachment. You can't set `TrimState` directly. To change it,
98710
+ # modify `TrimOnAttach`, then detach and reattach the volume. For
98711
+ # volumes with Multi-Attach enabled, each attachment has its own
98712
+ # `TrimState`. This value isn't returned for unattached volumes.
98713
+ #
98714
+ # Valid values:
98715
+ #
98716
+ # * `enabled`: The volume reports TRIM support to the operating
98717
+ # system.
98718
+ #
98719
+ # * `disabled`: The volume does not report TRIM support to the
98720
+ # operating system.
98721
+ # @return [String]
98722
+ #
98187
98723
  # @!attribute [rw] volume_id
98188
98724
  # The ID of the volume.
98189
98725
  # @return [String]
@@ -98217,6 +98753,9 @@ module Aws::EC2
98217
98753
  :associated_resource,
98218
98754
  :instance_owning_service,
98219
98755
  :ebs_card_index,
98756
+ :availability_zone,
98757
+ :availability_zone_id,
98758
+ :trim_state,
98220
98759
  :volume_id,
98221
98760
  :instance_id,
98222
98761
  :device,
@@ -98240,6 +98779,56 @@ module Aws::EC2
98240
98779
  include Aws::Structure
98241
98780
  end
98242
98781
 
98782
+ # Describes a single volume that was failed over, including its active
98783
+ # and standby Availability Zones before and after the failover.
98784
+ #
98785
+ # @!attribute [rw] volume_id
98786
+ # The ID of the volume.
98787
+ # @return [String]
98788
+ #
98789
+ # @!attribute [rw] source_active_availability_zone
98790
+ # The name of the Availability Zone that was active before the
98791
+ # failover.
98792
+ # @return [String]
98793
+ #
98794
+ # @!attribute [rw] source_active_availability_zone_id
98795
+ # The ID of the Availability Zone that was active before the failover.
98796
+ # @return [String]
98797
+ #
98798
+ # @!attribute [rw] source_standby_availability_zones
98799
+ # The Availability Zone that was standby before the failover. Each
98800
+ # entry includes the Availability Zone name and ID.
98801
+ # @return [Array<Types::FailoverAvailabilityZone>]
98802
+ #
98803
+ # @!attribute [rw] target_active_availability_zone
98804
+ # The name of the Availability Zone that will become active after the
98805
+ # failover.
98806
+ # @return [String]
98807
+ #
98808
+ # @!attribute [rw] target_active_availability_zone_id
98809
+ # The ID of the Availability Zone that will become active after the
98810
+ # failover.
98811
+ # @return [String]
98812
+ #
98813
+ # @!attribute [rw] target_standby_availability_zones
98814
+ # The Availability Zone that will become standby after the failover.
98815
+ # Each entry includes the Availability Zone name and ID.
98816
+ # @return [Array<Types::FailoverAvailabilityZone>]
98817
+ #
98818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeFailoverInfo AWS API Documentation
98819
+ #
98820
+ class VolumeFailoverInfo < Struct.new(
98821
+ :volume_id,
98822
+ :source_active_availability_zone,
98823
+ :source_active_availability_zone_id,
98824
+ :source_standby_availability_zones,
98825
+ :target_active_availability_zone,
98826
+ :target_active_availability_zone_id,
98827
+ :target_standby_availability_zones)
98828
+ SENSITIVE = []
98829
+ include Aws::Structure
98830
+ end
98831
+
98243
98832
  # Describes the modification status of an EBS volume.
98244
98833
  #
98245
98834
  # @!attribute [rw] volume_id
@@ -98310,6 +98899,24 @@ module Aws::EC2
98310
98899
  # The service provider that manages the resource.
98311
98900
  # @return [Types::OperatorResponse]
98312
98901
  #
98902
+ # @!attribute [rw] original_multi_availability_zone_configuration
98903
+ # The Multi-Availability Zone configuration of the volume before the
98904
+ # modification.
98905
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
98906
+ #
98907
+ # @!attribute [rw] target_multi_availability_zone_configuration
98908
+ # The Multi-Availability Zone configuration that the volume is being
98909
+ # modified to.
98910
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
98911
+ #
98912
+ # @!attribute [rw] target_trim_on_attach
98913
+ # The `TrimOnAttach` setting that the volume is being modified to.
98914
+ # @return [String]
98915
+ #
98916
+ # @!attribute [rw] original_trim_on_attach
98917
+ # The `TrimOnAttach` setting of the volume before the modification.
98918
+ # @return [String]
98919
+ #
98313
98920
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeModification AWS API Documentation
98314
98921
  #
98315
98922
  class VolumeModification < Struct.new(
@@ -98329,7 +98936,11 @@ module Aws::EC2
98329
98936
  :progress,
98330
98937
  :start_time,
98331
98938
  :end_time,
98332
- :operator)
98939
+ :operator,
98940
+ :original_multi_availability_zone_configuration,
98941
+ :target_multi_availability_zone_configuration,
98942
+ :target_trim_on_attach,
98943
+ :original_trim_on_attach)
98333
98944
  SENSITIVE = []
98334
98945
  include Aws::Structure
98335
98946
  end
@@ -98403,6 +99014,12 @@ module Aws::EC2
98403
99014
  # the Recycle Bin.
98404
99015
  # @return [Time]
98405
99016
  #
99017
+ # @!attribute [rw] multi_availability_zone_configuration
99018
+ # The Multi-Availability Zone configuration of the volume when it was
99019
+ # sent to the Recycle Bin. Returned only for Multi-Availability Zone
99020
+ # volumes.
99021
+ # @return [Types::MultiAvailabilityZoneVolumeConfiguration]
99022
+ #
98406
99023
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeRecycleBinInfo AWS API Documentation
98407
99024
  #
98408
99025
  class VolumeRecycleBinInfo < Struct.new(
@@ -98420,7 +99037,8 @@ module Aws::EC2
98420
99037
  :operator,
98421
99038
  :create_time,
98422
99039
  :recycle_bin_enter_time,
98423
- :recycle_bin_exit_time)
99040
+ :recycle_bin_exit_time,
99041
+ :multi_availability_zone_configuration)
98424
99042
  SENSITIVE = []
98425
99043
  include Aws::Structure
98426
99044
  end
@@ -98617,6 +99235,11 @@ module Aws::EC2
98617
99235
  # The service provider that manages the resource.
98618
99236
  # @return [Types::OperatorResponse]
98619
99237
  #
99238
+ # @!attribute [rw] multi_availability_zone_status_details
99239
+ # The status information related to the Multi-Availability Zone
99240
+ # volume. Returned only for Multi-Availability Zone volumes.
99241
+ # @return [Types::MultiAvailabilityZoneStatusDetails]
99242
+ #
98620
99243
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusItem AWS API Documentation
98621
99244
  #
98622
99245
  class VolumeStatusItem < Struct.new(
@@ -98629,7 +99252,8 @@ module Aws::EC2
98629
99252
  :attachment_statuses,
98630
99253
  :initialization_status_details,
98631
99254
  :availability_zone_id,
98632
- :operator)
99255
+ :operator,
99256
+ :multi_availability_zone_status_details)
98633
99257
  SENSITIVE = []
98634
99258
  include Aws::Structure
98635
99259
  end