aws-sdk-dynamodb 1.42.0 → 1.43.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/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +32 -4
- data/lib/aws-sdk-dynamodb/client_api.rb +4 -1
- data/lib/aws-sdk-dynamodb/types.rb +38 -4
- 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: 2a29c7d04016d4b5b0577262f03cc89fe91aaaa8
|
4
|
+
data.tar.gz: bdc53c73f6db7ac2c1010b0070f6e0d42e5087d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b7075c7078996a6d0cb4dbd61a5ef52c9b791fb50e1d98b2183aa5220d485eb850ed1701f95995e61ec90ad4aba864fb798eebebd8fe0743e46795af9cfe365
|
7
|
+
data.tar.gz: c5ec5f2e66e1aea0cf3cd72d25b1953ead68b7032350d335e574ef2f623ce8924c7d92b89900f63b9d0aeba350c512d4f434201cc83a85883915fd0148322c13
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -2960,7 +2960,14 @@ module Aws::DynamoDB
|
|
2960
2960
|
# The first global table name that this operation will evaluate.
|
2961
2961
|
#
|
2962
2962
|
# @option params [Integer] :limit
|
2963
|
-
# The maximum number of table names to return
|
2963
|
+
# The maximum number of table names to return, if the parameter is not
|
2964
|
+
# specified DynamoDB defaults to 100.
|
2965
|
+
#
|
2966
|
+
# If the number of global tables DynamoDB finds reaches this limit, it
|
2967
|
+
# stops the operation and returns the table names collected up to that
|
2968
|
+
# point, with a table name in the `LastEvaluatedGlobalTableName` to
|
2969
|
+
# apply in a subsequent operation to the `ExclusiveStartGlobalTableName`
|
2970
|
+
# parameter.
|
2964
2971
|
#
|
2965
2972
|
# @option params [String] :region_name
|
2966
2973
|
# Lists the global tables in a specific Region.
|
@@ -4012,6 +4019,9 @@ module Aws::DynamoDB
|
|
4012
4019
|
# @option params [Types::ProvisionedThroughput] :provisioned_throughput_override
|
4013
4020
|
# Provisioned throughput settings for the restored table.
|
4014
4021
|
#
|
4022
|
+
# @option params [Types::SSESpecification] :sse_specification_override
|
4023
|
+
# The new server-side encryption settings for the restored table.
|
4024
|
+
#
|
4015
4025
|
# @return [Types::RestoreTableFromBackupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4016
4026
|
#
|
4017
4027
|
# * {Types::RestoreTableFromBackupOutput#table_description #table_description} => Types::TableDescription
|
@@ -4060,6 +4070,11 @@ module Aws::DynamoDB
|
|
4060
4070
|
# read_capacity_units: 1, # required
|
4061
4071
|
# write_capacity_units: 1, # required
|
4062
4072
|
# },
|
4073
|
+
# sse_specification_override: {
|
4074
|
+
# enabled: false,
|
4075
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
4076
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
4077
|
+
# },
|
4063
4078
|
# })
|
4064
4079
|
#
|
4065
4080
|
# @example Response structure
|
@@ -4189,7 +4204,11 @@ module Aws::DynamoDB
|
|
4189
4204
|
#
|
4190
4205
|
# * Point in time recovery settings
|
4191
4206
|
#
|
4192
|
-
# @option params [
|
4207
|
+
# @option params [String] :source_table_arn
|
4208
|
+
# The DynamoDB table that will be restored. This value is an Amazon
|
4209
|
+
# Resource Name (ARN).
|
4210
|
+
#
|
4211
|
+
# @option params [String] :source_table_name
|
4193
4212
|
# Name of the source table that is being restored.
|
4194
4213
|
#
|
4195
4214
|
# @option params [required, String] :target_table_name
|
@@ -4219,6 +4238,9 @@ module Aws::DynamoDB
|
|
4219
4238
|
# @option params [Types::ProvisionedThroughput] :provisioned_throughput_override
|
4220
4239
|
# Provisioned throughput settings for the restored table.
|
4221
4240
|
#
|
4241
|
+
# @option params [Types::SSESpecification] :sse_specification_override
|
4242
|
+
# The new server-side encryption settings for the restored table.
|
4243
|
+
#
|
4222
4244
|
# @return [Types::RestoreTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4223
4245
|
#
|
4224
4246
|
# * {Types::RestoreTableToPointInTimeOutput#table_description #table_description} => Types::TableDescription
|
@@ -4226,7 +4248,8 @@ module Aws::DynamoDB
|
|
4226
4248
|
# @example Request syntax with placeholder values
|
4227
4249
|
#
|
4228
4250
|
# resp = client.restore_table_to_point_in_time({
|
4229
|
-
#
|
4251
|
+
# source_table_arn: "TableArn",
|
4252
|
+
# source_table_name: "TableName",
|
4230
4253
|
# target_table_name: "TableName", # required
|
4231
4254
|
# use_latest_restorable_time: false,
|
4232
4255
|
# restore_date_time: Time.now,
|
@@ -4269,6 +4292,11 @@ module Aws::DynamoDB
|
|
4269
4292
|
# read_capacity_units: 1, # required
|
4270
4293
|
# write_capacity_units: 1, # required
|
4271
4294
|
# },
|
4295
|
+
# sse_specification_override: {
|
4296
|
+
# enabled: false,
|
4297
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
4298
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
4299
|
+
# },
|
4272
4300
|
# })
|
4273
4301
|
#
|
4274
4302
|
# @example Response structure
|
@@ -6533,7 +6561,7 @@ module Aws::DynamoDB
|
|
6533
6561
|
params: params,
|
6534
6562
|
config: config)
|
6535
6563
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
6536
|
-
context[:gem_version] = '1.
|
6564
|
+
context[:gem_version] = '1.43.0'
|
6537
6565
|
Seahorse::Client::Request.new(handlers, context)
|
6538
6566
|
end
|
6539
6567
|
|
@@ -1203,12 +1203,14 @@ module Aws::DynamoDB
|
|
1203
1203
|
RestoreTableFromBackupInput.add_member(:global_secondary_index_override, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexOverride"))
|
1204
1204
|
RestoreTableFromBackupInput.add_member(:local_secondary_index_override, Shapes::ShapeRef.new(shape: LocalSecondaryIndexList, location_name: "LocalSecondaryIndexOverride"))
|
1205
1205
|
RestoreTableFromBackupInput.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughputOverride"))
|
1206
|
+
RestoreTableFromBackupInput.add_member(:sse_specification_override, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecificationOverride"))
|
1206
1207
|
RestoreTableFromBackupInput.struct_class = Types::RestoreTableFromBackupInput
|
1207
1208
|
|
1208
1209
|
RestoreTableFromBackupOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
1209
1210
|
RestoreTableFromBackupOutput.struct_class = Types::RestoreTableFromBackupOutput
|
1210
1211
|
|
1211
|
-
RestoreTableToPointInTimeInput.add_member(:
|
1212
|
+
RestoreTableToPointInTimeInput.add_member(:source_table_arn, Shapes::ShapeRef.new(shape: TableArn, location_name: "SourceTableArn"))
|
1213
|
+
RestoreTableToPointInTimeInput.add_member(:source_table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "SourceTableName"))
|
1212
1214
|
RestoreTableToPointInTimeInput.add_member(:target_table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TargetTableName"))
|
1213
1215
|
RestoreTableToPointInTimeInput.add_member(:use_latest_restorable_time, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UseLatestRestorableTime"))
|
1214
1216
|
RestoreTableToPointInTimeInput.add_member(:restore_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "RestoreDateTime"))
|
@@ -1216,6 +1218,7 @@ module Aws::DynamoDB
|
|
1216
1218
|
RestoreTableToPointInTimeInput.add_member(:global_secondary_index_override, Shapes::ShapeRef.new(shape: GlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexOverride"))
|
1217
1219
|
RestoreTableToPointInTimeInput.add_member(:local_secondary_index_override, Shapes::ShapeRef.new(shape: LocalSecondaryIndexList, location_name: "LocalSecondaryIndexOverride"))
|
1218
1220
|
RestoreTableToPointInTimeInput.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughputOverride"))
|
1221
|
+
RestoreTableToPointInTimeInput.add_member(:sse_specification_override, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecificationOverride"))
|
1219
1222
|
RestoreTableToPointInTimeInput.struct_class = Types::RestoreTableToPointInTimeInput
|
1220
1223
|
|
1221
1224
|
RestoreTableToPointInTimeOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
@@ -4483,7 +4483,14 @@ module Aws::DynamoDB
|
|
4483
4483
|
# @return [String]
|
4484
4484
|
#
|
4485
4485
|
# @!attribute [rw] limit
|
4486
|
-
# The maximum number of table names to return
|
4486
|
+
# The maximum number of table names to return, if the parameter is not
|
4487
|
+
# specified DynamoDB defaults to 100.
|
4488
|
+
#
|
4489
|
+
# If the number of global tables DynamoDB finds reaches this limit, it
|
4490
|
+
# stops the operation and returns the table names collected up to that
|
4491
|
+
# point, with a table name in the `LastEvaluatedGlobalTableName` to
|
4492
|
+
# apply in a subsequent operation to the
|
4493
|
+
# `ExclusiveStartGlobalTableName` parameter.
|
4487
4494
|
# @return [Integer]
|
4488
4495
|
#
|
4489
4496
|
# @!attribute [rw] region_name
|
@@ -6785,6 +6792,11 @@ module Aws::DynamoDB
|
|
6785
6792
|
# read_capacity_units: 1, # required
|
6786
6793
|
# write_capacity_units: 1, # required
|
6787
6794
|
# },
|
6795
|
+
# sse_specification_override: {
|
6796
|
+
# enabled: false,
|
6797
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
6798
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
6799
|
+
# },
|
6788
6800
|
# }
|
6789
6801
|
#
|
6790
6802
|
# @!attribute [rw] target_table_name
|
@@ -6815,6 +6827,10 @@ module Aws::DynamoDB
|
|
6815
6827
|
# Provisioned throughput settings for the restored table.
|
6816
6828
|
# @return [Types::ProvisionedThroughput]
|
6817
6829
|
#
|
6830
|
+
# @!attribute [rw] sse_specification_override
|
6831
|
+
# The new server-side encryption settings for the restored table.
|
6832
|
+
# @return [Types::SSESpecification]
|
6833
|
+
#
|
6818
6834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackupInput AWS API Documentation
|
6819
6835
|
#
|
6820
6836
|
class RestoreTableFromBackupInput < Struct.new(
|
@@ -6823,7 +6839,8 @@ module Aws::DynamoDB
|
|
6823
6839
|
:billing_mode_override,
|
6824
6840
|
:global_secondary_index_override,
|
6825
6841
|
:local_secondary_index_override,
|
6826
|
-
:provisioned_throughput_override
|
6842
|
+
:provisioned_throughput_override,
|
6843
|
+
:sse_specification_override)
|
6827
6844
|
include Aws::Structure
|
6828
6845
|
end
|
6829
6846
|
|
@@ -6842,7 +6859,8 @@ module Aws::DynamoDB
|
|
6842
6859
|
# data as a hash:
|
6843
6860
|
#
|
6844
6861
|
# {
|
6845
|
-
#
|
6862
|
+
# source_table_arn: "TableArn",
|
6863
|
+
# source_table_name: "TableName",
|
6846
6864
|
# target_table_name: "TableName", # required
|
6847
6865
|
# use_latest_restorable_time: false,
|
6848
6866
|
# restore_date_time: Time.now,
|
@@ -6885,8 +6903,18 @@ module Aws::DynamoDB
|
|
6885
6903
|
# read_capacity_units: 1, # required
|
6886
6904
|
# write_capacity_units: 1, # required
|
6887
6905
|
# },
|
6906
|
+
# sse_specification_override: {
|
6907
|
+
# enabled: false,
|
6908
|
+
# sse_type: "AES256", # accepts AES256, KMS
|
6909
|
+
# kms_master_key_id: "KMSMasterKeyId",
|
6910
|
+
# },
|
6888
6911
|
# }
|
6889
6912
|
#
|
6913
|
+
# @!attribute [rw] source_table_arn
|
6914
|
+
# The DynamoDB table that will be restored. This value is an Amazon
|
6915
|
+
# Resource Name (ARN).
|
6916
|
+
# @return [String]
|
6917
|
+
#
|
6890
6918
|
# @!attribute [rw] source_table_name
|
6891
6919
|
# Name of the source table that is being restored.
|
6892
6920
|
# @return [String]
|
@@ -6925,9 +6953,14 @@ module Aws::DynamoDB
|
|
6925
6953
|
# Provisioned throughput settings for the restored table.
|
6926
6954
|
# @return [Types::ProvisionedThroughput]
|
6927
6955
|
#
|
6956
|
+
# @!attribute [rw] sse_specification_override
|
6957
|
+
# The new server-side encryption settings for the restored table.
|
6958
|
+
# @return [Types::SSESpecification]
|
6959
|
+
#
|
6928
6960
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTimeInput AWS API Documentation
|
6929
6961
|
#
|
6930
6962
|
class RestoreTableToPointInTimeInput < Struct.new(
|
6963
|
+
:source_table_arn,
|
6931
6964
|
:source_table_name,
|
6932
6965
|
:target_table_name,
|
6933
6966
|
:use_latest_restorable_time,
|
@@ -6935,7 +6968,8 @@ module Aws::DynamoDB
|
|
6935
6968
|
:billing_mode_override,
|
6936
6969
|
:global_secondary_index_override,
|
6937
6970
|
:local_secondary_index_override,
|
6938
|
-
:provisioned_throughput_override
|
6971
|
+
:provisioned_throughput_override,
|
6972
|
+
:sse_specification_override)
|
6939
6973
|
include Aws::Structure
|
6940
6974
|
end
|
6941
6975
|
|
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.43.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: 2020-02-
|
11
|
+
date: 2020-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|