aws-sdk-ebs 1.33.0 → 1.34.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: 1688088210b74d832bd37ac8d7fe3d19536a819539673956ee6bc31543fe38d5
4
- data.tar.gz: a930373b7bcf6f8c160fbcfd4f7ed3b73d0c0a4e3aa1f39e57d55a5f6a6a1ead
3
+ metadata.gz: 8a3e26b2a9885a66c0277c6979050083ab067908a672481b2591ab152bfb8ad3
4
+ data.tar.gz: 686d30d25b35caa5863169ff1c096147f3a7a6e08624c6a7f39623ad5b6d4eef
5
5
  SHA512:
6
- metadata.gz: 7498d71ea258eaf59cf6da9d05333b89b4b624d168b40246fd1f0b38106fee160e263be2cbd2c80b49a1b3087f1251ca56dfb15f56630a60f69ea0032d885fdc
7
- data.tar.gz: 5c360d3826b637e54ebd590287b2d8ed612614b2f8798143b840f19339aa04af46ab4c157d3c9b6f92a6cce29e7dfe7adc5afecc366fa2cbf8564a14a39f9cba
6
+ metadata.gz: 1fb6f94a4ddf8470473ef6dd7ff3d13720bb93efc3b81fec188f2e01d2d7fc37b1c68e0388250e121d97727b321144c90e226925338c424bf36d2022c372723a
7
+ data.tar.gz: 3ee048771c0a2389f02e534115050b7482bb29c810d869ec8bc2c5258413fbf7f077fb26ff815049b0e6099ed0622adf9bc088816bacecafef8c3dee3f835852
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2023-07-27)
5
+ ------------------
6
+
7
+ * Feature - SDK and documentation updates for Amazon Elastic Block Store API
8
+
4
9
  1.33.0 (2023-07-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.34.0
@@ -393,6 +393,17 @@ module Aws::EBS
393
393
  # status to `completed`. You cannot write new blocks to a snapshot after
394
394
  # it has been completed.
395
395
  #
396
+ # <note markdown="1"> You should always retry requests that receive server (`5xx`) error
397
+ # responses, and `ThrottlingException` and `RequestThrottledException`
398
+ # client error responses. For more information see [Error retries][1] in
399
+ # the *Amazon Elastic Compute Cloud User Guide*.
400
+ #
401
+ # </note>
402
+ #
403
+ #
404
+ #
405
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
406
+ #
396
407
  # @option params [required, String] :snapshot_id
397
408
  # The ID of the snapshot.
398
409
  #
@@ -446,6 +457,17 @@ module Aws::EBS
446
457
 
447
458
  # Returns the data in a block in an Amazon Elastic Block Store snapshot.
448
459
  #
460
+ # <note markdown="1"> You should always retry requests that receive server (`5xx`) error
461
+ # responses, and `ThrottlingException` and `RequestThrottledException`
462
+ # client error responses. For more information see [Error retries][1] in
463
+ # the *Amazon Elastic Compute Cloud User Guide*.
464
+ #
465
+ # </note>
466
+ #
467
+ #
468
+ #
469
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
470
+ #
449
471
  # @option params [required, String] :snapshot_id
450
472
  # The ID of the snapshot containing the block from which to get data.
451
473
  #
@@ -505,6 +527,17 @@ module Aws::EBS
505
527
  # Amazon Elastic Block Store snapshots of the same volume/snapshot
506
528
  # lineage.
507
529
  #
530
+ # <note markdown="1"> You should always retry requests that receive server (`5xx`) error
531
+ # responses, and `ThrottlingException` and `RequestThrottledException`
532
+ # client error responses. For more information see [Error retries][1] in
533
+ # the *Amazon Elastic Compute Cloud User Guide*.
534
+ #
535
+ # </note>
536
+ #
537
+ #
538
+ #
539
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
540
+ #
508
541
  # @option params [String] :first_snapshot_id
509
542
  # The ID of the first snapshot to use for the comparison.
510
543
  #
@@ -584,6 +617,17 @@ module Aws::EBS
584
617
  # Returns information about the blocks in an Amazon Elastic Block Store
585
618
  # snapshot.
586
619
  #
620
+ # <note markdown="1"> You should always retry requests that receive server (`5xx`) error
621
+ # responses, and `ThrottlingException` and `RequestThrottledException`
622
+ # client error responses. For more information see [Error retries][1] in
623
+ # the *Amazon Elastic Compute Cloud User Guide*.
624
+ #
625
+ # </note>
626
+ #
627
+ #
628
+ #
629
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
630
+ #
587
631
  # @option params [required, String] :snapshot_id
588
632
  # The ID of the snapshot from which to get block indexes and block
589
633
  # tokens.
@@ -655,6 +699,17 @@ module Aws::EBS
655
699
  #
656
700
  # Data written to a snapshot must be aligned with 512-KiB sectors.
657
701
  #
702
+ # <note markdown="1"> You should always retry requests that receive server (`5xx`) error
703
+ # responses, and `ThrottlingException` and `RequestThrottledException`
704
+ # client error responses. For more information see [Error retries][1] in
705
+ # the *Amazon Elastic Compute Cloud User Guide*.
706
+ #
707
+ # </note>
708
+ #
709
+ #
710
+ #
711
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
712
+ #
658
713
  # @option params [required, String] :snapshot_id
659
714
  # The ID of the snapshot.
660
715
  #
@@ -747,9 +802,17 @@ module Aws::EBS
747
802
  # After creating the snapshot, use [ PutSnapshotBlock][1] to write
748
803
  # blocks of data to the snapshot.
749
804
  #
805
+ # <note markdown="1"> You should always retry requests that receive server (`5xx`) error
806
+ # responses, and `ThrottlingException` and `RequestThrottledException`
807
+ # client error responses. For more information see [Error retries][2] in
808
+ # the *Amazon Elastic Compute Cloud User Guide*.
809
+ #
810
+ # </note>
811
+ #
750
812
  #
751
813
  #
752
814
  # [1]: https://docs.aws.amazon.com/ebs/latest/APIReference/API_PutSnapshotBlock.html
815
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
753
816
  #
754
817
  # @option params [required, Integer] :volume_size
755
818
  # The size of the volume, in GiB. The maximum size is `65536` GiB (64
@@ -873,6 +936,7 @@ module Aws::EBS
873
936
  # * {Types::StartSnapshotResponse#tags #tags} => Array&lt;Types::Tag&gt;
874
937
  # * {Types::StartSnapshotResponse#parent_snapshot_id #parent_snapshot_id} => String
875
938
  # * {Types::StartSnapshotResponse#kms_key_arn #kms_key_arn} => String
939
+ # * {Types::StartSnapshotResponse#sse_type #sse_type} => String
876
940
  #
877
941
  # @example Request syntax with placeholder values
878
942
  #
@@ -906,6 +970,7 @@ module Aws::EBS
906
970
  # resp.tags[0].value #=> String
907
971
  # resp.parent_snapshot_id #=> String
908
972
  # resp.kms_key_arn #=> String
973
+ # resp.sse_type #=> String, one of "sse-ebs", "sse-kms", "none"
909
974
  #
910
975
  # @see http://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/StartSnapshot AWS API Documentation
911
976
  #
@@ -929,7 +994,7 @@ module Aws::EBS
929
994
  params: params,
930
995
  config: config)
