aws-sdk-ebs 1.23.0 → 1.26.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: 6af240018f285c270fc5fed1287941049042bc3e2c41b3955cc39fb87d3f4221
4
- data.tar.gz: a745be8b2e32321c07a8557d70c59a2f52cad178f9b1d76c4bfde872d8540629
3
+ metadata.gz: 4013979f9613a256c24e2c2482c3f2aedb9b43468c76ec693329324aa911088b
4
+ data.tar.gz: b6cf7effb8b23cdb33e97ccf1f8ec696fb5ed9b1b6349bd749014ac5a500c0cd
5
5
  SHA512:
6
- metadata.gz: 0e4ac2fa4f1dbd429168191461891f3ba4069863cdb1a705023c686f9d336cd00c764203c27113b5aaf8634ddfe9fee671f8663a24db13d83d6f1c1b43380118
7
- data.tar.gz: a728116bd037bebcacc556ac6d4b0d291e4ae006d6f12dfc243fcff7b2ce544db03dac2484e71b99cd56bc15ccb98179081d6de972bc428e244718200d488bf9
6
+ metadata.gz: 1455bdd263d04eb131610cd1718dee2873da0bab4e5637d0a83687a1bc281c054c9b4097cf202db7c53a79d827e097f8066df5ccf46d8e00eee950ef57113eb8
7
+ data.tar.gz: 35ca94fec56c9d772bbf21dd0fc1c17f3a5b923324eaf96b513b4d03d0580af438194e1944ced9b39aee36c846a0135bbc79280d6f85eaa634b0a631edb52e5c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
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
+
9
+ 1.25.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.24.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.23.0 (2022-01-26)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
1
+ 1.26.0
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::EBS
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::RestJson)
80
84
 
@@ -408,16 +412,25 @@ module Aws::EBS
408
412
  # @option params [required, String] :snapshot_id
409
413
  # The ID of the snapshot containing the block from which to get data.
410
414
  #
411
- # @option params [required, Integer] :block_index
412
- # 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*.
413
419
  #
414
- # Obtain the `BlockIndex` by running the `ListChangedBlocks` or
415
- # `ListSnapshotBlocks` operations.
416
420
  #
417
- # @option params [required, String] :block_token
418
- # The block token of the block from which to get data.
419
421
  #
420
- # 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
421
434
  # `ListSnapshotBlocks` operations.
422
435
  #
423
436
  # @return [Types::GetSnapshotBlockResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -608,6 +621,15 @@ module Aws::EBS
608
621
  # @option params [required, String] :snapshot_id
609
622
  # The ID of the snapshot.
610
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
+ #
611
633
  # @option params [required, Integer] :block_index
612
634
  # The block index of the block in which to write the data. A block index
613
635
  # is a logical index in units of `512` KiB blocks. To identify the block
@@ -701,13 +723,26 @@ module Aws::EBS
701
723
  # you are creating the first snapshot for an on-premises volume, omit
702
724
  # this parameter.
703
725
  #
704
- # If your account is enabled for encryption by default, you cannot use
705
- # an unencrypted snapshot as a parent snapshot. You must first create an
706
- # 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*.
707
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*.
708
740
  #
709
741
  #
710
- # [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
711
746
  #
712
747
  # @option params [Array<Types::Tag>] :tags
713
748
  # The tags to apply to the snapshot.
@@ -737,40 +772,47 @@ module Aws::EBS
737
772
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-direct-api-idempotency.html
738
773
  #
739
774
  # @option params [Boolean] :encrypted
740
- # Indicates whether to encrypt the snapshot. To create an encrypted
741
- # snapshot, specify `true`. To create an unencrypted snapshot, omit this
742
- # parameter.
743
- #
744
- # If you specify a value for **ParentSnapshotId**, omit this parameter.
775
+ # Indicates whether to encrypt the snapshot.
745
776
  #
746
- # If you specify `true`, the snapshot is encrypted using the KMS key
747
- # specified using the **KmsKeyArn** parameter. If no value is specified
748
- # for **KmsKeyArn**, the default KMS key for your account is used. If no
749
- # default KMS key has been specified for your account, the Amazon Web
750
- # Services managed KMS key is used. To set a default KMS key for your
751
- # 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`.
752
780
  #
753
- # If your account is enabled for encryption by default, you cannot set
754
- # 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*.
755
786
  #
756
- # For more information, see [ Using encryption][2] in the *Amazon
757
- # 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*.
758
790
  #
759
791
  #
760
792
  #
761
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyEbsDefaultKmsKeyId.html
762
- # [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
763
796
  #
764
797
  # @option params [String] :kms_key_arn
765
798
  # The Amazon Resource Name (ARN) of the Key Management Service (KMS) key
766
- # to be used to encrypt the snapshot. If you do not specify a KMS key,
767
- # 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
+ #
768
811
  #
769
- # If you specify a **ParentSnapshotId**, omit this parameter; the
770
- # snapshot will be encrypted using the same KMS key that was used to
771
- # encrypt the parent snapshot.
772
812
  #
773
- # 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
774
816
  #
775
817
  # @option params [Integer] :timeout
776
818
  # The amount of time (in minutes) after which the snapshot is
@@ -850,7 +892,7 @@ module Aws::EBS
850
892
  params: params,
851
893
  config: config)
852
894
  context[:gem_name] = 'aws-sdk-ebs'
853
- context[:gem_version] = '1.23.0'
895
+ context[:gem_version] = '1.26.0'
854
896
  Seahorse::Client::Request.new(handlers, context)
855
897
  end
856
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.23.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.23.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-01-26 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement