aws-sdk-ebs 1.25.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76787b57c3e30f227d540df0cd48615cf60d15160fdbe1258819c13c378bb685
4
- data.tar.gz: 10faacb671723f45e64a0eba8f6377899e8dd079bb4b603cb033755d964f85fd
3
+ metadata.gz: 4013979f9613a256c24e2c2482c3f2aedb9b43468c76ec693329324aa911088b
4
+ data.tar.gz: b6cf7effb8b23cdb33e97ccf1f8ec696fb5ed9b1b6349bd749014ac5a500c0cd
5
5
  SHA512:
6
- metadata.gz: bedcf78590b9de9cbc7c357cba11cd0720fff341122c2270d8dc1c9712c11f022f9e4edac52932a8e0cb4237129b3ca83c184c50c211ee84b5029377228e09a9
7
- data.tar.gz: 720edf413c0f22d61bb4087424210b5352f52a40c734304d43ffd7cf7faaec3854b796572b74b4dae70baeb07c45b8ead9e54b58d12859286bb5480c79563ae0
6
+ metadata.gz: 1455bdd263d04eb131610cd1718dee2873da0bab4e5637d0a83687a1bc281c054c9b4097cf202db7c53a79d827e097f8066df5ccf46d8e00eee950ef57113eb8
7
+ data.tar.gz: 35ca94fec56c9d772bbf21dd0fc1c17f3a5b923324eaf96b513b4d03d0580af438194e1944ced9b39aee36c846a0135bbc79280d6f85eaa634b0a631edb52e5c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2022-03-23)
5
+ ------------------
6
+
7
+ * Feature - Increased the maximum supported value for the Timeout parameter of the StartSnapshot API from 60 minutes to 4320 minutes. Changed the HTTP error code for ConflictException from 503 to 409.
8
+
4
9
  1.25.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -412,16 +412,25 @@ module Aws::EBS
412
412
  # @option params [required, String] :snapshot_id
413
413
  # The ID of the snapshot containing the block from which to get data.
414
414
  #
415
- # @option params [required, Integer] :block_index
416
- # The block index of the block from which to get data.
415
+ # If the specified snapshot is encrypted, you must have permission to
416
+ # use the KMS key that was used to encrypt the snapshot. For more
417
+ # information, see [ Using encryption][1] in the *Amazon Elastic Compute
418
+ # Cloud User Guide*.
417
419
  #
418
- # Obtain the `BlockIndex` by running the `ListChangedBlocks` or
419
- # `ListSnapshotBlocks` operations.
420
420
  #
421
- # @option params [required, String] :block_token
422
- # The block token of the block from which to get data.
423
421
  #
424
- # Obtain the `BlockToken` by running the `ListChangedBlocks` or
422
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
423
+ #
424
+ # @option params [required, Integer] :block_index
425
+ # The block index of the block in which to read the data. A block index
426
+ # is a logical index in units of `512` KiB blocks. To identify the block
427
+ # index, divide the logical offset of the data in the logical volume by
428
+ # the block size (logical offset of data/`524288`). The logical offset
429
+ # of the data must be `512` KiB aligned.
430
+ #
431
+ # @option params [required, String] :block_token
432
+ # The block token of the block from which to get data. You can obtain
433
+ # the `BlockToken` by running the `ListChangedBlocks` or
425
434
  # `ListSnapshotBlocks` operations.
426
435
  #
427
436
  # @return [Types::GetSnapshotBlockResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -612,6 +621,15 @@ module Aws::EBS
612
621
  # @option params [required, String] :snapshot_id
613
622
  # The ID of the snapshot.
614
623
  #
624
+ # If the specified snapshot is encrypted, you must have permission to
625
+ # use the KMS key that was used to encrypt the snapshot. For more
626
+ # information, see [ Using encryption][1] in the *Amazon Elastic Compute
627
+ # Cloud User Guide*..
628
+ #
629
+ #
630
+ #
631
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
632
+ #
615
633
  # @option params [required, Integer] :block_index
616
634
  # The block index of the block in which to write the data. A block index
617
635
  # is a logical index in units of `512` KiB blocks. To identify the block
@@ -705,13 +723,26 @@ module Aws::EBS
705
723
  # you are creating the first snapshot for an on-premises volume, omit
