aws-sdk-dynamodb 1.132.0 → 1.133.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +13 -7
- data/lib/aws-sdk-dynamodb/client_api.rb +3 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-dynamodb/types.rb +19 -1
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +2 -1
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ff9a8ce54ccece612e609cbd88a4231716e500f325e314df057886b6895ab02
|
4
|
+
data.tar.gz: d723ebd4bb9bc0948771777e65cbd22f1463285fcf820101607c07e7ccd8a82b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c64660d85c146b6d89c658a21aef6c5e67f3bfac5bea463450d4c44ff1c41ac75beada3567c16441fb8b384ce52061fe6d2b78461bb203590543271f239f64a
|
7
|
+
data.tar.gz: b7117bdaf93c8b76489fe6bd7b7629de207f64f4a8bc225505cabba21f784caaba12f236f2d7b32180b53c46803b4e8d2c5337ccc60e569c856ea6fec39ea215
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.133.0 (2025-01-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
4
9
|
1.132.0 (2024-12-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.133.0
|
@@ -2542,8 +2542,9 @@ module Aws::DynamoDB
|
|
2542
2542
|
# and `LatestRestorableDateTime`.
|
2543
2543
|
#
|
2544
2544
|
# `LatestRestorableDateTime` is typically 5 minutes before the current
|
2545
|
-
# time. You can restore your table to any point in time
|
2546
|
-
#
|
2545
|
+
# time. You can restore your table to any point in time in the last 35
|
2546
|
+
# days. You can set the recovery period to any value between 1 and 35
|
2547
|
+
# days.
|
2547
2548
|
#
|
2548
2549
|
# You can call `DescribeContinuousBackups` at a maximum rate of 10 times
|
2549
2550
|
# per second.
|
@@ -2569,6 +2570,7 @@ module Aws::DynamoDB
|
|
2569
2570
|
#
|
2570
2571
|
# resp.continuous_backups_description.continuous_backups_status #=> String, one of "ENABLED", "DISABLED"
|
2571
2572
|
# resp.continuous_backups_description.point_in_time_recovery_description.point_in_time_recovery_status #=> String, one of "ENABLED", "DISABLED"
|
2573
|
+
# resp.continuous_backups_description.point_in_time_recovery_description.recovery_period_in_days #=> Integer
|
2572
2574
|
# resp.continuous_backups_description.point_in_time_recovery_description.earliest_restorable_date_time #=> Time
|
2573
2575
|
# resp.continuous_backups_description.point_in_time_recovery_description.latest_restorable_date_time #=> Time
|
2574
2576
|
#
|
@@ -5884,8 +5886,9 @@ module Aws::DynamoDB
|
|
5884
5886
|
|
5885
5887
|
# Restores the specified table to the specified point in time within
|
5886
5888
|
# `EarliestRestorableDateTime` and `LatestRestorableDateTime`. You can
|
5887
|
-
# restore your table to any point in time
|
5888
|
-
#
|
5889
|
+
# restore your table to any point in time in the last 35 days. You can
|
5890
|
+
# set the recovery period to any value between 1 and 35 days. Any number
|
5891
|
+
# of users can execute up to 50 concurrent restores (any type of
|
5889
5892
|
# restore) in a given account.
|
5890
5893
|
#
|
5891
5894
|
# When you restore using point in time recovery, DynamoDB restores your
|
@@ -7037,8 +7040,9 @@ module Aws::DynamoDB
|
|
7037
7040
|
# and `LatestRestorableDateTime`.
|
7038
7041
|
#
|
7039
7042
|
# `LatestRestorableDateTime` is typically 5 minutes before the current
|
7040
|
-
# time. You can restore your table to any point in time
|
7041
|
-
#
|
7043
|
+
# time. You can restore your table to any point in time in the last 35
|
7044
|
+
# days. You can set the recovery period to any value between 1 and 35
|
7045
|
+
# days.
|
7042
7046
|
#
|
7043
7047
|
# @option params [required, String] :table_name
|
7044
7048
|
# The name of the table. You can also provide the Amazon Resource Name
|
@@ -7057,6 +7061,7 @@ module Aws::DynamoDB
|
|
7057
7061
|
# table_name: "TableArn", # required
|
7058
7062
|
# point_in_time_recovery_specification: { # required
|
7059
7063
|
# point_in_time_recovery_enabled: false, # required
|
7064
|
+
# recovery_period_in_days: 1,
|
7060
7065
|
# },
|
7061
7066
|
# })
|
7062
7067
|
#
|
@@ -7064,6 +7069,7 @@ module Aws::DynamoDB
|
|
7064
7069
|
#
|
7065
7070
|
# resp.continuous_backups_description.continuous_backups_status #=> String, one of "ENABLED", "DISABLED"
|
7066
7071
|
# resp.continuous_backups_description.point_in_time_recovery_description.point_in_time_recovery_status #=> String, one of "ENABLED", "DISABLED"
|
7072
|
+
# resp.continuous_backups_description.point_in_time_recovery_description.recovery_period_in_days #=> Integer
|
7067
7073
|
# resp.continuous_backups_description.point_in_time_recovery_description.earliest_restorable_date_time #=> Time
|
7068
7074
|
# resp.continuous_backups_description.point_in_time_recovery_description.latest_restorable_date_time #=> Time
|
7069
7075
|
#
|
@@ -8596,7 +8602,7 @@ module Aws::DynamoDB
|
|
8596
8602
|
tracer: tracer
|
8597
8603
|
)
|
8598
8604
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8599
|
-
context[:gem_version] = '1.
|
8605
|
+
context[:gem_version] = '1.133.0'
|
8600
8606
|
Seahorse::Client::Request.new(handlers, context)
|
8601
8607
|
end
|
8602
8608
|
|
@@ -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"=>[{"
|
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
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1098,7 +1098,8 @@ module Aws
|
|
1098
1098
|
def update_continuous_backups: (
|
1099
1099
|
table_name: ::String,
|
1100
1100
|
point_in_time_recovery_specification: {
|
1101
|
-
point_in_time_recovery_enabled: bool
|
1101
|
+
point_in_time_recovery_enabled: bool,
|
1102
|
+
recovery_period_in_days: ::Integer?
|
1102
1103
|
}
|
1103
1104
|
) -> _UpdateContinuousBackupsResponseSuccess
|
1104
1105
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContinuousBackupsResponseSuccess
|
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.
|
4
|
+
version: 1.133.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:
|
11
|
+
date: 2025-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|