aws-sdk-dynamodb 1.132.0 → 1.134.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: 2204d1f8b6a933ab7baa59e4dafb1f9f39eda984ae74b3f68a119bc78ccdf02f
4
- data.tar.gz: 89535cf45eb05eace5806755dd8722d9721fb7f01c38d072b53b3848e7a0d248
3
+ metadata.gz: 1d36160f6acf115ec55724591b185d9b6127f36867948c6797e69dc476799535
4
+ data.tar.gz: 434fdb75008e87c49b68063e47fee19b41ff14bad1cd5991ee3050e41868cdab
5
5
  SHA512:
6
- metadata.gz: 7c6716d222579072f7c661ddd0fd95fd67e8f6b762f1c8266cd4f9b86629f1c24c41f5339befac9a4c4cc1fbb858c81e2d6e7901aea345f71a879389e5e6311f
7
- data.tar.gz: 70e983178017f516df1ef248094299826f9bb8b7a753ff8b66e12a43a19a5f453d0d442587865e2b1fd4be67b940a4d4501f09eda19dfbcfa87d815958724b9e
6
+ metadata.gz: dd11f850b04ebd3cc249d8a118ffbdf0c2a1e742ebf67e6fb6409f9779515aca5f02afb8d5f6d2768dba11522f2f15574c97c3bf03733bc2f7d835332946005e
7
+ data.tar.gz: b935ab00066836ba8b1a38112a51e482a59fbb2e2e91fe4de031b9c941f5ec3874eafebbecebab404ef63e3cc8e538edb7b89a5bbf6db6e301ae7b99b2610514
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.134.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.133.0 (2025-01-07)
10
+ ------------------
11
+
12
+ * Feature - This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days.
13
+
4
14
  1.132.0 (2024-12-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.134.0
@@ -269,11 +269,34 @@ module Aws::DynamoDB
269
269
  # Used when loading credentials from the shared credentials file
270
270
  # at HOME/.aws/credentials. When not specified, 'default' is used.
271
271
  #
272
+ # @option options [String] :request_checksum_calculation ("when_supported")
273
+ # Determines when a checksum will be calculated for request payloads. Values are:
274
+ #
275
+ # * `when_supported` - (default) When set, a checksum will be
276
+ # calculated for all request payloads of operations modeled with the
277
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
278
+ # `requestAlgorithmMember` is modeled.
279
+ # * `when_required` - When set, a checksum will only be calculated for
280
+ # request payloads of operations modeled with the `httpChecksum` trait where
281
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
282
+ # is modeled and supplied.
283
+ #
272
284
  # @option options [Integer] :request_min_compression_size_bytes (10240)
273
285
  # The minimum size in bytes that triggers compression for request
274
286
  # bodies. The value must be non-negative integer value between 0
275
287
  # and 10485780 bytes inclusive.
276
288
  #
289
+ # @option options [String] :response_checksum_validation ("when_supported")
290
+ # Determines when checksum validation will be performed on response payloads. Values are:
291
+ #
292
+ # * `when_supported` - (default) When set, checksum validation is performed on all
293
+ # response payloads of operations modeled with the `httpChecksum` trait where
294
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
295
+ # are supported.
296
+ # * `when_required` - When set, checksum validation is not performed on
297
+ # response payloads of operations unless the checksum algorithm is supported and
298
+ # the `requestValidationModeMember` member is set to `ENABLED`.
299
+ #
277
300
  # @option options [Proc] :retry_backoff
278
301
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
279
302
  # This option is only used in the `legacy` retry mode.
@@ -2542,8 +2565,9 @@ module Aws::DynamoDB
2542
2565
  # and `LatestRestorableDateTime`.
2543
2566
  #
2544
2567
  # `LatestRestorableDateTime` is typically 5 minutes before the current
2545
- # time. You can restore your table to any point in time during the last
2546
- # 35 days.
2568
+ # time. You can restore your table to any point in time in the last 35
2569
+ # days. You can set the recovery period to any value between 1 and 35
2570
+ # days.
2547
2571
  #
2548
2572
  # You can call `DescribeContinuousBackups` at a maximum rate of 10 times
2549
2573
  # per second.
@@ -2569,6 +2593,7 @@ module Aws::DynamoDB
2569
2593
  #
2570
2594
  # resp.continuous_backups_description.continuous_backups_status #=> String, one of "ENABLED", "DISABLED"
2571
2595
  # resp.continuous_backups_description.point_in_time_recovery_description.point_in_time_recovery_status #=> String, one of "ENABLED", "DISABLED"
2596
+ # resp.continuous_backups_description.point_in_time_recovery_description.recovery_period_in_days #=> Integer
2572
2597
  # resp.continuous_backups_description.point_in_time_recovery_description.earliest_restorable_date_time #=> Time
2573
2598
  # resp.continuous_backups_description.point_in_time_recovery_description.latest_restorable_date_time #=> Time
2574
2599
  #
@@ -5884,8 +5909,9 @@ module Aws::DynamoDB
5884
5909
 
5885
5910
  # Restores the specified table to the specified point in time within
5886
5911
  # `EarliestRestorableDateTime` and `LatestRestorableDateTime`. You can
5887
- # restore your table to any point in time during the last 35 days. Any
5888
- # number of users can execute up to 50 concurrent restores (any type of
5912
+ # restore your table to any point in time in the last 35 days. You can
5913
+ # set the recovery period to any value between 1 and 35 days. Any number
5914
+ # of users can execute up to 50 concurrent restores (any type of
5889
5915
  # restore) in a given account.
5890
5916
  #
5891
5917
  # When you restore using point in time recovery, DynamoDB restores your
@@ -7037,8 +7063,9 @@ module Aws::DynamoDB
7037
7063
  # and `LatestRestorableDateTime`.
7038
7064
  #
7039
7065
  # `LatestRestorableDateTime` is typically 5 minutes before the current
7040
- # time. You can restore your table to any point in time during the last
7041
- # 35 days.
7066
+ # time. You can restore your table to any point in time in the last 35
7067
+ # days. You can set the recovery period to any value between 1 and 35
7068
+ # days.
7042
7069
  #
7043
7070
  # @option params [required, String] :table_name
7044
7071
  # The name of the table. You can also provide the Amazon Resource Name
@@ -7057,6 +7084,7 @@ module Aws::DynamoDB
7057
7084
  # table_name: "TableArn", # required
7058
7085
  # point_in_time_recovery_specification: { # required
7059
7086
  # point_in_time_recovery_enabled: false, # required
7087
+ # recovery_period_in_days: 1,
7060
7088
  # },
7061
7089
  # })
7062
7090
  #
@@ -7064,6 +7092,7 @@ module Aws::DynamoDB
7064
7092
  #
7065
7093
  # resp.continuous_backups_description.continuous_backups_status #=> String, one of "ENABLED", "DISABLED"
7066
7094
  # resp.continuous_backups_description.point_in_time_recovery_description.point_in_time_recovery_status #=> String, one of "ENABLED", "DISABLED"
7095
+ # resp.continuous_backups_description.point_in_time_recovery_description.recovery_period_in_days #=> Integer
7067
7096
  # resp.continuous_backups_description.point_in_time_recovery_description.earliest_restorable_date_time #=> Time
7068
7097
  # resp.continuous_backups_description.point_in_time_recovery_description.latest_restorable_date_time #=> Time
7069
7098
  #
@@ -8596,7 +8625,7 @@ module Aws::DynamoDB
8596
8625
  tracer: tracer
8597
8626
  )