706
724
  # this parameter.
707
725
  #
708
- # If your account is enabled for encryption by default, you cannot use
709
- # an unencrypted snapshot as a parent snapshot. You must first create an
710
- # encrypted copy of the parent snapshot using [CopySnapshot][1].
726
+ # You can't specify **ParentSnapshotId** and **Encrypted** in the same
727
+ # request. If you specify both parameters, the request fails with
728
+ # `ValidationException`.
729
+ #
730
+ # The encryption status of the snapshot depends on the values that you
731
+ # specify for **Encrypted**, **KmsKeyArn**, and **ParentSnapshotId**,
732
+ # and whether your Amazon Web Services account is enabled for [
733
+ # encryption by default][1]. For more information, see [ Using
734
+ # encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
711
735
  #
736
+ # If you specify an encrypted parent snapshot, you must have permission
737
+ # to use the KMS key that was used to encrypt the parent snapshot. For
738
+ # more information, see [ Permissions to use Key Management Service
739
+ # keys][3] in the *Amazon Elastic Compute Cloud User Guide*.
712
740
  #
713
741
  #
714
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopySnapshot.html
742
+ #
743
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
744
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
745
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions
715
746
  #
716
747
  # @option params [Array<Types::Tag>] :tags
717
748
  # The tags to apply to the snapshot.
@@ -741,40 +772,47 @@ module Aws::EBS
741
772
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-direct-api-idempotency.html
742
773
  #
743
774
  # @option params [Boolean] :encrypted
744
- # Indicates whether to encrypt the snapshot. To create an encrypted
745
- # snapshot, specify `true`. To create an unencrypted snapshot, omit this
746
- # parameter.
747
- #
748
- # If you specify a value for **ParentSnapshotId**, omit this parameter.
775
+ # Indicates whether to encrypt the snapshot.
749
776
  #
750
- # If you specify `true`, the snapshot is encrypted using the KMS key
751
- # specified using the **KmsKeyArn** parameter. If no value is specified
752
- # for **KmsKeyArn**, the default KMS key for your account is used. If no
753
- # default KMS key has been specified for your account, the Amazon Web
754
- # Services managed KMS key is used. To set a default KMS key for your
755
- # account, use [ ModifyEbsDefaultKmsKeyId][1].
777
+ # You can't specify **Encrypted** and <b> ParentSnapshotId</b> in the
778
+ # same request. If you specify both parameters, the request fails with
779
+ # `ValidationException`.
756
780
  #
757
- # If your account is enabled for encryption by default, you cannot set
758
- # this parameter to `false`. In this case, you can omit this parameter.
781
+ # The encryption status of the snapshot depends on the values that you
782
+ # specify for **Encrypted**, **KmsKeyArn**, and **ParentSnapshotId**,
783
+ # and whether your Amazon Web Services account is enabled for [
784
+ # encryption by default][1]. For more information, see [ Using
785
+ # encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
759
786
  #
760
- # For more information, see [ Using encryption][2] in the *Amazon
761
- # Elastic Compute Cloud User Guide*.
787
+ # To create an encrypted snapshot, you must have permission to use the
788
+ # KMS key. For more information, see [ Permissions to use Key Management
789
+ # Service keys][3] in the *Amazon Elastic Compute Cloud User Guide*.
762
790
  #
763
791
  #
764
792
  #
765
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyEbsDefaultKmsKeyId.html
766
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-encryption
793
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
794
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
795
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions
767
796
  #
768
797
  # @option params [String] :kms_key_arn
769
798
  # The Amazon Resource Name (ARN) of the Key Management Service (KMS) key
770
- # to be used to encrypt the snapshot. If you do not specify a KMS key,
771
- # the default Amazon Web Services managed KMS key is used.
799
+ # to be used to encrypt the snapshot.
800
+ #
801
+ # The encryption status of the snapshot depends on the values that you
802
+ # specify for **Encrypted**, **KmsKeyArn**, and **ParentSnapshotId**,
803
+ # and whether your Amazon Web Services account is enabled for [
804
+ # encryption by default][1]. For more information, see [ Using
805
+ # encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
806
+ #
807
+ # To create an encrypted snapshot, you must have permission to use the
808
+ # KMS key. For more information, see [ Permissions to use Key Management
809
+ # Service keys][3] in the *Amazon Elastic Compute Cloud User Guide*.
810
+ #
772
811
  #
