aws-sdk-dynamodb 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +39 -14
- data/lib/aws-sdk-dynamodb/client_api.rb +4 -0
- data/lib/aws-sdk-dynamodb/types.rb +35 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c0e9c661cab9066b163a55f546cfe7b1c86f3bf
|
4
|
+
data.tar.gz: 4a9c365439cadc2f939f22d9b58d7c725c9e9ce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 209b35e788d7886cbc4d6b6253a8413b2100c88190313c855271f1d6a8735404c859015bc15a3a1ebba375e10766b4e7472d1e97f399a83b4e112a8a98546c3c
|
7
|
+
data.tar.gz: 1fe32b91472ea916089d2e40124e352fdc0854e71848421bb2169b1c990a3861291a3f677169265ffa4c214d4697594bc7affb6224791131e08f4ac767502280
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -806,20 +806,18 @@ module Aws::DynamoDB
|
|
806
806
|
# a replication relationship between two or more DynamoDB tables with
|
807
807
|
# the same table name in the provided regions.
|
808
808
|
#
|
809
|
-
#
|
810
|
-
#
|
809
|
+
# If you want to add a new replica table to a global table, each of the
|
810
|
+
# following conditions must be true:
|
811
811
|
#
|
812
|
-
# * The
|
812
|
+
# * The table must have the same primary key as all of the other
|
813
|
+
# replicas.
|
813
814
|
#
|
814
|
-
# * The
|
815
|
+
# * The table must have the same name as all of the other replicas.
|
815
816
|
#
|
816
|
-
# * The
|
817
|
+
# * The table must have DynamoDB Streams enabled, with the stream
|
818
|
+
# containing both the new and the old images of the item.
|
817
819
|
#
|
818
|
-
# *
|
819
|
-
# (NEW\_AND\_OLD\_IMAGES).
|
820
|
-
#
|
821
|
-
# * The tables must have same provisioned and maximum write capacity
|
822
|
-
# units.
|
820
|
+
# * None of the replica tables in the global table can contain any data.
|
823
821
|
#
|
824
822
|
# If global secondary indexes are specified, then the following
|
825
823
|
# conditions must also be met:
|
@@ -829,8 +827,15 @@ module Aws::DynamoDB
|
|
829
827
|
# * The global secondary indexes must have the same hash key and sort
|
830
828
|
# key (if present).
|
831
829
|
#
|
832
|
-
#
|
833
|
-
#
|
830
|
+
# Write capacity settings should be set consistently across your replica
|
831
|
+
# tables and secondary indexes. DynamoDB strongly recommends enabling
|
832
|
+
# auto scaling to manage the write capacity settings for all of your
|
833
|
+
# global tables replicas and indexes.
|
834
|
+
#
|
835
|
+
# If you prefer to manage write capacity settings manually, you should
|
836
|
+
# provision equal replicated write capacity units to your replica
|
837
|
+
# tables. You should also provision equal replicated write capacity
|
838
|
+
# units to matching secondary indexes across your global table.
|
834
839
|
#
|
835
840
|
# @option params [required, String] :global_table_name
|
836
841
|
# The global table name.
|
@@ -1254,6 +1259,8 @@ module Aws::DynamoDB
|
|
1254
1259
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
1255
1260
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
1256
1261
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1262
|
+
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1263
|
+
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
1257
1264
|
#
|
1258
1265
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
1259
1266
|
#
|
@@ -1322,6 +1329,8 @@ module Aws::DynamoDB
|
|
1322
1329
|
# resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
1323
1330
|
# resp.backup_description.source_table_feature_details.time_to_live_description.attribute_name #=> String
|
1324
1331
|
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1332
|
+
# resp.backup_description.source_table_feature_details.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1333
|
+
# resp.backup_description.source_table_feature_details.sse_description.kms_master_key_arn #=> String
|
1325
1334
|
#
|
1326
1335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup AWS API Documentation
|
1327
1336
|
#
|
@@ -1719,6 +1728,8 @@ module Aws::DynamoDB
|
|
1719
1728
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
1720
1729
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
1721
1730
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1731
|
+
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1732
|
+
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
1722
1733
|
#
|
1723
1734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
1724
1735
|
#
|
@@ -1788,6 +1799,8 @@ module Aws::DynamoDB
|
|
1788
1799
|
# resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
1789
1800
|
# resp.backup_description.source_table_feature_details.time_to_live_description.attribute_name #=> String
|
1790
1801
|
# resp.backup_description.source_table_feature_details.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1802
|
+
# resp.backup_description.source_table_feature_details.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
1803
|
+
# resp.backup_description.source_table_feature_details.sse_description.kms_master_key_arn #=> String
|
1791
1804
|
#
|
1792
1805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup AWS API Documentation
|
1793
1806
|
#
|
@@ -2154,6 +2167,8 @@ module Aws::DynamoDB
|
|
2154
2167
|
# resp.table.restore_summary.restore_date_time #=> Time
|
2155
2168
|
# resp.table.restore_summary.restore_in_progress #=> Boolean
|
2156
2169
|
# resp.table.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
2170
|
+
# resp.table.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
2171
|
+
# resp.table.sse_description.kms_master_key_arn #=> String
|
2157
2172
|
#
|
2158
2173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable AWS API Documentation
|
2159
2174
|
#
|
@@ -2418,7 +2433,11 @@ module Aws::DynamoDB
|
|
2418
2433
|
# `TimeRangeUpperBound` is exclusive.
|
2419
2434
|
#
|
2420
2435
|
# @option params [String] :exclusive_start_backup_arn
|
2421
|
-
# `
|
2436
|
+
# `LastEvaluatedBackupArn` is the ARN of the backup last evaluated when
|
2437
|
+
# the current page of results was returned, inclusive of the current
|
2438
|
+
# page of results. This value may be specified as the
|
2439
|
+
# `ExclusiveStartBackupArn` of a new `ListBackups` operation in order to
|
2440
|
+
# fetch the next page of results.
|
2422
2441
|
#
|
2423
2442
|
# @return [Types::ListBackupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2424
2443
|
#
|
@@ -3562,6 +3581,8 @@ module Aws::DynamoDB
|
|
3562
3581
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
3563
3582
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
3564
3583
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
3584
|
+
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
3585
|
+
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
3565
3586
|
#
|
3566
3587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
3567
3588
|
#
|
@@ -3697,6 +3718,8 @@ module Aws::DynamoDB
|
|
3697
3718
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
3698
3719
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
3699
3720
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
3721
|
+
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
3722
|
+
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
3700
3723
|
#
|
3701
3724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
3702
3725
|
#
|
@@ -5043,6 +5066,8 @@ module Aws::DynamoDB
|
|
5043
5066
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
5044
5067
|
# resp.table_description.restore_summary.restore_in_progress #=> Boolean
|
5045
5068
|
# resp.table_description.sse_description.status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
5069
|
+
# resp.table_description.sse_description.sse_type #=> String, one of "AES256", "KMS"
|
5070
|
+
# resp.table_description.sse_description.kms_master_key_arn #=> String
|
5046
5071
|
#
|
5047
5072
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
5048
5073
|
#
|
@@ -5138,7 +5163,7 @@ module Aws::DynamoDB
|
|
5138
5163
|
params: params,
|
5139
5164
|
config: config)
|
5140
5165
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
5141
|
-
context[:gem_version] = '1.
|
5166
|
+
context[:gem_version] = '1.7.0'
|
5142
5167
|
Seahorse::Client::Request.new(handlers, context)
|
5143
5168
|
end
|
5144
5169
|
|
@@ -132,6 +132,7 @@ module Aws::DynamoDB
|
|
132
132
|
ItemCollectionSizeLimitExceededException = Shapes::StructureShape.new(name: 'ItemCollectionSizeLimitExceededException')
|
133
133
|
ItemCount = Shapes::IntegerShape.new(name: 'ItemCount')
|
134
134
|
ItemList = Shapes::ListShape.new(name: 'ItemList')
|
135
|
+
KMSMasterKeyArn = Shapes::StringShape.new(name: 'KMSMasterKeyArn')
|
135
136
|
Key = Shapes::MapShape.new(name: 'Key')
|
136
137
|
KeyConditions = Shapes::MapShape.new(name: 'KeyConditions')
|
137
138
|
KeyExpression = Shapes::StringShape.new(name: 'KeyExpression')
|
@@ -218,6 +219,7 @@ module Aws::DynamoDB
|
|
218
219
|
SSEEnabled = Shapes::BooleanShape.new(name: 'SSEEnabled')
|
219
220
|
SSESpecification = Shapes::StructureShape.new(name: 'SSESpecification')
|
220
221
|
SSEStatus = Shapes::StringShape.new(name: 'SSEStatus')
|
222
|
+
SSEType = Shapes::StringShape.new(name: 'SSEType')
|
221
223
|
ScalarAttributeType = Shapes::StringShape.new(name: 'ScalarAttributeType')
|
222
224
|
ScanInput = Shapes::StructureShape.new(name: 'ScanInput')
|
223
225
|
ScanOutput = Shapes::StructureShape.new(name: 'ScanOutput')
|
@@ -833,6 +835,8 @@ module Aws::DynamoDB
|
|
833
835
|
RestoreTableToPointInTimeOutput.struct_class = Types::RestoreTableToPointInTimeOutput
|
834
836
|
|
835
837
|
SSEDescription.add_member(:status, Shapes::ShapeRef.new(shape: SSEStatus, location_name: "Status"))
|
838
|
+
SSEDescription.add_member(:sse_type, Shapes::ShapeRef.new(shape: SSEType, location_name: "SSEType"))
|
839
|
+
SSEDescription.add_member(:kms_master_key_arn, Shapes::ShapeRef.new(shape: KMSMasterKeyArn, location_name: "KMSMasterKeyArn"))
|
836
840
|
SSEDescription.struct_class = Types::SSEDescription
|
837
841
|
|
838
842
|
SSESpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: SSEEnabled, required: true, location_name: "Enabled"))
|
@@ -1961,8 +1961,8 @@ module Aws::DynamoDB
|
|
1961
1961
|
end
|
1962
1962
|
|
1963
1963
|
# @!attribute [rw] continuous_backups_description
|
1964
|
-
#
|
1965
|
-
#
|
1964
|
+
# Represents the continuous backups and point in time recovery
|
1965
|
+
# settings on the table.
|
1966
1966
|
# @return [Types::ContinuousBackupsDescription]
|
1967
1967
|
#
|
1968
1968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackupsOutput AWS API Documentation
|
@@ -3238,7 +3238,11 @@ module Aws::DynamoDB
|
|
3238
3238
|
# @return [Time]
|
3239
3239
|
#
|
3240
3240
|
# @!attribute [rw] exclusive_start_backup_arn
|
3241
|
-
# `
|
3241
|
+
# `LastEvaluatedBackupArn` is the ARN of the backup last evaluated
|
3242
|
+
# when the current page of results was returned, inclusive of the
|
3243
|
+
# current page of results. This value may be specified as the
|
3244
|
+
# `ExclusiveStartBackupArn` of a new `ListBackups` operation in order
|
3245
|
+
# to fetch the next page of results.
|
3242
3246
|
# @return [String]
|
3243
3247
|
#
|
3244
3248
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsInput AWS API Documentation
|
@@ -3257,7 +3261,18 @@ module Aws::DynamoDB
|
|
3257
3261
|
# @return [Array<Types::BackupSummary>]
|
3258
3262
|
#
|
3259
3263
|
# @!attribute [rw] last_evaluated_backup_arn
|
3260
|
-
#
|
3264
|
+
# The ARN of the backup last evaluated when the current page of
|
3265
|
+
# results was returned, inclusive of the current page of results. This
|
3266
|
+
# value may be specified as the `ExclusiveStartBackupArn` of a new
|
3267
|
+
# `ListBackups` operation in order to fetch the next page of results.
|
3268
|
+
#
|
3269
|
+
# If `LastEvaluatedBackupArn` is empty, then the last page of results
|
3270
|
+
# has been processed and there are no more results to be retrieved.
|
3271
|
+
#
|
3272
|
+
# If `LastEvaluatedBackupArn` is not empty, this may or may not
|
3273
|
+
# indicate there is more data to be returned. All results are
|
3274
|
+
# guaranteed to have been returned if and only if no value for
|
3275
|
+
# `LastEvaluatedBackupArn` is returned.
|
3261
3276
|
# @return [String]
|
3262
3277
|
#
|
3263
3278
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackupsOutput AWS API Documentation
|
@@ -4998,10 +5013,25 @@ module Aws::DynamoDB
|
|
4998
5013
|
# * `DISABLED` - Server-side encryption is disabled.
|
4999
5014
|
# @return [String]
|
5000
5015
|
#
|
5016
|
+
# @!attribute [rw] sse_type
|
5017
|
+
# Server-side encryption type:
|
5018
|
+
#
|
5019
|
+
# * `AES256` - Server-side encryption which uses the AES256 algorithm.
|
5020
|
+
#
|
5021
|
+
# * `KMS` - Server-side encryption which uses AWS Key Management
|
5022
|
+
# Service.
|
5023
|
+
# @return [String]
|
5024
|
+
#
|
5025
|
+
# @!attribute [rw] kms_master_key_arn
|
5026
|
+
# The KMS master key ARN used for the KMS encryption.
|
5027
|
+
# @return [String]
|
5028
|
+
#
|
5001
5029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
|
5002
5030
|
#
|
5003
5031
|
class SSEDescription < Struct.new(
|
5004
|
-
:status
|
5032
|
+
:status,
|
5033
|
+
:sse_type,
|
5034
|
+
:kms_master_key_arn)
|
5005
5035
|
include Aws::Structure
|
5006
5036
|
end
|
5007
5037
|
|
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.7.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: 2018-
|
11
|
+
date: 2018-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|