8598
8627
  context[:gem_name] = 'aws-sdk-dynamodb'
8599
- context[:gem_version] = '1.132.0'
8628
+ context[:gem_version] = '1.134.0'
8600
8629
  Seahorse::Client::Request.new(handlers, context)
8601
8630
  end
8602
8631
 
@@ -344,6 +344,7 @@ module Aws::DynamoDB
344
344
  PutResourcePolicyOutput = Shapes::StructureShape.new(name: 'PutResourcePolicyOutput')
345
345
  QueryInput = Shapes::StructureShape.new(name: 'QueryInput')
346
346
  QueryOutput = Shapes::StructureShape.new(name: 'QueryOutput')
347
+ RecoveryPeriodInDays = Shapes::IntegerShape.new(name: 'RecoveryPeriodInDays')
347
348
  RegionName = Shapes::StringShape.new(name: 'RegionName')
348
349
  Replica = Shapes::StructureShape.new(name: 'Replica')
349
350
  ReplicaAlreadyExistsException = Shapes::StructureShape.new(name: 'ReplicaAlreadyExistsException')
@@ -1381,11 +1382,13 @@ module Aws::DynamoDB
1381
1382
  PartiQLBatchResponse.member = Shapes::ShapeRef.new(shape: BatchStatementResponse)
1382
1383
 
1383
1384
  PointInTimeRecoveryDescription.add_member(:point_in_time_recovery_status, Shapes::ShapeRef.new(shape: PointInTimeRecoveryStatus, location_name: "PointInTimeRecoveryStatus"))
1385
+ PointInTimeRecoveryDescription.add_member(:recovery_period_in_days, Shapes::ShapeRef.new(shape: RecoveryPeriodInDays, location_name: "RecoveryPeriodInDays"))
1384
1386
  PointInTimeRecoveryDescription.add_member(:earliest_restorable_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "EarliestRestorableDateTime"))
1385
1387
  PointInTimeRecoveryDescription.add_member(:latest_restorable_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestRestorableDateTime"))
1386
1388
  PointInTimeRecoveryDescription.struct_class = Types::PointInTimeRecoveryDescription
1387
1389
 
1388
1390
  PointInTimeRecoverySpecification.add_member(:point_in_time_recovery_enabled, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "PointInTimeRecoveryEnabled"))
1391
+ PointInTimeRecoverySpecification.add_member(:recovery_period_in_days, Shapes::ShapeRef.new(shape: RecoveryPeriodInDays, location_name: "RecoveryPeriodInDays"))
1389
1392
  PointInTimeRecoverySpecification.struct_class = Types::PointInTimeRecoverySpecification
1390
1393
 