773
- # If you specify a **ParentSnapshotId**, omit this parameter; the
774
- # snapshot will be encrypted using the same KMS key that was used to
775
- # encrypt the parent snapshot.
776
812
  #
777
- # If **Encrypted** is set to `true`, you must specify a KMS key ARN.
813
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
814
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
815
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions
778
816
  #
779
817
  # @option params [Integer] :timeout
780
818
  # The amount of time (in minutes) after which the snapshot is
@@ -854,7 +892,7 @@ module Aws::EBS
854
892
  params: params,
855
893
  config: config)
856
894
  context[:gem_name] = 'aws-sdk-ebs'
857
- context[:gem_version] = '1.25.0'
895
+ context[:gem_version] = '1.26.0'
858
896
  Seahorse::Client::Request.new(handlers, context)
859
897
  end
860
898
 
@@ -184,19 +184,28 @@ module Aws::EBS
184
184
  #
185
185
  # @!attribute [rw] snapshot_id
186
186
  # The ID of the snapshot containing the block from which to get data.
187
+ #
188
+ # If the specified snapshot is encrypted, you must have permission to
189
+ # use the KMS key that was used to encrypt the snapshot. For more
190
+ # information, see [ Using encryption][1] in the *Amazon Elastic
191
+ # Compute Cloud User Guide*.
192
+ #
193
+ #
194
+ #
195
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
187
196
  # @return [String]
188
197
  #
189
198
  # @!attribute [rw] block_index
190
- # The block index of the block from which to get data.
191
- #
192
- # Obtain the `BlockIndex` by running the `ListChangedBlocks` or
193
- # `ListSnapshotBlocks` operations.
199
+ # The block index of the block in which to read the data. A block
200
+ # index is a logical index in units of `512` KiB blocks. To identify
201
+ # the block index, divide the logical offset of the data in the
202
+ # logical volume by the block size (logical offset of data/`524288`).
203
+ # The logical offset of the data must be `512` KiB aligned.
194
204
  # @return [Integer]
195
205
  #
196
206
  # @!attribute [rw] block_token
197
- # The block token of the block from which to get data.
198
- #
199
- # Obtain the `BlockToken` by running the `ListChangedBlocks` or
207
+ # The block token of the block from which to get data. You can obtain
208
+ # the `BlockToken` by running the `ListChangedBlocks` or
200
209
  # `ListSnapshotBlocks` operations.
201
210
  # @return [String]
202
211
  #
@@ -452,6 +461,15 @@ module Aws::EBS
452
461
  #
453
462
  # @!attribute [rw] snapshot_id
454
463
  # The ID of the snapshot.
464
+ #
465
+ # If the specified snapshot is encrypted, you must have permission to
466
+ # use the KMS key that was used to encrypt the snapshot. For more
467
+ # information, see [ Using encryption][1] in the *Amazon Elastic
468
+ # Compute Cloud User Guide*..
469
+ #
470
+ #
471
+ #
472
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
455
473
  # @return [String]
456
474
  #
457
475
  # @!attribute [rw] block_index
@@ -618,13 +636,27 @@ module Aws::EBS
618
636
  # you are creating the first snapshot for an on-premises volume, omit
619
637
  # this parameter.
620
638
  #
621
- # If your account is enabled for encryption by default, you cannot use
622
- # an unencrypted snapshot as a parent snapshot. You must first create
623
- # an encrypted copy of the parent snapshot using [CopySnapshot][1].
639
+ # You can't specify **ParentSnapshotId** and **Encrypted** in the
640
+ # same request. If you specify both parameters, the request fails with
641
+ # `ValidationException`.
642
+ #
643
+ # The encryption status of the snapshot depends on the values that you
644
+ # specify for **Encrypted**, **KmsKeyArn**, and **ParentSnapshotId**,
645
+ # and whether your Amazon Web Services account is enabled for [
646
+ # encryption by default][1]. For more information, see [ Using
647
+ # encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
648
+ #
649
+ # If you specify an encrypted parent snapshot, you must have
650
+ # permission to use the KMS key that was used to encrypt the parent
651
+ # snapshot. For more information, see [ Permissions to use Key
652
+ # Management Service keys][3] in the *Amazon Elastic Compute Cloud
653
+ # User Guide*.
624
654
  #