931
996
  context[:gem_name] = 'aws-sdk-ebs'
932
- context[:gem_version] = '1.33.0'
997
+ context[:gem_version] = '1.34.0'
933
998
  Seahorse::Client::Request.new(handlers, context)
934
999
  end
935
1000
 
@@ -54,6 +54,7 @@ module Aws::EBS
54
54
  RequestThrottledExceptionReason = Shapes::StringShape.new(name: 'RequestThrottledExceptionReason')
55
55
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
56
56
  ResourceNotFoundExceptionReason = Shapes::StringShape.new(name: 'ResourceNotFoundExceptionReason')
57
+ SSEType = Shapes::StringShape.new(name: 'SSEType')
57
58
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
58
59
  ServiceQuotaExceededExceptionReason = Shapes::StringShape.new(name: 'ServiceQuotaExceededExceptionReason')
59
60
  SnapshotId = Shapes::StringShape.new(name: 'SnapshotId')
@@ -193,6 +194,7 @@ module Aws::EBS
193
194
  StartSnapshotResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
194
195
  StartSnapshotResponse.add_member(:parent_snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "ParentSnapshotId"))
195
196
  StartSnapshotResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
197
+ StartSnapshotResponse.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "SseType"))
196
198
  StartSnapshotResponse.struct_class = Types::StartSnapshotResponse
197
199
 
198
200
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
@@ -14,36 +14,39 @@ module Aws::EBS
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://ebs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://ebs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://ebs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://ebs-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://ebs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://ebs.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://ebs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://ebs.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -227,7 +227,12 @@ module Aws::EBS
227
227
  include Aws::Structure
228
228
  end
229
229
 
230
- # An internal error has occurred.
230
+ # An internal error has occurred. For more information see [Error
231
+ # retries][1].
232
+ #
233
+ #
234
+ #
235
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
231
236
  #
232
237
  # @!attribute [rw] message
233
238
  # @return [String]
@@ -498,8 +503,13 @@ module Aws::EBS
498
503
  include Aws::Structure
499
504
  end
500
505
 
501
- # The number of API requests has exceed the maximum allowed API request
502
- # throttling limit.
506
+ # The number of API requests has exceeded the maximum allowed API
507
+ # request throttling limit for the snapshot. For more information see
508
+ # [Error retries][1].
509
+ #
510
+ #
511
+ #
512
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html
503
513
  #
504
514
  # @!attribute [rw] message
505
515
  # @return [String]
@@ -737,6 +747,10 @@ module Aws::EBS
737
747
  # key used to encrypt the snapshot.
738
748
  # @return [String]
739
749
  #
750
+ # @!attribute [rw] sse_type
751
+ # Reserved for future use.
752
+ # @return [String]
753
+ #
740
754
  # @see http://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/StartSnapshotResponse AWS API Documentation
741
755
  #
742
756
  class StartSnapshotResponse < Struct.new(
@@ -749,7 +763,8 @@ module Aws::EBS
749
763
  :block_size,
750
764
  :tags,
751
765
  :parent_snapshot_id,
752
- :kms_key_arn)
766
+ :kms_key_arn,
767
+ :sse_type)
753
768
  SENSITIVE = [:kms_key_arn]
754
769
  include Aws::Structure
755
770
  end
data/lib/aws-sdk-ebs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ebs/customizations'
52
52
  # @!group service
53
53
  module Aws::EBS
54
54
 
55
- GEM_VERSION = '1.33.0'
55
+ GEM_VERSION = '1.34.0'
56
56
 
57
57
  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.33.0
4
+ version: 1.34.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core