1391
1394
  PointInTimeRecoveryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -34,7 +34,7 @@ module Aws::DynamoDB
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
35
35
  raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
36
36
  end
37
- return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"signingRegion"=>"us-east-1", "signingName"=>"dynamodb", "name"=>"sigv4"}]}, metadata: { account_id_endpoint: false })
37
+ return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"dynamodb", "signingRegion"=>"us-east-1"}]}, metadata: { account_id_endpoint: false })
38
38
  end
39
39
  if Aws::Endpoints::Matchers.set?(account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(account_id_endpoint_mode, "required") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(account_id))
40
40
  raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded."
@@ -5853,6 +5853,14 @@ module Aws::DynamoDB
5853
5853
  # * `DISABLED` - Point in time recovery is disabled.
5854
5854
  # @return [String]
5855
5855
  #
5856
+ # @!attribute [rw] recovery_period_in_days
5857
+ # The number of preceding days for which continuous backups are taken
5858
+ # and maintained. Your table data is only recoverable to any
5859
+ # point-in-time from within the configured recovery period. This
5860
+ # parameter is optional. If no value is provided, the value will
5861
+ # default to 35.
5862
+ # @return [Integer]
5863
+ #
5856
5864
  # @!attribute [rw] earliest_restorable_date_time
5857
5865
  # Specifies the earliest point in time you can restore your table to.
5858
5866
  # You can restore your table to any point in time during the last 35
@@ -5868,6 +5876,7 @@ module Aws::DynamoDB
5868
5876
  #
5869
5877
  class PointInTimeRecoveryDescription < Struct.new(
5870
5878
  :point_in_time_recovery_status,
5879
+ :recovery_period_in_days,
5871
5880
  :earliest_restorable_date_time,
5872
5881
  :latest_restorable_date_time)
5873
5882
  SENSITIVE = []
@@ -5881,10 +5890,19 @@ module Aws::DynamoDB
5881
5890
  # disabled (false) on the table.
5882
5891
  # @return [Boolean]
5883
5892
  #
5893
+ # @!attribute [rw] recovery_period_in_days
5894
+ # The number of preceding days for which continuous backups are taken
5895
+ # and maintained. Your table data is only recoverable to any
5896
+ # point-in-time from within the configured recovery period. This
5897
+ # parameter is optional. If no value is provided, the value will
5898
+ # default to 35.
5899
+ # @return [Integer]
5900
+ #
5884
5901
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PointInTimeRecoverySpecification AWS API Documentation
5885
5902
  #
5886
5903
  class PointInTimeRecoverySpecification < Struct.new(
5887
- :point_in_time_recovery_enabled)
5904
+ :point_in_time_recovery_enabled,
5905
+ :recovery_period_in_days)
5888
5906
  SENSITIVE = []
5889
5907
  include Aws::Structure
5890
5908
  end
@@ -56,7 +56,7 @@ module Aws::DynamoDB
56
56
  autoload :Endpoints, 'aws-sdk-dynamodb/endpoints'
57
57
  autoload :Table, 'aws-sdk-dynamodb/table'
58
58
 
59
- GEM_VERSION = '1.132.0'
59
+ GEM_VERSION = '1.134.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -40,7 +40,9 @@ module Aws
40
40
  ?logger: untyped,
41
41
  ?max_attempts: Integer,
42
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
43
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
44
46
  ?retry_backoff: Proc,
45
47
  ?retry_base_delay: Float,
46
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -1098,7 +1100,8 @@ module Aws
1098
1100
  def update_continuous_backups: (
1099
1101
  table_name: ::String,
1100
1102
  point_in_time_recovery_specification: {
1101
- point_in_time_recovery_enabled: bool
1103
+ point_in_time_recovery_enabled: bool,
1104
+ recovery_period_in_days: ::Integer?
1102
1105
  }
1103
1106
  ) -> _UpdateContinuousBackupsResponseSuccess
1104
1107
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContinuousBackupsResponseSuccess
data/sig/resource.rbs CHANGED
@@ -40,7 +40,9 @@ module Aws
40
40
  ?logger: untyped,
41
41
  ?max_attempts: Integer,
42
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
43
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
44
46
  ?retry_backoff: Proc,
45
47
  ?retry_base_delay: Float,
46
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -1096,6 +1096,7 @@ module Aws::DynamoDB
1096
1096
 
1097
1097
  class PointInTimeRecoveryDescription
1098
1098
  attr_accessor point_in_time_recovery_status: ("ENABLED" | "DISABLED")
1099
+ attr_accessor recovery_period_in_days: ::Integer
1099
1100
  attr_accessor earliest_restorable_date_time: ::Time
1100
1101
  attr_accessor latest_restorable_date_time: ::Time
1101
1102
  SENSITIVE: []
@@ -1103,6 +1104,7 @@ module Aws::DynamoDB
1103
1104
 
1104
1105
  class PointInTimeRecoverySpecification
1105
1106
  attr_accessor point_in_time_recovery_enabled: bool
1107
+ attr_accessor recovery_period_in_days: ::Integer
1106
1108
  SENSITIVE: []
1107
1109
  end
1108
1110
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.132.0
4
+ version: 1.134.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: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement