aws-sdk-ec2 1.249.0 → 1.250.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a231ecbae35e67550c84ee23e4816f0f8457728adf9a8689c7e1da9b169f5090
4
- data.tar.gz: 36822e29dd39911194efb1844c0b7ffafa1c0a7d95f1aa310c761649701fd292
3
+ metadata.gz: 2496b7b06359f697b51ccd816285feee7baf3617817c75d3eefb71fc7de00696
4
+ data.tar.gz: 53e3364b97564b30028d817287833610b9c27cceaf2ac602e5e5a8b4410c755d
5
5
  SHA512:
6
- metadata.gz: 68e4c6bddcacc6aa0d134edc184ba561201528095ab6dc6dd9eb1fa3dd84c9ab75c0e9a859c935875e2346e50c7fecccfc873de72255ef86ce54361b096d4bba
7
- data.tar.gz: 704df21e5600b9d2e05f9e385f4b754c20757a7a719d830dbc4de38ce9069e5b87402de29a5adaf70f10bccf5d99825c79f5a6a1ee6a02fe0b52a84c6dc7e08d
6
+ metadata.gz: e4a81a78579de61fdc0cdbc59d7876b9f90bad324cf30feba7938bc498bd05d83e5a1946db5e789a5adfcaabb9506e9c25bd0887283a76b9ae8ca3671f485ae8
7
+ data.tar.gz: 8791b02867c1d169369a27f9803137baef130ca95be2946e15612b2bebc7a623bbd829260bdca2a2f11438e60c8cb6e691d07feda03decc71816d2e1716f7d5e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.250.0 (2021-07-20)
5
+ ------------------
6
+
7
+ * Feature - Added idempotency to the CreateVolume API using the ClientToken request parameter
8
+
4
9
  1.249.0 (2021-07-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.249.0
1
+ 1.250.0
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.249.0'
75
+ GEM_VERSION = '1.250.0'
76
76
 
77
77
  end
@@ -2257,13 +2257,13 @@ module Aws::EC2
2257
2257
  # encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
2258
2258
  #
2259
2259
  # After you attach an EBS volume, you must make it available. For more
2260
- # information, see [Making an EBS volume available for use][2].
2260
+ # information, see [Make an EBS volume available for use][2].
2261
2261
  #
2262
- # If a volume has an AWS Marketplace product code:
2262
+ # If a volume has an Marketplace product code:
2263
2263
  #
2264
2264
  # * The volume can be attached only to a stopped instance.
2265
2265
  #
2266
- # * AWS Marketplace product codes are copied from the volume to the
2266
+ # * Marketplace product codes are copied from the volume to the
2267
2267
  # instance.
2268
2268
  #
2269
2269
  # * You must be subscribed to the product.
@@ -2272,8 +2272,8 @@ module Aws::EC2
2272
2272
  # the product. For example, you can't detach a volume from a Windows
2273
2273
  # instance and attach it to a Linux instance.
2274
2274
  #
2275
- # For more information, see [Attaching Amazon EBS volumes][3] in the
2276
- # *Amazon Elastic Compute Cloud User Guide*.
2275
+ # For more information, see [Attach an Amazon EBS volume to an
2276
+ # instance][3] in the *Amazon Elastic Compute Cloud User Guide*.
2277
2277
  #
2278
2278
  #
2279
2279
  #
@@ -3747,11 +3747,11 @@ module Aws::EC2
3747
3747
  # When copying snapshots to a Region, copies of encrypted EBS snapshots
3748
3748
  # remain encrypted. Copies of unencrypted snapshots remain unencrypted,
3749
3749
  # unless you enable encryption for the snapshot copy operation. By
3750
- # default, encrypted snapshot copies use the default AWS Key Management
3751
- # Service (AWS KMS) customer master key (CMK); however, you can specify
3752
- # a different CMK. To copy an encrypted snapshot that has been shared
3753
- # from another account, you must have permissions for the CMK used to
3754
- # encrypt the snapshot.
3750
+ # default, encrypted snapshot copies use the default Key Management
3751
+ # Service (KMS) KMS key; however, you can specify a different KMS key.
3752
+ # To copy an encrypted snapshot that has been shared from another
3753
+ # account, you must have permissions for the KMS key used to encrypt the
3754
+ # snapshot.
3755
3755
  #
3756
3756
  # Snapshots copied to an Outpost are encrypted by default using the
3757
3757
  # default encryption key for the Region, or a different key that you
@@ -3763,7 +3763,7 @@ module Aws::EC2
3763
3763
  # Snapshots created by copying another snapshot have an arbitrary volume
3764
3764
  # ID that should not be used for any purpose.
3765
3765
  #
3766
- # For more information, see [Copying an Amazon EBS snapshot][2] in the
3766
+ # For more information, see [Copy an Amazon EBS snapshot][2] in the
3767
3767
  # *Amazon Elastic Compute Cloud User Guide*.
3768
3768
  #
3769
3769
  #
@@ -3777,12 +3777,14 @@ module Aws::EC2
3777
3777
  # @option params [String] :destination_outpost_arn
3778
3778
  # The Amazon Resource Name (ARN) of the Outpost to which to copy the
3779
3779
  # snapshot. Only specify this parameter when copying a snapshot from an
3780
- # AWS Region to an Outpost. The snapshot must be in the Region for the
3781
- # destination Outpost. You cannot copy a snapshot from an Outpost to a
3782
- # Region, from one Outpost to another, or within the same Outpost.
3780
+ # Amazon Web Services Region to an Outpost. The snapshot must be in the
3781
+ # Region for the destination Outpost. You cannot copy a snapshot from an
3782
+ # Outpost to a Region, from one Outpost to another, or within the same
3783
+ # Outpost.
3783
3784
  #
3784
- # For more information, see [ Copying snapshots from an AWS Region to an
3785
- # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
3785
+ # For more information, see [ Copy snapshots from an Amazon Web Services
3786
+ # Region to an Outpost][1] in the *Amazon Elastic Compute Cloud User
3787
+ # Guide*.
3786
3788
  #
3787
3789
  #
3788
3790
  #
@@ -3796,8 +3798,8 @@ module Aws::EC2
3796
3798
  #
3797
3799
  # The snapshot copy is sent to the regional endpoint that you sent the
3798
3800
  # HTTP request to (for example, `ec2.us-east-1.amazonaws.com`). With the
3799
- # AWS CLI, this is specified using the `--region` parameter or the
3800
- # default Region in your AWS configuration file.
3801
+ # CLI, this is specified using the `--region` parameter or the default
3802
+ # Region in your Amazon Web Services configuration file.
3801
3803
  #
3802
3804
  # @option params [Boolean] :encrypted
3803
3805
  # To encrypt a copy of an unencrypted snapshot if encryption by default
@@ -3812,12 +3814,12 @@ module Aws::EC2
3812
3814
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
3813
3815
  #
3814
3816
  # @option params [String] :kms_key_id
3815
- # The identifier of the AWS Key Management Service (AWS KMS) customer
3816
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
3817
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
3818
- # is specified, the encrypted state must be `true`.
3817
+ # The identifier of the Key Management Service (KMS) KMS key to use for
3818
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
3819
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
3820
+ # state must be `true`.
3819
3821
  #
3820
- # You can specify the CMK using any of the following:
3822
+ # You can specify the KMS key using any of the following:
3821
3823
  #
3822
3824
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
3823
3825
  #
@@ -3829,9 +3831,9 @@ module Aws::EC2
3829
3831
  # * Alias ARN. For example,
3830
3832
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
3831
3833
  #
3832
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
3833
- # ID, alias, or ARN that is not valid, the action can appear to
3834
- # complete, but eventually fails.
3834
+ # Amazon Web Services authenticates the KMS key asynchronously.
3835
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
3836
+ # action can appear to complete, but eventually fails.
3835
3837
  #
3836
3838
  # @option params [String] :presigned_url
3837
3839
  # When you copy an encrypted source snapshot using the Amazon EC2 Query
@@ -3841,13 +3843,14 @@ module Aws::EC2
3841
3843
  # The `PresignedUrl` should use the snapshot source endpoint, the
3842
3844
  # `CopySnapshot` action, and include the `SourceRegion`,
3843
3845
  # `SourceSnapshotId`, and `DestinationRegion` parameters. The
3844
- # `PresignedUrl` must be signed using AWS Signature Version 4. Because
3845
- # EBS snapshots are stored in Amazon S3, the signing algorithm for this
3846
- # parameter uses the same logic that is described in [Authenticating
3847
- # Requests: Using Query Parameters (AWS Signature Version 4)][2] in the
3848
- # *Amazon Simple Storage Service API Reference*. An invalid or
3849
- # improperly signed `PresignedUrl` will cause the copy operation to fail
3850
- # asynchronously, and the snapshot will move to an `error` state.
3846
+ # `PresignedUrl` must be signed using Amazon Web Services Signature
3847
+ # Version 4. Because EBS snapshots are stored in Amazon S3, the signing
3848
+ # algorithm for this parameter uses the same logic that is described in
3849
+ # [Authenticating Requests: Using Query Parameters (Amazon Web Services
3850
+ # Signature Version 4)][2] in the *Amazon Simple Storage Service API
3851
+ # Reference*. An invalid or improperly signed `PresignedUrl` will cause
3852
+ # the copy operation to fail asynchronously, and the snapshot will move
3853
+ # to an `error` state.
3851
3854
  #
3852
3855
  #
3853
3856
  #
@@ -7802,7 +7805,7 @@ module Aws::EC2
7802
7805
  #
7803
7806
  #
7804
7807
  #
7805
- # [1]: https://docs.aws.amazon.com/
7808
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root
7806
7809
  #
7807
7810
  # @option params [required, String] :instance_id
7808
7811
  # The ID of the instance for which to replace the root volume.
@@ -7816,7 +7819,7 @@ module Aws::EC2
7816
7819
  # Unique, case-sensitive identifier you provide to ensure the
7817
7820
  # idempotency of the request. If you do not specify a client token, a
7818
7821
  # randomly generated token is used for the request to ensure
7819
- # idempotency. For more information, see [Ensuring Idempotency][1].
7822
+ # idempotency. For more information, see [Ensuring idempotency][1].
7820
7823
  #
7821
7824
  # **A suitable default value is auto-generated.** You should normally
7822
7825
  # not need to pass this option.**
@@ -8451,22 +8454,23 @@ module Aws::EC2
8451
8454
  # stored on the same Outpost as the volume, or in the Region for that
8452
8455
  # Outpost.
8453
8456
  #
8454
- # When a snapshot is created, any AWS Marketplace product codes that are
8457
+ # When a snapshot is created, any Marketplace product codes that are
8455
8458
  # associated with the source volume are propagated to the snapshot.
8456
8459
  #
8457
8460
  # You can take a snapshot of an attached volume that is in use. However,
8458
- # snapshots only capture data that has been written to your EBS volume
8459
- # at the time the snapshot command is issued; this might exclude any
8460
- # data that has been cached by any applications or the operating system.
8461
- # If you can pause any file systems on the volume long enough to take a
8462
- # snapshot, your snapshot should be complete. However, if you cannot
8463
- # pause all file writes to the volume, you should unmount the volume
8464
- # from within the instance, issue the snapshot command, and then remount
8465
- # the volume to ensure a consistent and complete snapshot. You may
8466
- # remount and use your volume while the snapshot status is `pending`.
8467
- #
8468
- # To create a snapshot for EBS volumes that serve as root devices, you
8469
- # should stop the instance before taking the snapshot.
8461
+ # snapshots only capture data that has been written to your Amazon EBS
8462
+ # volume at the time the snapshot command is issued; this might exclude
8463
+ # any data that has been cached by any applications or the operating
8464
+ # system. If you can pause any file systems on the volume long enough to
8465
+ # take a snapshot, your snapshot should be complete. However, if you
8466
+ # cannot pause all file writes to the volume, you should unmount the
8467
+ # volume from within the instance, issue the snapshot command, and then
8468
+ # remount the volume to ensure a consistent and complete snapshot. You
8469
+ # may remount and use your volume while the snapshot status is
8470
+ # `pending`.
8471
+ #
8472
+ # To create a snapshot for Amazon EBS volumes that serve as root
8473
+ # devices, you should stop the instance before taking the snapshot.
8470
8474
  #
8471
8475
  # Snapshots that are taken from encrypted volumes are automatically
8472
8476
  # encrypted. Volumes that are created from encrypted snapshots are also
@@ -8474,7 +8478,7 @@ module Aws::EC2
8474
8478
  # snapshots always remain protected.
8475
8479
  #
8476
8480
  # You can tag your snapshots during creation. For more information, see
8477
- # [Tagging your Amazon EC2 resources][1] in the *Amazon Elastic Compute
8481
+ # [Tag your Amazon EC2 resources][1] in the *Amazon Elastic Compute
8478
8482
  # Cloud User Guide*.
8479
8483
  #
8480
8484
  # For more information, see [Amazon Elastic Block Store][2] and [Amazon
@@ -8490,7 +8494,7 @@ module Aws::EC2
8490
8494
  # A description for the snapshot.
8491
8495
  #
8492
8496
  # @option params [String] :outpost_arn
8493
- # The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
8497
+ # The Amazon Resource Name (ARN) of the Outpost on which to create a
8494
8498
  # local snapshot.
8495
8499
  #
8496
8500
  # * To create a snapshot of a volume in a Region, omit this parameter.
@@ -8504,15 +8508,15 @@ module Aws::EC2
8504
8508
  # snapshot on an Outpost, specify the ARN of the destination Outpost.
8505
8509
  # The snapshot must be created on the same Outpost as the volume.
8506
8510
  #
8507
- # For more information, see [ Creating local snapshots from volumes on
8508
- # an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
8511
+ # For more information, see [Create local snapshots from volumes on an
8512
+ # Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
8509
8513
  #
8510
8514
  #
8511
8515
  #
8512
8516
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
8513
8517
  #
8514
8518
  # @option params [required, String] :volume_id
8515
- # The ID of the EBS volume.
8519
+ # The ID of the Amazon EBS volume.
8516
8520
  #
8517
8521
  # @option params [Array<Types::TagSpecification>] :tag_specifications
8518
8522
  # The tags to apply to the snapshot during creation.
@@ -8635,8 +8639,8 @@ module Aws::EC2
8635
8639
  # snapshots.
8636
8640
  #
8637
8641
  # @option params [String] :outpost_arn
8638
- # The Amazon Resource Name (ARN) of the AWS Outpost on which to create
8639
- # the local snapshots.
8642
+ # The Amazon Resource Name (ARN) of the Outpost on which to create the
8643
+ # local snapshots.
8640
8644
  #
8641
8645
  # * To create snapshots from an instance in a Region, omit this
8642
8646
  # parameter. The snapshots are created in the same Region as the
@@ -8650,7 +8654,7 @@ module Aws::EC2
8650
8654
  # snapshots on an Outpost, specify the ARN of the destination Outpost.
8651
8655
  # The snapshots must be created on the same Outpost as the instance.
8652
8656
  #
8653
- # For more information, see [ Creating multi-volume local snapshots from
8657
+ # For more information, see [ Create multi-volume local snapshots from
8654
8658
  # instances on an Outpost][1] in the *Amazon Elastic Compute Cloud User
8655
8659
  # Guide*.
8656
8660
  #
@@ -10255,7 +10259,7 @@ module Aws::EC2
10255
10259
  # Availability Zone.
10256
10260
  #
10257
10261
  # You can create a new empty volume or restore a volume from an EBS
10258
- # snapshot. Any AWS Marketplace product codes from the snapshot are
10262
+ # snapshot. Any Marketplace product codes from the snapshot are
10259
10263
  # propagated to the volume.
10260
10264
  #
10261
10265
  # You can create encrypted volumes. Encrypted volumes must be attached
@@ -10265,10 +10269,10 @@ module Aws::EC2
10265
10269
  # Elastic Compute Cloud User Guide*.
10266
10270
  #
10267
10271
  # You can tag your volumes during creation. For more information, see
10268
- # [Tagging your Amazon EC2 resources][2] in the *Amazon Elastic Compute
10272
+ # [Tag your Amazon EC2 resources][2] in the *Amazon Elastic Compute
10269
10273
  # Cloud User Guide*.
10270
10274
  #
10271
- # For more information, see [Creating an Amazon EBS volume][3] in the
10275
+ # For more information, see [Create an Amazon EBS volume][3] in the
10272
10276
  # *Amazon Elastic Compute Cloud User Guide*.
10273
10277
  #
10274
10278
  #
@@ -10312,9 +10316,9 @@ module Aws::EC2
10312
10316
  #
10313
10317
  # * `io2`\: 100-64,000 IOPS
10314
10318
  #
10315
- # For `io1` and `io2` volumes, we guarantee 64,000 IOPS only for
10316
- # [Instances built on the Nitro System][1]. Other instance families
10317
- # guarantee performance up to 32,000 IOPS.
10319
+ # `io1` and `io2` volumes support up to 64,000 IOPS only on [Instances
10320
+ # built on the Nitro System][1]. Other instance families support
10321
+ # performance up to 32,000 IOPS.
10318
10322
  #
10319
10323
  # This parameter is required for `io1` and `io2` volumes. The default
10320
10324
  # for `gp3` volumes is 3,000 IOPS. This parameter is not supported for
@@ -10325,12 +10329,12 @@ module Aws::EC2
10325
10329
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
10326
10330
  #
10327
10331
  # @option params [String] :kms_key_id
10328
- # The identifier of the AWS Key Management Service (AWS KMS) customer
10329
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
10330
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
10331
- # is specified, the encrypted state must be `true`.
10332
+ # The identifier of the Key Management Service (KMS) KMS key to use for
10333
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
10334
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
10335
+ # state must be `true`.
10332
10336
  #
10333
- # You can specify the CMK using any of the following:
10337
+ # You can specify the KMS key using any of the following:
10334
10338
  #
10335
10339
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
10336
10340
  #
@@ -10342,9 +10346,9 @@ module Aws::EC2
10342
10346
  # * Alias ARN. For example,
10343
10347
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
10344
10348
  #
10345
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
10346
- # ID, alias, or ARN that is not valid, the action can appear to
10347
- # complete, but eventually fails.
10349
+ # Amazon Web Services authenticates the KMS key asynchronously.
10350
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
10351
+ # action can appear to complete, but eventually fails.
10348
10352
  #
10349
10353
  # @option params [String] :outpost_arn
10350
10354
  # The Amazon Resource Name (ARN) of the Outpost.
@@ -10421,6 +10425,18 @@ module Aws::EC2
10421
10425
  #
10422
10426
  # Valid Range: Minimum value of 125. Maximum value of 1000.
10423
10427
  #
10428
+ # @option params [String] :client_token
10429
+ # Unique, case-sensitive identifier that you provide to ensure the
10430
+ # idempotency of the request. For more information, see [Ensure
10431
+ # Idempotency][1].
10432
+ #
10433
+ # **A suitable default value is auto-generated.** You should normally
10434
+ # not need to pass this option.**
10435
+ #
10436
+ #
10437
+ #
10438
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
10439
+ #
10424
10440
  # @return [Types::Volume] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10425
10441
  #
10426
10442
  # * {Types::Volume#attachments #attachments} => Array&lt;Types::VolumeAttachment&gt;
@@ -10517,6 +10533,7 @@ module Aws::EC2
10517
10533
  # ],
10518
10534
  # multi_attach_enabled: false,
10519
10535
  # throughput: 1,
10536
+ # client_token: "String",
10520
10537
  # })
10521
10538
  #
10522
10539
  # @example Response structure
@@ -12893,7 +12910,7 @@ module Aws::EC2
12893
12910
  # by a registered AMI. You must first de-register the AMI before you can
12894
12911
  # delete the snapshot.
12895
12912
  #
12896
- # For more information, see [Deleting an Amazon EBS snapshot][1] in the
12913
+ # For more information, see [Delete an Amazon EBS snapshot][1] in the
12897
12914
  # *Amazon Elastic Compute Cloud User Guide*.
12898
12915
  #
12899
12916
  #
@@ -13670,7 +13687,7 @@ module Aws::EC2
13670
13687
  #
13671
13688
  # The volume can remain in the `deleting` state for several minutes.
13672
13689
  #
13673
- # For more information, see [Deleting an Amazon EBS volume][1] in the
13690
+ # For more information, see [Delete an Amazon EBS volume][1] in the
13674
13691
  # *Amazon Elastic Compute Cloud User Guide*.
13675
13692
  #
13676
13693
  #
@@ -16488,7 +16505,7 @@ module Aws::EC2
16488
16505
  #
16489
16506
  # * `availability-zone`\: The Availability Zone of the snapshot.
16490
16507
  #
16491
- # * `owner-id`\: The ID of the AWS account that enabled fast snapshot
16508
+ # * `owner-id`\: The ID of the account that enabled fast snapshot
16492
16509
  # restore on the snapshot.
16493
16510
  #
16494
16511
  # * `snapshot-id`\: The ID of the snapshot.
@@ -22686,7 +22703,7 @@ module Aws::EC2
22686
22703
  #
22687
22704
  #
22688
22705
  #
22689
- # [1]: https://docs.aws.amazon.com/
22706
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-restoring-volume.html#replace-root
22690
22707
  #
22691
22708
  # @option params [Array<String>] :replace_root_volume_task_ids
22692
22709
  # The ID of the root volume replacement task to view.
@@ -24295,25 +24312,25 @@ module Aws::EC2
24295
24312
  # EBS snapshots available to you.
24296
24313
  #
24297
24314
  # The snapshots available to you include public snapshots, private
24298
- # snapshots that you own, and private snapshots owned by other AWS
24299
- # accounts for which you have explicit create volume permissions.
24315
+ # snapshots that you own, and private snapshots owned by other accounts
24316
+ # for which you have explicit create volume permissions.
24300
24317
  #
24301
24318
  # The create volume permissions fall into the following categories:
24302
24319
  #
24303
24320
  # * *public*\: The owner of the snapshot granted create volume
24304
- # permissions for the snapshot to the `all` group. All AWS accounts
24305
- # have create volume permissions for these snapshots.
24321
+ # permissions for the snapshot to the `all` group. All accounts have
24322
+ # create volume permissions for these snapshots.
24306
24323
  #
24307
24324
  # * *explicit*\: The owner of the snapshot granted create volume
24308
- # permissions to a specific AWS account.
24325
+ # permissions to a specific account.
24309
24326
  #
24310
- # * *implicit*\: An AWS account has implicit create volume permissions
24311
- # for all snapshots it owns.
24327
+ # * *implicit*\: An account has implicit create volume permissions for
24328
+ # all snapshots it owns.
24312
24329
  #
24313
24330
  # The list of snapshots returned can be filtered by specifying snapshot
24314
- # IDs, snapshot owners, or AWS accounts with create volume permissions.
24315
- # If no options are specified, Amazon EC2 returns all snapshots for
24316
- # which you have create volume permissions.
24331
+ # IDs, snapshot owners, or accounts with create volume permissions. If
24332
+ # no options are specified, Amazon EC2 returns all snapshots for which
24333
+ # you have create volume permissions.
24317
24334
  #
24318
24335
  # If you specify one or more snapshot IDs, only snapshots that have the
24319
24336
  # specified IDs are returned. If you specify an invalid snapshot ID, an
@@ -24322,12 +24339,12 @@ module Aws::EC2
24322
24339
  #
24323
24340
  # If you specify one or more snapshot owners using the `OwnerIds`
24324
24341
  # option, only snapshots from the specified owners and for which you
24325
- # have access are returned. The results can include the AWS account IDs
24326
- # of the specified owners, `amazon` for snapshots owned by Amazon, or
24342
+ # have access are returned. The results can include the account IDs of
24343
+ # the specified owners, `amazon` for snapshots owned by Amazon, or
24327
24344
  # `self` for snapshots that you own.
24328
24345
  #
24329
24346
  # If you specify a list of restorable users, only snapshots with create
24330
- # snapshot permissions for those users are returned. You can specify AWS
24347
+ # snapshot permissions for those users are returned. You can specify
24331
24348
  # account IDs (if you own the snapshots), `self` for snapshots for which
24332
24349
  # you own or have explicit permissions, or `all` for public snapshots.
24333
24350
  #
@@ -24358,12 +24375,12 @@ module Aws::EC2
24358
24375
  # `false`)
24359
24376
  #
24360
24377
  # * `owner-alias` - The owner alias, from an Amazon-maintained list
24361
- # (`amazon`). This is not the user-configured AWS account alias set
24362
- # using the IAM console. We recommend that you use the related
24363
- # parameter instead of this filter.
24378
+ # (`amazon`). This is not the user-configured account alias set using
24379
+ # the IAM console. We recommend that you use the related parameter
24380
+ # instead of this filter.
24364
24381
  #
24365
- # * `owner-id` - The AWS account ID of the owner. We recommend that you
24366
- # use the related parameter instead of this filter.
24382
+ # * `owner-id` - The account ID of the owner. We recommend that you use
24383
+ # the related parameter instead of this filter.
24367
24384
  #
24368
24385
  # * `progress` - The progress of the snapshot, as a percentage (for
24369
24386
  # example, 80%).
@@ -24410,10 +24427,10 @@ module Aws::EC2
24410
24427
  #
24411
24428
  # @option params [Array<String>] :owner_ids
24412
24429
  # Scopes the results to snapshots with the specified owners. You can
24413
- # specify a combination of AWS account IDs, `self`, and `amazon`.
24430
+ # specify a combination of account IDs, `self`, and `amazon`.
24414
24431
  #
24415
24432
  # @option params [Array<String>] :restorable_by_user_ids
24416
- # The IDs of the AWS accounts that can create volumes from the snapshot.
24433
+ # The IDs of the accounts that can create volumes from the snapshot.
24417
24434
  #
24418
24435
  # @option params [Array<String>] :snapshot_ids
24419
24436
  # The snapshot IDs.
@@ -27139,8 +27156,8 @@ module Aws::EC2
27139
27156
  # check fails, the overall status is `impaired`. If the status is
27140
27157
  # `insufficient-data`, then the checks might still be taking place on
27141
27158
  # your volume at the time. We recommend that you retry the request. For
27142
- # more information about volume status, see [Monitoring the status of
27143
- # your volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
27159
+ # more information about volume status, see [Monitor the status of your
27160
+ # volumes][1] in the *Amazon Elastic Compute Cloud User Guide*.
27144
27161
  #
27145
27162
  # *Events*\: Reflect the cause of a volume status and might require you
27146
27163
  # to take action. For example, if your volume returns an `impaired`
@@ -27605,13 +27622,13 @@ module Aws::EC2
27605
27622
  # You can also use CloudWatch Events to check the status of a
27606
27623
  # modification to an EBS volume. For information about CloudWatch
27607
27624
  # Events, see the [Amazon CloudWatch Events User Guide][1]. For more
27608
- # information, see [Monitoring volume modifications][2] in the *Amazon
27609
- # Elastic Compute Cloud User Guide*.
27625
+ # information, see [Monitor the progress of volume modifications][2] in
27626
+ # the *Amazon Elastic Compute Cloud User Guide*.
27610
27627
  #
27611
27628
  #
27612
27629
  #
27613
27630
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
27614
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods
27631
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
27615
27632
  #
27616
27633
  # @option params [Boolean] :dry_run
27617
27634
  # Checks whether you have the required permissions for the action,
@@ -29161,10 +29178,10 @@ module Aws::EC2
29161
29178
  # root device of an instance, it can't be detached while the instance
29162
29179
  # is running. To detach the root volume, stop the instance first.
29163
29180
  #
29164
- # When a volume with an AWS Marketplace product code is detached from an
29181
+ # When a volume with an Marketplace product code is detached from an
29165
29182
  # instance, the product code is no longer associated with the instance.
29166
29183
  #
29167
- # For more information, see [Detaching an Amazon EBS volume][1] in the
29184
+ # For more information, see [Detach an Amazon EBS volume][1] in the
29168
29185
  # *Amazon Elastic Compute Cloud User Guide*.
29169
29186
  #
29170
29187
  #
@@ -30212,12 +30229,12 @@ module Aws::EC2
30212
30229
  # Region.
30213
30230
  #
30214
30231
  # After you enable encryption by default, the EBS volumes that you
30215
- # create are always encrypted, either using the default CMK or the CMK
30216
- # that you specified when you created each volume. For more information,
30217
- # see [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud
30218
- # User Guide*.
30232
+ # create are always encrypted, either using the default KMS key or the
30233
+ # KMS key that you specified when you created each volume. For more
30234
+ # information, see [Amazon EBS encryption][1] in the *Amazon Elastic
30235
+ # Compute Cloud User Guide*.
30219
30236
  #
30220
- # You can specify the default CMK for encryption by default using
30237
+ # You can specify the default KMS key for encryption by default using
30221
30238
  # ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.
30222
30239
  #
30223
30240
  # Enabling encryption by default has no effect on the encryption status
@@ -30282,7 +30299,7 @@ module Aws::EC2
30282
30299
  # @option params [required, Array<String>] :source_snapshot_ids
30283
30300
  # The IDs of one or more snapshots. For example,
30284
30301
  # `snap-1234567890abcdef0`. You can specify a snapshot that was shared
30285
- # with you from another AWS account.
30302
+ # with you from another account.
30286
30303
  #
30287
30304
  # @option params [Boolean] :dry_run
30288
30305
  # Checks whether you have the required permissions for the action,
@@ -31325,9 +31342,9 @@ module Aws::EC2
31325
31342
  req.send_request(options)
31326
31343
  end
31327
31344
 
31328
- # Describes the default customer master key (CMK) for EBS encryption by
31329
- # default for your account in this Region. You can change the default
31330
- # CMK for encryption by default using ModifyEbsDefaultKmsKeyId or
31345
+ # Describes the default KMS key for EBS encryption by default for your
31346
+ # account in this Region. You can change the default KMS key for
31347
+ # encryption by default using ModifyEbsDefaultKmsKeyId or
31331
31348
  # ResetEbsDefaultKmsKeyId.
31332
31349
  #
31333
31350
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
@@ -33530,18 +33547,20 @@ module Aws::EC2
33530
33547
  req.send_request(options)
33531
33548
  end
33532
33549
 
33533
- # Changes the default customer master key (CMK) for EBS encryption by
33534
- # default for your account in this Region.
33550
+ # Changes the default KMS key for EBS encryption by default for your
33551
+ # account in this Region.
33535
33552
  #
33536
- # AWS creates a unique AWS managed CMK in each Region for use with
33537
- # encryption by default. If you change the default CMK to a symmetric
33538
- # customer managed CMK, it is used instead of the AWS managed CMK. To
33539
- # reset the default CMK to the AWS managed CMK for EBS, use
33540
- # ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric CMKs.
33553
+ # Amazon Web Services creates a unique Amazon Web Services managed KMS
33554
+ # key in each Region for use with encryption by default. If you change
33555
+ # the default KMS key to a symmetric customer managed KMS key, it is
33556
+ # used instead of the Amazon Web Services managed KMS key. To reset the
33557
+ # default KMS key to the Amazon Web Services managed KMS key for EBS,
33558
+ # use ResetEbsDefaultKmsKeyId. Amazon EBS does not support asymmetric
33559
+ # KMS keys.
33541
33560
  #
33542
- # If you delete or disable the customer managed CMK that you specified
33543
- # for use with encryption by default, your instances will fail to
33544
- # launch.
33561
+ # If you delete or disable the customer managed KMS key that you
33562
+ # specified for use with encryption by default, your instances will fail
33563
+ # to launch.
33545
33564
  #
33546
33565
  # For more information, see [Amazon EBS encryption][1] in the *Amazon
33547
33566
  # Elastic Compute Cloud User Guide*.
@@ -33551,12 +33570,12 @@ module Aws::EC2
33551
33570
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
33552
33571
  #
33553
33572
  # @option params [required, String] :kms_key_id
33554
- # The identifier of the AWS Key Management Service (AWS KMS) customer
33555
- # master key (CMK) to use for Amazon EBS encryption. If this parameter
33556
- # is not specified, your AWS managed CMK for EBS is used. If `KmsKeyId`
33557
- # is specified, the encrypted state must be `true`.
33573
+ # The identifier of the Key Management Service (KMS) KMS key to use for
33574
+ # Amazon EBS encryption. If this parameter is not specified, your KMS
33575
+ # key for Amazon EBS is used. If `KmsKeyId` is specified, the encrypted
33576
+ # state must be `true`.
33558
33577
  #
33559
- # You can specify the CMK using any of the following:
33578
+ # You can specify the KMS key using any of the following:
33560
33579
  #
33561
33580
  # * Key ID. For example, 1234abcd-12ab-34cd-56ef-1234567890ab.
33562
33581
  #
@@ -33568,11 +33587,11 @@ module Aws::EC2
33568
33587
  # * Alias ARN. For example,
33569
33588
  # arn:aws:kms:us-east-1:012345678910:alias/ExampleAlias.
33570
33589
  #
33571
- # AWS authenticates the CMK asynchronously. Therefore, if you specify an
33572
- # ID, alias, or ARN that is not valid, the action can appear to
33573
- # complete, but eventually fails.
33590
+ # Amazon Web Services authenticates the KMS key asynchronously.
33591
+ # Therefore, if you specify an ID, alias, or ARN that is not valid, the
33592
+ # action can appear to complete, but eventually fails.
33574
33593
  #
33575
- # Amazon EBS does not support asymmetric CMKs.
33594
+ # Amazon EBS does not support asymmetric KMS keys.
33576
33595
  #
33577
33596
  # @option params [Boolean] :dry_run
33578
33597
  # Checks whether you have the required permissions for the action,
@@ -35229,19 +35248,18 @@ module Aws::EC2
35229
35248
  end
35230
35249
 
35231
35250
  # Adds or removes permission settings for the specified snapshot. You
35232
- # may add or remove specified AWS account IDs from a snapshot's list of
35251
+ # may add or remove specified account IDs from a snapshot's list of
35233
35252
  # create volume permissions, but you cannot do both in a single
35234
35253
  # operation. If you need to both add and remove account IDs for a
35235
35254
  # snapshot, you must use multiple operations. You can make up to 500
35236
35255
  # modifications to a snapshot in a single operation.
35237
35256
  #
35238
- # Encrypted snapshots and snapshots with AWS Marketplace product codes
35239
- # cannot be made public. Snapshots encrypted with your default CMK
35257
+ # Encrypted snapshots and snapshots with Marketplace product codes
35258
+ # cannot be made public. Snapshots encrypted with your default KMS key
35240
35259
  # cannot be shared with other accounts.
35241
35260
  #
35242
- # For more information about modifying snapshot permissions, see
35243
- # [Sharing snapshots][1] in the *Amazon Elastic Compute Cloud User
35244
- # Guide*.
35261
+ # For more information about modifying snapshot permissions, see [Share
35262
+ # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
35245
35263
  #
35246
35264
  #
35247
35265
  #
@@ -36041,45 +36059,38 @@ module Aws::EC2
36041
36059
  # volume size, volume type, and IOPS capacity. If your EBS volume is
36042
36060
  # attached to a current-generation EC2 instance type, you might be able
36043
36061
  # to apply these changes without stopping the instance or detaching the
36044
- # volume from it. For more information about modifying an EBS volume
36045
- # running Linux, see [Modifying the size, IOPS, or type of an EBS volume
36046
- # on Linux][1]. For more information about modifying an EBS volume
36047
- # running Windows, see [Modifying the size, IOPS, or type of an EBS
36048
- # volume on Windows][2].
36062
+ # volume from it. For more information about modifying EBS volumes, see
36063
+ # [Amazon EBS Elastic Volumes][1] (Linux instances) or [Amazon EBS
36064
+ # Elastic Volumes][2] (Windows instances).
36049
36065
  #
36050
36066
  # When you complete a resize operation on your volume, you need to
36051
36067
  # extend the volume's file-system size to take advantage of the new
36052
- # storage capacity. For information about extending a Linux file system,
36053
- # see [Extending a Linux file system][3]. For information about
36054
- # extending a Windows file system, see [Extending a Windows file
36055
- # system][4].
36068
+ # storage capacity. For more information, see [Extend a Linux file
36069
+ # system][3] or [Extend a Windows file system][4].
36056
36070
  #
36057
36071
  # You can use CloudWatch Events to check the status of a modification to
36058
36072
  # an EBS volume. For information about CloudWatch Events, see the
36059
36073
  # [Amazon CloudWatch Events User Guide][5]. You can also track the
36060
36074
  # status of a modification using DescribeVolumesModifications. For
36061
36075
  # information about tracking status changes using either method, see
36062
- # [Monitoring volume modifications][6].
36076
+ # [Monitor the progress of volume modifications][6].
36063
36077
  #
36064
36078
  # With previous-generation instance types, resizing an EBS volume might
36065
36079
  # require detaching and reattaching the volume or stopping and
36066
- # restarting the instance. For more information, see [Amazon EBS Elastic
36067
- # Volumes][7] (Linux) or [Amazon EBS Elastic Volumes][8] (Windows).
36080
+ # restarting the instance.
36068
36081
  #
36069
36082
  # If you reach the maximum volume modification rate per volume limit,
36070
- # you will need to wait at least six hours before applying further
36071
- # modifications to the affected EBS volume.
36083
+ # you must wait at least six hours before applying further modifications
36084
+ # to the affected EBS volume.
36072
36085
  #
36073
36086
  #
36074
36087
  #
36075
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html
36076
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html
36088
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
36089
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
36077
36090
  # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#recognize-expanded-volume-linux
36078
36091
  # [4]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-expand-volume.html#recognize-expanded-volume-windows
36079
36092
  # [5]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/
36080
- # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html#monitoring_mods
36081
- # [7]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-modify-volume.html
36082
- # [8]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ebs-modify-volume.html
36093
+ # [6]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html
36083
36094
  #
36084
36095
  # @option params [Boolean] :dry_run
36085
36096
  # Checks whether you have the required permissions for the action,
@@ -36104,14 +36115,14 @@ module Aws::EC2
36104
36115
  #
36105
36116
  # * `standard`\: 1-1,024
36106
36117
  #
36107
- # Default: If no size is specified, the existing size is retained.
36118
+ # Default: The existing size is retained.
36108
36119
  #
36109
36120
  # @option params [String] :volume_type
36110
36121
  # The target EBS volume type of the volume. For more information, see
36111
36122
  # [Amazon EBS volume types][1] in the *Amazon Elastic Compute Cloud User
36112
36123
  # Guide*.
36113
36124
  #
36114
- # Default: If no type is specified, the existing type is retained.
36125
+ # Default: The existing type is retained.
36115
36126
  #
36116
36127
  #
36117
36128
  #
@@ -36129,16 +36140,16 @@ module Aws::EC2
36129
36140
  #
36130
36141
  # * `io2`\: 100-64,000 IOPS
36131
36142
  #
36132
- # Default: If no IOPS value is specified, the existing value is
36133
- # retained, unless a volume type is modified that supports different
36134
- # values.
36143
+ # Default: The existing value is retained if you keep the same volume
36144
+ # type. If you change the volume type to `io1`, `io2`, or `gp3`, the
36145
+ # default is 3,000.
36135
36146
  #
36136
36147
  # @option params [Integer] :throughput
36137
36148
  # The target throughput of the volume, in MiB/s. This parameter is valid
36138
36149
  # only for `gp3` volumes. The maximum value is 1,000.
36139
36150
  #
36140
- # Default: If no throughput value is specified, the existing value is
36141
- # retained.
36151
+ # Default: The existing value is retained if the source and target
36152
+ # volume type is `gp3`. Otherwise, the default value is 125.
36142
36153
  #
36143
36154
  # Valid Range: Minimum value of 125. Maximum value of 1000.
36144
36155
  #
@@ -39876,13 +39887,14 @@ module Aws::EC2
39876
39887
  req.send_request(options)
39877
39888
  end
39878
39889
 
39879
- # Resets the default customer master key (CMK) for EBS encryption for
39880
- # your account in this Region to the AWS managed CMK for EBS.
39890
+ # Resets the default KMS key for EBS encryption for your account in this
39891
+ # Region to the Amazon Web Services managed KMS key for EBS.
39881
39892
  #
39882
- # After resetting the default CMK to the AWS managed CMK, you can
39883
- # continue to encrypt by a customer managed CMK by specifying it when
39884
- # you create the volume. For more information, see [Amazon EBS
39885
- # encryption][1] in the *Amazon Elastic Compute Cloud User Guide*.
39893
+ # After resetting the default KMS key to the Amazon Web Services managed
39894
+ # KMS key, you can continue to encrypt by a customer managed KMS key by
39895
+ # specifying it when you create the volume. For more information, see
39896
+ # [Amazon EBS encryption][1] in the *Amazon Elastic Compute Cloud User
39897
+ # Guide*.
39886
39898
  #
39887
39899
  #
39888
39900
  #
@@ -40110,9 +40122,8 @@ module Aws::EC2
40110
40122
 
40111
40123
  # Resets permission settings for the specified snapshot.
40112
40124
  #
40113
- # For more information about modifying snapshot permissions, see
40114
- # [Sharing snapshots][1] in the *Amazon Elastic Compute Cloud User
40115
- # Guide*.
40125
+ # For more information about modifying snapshot permissions, see [Share
40126
+ # a snapshot][1] in the *Amazon Elastic Compute Cloud User Guide*.
40116
40127
  #
40117
40128
  #
40118
40129
  #
@@ -43098,7 +43109,7 @@ module Aws::EC2
43098
43109
  params: params,
43099
43110
  config: config)
43100
43111
  context[:gem_name] = 'aws-sdk-ec2'
43101
- context[:gem_version] = '1.249.0'
43112
+ context[:gem_version] = '1.250.0'
43102
43113
  Seahorse::Client::Request.new(handlers, context)
43103
43114
  end
43104
43115