625
655
  #
626
656
  #
627
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopySnapshot.html
657
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
658
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
659
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions
628
660
  # @return [String]
629
661
  #
630
662
  # @!attribute [rw] tags
@@ -658,43 +690,50 @@ module Aws::EBS
658
690
  # @return [String]
659
691
  #
660
692
  # @!attribute [rw] encrypted
661
- # Indicates whether to encrypt the snapshot. To create an encrypted
662
- # snapshot, specify `true`. To create an unencrypted snapshot, omit
663
- # this parameter.
664
- #
665
- # If you specify a value for **ParentSnapshotId**, omit this
666
- # parameter.
693
+ # Indicates whether to encrypt the snapshot.
667
694
  #
668
- # If you specify `true`, the snapshot is encrypted using the KMS key
669
- # specified using the **KmsKeyArn** parameter. If no value is
670
- # specified for **KmsKeyArn**, the default KMS key for your account is
671
- # used. If no default KMS key has been specified for your account, the
672
- # Amazon Web Services managed KMS key is used. To set a default KMS
673
- # key for your account, use [ ModifyEbsDefaultKmsKeyId][1].
695
+ # You can't specify **Encrypted** and <b> ParentSnapshotId</b> in the
696
+ # same request. If you specify both parameters, the request fails with
697
+ # `ValidationException`.
674
698
  #
675
- # If your account is enabled for encryption by default, you cannot set
676
- # this parameter to `false`. In this case, you can omit this
677
- # parameter.
699
+ # The encryption status of the snapshot depends on the values that you
700
+ # specify for **Encrypted**, **KmsKeyArn**, and **ParentSnapshotId**,
701
+ # and whether your Amazon Web Services account is enabled for [
702
+ # encryption by default][1]. For more information, see [ Using
703
+ # encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
678
704
  #
679
- # For more information, see [ Using encryption][2] in the *Amazon
680
- # Elastic Compute Cloud User Guide*.
705
+ # To create an encrypted snapshot, you must have permission to use the
706
+ # KMS key. For more information, see [ Permissions to use Key
707
+ # Management Service keys][3] in the *Amazon Elastic Compute Cloud
708
+ # User Guide*.
681
709
  #
682
710
  #
683
711
  #
684
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyEbsDefaultKmsKeyId.html
685
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapis-using-encryption
712
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
713
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
714
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions
686
715
  # @return [Boolean]
687
716
  #
688
717
  # @!attribute [rw] kms_key_arn
689
718
  # The Amazon Resource Name (ARN) of the Key Management Service (KMS)
690
- # key to be used to encrypt the snapshot. If you do not specify a KMS
691
- # key, the default Amazon Web Services managed KMS key is used.
719
+ # key to be used to encrypt the snapshot.
720
+ #
721
+ # The encryption status of the snapshot depends on the values that you
722
+ # specify for **Encrypted**, **KmsKeyArn**, and **ParentSnapshotId**,
723
+ # and whether your Amazon Web Services account is enabled for [
724
+ # encryption by default][1]. For more information, see [ Using
725
+ # encryption][2] in the *Amazon Elastic Compute Cloud User Guide*.
726
+ #
727
+ # To create an encrypted snapshot, you must have permission to use the
728
+ # KMS key. For more information, see [ Permissions to use Key
729
+ # Management Service keys][3] in the *Amazon Elastic Compute Cloud
730
+ # User Guide*.
731
+ #
692
732
  #
693
- # If you specify a **ParentSnapshotId**, omit this parameter; the
694
- # snapshot will be encrypted using the same KMS key that was used to
695
- # encrypt the parent snapshot.
696
733
  #
697
- # If **Encrypted** is set to `true`, you must specify a KMS key ARN.
734
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#encryption-by-default
735
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
736
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapi-permissions.html#ebsapi-kms-permissions
698
737
  # @return [String]
699
738
  #
700
739
  # @!attribute [rw] timeout
data/lib/aws-sdk-ebs.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-ebs/customizations'
48
48
  # @!group service
49
49
  module Aws::EBS
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ebs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core