aws-sdk-dynamodb 1.57.0 → 1.58.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 +2 -2
- data/lib/aws-sdk-dynamodb/client.rb +243 -1
- data/lib/aws-sdk-dynamodb/client_api.rb +181 -0
- data/lib/aws-sdk-dynamodb/errors.rb +16 -0
- data/lib/aws-sdk-dynamodb/types.rb +370 -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: 88025b78e2d5cea79917879192bddd5a82afddd51c9c6bcf52a74b2a32683de0
|
4
|
+
data.tar.gz: 6d53222379ecced518ce4d657447d3cf73f486e45cfed27c38aa9f74caf84b8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd9f320d278299a732168f60478b37b8cb01fd96f2c2a7a49383de9750754dd86580d954b4e2bc14c405c56ad2e759556b113f9259e087acce53ecd1bcebd251
|
7
|
+
data.tar.gz: fd25b0b3afe66481f403c2ce71a1fedf0fc913864395da5b048bbca5b1ee7406f8595cb195960a7fa73e3fb25279545a2bfc0f394e4e8e581d44c6adf7fb0e97
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -30,7 +30,7 @@ require_relative 'aws-sdk-dynamodb/customizations'
|
|
30
30
|
# structure.
|
31
31
|
#
|
32
32
|
# dynamo_db = Aws::DynamoDB::Client.new
|
33
|
-
# resp = dynamo_db.
|
33
|
+
# resp = dynamo_db.batch_execute_statement(params)
|
34
34
|
#
|
35
35
|
# See {Client} for more information.
|
36
36
|
#
|
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
|
|
50
50
|
# @!group service
|
51
51
|
module Aws::DynamoDB
|
52
52
|
|
53
|
-
GEM_VERSION = '1.
|
53
|
+
GEM_VERSION = '1.58.0'
|
54
54
|
|
55
55
|
end
|
@@ -356,6 +356,46 @@ module Aws::DynamoDB
|
|
356
356
|
|
357
357
|
# @!group API Operations
|
358
358
|
|
359
|
+
# This operation allows you to perform batch reads and writes on data
|
360
|
+
# stored in DynamoDB, using PartiQL.
|
361
|
+
#
|
362
|
+
# @option params [required, Array<Types::BatchStatementRequest>] :statements
|
363
|
+
# The list of PartiQL statements representing the batch to run.
|
364
|
+
#
|
365
|
+
# @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
366
|
+
#
|
367
|
+
# * {Types::BatchExecuteStatementOutput#responses #responses} => Array<Types::BatchStatementResponse>
|
368
|
+
#
|
369
|
+
# @example Request syntax with placeholder values
|
370
|
+
#
|
371
|
+
# resp = client.batch_execute_statement({
|
372
|
+
# statements: [ # required
|
373
|
+
# {
|
374
|
+
# statement: "PartiQLStatement", # required
|
375
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
376
|
+
# consistent_read: false,
|
377
|
+
# },
|
378
|
+
# ],
|
379
|
+
# })
|
380
|
+
#
|
381
|
+
# @example Response structure
|
382
|
+
#
|
383
|
+
# resp.responses #=> Array
|
384
|
+
# resp.responses[0].error.code #=> String, one of "ConditionalCheckFailed", "ItemCollectionSizeLimitExceeded", "RequestLimitExceeded", "ValidationError", "ProvisionedThroughputExceeded", "TransactionConflict", "ThrottlingError", "InternalServerError", "ResourceNotFound", "AccessDenied", "DuplicateItem"
|
385
|
+
# resp.responses[0].error.message #=> String
|
386
|
+
# resp.responses[0].table_name #=> String
|
387
|
+
# resp.responses[0].item #=> Hash
|
388
|
+
# resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
389
|
+
#
|
390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatement AWS API Documentation
|
391
|
+
#
|
392
|
+
# @overload batch_execute_statement(params = {})
|
393
|
+
# @param [Hash] params ({})
|
394
|
+
def batch_execute_statement(params = {}, options = {})
|
395
|
+
req = build_request(:batch_execute_statement, params)
|
396
|
+
req.send_request(options)
|
397
|
+
end
|
398
|
+
|
359
399
|
# The `BatchGetItem` operation returns the attributes of one or more
|
360
400
|
# items from one or more tables. You identify requested items by primary
|
361
401
|
# key.
|
@@ -2383,6 +2423,39 @@ module Aws::DynamoDB
|
|
2383
2423
|
req.send_request(options)
|
2384
2424
|
end
|
2385
2425
|
|
2426
|
+
# Returns information about the status of Kinesis streaming.
|
2427
|
+
#
|
2428
|
+
# @option params [required, String] :table_name
|
2429
|
+
# The name of the table being described.
|
2430
|
+
#
|
2431
|
+
# @return [Types::DescribeKinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2432
|
+
#
|
2433
|
+
# * {Types::DescribeKinesisStreamingDestinationOutput#table_name #table_name} => String
|
2434
|
+
# * {Types::DescribeKinesisStreamingDestinationOutput#kinesis_data_stream_destinations #kinesis_data_stream_destinations} => Array<Types::KinesisDataStreamDestination>
|
2435
|
+
#
|
2436
|
+
# @example Request syntax with placeholder values
|
2437
|
+
#
|
2438
|
+
# resp = client.describe_kinesis_streaming_destination({
|
2439
|
+
# table_name: "TableName", # required
|
2440
|
+
# })
|
2441
|
+
#
|
2442
|
+
# @example Response structure
|
2443
|
+
#
|
2444
|
+
# resp.table_name #=> String
|
2445
|
+
# resp.kinesis_data_stream_destinations #=> Array
|
2446
|
+
# resp.kinesis_data_stream_destinations[0].stream_arn #=> String
|
2447
|
+
# resp.kinesis_data_stream_destinations[0].destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED"
|
2448
|
+
# resp.kinesis_data_stream_destinations[0].destination_status_description #=> String
|
2449
|
+
#
|
2450
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestination AWS API Documentation
|
2451
|
+
#
|
2452
|
+
# @overload describe_kinesis_streaming_destination(params = {})
|
2453
|
+
# @param [Hash] params ({})
|
2454
|
+
def describe_kinesis_streaming_destination(params = {}, options = {})
|
2455
|
+
req = build_request(:describe_kinesis_streaming_destination, params)
|
2456
|
+
req.send_request(options)
|
2457
|
+
end
|
2458
|
+
|
2386
2459
|
# Returns the current provisioned-capacity quotas for your AWS account
|
2387
2460
|
# in a Region, both for the Region as a whole and for any one DynamoDB
|
2388
2461
|
# table that you create there.
|
@@ -2772,6 +2845,175 @@ module Aws::DynamoDB
|
|
2772
2845
|
req.send_request(options)
|
2773
2846
|
end
|
2774
2847
|
|
2848
|
+
# Stops replication from the DynamoDB table to the Kinesis data stream.
|
2849
|
+
# This is done without deleting either of the resources.
|
2850
|
+
#
|
2851
|
+
# @option params [required, String] :table_name
|
2852
|
+
# The name of the DynamoDB table.
|
2853
|
+
#
|
2854
|
+
# @option params [required, String] :stream_arn
|
2855
|
+
# The ARN for a Kinesis data stream.
|
2856
|
+
#
|
2857
|
+
# @return [Types::KinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2858
|
+
#
|
2859
|
+
# * {Types::KinesisStreamingDestinationOutput#table_name #table_name} => String
|
2860
|
+
# * {Types::KinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
|
2861
|
+
# * {Types::KinesisStreamingDestinationOutput#destination_status #destination_status} => String
|
2862
|
+
#
|
2863
|
+
# @example Request syntax with placeholder values
|
2864
|
+
#
|
2865
|
+
# resp = client.disable_kinesis_streaming_destination({
|
2866
|
+
# table_name: "TableName", # required
|
2867
|
+
# stream_arn: "StreamArn", # required
|
2868
|
+
# })
|
2869
|
+
#
|
2870
|
+
# @example Response structure
|
2871
|
+
#
|
2872
|
+
# resp.table_name #=> String
|
2873
|
+
# resp.stream_arn #=> String
|
2874
|
+
# resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED"
|
2875
|
+
#
|
2876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DisableKinesisStreamingDestination AWS API Documentation
|
2877
|
+
#
|
2878
|
+
# @overload disable_kinesis_streaming_destination(params = {})
|
2879
|
+
# @param [Hash] params ({})
|
2880
|
+
def disable_kinesis_streaming_destination(params = {}, options = {})
|
2881
|
+
req = build_request(:disable_kinesis_streaming_destination, params)
|
2882
|
+
req.send_request(options)
|
2883
|
+
end
|
2884
|
+
|
2885
|
+
# Starts table data replication to the specified Kinesis data stream at
|
2886
|
+
# a timestamp chosen during the enable workflow. If this operation
|
2887
|
+
# doesn't return results immediately, use
|
2888
|
+
# DescribeKinesisStreamingDestination to check if streaming to the
|
2889
|
+
# Kinesis data stream is ACTIVE.
|
2890
|
+
#
|
2891
|
+
# @option params [required, String] :table_name
|
2892
|
+
# The name of the DynamoDB table.
|
2893
|
+
#
|
2894
|
+
# @option params [required, String] :stream_arn
|
2895
|
+
# The ARN for a Kinesis data stream.
|
2896
|
+
#
|
2897
|
+
# @return [Types::KinesisStreamingDestinationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2898
|
+
#
|
2899
|
+
# * {Types::KinesisStreamingDestinationOutput#table_name #table_name} => String
|
2900
|
+
# * {Types::KinesisStreamingDestinationOutput#stream_arn #stream_arn} => String
|
2901
|
+
# * {Types::KinesisStreamingDestinationOutput#destination_status #destination_status} => String
|
2902
|
+
#
|
2903
|
+
# @example Request syntax with placeholder values
|
2904
|
+
#
|
2905
|
+
# resp = client.enable_kinesis_streaming_destination({
|
2906
|
+
# table_name: "TableName", # required
|
2907
|
+
# stream_arn: "StreamArn", # required
|
2908
|
+
# })
|
2909
|
+
#
|
2910
|
+
# @example Response structure
|
2911
|
+
#
|
2912
|
+
# resp.table_name #=> String
|
2913
|
+
# resp.stream_arn #=> String
|
2914
|
+
# resp.destination_status #=> String, one of "ENABLING", "ACTIVE", "DISABLING", "DISABLED", "ENABLE_FAILED"
|
2915
|
+
#
|
2916
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingDestination AWS API Documentation
|
2917
|
+
#
|
2918
|
+
# @overload enable_kinesis_streaming_destination(params = {})
|
2919
|
+
# @param [Hash] params ({})
|
2920
|
+
def enable_kinesis_streaming_destination(params = {}, options = {})
|
2921
|
+
req = build_request(:enable_kinesis_streaming_destination, params)
|
2922
|
+
req.send_request(options)
|
2923
|
+
end
|
2924
|
+
|
2925
|
+
# This operation allows you to perform reads and singleton writes on
|
2926
|
+
# data stored in DynamoDB, using PartiQL.
|
2927
|
+
#
|
2928
|
+
# @option params [required, String] :statement
|
2929
|
+
# The PartiQL statement representing the operation to run.
|
2930
|
+
#
|
2931
|
+
# @option params [Array<Types::AttributeValue>] :parameters
|
2932
|
+
# The parameters for the PartiQL statement, if any.
|
2933
|
+
#
|
2934
|
+
# @option params [Boolean] :consistent_read
|
2935
|
+
# The consistency of a read operation. If set to `true`, then a strongly
|
2936
|
+
# consistent read is used; otherwise, an eventually consistent read is
|
2937
|
+
# used.
|
2938
|
+
#
|
2939
|
+
# @option params [String] :next_token
|
2940
|
+
# Set this value to get remaining results, if `NextToken` was returned
|
2941
|
+
# in the statement response.
|
2942
|
+
#
|
2943
|
+
# @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2944
|
+
#
|
2945
|
+
# * {Types::ExecuteStatementOutput#items #items} => Array<Hash<String,Types::AttributeValue>>
|
2946
|
+
# * {Types::ExecuteStatementOutput#next_token #next_token} => String
|
2947
|
+
#
|
2948
|
+
# @example Request syntax with placeholder values
|
2949
|
+
#
|
2950
|
+
# resp = client.execute_statement({
|
2951
|
+
# statement: "PartiQLStatement", # required
|
2952
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2953
|
+
# consistent_read: false,
|
2954
|
+
# next_token: "PartiQLNextToken",
|
2955
|
+
# })
|
2956
|
+
#
|
2957
|
+
# @example Response structure
|
2958
|
+
#
|
2959
|
+
# resp.items #=> Array
|
2960
|
+
# resp.items[0] #=> Hash
|
2961
|
+
# resp.items[0]["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2962
|
+
# resp.next_token #=> String
|
2963
|
+
#
|
2964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement AWS API Documentation
|
2965
|
+
#
|
2966
|
+
# @overload execute_statement(params = {})
|
2967
|
+
# @param [Hash] params ({})
|
2968
|
+
def execute_statement(params = {}, options = {})
|
2969
|
+
req = build_request(:execute_statement, params)
|
2970
|
+
req.send_request(options)
|
2971
|
+
end
|
2972
|
+
|
2973
|
+
# This operation allows you to perform transactional reads or writes on
|
2974
|
+
# data stored in DynamoDB, using PartiQL.
|
2975
|
+
#
|
2976
|
+
# @option params [required, Array<Types::ParameterizedStatement>] :transact_statements
|
2977
|
+
# The list of PartiQL statements representing the transaction to run.
|
2978
|
+
#
|
2979
|
+
# @option params [String] :client_request_token
|
2980
|
+
# Set this value to get remaining results, if `NextToken` was returned
|
2981
|
+
# in the statement response.
|
2982
|
+
#
|
2983
|
+
# **A suitable default value is auto-generated.** You should normally
|
2984
|
+
# not need to pass this option.**
|
2985
|
+
#
|
2986
|
+
# @return [Types::ExecuteTransactionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2987
|
+
#
|
2988
|
+
# * {Types::ExecuteTransactionOutput#responses #responses} => Array<Types::ItemResponse>
|
2989
|
+
#
|
2990
|
+
# @example Request syntax with placeholder values
|
2991
|
+
#
|
2992
|
+
# resp = client.execute_transaction({
|
2993
|
+
# transact_statements: [ # required
|
2994
|
+
# {
|
2995
|
+
# statement: "PartiQLStatement", # required
|
2996
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2997
|
+
# },
|
2998
|
+
# ],
|
2999
|
+
# client_request_token: "ClientRequestToken",
|
3000
|
+
# })
|
3001
|
+
#
|
3002
|
+
# @example Response structure
|
3003
|
+
#
|
3004
|
+
# resp.responses #=> Array
|
3005
|
+
# resp.responses[0].item #=> Hash
|
3006
|
+
# resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3007
|
+
#
|
3008
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransaction AWS API Documentation
|
3009
|
+
#
|
3010
|
+
# @overload execute_transaction(params = {})
|
3011
|
+
# @param [Hash] params ({})
|
3012
|
+
def execute_transaction(params = {}, options = {})
|
3013
|
+
req = build_request(:execute_transaction, params)
|
3014
|
+
req.send_request(options)
|
3015
|
+
end
|
3016
|
+
|
2775
3017
|
# Exports table data to an S3 bucket. The table must have point in time
|
2776
3018
|
# recovery enabled, and you can export data from any time within the
|
2777
3019
|
# point in time recovery window.
|
@@ -6879,7 +7121,7 @@ module Aws::DynamoDB
|
|
6879
7121
|
params: params,
|
6880
7122
|
config: config)
|
6881
7123
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
6882
|
-
context[:gem_version] = '1.
|
7124
|
+
context[:gem_version] = '1.58.0'
|
6883
7125
|
Seahorse::Client::Request.new(handlers, context)
|
6884
7126
|
end
|
6885
7127
|
|
@@ -49,10 +49,16 @@ module Aws::DynamoDB
|
|
49
49
|
BackupType = Shapes::StringShape.new(name: 'BackupType')
|
50
50
|
BackupTypeFilter = Shapes::StringShape.new(name: 'BackupTypeFilter')
|
51
51
|
BackupsInputLimit = Shapes::IntegerShape.new(name: 'BackupsInputLimit')
|
52
|
+
BatchExecuteStatementInput = Shapes::StructureShape.new(name: 'BatchExecuteStatementInput')
|
53
|
+
BatchExecuteStatementOutput = Shapes::StructureShape.new(name: 'BatchExecuteStatementOutput')
|
52
54
|
BatchGetItemInput = Shapes::StructureShape.new(name: 'BatchGetItemInput')
|
53
55
|
BatchGetItemOutput = Shapes::StructureShape.new(name: 'BatchGetItemOutput')
|
54
56
|
BatchGetRequestMap = Shapes::MapShape.new(name: 'BatchGetRequestMap')
|
55
57
|
BatchGetResponseMap = Shapes::MapShape.new(name: 'BatchGetResponseMap')
|
58
|
+
BatchStatementError = Shapes::StructureShape.new(name: 'BatchStatementError')
|
59
|
+
BatchStatementErrorCodeEnum = Shapes::StringShape.new(name: 'BatchStatementErrorCodeEnum')
|
60
|
+
BatchStatementRequest = Shapes::StructureShape.new(name: 'BatchStatementRequest')
|
61
|
+
BatchStatementResponse = Shapes::StructureShape.new(name: 'BatchStatementResponse')
|
56
62
|
BatchWriteItemInput = Shapes::StructureShape.new(name: 'BatchWriteItemInput')
|
57
63
|
BatchWriteItemOutput = Shapes::StructureShape.new(name: 'BatchWriteItemOutput')
|
58
64
|
BatchWriteItemRequestMap = Shapes::MapShape.new(name: 'BatchWriteItemRequestMap')
|
@@ -123,6 +129,8 @@ module Aws::DynamoDB
|
|
123
129
|
DescribeGlobalTableOutput = Shapes::StructureShape.new(name: 'DescribeGlobalTableOutput')
|
124
130
|
DescribeGlobalTableSettingsInput = Shapes::StructureShape.new(name: 'DescribeGlobalTableSettingsInput')
|
125
131
|
DescribeGlobalTableSettingsOutput = Shapes::StructureShape.new(name: 'DescribeGlobalTableSettingsOutput')
|
132
|
+
DescribeKinesisStreamingDestinationInput = Shapes::StructureShape.new(name: 'DescribeKinesisStreamingDestinationInput')
|
133
|
+
DescribeKinesisStreamingDestinationOutput = Shapes::StructureShape.new(name: 'DescribeKinesisStreamingDestinationOutput')
|
126
134
|
DescribeLimitsInput = Shapes::StructureShape.new(name: 'DescribeLimitsInput')
|
127
135
|
DescribeLimitsOutput = Shapes::StructureShape.new(name: 'DescribeLimitsOutput')
|
128
136
|
DescribeTableInput = Shapes::StructureShape.new(name: 'DescribeTableInput')
|
@@ -131,12 +139,18 @@ module Aws::DynamoDB
|
|
131
139
|
DescribeTableReplicaAutoScalingOutput = Shapes::StructureShape.new(name: 'DescribeTableReplicaAutoScalingOutput')
|
132
140
|
DescribeTimeToLiveInput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveInput')
|
133
141
|
DescribeTimeToLiveOutput = Shapes::StructureShape.new(name: 'DescribeTimeToLiveOutput')
|
142
|
+
DestinationStatus = Shapes::StringShape.new(name: 'DestinationStatus')
|
134
143
|
Double = Shapes::FloatShape.new(name: 'Double')
|
144
|
+
DuplicateItemException = Shapes::StructureShape.new(name: 'DuplicateItemException')
|
135
145
|
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
|
136
146
|
Endpoints = Shapes::ListShape.new(name: 'Endpoints')
|
137
147
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
138
148
|
ExceptionDescription = Shapes::StringShape.new(name: 'ExceptionDescription')
|
139
149
|
ExceptionName = Shapes::StringShape.new(name: 'ExceptionName')
|
150
|
+
ExecuteStatementInput = Shapes::StructureShape.new(name: 'ExecuteStatementInput')
|
151
|
+
ExecuteStatementOutput = Shapes::StructureShape.new(name: 'ExecuteStatementOutput')
|
152
|
+
ExecuteTransactionInput = Shapes::StructureShape.new(name: 'ExecuteTransactionInput')
|
153
|
+
ExecuteTransactionOutput = Shapes::StructureShape.new(name: 'ExecuteTransactionOutput')
|
140
154
|
ExpectedAttributeMap = Shapes::MapShape.new(name: 'ExpectedAttributeMap')
|
141
155
|
ExpectedAttributeValue = Shapes::StructureShape.new(name: 'ExpectedAttributeValue')
|
142
156
|
ExportArn = Shapes::StringShape.new(name: 'ExportArn')
|
@@ -215,6 +229,10 @@ module Aws::DynamoDB
|
|
215
229
|
KeySchemaElement = Shapes::StructureShape.new(name: 'KeySchemaElement')
|
216
230
|
KeyType = Shapes::StringShape.new(name: 'KeyType')
|
217
231
|
KeysAndAttributes = Shapes::StructureShape.new(name: 'KeysAndAttributes')
|
232
|
+
KinesisDataStreamDestination = Shapes::StructureShape.new(name: 'KinesisDataStreamDestination')
|
233
|
+
KinesisDataStreamDestinations = Shapes::ListShape.new(name: 'KinesisDataStreamDestinations')
|
234
|
+
KinesisStreamingDestinationInput = Shapes::StructureShape.new(name: 'KinesisStreamingDestinationInput')
|
235
|
+
KinesisStreamingDestinationOutput = Shapes::StructureShape.new(name: 'KinesisStreamingDestinationOutput')
|
218
236
|
LastUpdateDateTime = Shapes::TimestampShape.new(name: 'LastUpdateDateTime')
|
219
237
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
220
238
|
ListAttributeValue = Shapes::ListShape.new(name: 'ListAttributeValue')
|
@@ -248,12 +266,19 @@ module Aws::DynamoDB
|
|
248
266
|
NullAttributeValue = Shapes::BooleanShape.new(name: 'NullAttributeValue')
|
249
267
|
NumberAttributeValue = Shapes::StringShape.new(name: 'NumberAttributeValue')
|
250
268
|
NumberSetAttributeValue = Shapes::ListShape.new(name: 'NumberSetAttributeValue')
|
269
|
+
ParameterizedStatement = Shapes::StructureShape.new(name: 'ParameterizedStatement')
|
270
|
+
ParameterizedStatements = Shapes::ListShape.new(name: 'ParameterizedStatements')
|
271
|
+
PartiQLBatchRequest = Shapes::ListShape.new(name: 'PartiQLBatchRequest')
|
272
|
+
PartiQLBatchResponse = Shapes::ListShape.new(name: 'PartiQLBatchResponse')
|
273
|
+
PartiQLNextToken = Shapes::StringShape.new(name: 'PartiQLNextToken')
|
274
|
+
PartiQLStatement = Shapes::StringShape.new(name: 'PartiQLStatement')
|
251
275
|
PointInTimeRecoveryDescription = Shapes::StructureShape.new(name: 'PointInTimeRecoveryDescription')
|
252
276
|
PointInTimeRecoverySpecification = Shapes::StructureShape.new(name: 'PointInTimeRecoverySpecification')
|
253
277
|
PointInTimeRecoveryStatus = Shapes::StringShape.new(name: 'PointInTimeRecoveryStatus')
|
254
278
|
PointInTimeRecoveryUnavailableException = Shapes::StructureShape.new(name: 'PointInTimeRecoveryUnavailableException')
|
255
279
|
PositiveIntegerObject = Shapes::IntegerShape.new(name: 'PositiveIntegerObject')
|
256
280
|
PositiveLongObject = Shapes::IntegerShape.new(name: 'PositiveLongObject')
|
281
|
+
PreparedStatementParameters = Shapes::ListShape.new(name: 'PreparedStatementParameters')
|
257
282
|
Projection = Shapes::StructureShape.new(name: 'Projection')
|
258
283
|
ProjectionExpression = Shapes::StringShape.new(name: 'ProjectionExpression')
|
259
284
|
ProjectionType = Shapes::StringShape.new(name: 'ProjectionType')
|
@@ -508,6 +533,12 @@ module Aws::DynamoDB
|
|
508
533
|
BackupSummary.add_member(:backup_size_bytes, Shapes::ShapeRef.new(shape: BackupSizeBytes, location_name: "BackupSizeBytes"))
|
509
534
|
BackupSummary.struct_class = Types::BackupSummary
|
510
535
|
|
536
|
+
BatchExecuteStatementInput.add_member(:statements, Shapes::ShapeRef.new(shape: PartiQLBatchRequest, required: true, location_name: "Statements"))
|
537
|
+
BatchExecuteStatementInput.struct_class = Types::BatchExecuteStatementInput
|
538
|
+
|
539
|
+
BatchExecuteStatementOutput.add_member(:responses, Shapes::ShapeRef.new(shape: PartiQLBatchResponse, location_name: "Responses"))
|
540
|
+
BatchExecuteStatementOutput.struct_class = Types::BatchExecuteStatementOutput
|
541
|
+
|
511
542
|
BatchGetItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchGetRequestMap, required: true, location_name: "RequestItems"))
|
512
543
|
BatchGetItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
513
544
|
BatchGetItemInput.struct_class = Types::BatchGetItemInput
|
@@ -523,6 +554,20 @@ module Aws::DynamoDB
|
|
523
554
|
BatchGetResponseMap.key = Shapes::ShapeRef.new(shape: TableName)
|
524
555
|
BatchGetResponseMap.value = Shapes::ShapeRef.new(shape: ItemList)
|
525
556
|
|
557
|
+
BatchStatementError.add_member(:code, Shapes::ShapeRef.new(shape: BatchStatementErrorCodeEnum, location_name: "Code"))
|
558
|
+
BatchStatementError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
559
|
+
BatchStatementError.struct_class = Types::BatchStatementError
|
560
|
+
|
561
|
+
BatchStatementRequest.add_member(:statement, Shapes::ShapeRef.new(shape: PartiQLStatement, required: true, location_name: "Statement"))
|
562
|
+
BatchStatementRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: PreparedStatementParameters, location_name: "Parameters"))
|
563
|
+
BatchStatementRequest.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
|
564
|
+
BatchStatementRequest.struct_class = Types::BatchStatementRequest
|
565
|
+
|
566
|
+
BatchStatementResponse.add_member(:error, Shapes::ShapeRef.new(shape: BatchStatementError, location_name: "Error"))
|
567
|
+
BatchStatementResponse.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
568
|
+
BatchStatementResponse.add_member(:item, Shapes::ShapeRef.new(shape: AttributeMap, location_name: "Item"))
|
569
|
+
BatchStatementResponse.struct_class = Types::BatchStatementResponse
|
570
|
+
|
526
571
|
BatchWriteItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchWriteItemRequestMap, required: true, location_name: "RequestItems"))
|
527
572
|
BatchWriteItemInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
528
573
|
BatchWriteItemInput.add_member(:return_item_collection_metrics, Shapes::ShapeRef.new(shape: ReturnItemCollectionMetrics, location_name: "ReturnItemCollectionMetrics"))
|
@@ -737,6 +782,13 @@ module Aws::DynamoDB
|
|
737
782
|
DescribeGlobalTableSettingsOutput.add_member(:replica_settings, Shapes::ShapeRef.new(shape: ReplicaSettingsDescriptionList, location_name: "ReplicaSettings"))
|
738
783
|
DescribeGlobalTableSettingsOutput.struct_class = Types::DescribeGlobalTableSettingsOutput
|
739
784
|
|
785
|
+
DescribeKinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
786
|
+
DescribeKinesisStreamingDestinationInput.struct_class = Types::DescribeKinesisStreamingDestinationInput
|
787
|
+
|
788
|
+
DescribeKinesisStreamingDestinationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
789
|
+
DescribeKinesisStreamingDestinationOutput.add_member(:kinesis_data_stream_destinations, Shapes::ShapeRef.new(shape: KinesisDataStreamDestinations, location_name: "KinesisDataStreamDestinations"))
|
790
|
+
DescribeKinesisStreamingDestinationOutput.struct_class = Types::DescribeKinesisStreamingDestinationOutput
|
791
|
+
|
740
792
|
DescribeLimitsInput.struct_class = Types::DescribeLimitsInput
|
741
793
|
|
742
794
|
DescribeLimitsOutput.add_member(:account_max_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "AccountMaxReadCapacityUnits"))
|
@@ -763,12 +815,32 @@ module Aws::DynamoDB
|
|
763
815
|
DescribeTimeToLiveOutput.add_member(:time_to_live_description, Shapes::ShapeRef.new(shape: TimeToLiveDescription, location_name: "TimeToLiveDescription"))
|
764
816
|
DescribeTimeToLiveOutput.struct_class = Types::DescribeTimeToLiveOutput
|
765
817
|
|
818
|
+
DuplicateItemException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
819
|
+
DuplicateItemException.struct_class = Types::DuplicateItemException
|
820
|
+
|
766
821
|
Endpoint.add_member(:address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Address"))
|
767
822
|
Endpoint.add_member(:cache_period_in_minutes, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "CachePeriodInMinutes"))
|
768
823
|
Endpoint.struct_class = Types::Endpoint
|
769
824
|
|
770
825
|
Endpoints.member = Shapes::ShapeRef.new(shape: Endpoint)
|
771
826
|
|
827
|
+
ExecuteStatementInput.add_member(:statement, Shapes::ShapeRef.new(shape: PartiQLStatement, required: true, location_name: "Statement"))
|
828
|
+
ExecuteStatementInput.add_member(:parameters, Shapes::ShapeRef.new(shape: PreparedStatementParameters, location_name: "Parameters"))
|
829
|
+
ExecuteStatementInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
|
830
|
+
ExecuteStatementInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
831
|
+
ExecuteStatementInput.struct_class = Types::ExecuteStatementInput
|
832
|
+
|
833
|
+
ExecuteStatementOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
|
834
|
+
ExecuteStatementOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
835
|
+
ExecuteStatementOutput.struct_class = Types::ExecuteStatementOutput
|
836
|
+
|
837
|
+
ExecuteTransactionInput.add_member(:transact_statements, Shapes::ShapeRef.new(shape: ParameterizedStatements, required: true, location_name: "TransactStatements"))
|
838
|
+
ExecuteTransactionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
839
|
+
ExecuteTransactionInput.struct_class = Types::ExecuteTransactionInput
|
840
|
+
|
841
|
+
ExecuteTransactionOutput.add_member(:responses, Shapes::ShapeRef.new(shape: ItemResponseList, location_name: "Responses"))
|
842
|
+
ExecuteTransactionOutput.struct_class = Types::ExecuteTransactionOutput
|
843
|
+
|
772
844
|
ExpectedAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
773
845
|
ExpectedAttributeMap.value = Shapes::ShapeRef.new(shape: ExpectedAttributeValue)
|
774
846
|
|
@@ -985,6 +1057,22 @@ module Aws::DynamoDB
|
|
985
1057
|
KeysAndAttributes.add_member(:expression_attribute_names, Shapes::ShapeRef.new(shape: ExpressionAttributeNameMap, location_name: "ExpressionAttributeNames"))
|
986
1058
|
KeysAndAttributes.struct_class = Types::KeysAndAttributes
|
987
1059
|
|
1060
|
+
KinesisDataStreamDestination.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
|
1061
|
+
KinesisDataStreamDestination.add_member(:destination_status, Shapes::ShapeRef.new(shape: DestinationStatus, location_name: "DestinationStatus"))
|
1062
|
+
KinesisDataStreamDestination.add_member(:destination_status_description, Shapes::ShapeRef.new(shape: String, location_name: "DestinationStatusDescription"))
|
1063
|
+
KinesisDataStreamDestination.struct_class = Types::KinesisDataStreamDestination
|
1064
|
+
|
1065
|
+
KinesisDataStreamDestinations.member = Shapes::ShapeRef.new(shape: KinesisDataStreamDestination)
|
1066
|
+
|
1067
|
+
KinesisStreamingDestinationInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "TableName"))
|
1068
|
+
KinesisStreamingDestinationInput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, required: true, location_name: "StreamArn"))
|
1069
|
+
KinesisStreamingDestinationInput.struct_class = Types::KinesisStreamingDestinationInput
|
1070
|
+
|
1071
|
+
KinesisStreamingDestinationOutput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
1072
|
+
KinesisStreamingDestinationOutput.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "StreamArn"))
|
1073
|
+
KinesisStreamingDestinationOutput.add_member(:destination_status, Shapes::ShapeRef.new(shape: DestinationStatus, location_name: "DestinationStatus"))
|
1074
|
+
KinesisStreamingDestinationOutput.struct_class = Types::KinesisStreamingDestinationOutput
|
1075
|
+
|
988
1076
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
989
1077
|
LimitExceededException.struct_class = Types::LimitExceededException
|
990
1078
|
|
@@ -1076,6 +1164,16 @@ module Aws::DynamoDB
|
|
1076
1164
|
|
1077
1165
|
NumberSetAttributeValue.member = Shapes::ShapeRef.new(shape: NumberAttributeValue)
|
1078
1166
|
|
1167
|
+
ParameterizedStatement.add_member(:statement, Shapes::ShapeRef.new(shape: PartiQLStatement, required: true, location_name: "Statement"))
|
1168
|
+
ParameterizedStatement.add_member(:parameters, Shapes::ShapeRef.new(shape: PreparedStatementParameters, location_name: "Parameters"))
|
1169
|
+
ParameterizedStatement.struct_class = Types::ParameterizedStatement
|
1170
|
+
|
1171
|
+
ParameterizedStatements.member = Shapes::ShapeRef.new(shape: ParameterizedStatement)
|
1172
|
+
|
1173
|
+
PartiQLBatchRequest.member = Shapes::ShapeRef.new(shape: BatchStatementRequest)
|
1174
|
+
|
1175
|
+
PartiQLBatchResponse.member = Shapes::ShapeRef.new(shape: BatchStatementResponse)
|
1176
|
+
|
1079
1177
|
PointInTimeRecoveryDescription.add_member(:point_in_time_recovery_status, Shapes::ShapeRef.new(shape: PointInTimeRecoveryStatus, location_name: "PointInTimeRecoveryStatus"))
|
1080
1178
|
PointInTimeRecoveryDescription.add_member(:earliest_restorable_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "EarliestRestorableDateTime"))
|
1081
1179
|
PointInTimeRecoveryDescription.add_member(:latest_restorable_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LatestRestorableDateTime"))
|
@@ -1087,6 +1185,8 @@ module Aws::DynamoDB
|
|
1087
1185
|
PointInTimeRecoveryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1088
1186
|
PointInTimeRecoveryUnavailableException.struct_class = Types::PointInTimeRecoveryUnavailableException
|
1089
1187
|
|
1188
|
+
PreparedStatementParameters.member = Shapes::ShapeRef.new(shape: AttributeValue)
|
1189
|
+
|
1090
1190
|
Projection.add_member(:projection_type, Shapes::ShapeRef.new(shape: ProjectionType, location_name: "ProjectionType"))
|
1091
1191
|
Projection.add_member(:non_key_attributes, Shapes::ShapeRef.new(shape: NonKeyAttributeNameList, location_name: "NonKeyAttributes"))
|
1092
1192
|
Projection.struct_class = Types::Projection
|
@@ -1618,6 +1718,16 @@ module Aws::DynamoDB
|
|
1618
1718
|
}
|
1619
1719
|
api.endpoint_operation = :describe_endpoints
|
1620
1720
|
|
1721
|
+
api.add_operation(:batch_execute_statement, Seahorse::Model::Operation.new.tap do |o|
|
1722
|
+
o.name = "BatchExecuteStatement"
|
1723
|
+
o.http_method = "POST"
|
1724
|
+
o.http_request_uri = "/"
|
1725
|
+
o.input = Shapes::ShapeRef.new(shape: BatchExecuteStatementInput)
|
1726
|
+
o.output = Shapes::ShapeRef.new(shape: BatchExecuteStatementOutput)
|
1727
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
1728
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1729
|
+
end)
|
1730
|
+
|
1621
1731
|
api.add_operation(:batch_get_item, Seahorse::Model::Operation.new.tap do |o|
|
1622
1732
|
o.name = "BatchGetItem"
|
1623
1733
|
o.http_method = "POST"
|
@@ -1818,6 +1928,18 @@ module Aws::DynamoDB
|
|
1818
1928
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1819
1929
|
end)
|
1820
1930
|
|
1931
|
+
api.add_operation(:describe_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
|
1932
|
+
o.name = "DescribeKinesisStreamingDestination"
|
1933
|
+
o.http_method = "POST"
|
1934
|
+
o.http_request_uri = "/"
|
1935
|
+
o.endpoint_discovery = {
|
1936
|
+
}
|
1937
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeKinesisStreamingDestinationInput)
|
1938
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeKinesisStreamingDestinationOutput)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1941
|
+
end)
|
1942
|
+
|
1821
1943
|
api.add_operation(:describe_limits, Seahorse::Model::Operation.new.tap do |o|
|
1822
1944
|
o.name = "DescribeLimits"
|
1823
1945
|
o.http_method = "POST"
|
@@ -1863,6 +1985,65 @@ module Aws::DynamoDB
|
|
1863
1985
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1864
1986
|
end)
|
1865
1987
|
|
1988
|
+
api.add_operation(:disable_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
|
1989
|
+
o.name = "DisableKinesisStreamingDestination"
|
1990
|
+
o.http_method = "POST"
|
1991
|
+
o.http_request_uri = "/"
|
1992
|
+
o.endpoint_discovery = {
|
1993
|
+
}
|
1994
|
+
o.input = Shapes::ShapeRef.new(shape: KinesisStreamingDestinationInput)
|
1995
|
+
o.output = Shapes::ShapeRef.new(shape: KinesisStreamingDestinationOutput)
|
1996
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
1997
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1998
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
1999
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2000
|
+
end)
|
2001
|
+
|
2002
|
+
api.add_operation(:enable_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
|
2003
|
+
o.name = "EnableKinesisStreamingDestination"
|
2004
|
+
o.http_method = "POST"
|
2005
|
+
o.http_request_uri = "/"
|
2006
|
+
o.endpoint_discovery = {
|
2007
|
+
}
|
2008
|
+
o.input = Shapes::ShapeRef.new(shape: KinesisStreamingDestinationInput)
|
2009
|
+
o.output = Shapes::ShapeRef.new(shape: KinesisStreamingDestinationOutput)
|
2010
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2011
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2012
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
|
2013
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2014
|
+
end)
|
2015
|
+
|
2016
|
+
api.add_operation(:execute_statement, Seahorse::Model::Operation.new.tap do |o|
|
2017
|
+
o.name = "ExecuteStatement"
|
2018
|
+
o.http_method = "POST"
|
2019
|
+
o.http_request_uri = "/"
|
2020
|
+
o.input = Shapes::ShapeRef.new(shape: ExecuteStatementInput)
|
2021
|
+
o.output = Shapes::ShapeRef.new(shape: ExecuteStatementOutput)
|
2022
|
+
o.errors << Shapes::ShapeRef.new(shape: ConditionalCheckFailedException)
|
2023
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
2024
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2025
|
+
o.errors << Shapes::ShapeRef.new(shape: ItemCollectionSizeLimitExceededException)
|
2026
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionConflictException)
|
2027
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2028
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2029
|
+
o.errors << Shapes::ShapeRef.new(shape: DuplicateItemException)
|
2030
|
+
end)
|
2031
|
+
|
2032
|
+
api.add_operation(:execute_transaction, Seahorse::Model::Operation.new.tap do |o|
|
2033
|
+
o.name = "ExecuteTransaction"
|
2034
|
+
o.http_method = "POST"
|
2035
|
+
o.http_request_uri = "/"
|
2036
|
+
o.input = Shapes::ShapeRef.new(shape: ExecuteTransactionInput)
|
2037
|
+
o.output = Shapes::ShapeRef.new(shape: ExecuteTransactionOutput)
|
2038
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2039
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionCanceledException)
|
2040
|
+
o.errors << Shapes::ShapeRef.new(shape: TransactionInProgressException)
|
2041
|
+
o.errors << Shapes::ShapeRef.new(shape: IdempotentParameterMismatchException)
|
2042
|
+
o.errors << Shapes::ShapeRef.new(shape: ProvisionedThroughputExceededException)
|
2043
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2044
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2045
|
+
end)
|
2046
|
+
|
1866
2047
|
api.add_operation(:export_table_to_point_in_time, Seahorse::Model::Operation.new.tap do |o|
|
1867
2048
|
o.name = "ExportTableToPointInTime"
|
1868
2049
|
o.http_method = "POST"
|
@@ -31,6 +31,7 @@ module Aws::DynamoDB
|
|
31
31
|
# * {BackupNotFoundException}
|
32
32
|
# * {ConditionalCheckFailedException}
|
33
33
|
# * {ContinuousBackupsUnavailableException}
|
34
|
+
# * {DuplicateItemException}
|
34
35
|
# * {ExportConflictException}
|
35
36
|
# * {ExportNotFoundException}
|
36
37
|
# * {GlobalTableAlreadyExistsException}
|
@@ -122,6 +123,21 @@ module Aws::DynamoDB
|
|
122
123
|
end
|
123
124
|
end
|
124
125
|
|
126
|
+
class DuplicateItemException < ServiceError
|
127
|
+
|
128
|
+
# @param [Seahorse::Client::RequestContext] context
|
129
|
+
# @param [String] message
|
130
|
+
# @param [Aws::DynamoDB::Types::DuplicateItemException] data
|
131
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
132
|
+
super(context, message, data)
|
133
|
+
end
|
134
|
+
|
135
|
+
# @return [String]
|
136
|
+
def message
|
137
|
+
@message || @data[:message]
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
125
141
|
class ExportConflictException < ServiceError
|
126
142
|
|
127
143
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -756,6 +756,43 @@ module Aws::DynamoDB
|
|
756
756
|
include Aws::Structure
|
757
757
|
end
|
758
758
|
|
759
|
+
# @note When making an API call, you may pass BatchExecuteStatementInput
|
760
|
+
# data as a hash:
|
761
|
+
#
|
762
|
+
# {
|
763
|
+
# statements: [ # required
|
764
|
+
# {
|
765
|
+
# statement: "PartiQLStatement", # required
|
766
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
767
|
+
# consistent_read: false,
|
768
|
+
# },
|
769
|
+
# ],
|
770
|
+
# }
|
771
|
+
#
|
772
|
+
# @!attribute [rw] statements
|
773
|
+
# The list of PartiQL statements representing the batch to run.
|
774
|
+
# @return [Array<Types::BatchStatementRequest>]
|
775
|
+
#
|
776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementInput AWS API Documentation
|
777
|
+
#
|
778
|
+
class BatchExecuteStatementInput < Struct.new(
|
779
|
+
:statements)
|
780
|
+
SENSITIVE = []
|
781
|
+
include Aws::Structure
|
782
|
+
end
|
783
|
+
|
784
|
+
# @!attribute [rw] responses
|
785
|
+
# The response to each PartiQL statement in the batch.
|
786
|
+
# @return [Array<Types::BatchStatementResponse>]
|
787
|
+
#
|
788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementOutput AWS API Documentation
|
789
|
+
#
|
790
|
+
class BatchExecuteStatementOutput < Struct.new(
|
791
|
+
:responses)
|
792
|
+
SENSITIVE = []
|
793
|
+
include Aws::Structure
|
794
|
+
end
|
795
|
+
|
759
796
|
# Represents the input of a `BatchGetItem` operation.
|
760
797
|
#
|
761
798
|
# @note When making an API call, you may pass BatchGetItemInput
|
@@ -953,6 +990,83 @@ module Aws::DynamoDB
|
|
953
990
|
include Aws::Structure
|
954
991
|
end
|
955
992
|
|
993
|
+
# An error associated with a statement in a PartiQL batch that was run.
|
994
|
+
#
|
995
|
+
# @!attribute [rw] code
|
996
|
+
# The error code associated with the failed PartiQL batch statement.
|
997
|
+
# @return [String]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] message
|
1000
|
+
# The error message associated with the PartiQL batch resposne.
|
1001
|
+
# @return [String]
|
1002
|
+
#
|
1003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementError AWS API Documentation
|
1004
|
+
#
|
1005
|
+
class BatchStatementError < Struct.new(
|
1006
|
+
:code,
|
1007
|
+
:message)
|
1008
|
+
SENSITIVE = []
|
1009
|
+
include Aws::Structure
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# A PartiQL batch statement request.
|
1013
|
+
#
|
1014
|
+
# @note When making an API call, you may pass BatchStatementRequest
|
1015
|
+
# data as a hash:
|
1016
|
+
#
|
1017
|
+
# {
|
1018
|
+
# statement: "PartiQLStatement", # required
|
1019
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1020
|
+
# consistent_read: false,
|
1021
|
+
# }
|
1022
|
+
#
|
1023
|
+
# @!attribute [rw] statement
|
1024
|
+
# A valid PartiQL statement.
|
1025
|
+
# @return [String]
|
1026
|
+
#
|
1027
|
+
# @!attribute [rw] parameters
|
1028
|
+
# The parameters associated with a PartiQL statement in the batch
|
1029
|
+
# request.
|
1030
|
+
# @return [Array<Types::AttributeValue>]
|
1031
|
+
#
|
1032
|
+
# @!attribute [rw] consistent_read
|
1033
|
+
# The read consistency of the PartiQL batch request.
|
1034
|
+
# @return [Boolean]
|
1035
|
+
#
|
1036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementRequest AWS API Documentation
|
1037
|
+
#
|
1038
|
+
class BatchStatementRequest < Struct.new(
|
1039
|
+
:statement,
|
1040
|
+
:parameters,
|
1041
|
+
:consistent_read)
|
1042
|
+
SENSITIVE = []
|
1043
|
+
include Aws::Structure
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# A PartiQL batch statement response..
|
1047
|
+
#
|
1048
|
+
# @!attribute [rw] error
|
1049
|
+
# The error associated with a failed PartiQL batch statement.
|
1050
|
+
# @return [Types::BatchStatementError]
|
1051
|
+
#
|
1052
|
+
# @!attribute [rw] table_name
|
1053
|
+
# The table name associated with a failed PartiQL batch statement.
|
1054
|
+
# @return [String]
|
1055
|
+
#
|
1056
|
+
# @!attribute [rw] item
|
1057
|
+
# A DynamoDB item associated with a BatchStatementResponse
|
1058
|
+
# @return [Hash<String,Types::AttributeValue>]
|
1059
|
+
#
|
1060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementResponse AWS API Documentation
|
1061
|
+
#
|
1062
|
+
class BatchStatementResponse < Struct.new(
|
1063
|
+
:error,
|
1064
|
+
:table_name,
|
1065
|
+
:item)
|
1066
|
+
SENSITIVE = []
|
1067
|
+
include Aws::Structure
|
1068
|
+
end
|
1069
|
+
|
956
1070
|
# Represents the input of a `BatchWriteItem` operation.
|
957
1071
|
#
|
958
1072
|
# @note When making an API call, you may pass BatchWriteItemInput
|
@@ -2941,6 +3055,42 @@ module Aws::DynamoDB
|
|
2941
3055
|
include Aws::Structure
|
2942
3056
|
end
|
2943
3057
|
|
3058
|
+
# @note When making an API call, you may pass DescribeKinesisStreamingDestinationInput
|
3059
|
+
# data as a hash:
|
3060
|
+
#
|
3061
|
+
# {
|
3062
|
+
# table_name: "TableName", # required
|
3063
|
+
# }
|
3064
|
+
#
|
3065
|
+
# @!attribute [rw] table_name
|
3066
|
+
# The name of the table being described.
|
3067
|
+
# @return [String]
|
3068
|
+
#
|
3069
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestinationInput AWS API Documentation
|
3070
|
+
#
|
3071
|
+
class DescribeKinesisStreamingDestinationInput < Struct.new(
|
3072
|
+
:table_name)
|
3073
|
+
SENSITIVE = []
|
3074
|
+
include Aws::Structure
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
# @!attribute [rw] table_name
|
3078
|
+
# The name of the table being described.
|
3079
|
+
# @return [String]
|
3080
|
+
#
|
3081
|
+
# @!attribute [rw] kinesis_data_stream_destinations
|
3082
|
+
# The list of replica structures for the table being described.
|
3083
|
+
# @return [Array<Types::KinesisDataStreamDestination>]
|
3084
|
+
#
|
3085
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestinationOutput AWS API Documentation
|
3086
|
+
#
|
3087
|
+
class DescribeKinesisStreamingDestinationOutput < Struct.new(
|
3088
|
+
:table_name,
|
3089
|
+
:kinesis_data_stream_destinations)
|
3090
|
+
SENSITIVE = []
|
3091
|
+
include Aws::Structure
|
3092
|
+
end
|
3093
|
+
|
2944
3094
|
# Represents the input of a `DescribeLimits` operation. Has no content.
|
2945
3095
|
#
|
2946
3096
|
# @api private
|
@@ -3082,6 +3232,20 @@ module Aws::DynamoDB
|
|
3082
3232
|
include Aws::Structure
|
3083
3233
|
end
|
3084
3234
|
|
3235
|
+
# There was an attempt to insert an item with the same primary key as an
|
3236
|
+
# item that already exists in the DynamoDB table.
|
3237
|
+
#
|
3238
|
+
# @!attribute [rw] message
|
3239
|
+
# @return [String]
|
3240
|
+
#
|
3241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DuplicateItemException AWS API Documentation
|
3242
|
+
#
|
3243
|
+
class DuplicateItemException < Struct.new(
|
3244
|
+
:message)
|
3245
|
+
SENSITIVE = []
|
3246
|
+
include Aws::Structure
|
3247
|
+
end
|
3248
|
+
|
3085
3249
|
# An endpoint information details.
|
3086
3250
|
#
|
3087
3251
|
# @!attribute [rw] address
|
@@ -3101,6 +3265,114 @@ module Aws::DynamoDB
|
|
3101
3265
|
include Aws::Structure
|
3102
3266
|
end
|
3103
3267
|
|
3268
|
+
# @note When making an API call, you may pass ExecuteStatementInput
|
3269
|
+
# data as a hash:
|
3270
|
+
#
|
3271
|
+
# {
|
3272
|
+
# statement: "PartiQLStatement", # required
|
3273
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3274
|
+
# consistent_read: false,
|
3275
|
+
# next_token: "PartiQLNextToken",
|
3276
|
+
# }
|
3277
|
+
#
|
3278
|
+
# @!attribute [rw] statement
|
3279
|
+
# The PartiQL statement representing the operation to run.
|
3280
|
+
# @return [String]
|
3281
|
+
#
|
3282
|
+
# @!attribute [rw] parameters
|
3283
|
+
# The parameters for the PartiQL statement, if any.
|
3284
|
+
# @return [Array<Types::AttributeValue>]
|
3285
|
+
#
|
3286
|
+
# @!attribute [rw] consistent_read
|
3287
|
+
# The consistency of a read operation. If set to `true`, then a
|
3288
|
+
# strongly consistent read is used; otherwise, an eventually
|
3289
|
+
# consistent read is used.
|
3290
|
+
# @return [Boolean]
|
3291
|
+
#
|
3292
|
+
# @!attribute [rw] next_token
|
3293
|
+
# Set this value to get remaining results, if `NextToken` was returned
|
3294
|
+
# in the statement response.
|
3295
|
+
# @return [String]
|
3296
|
+
#
|
3297
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
|
3298
|
+
#
|
3299
|
+
class ExecuteStatementInput < Struct.new(
|
3300
|
+
:statement,
|
3301
|
+
:parameters,
|
3302
|
+
:consistent_read,
|
3303
|
+
:next_token)
|
3304
|
+
SENSITIVE = []
|
3305
|
+
include Aws::Structure
|
3306
|
+
end
|
3307
|
+
|
3308
|
+
# @!attribute [rw] items
|
3309
|
+
# If a read operation was used, this property will contain the result
|
3310
|
+
# of the reade operation; a map of attribute names and their values.
|
3311
|
+
# For the write operations this value will be empty.
|
3312
|
+
# @return [Array<Hash<String,Types::AttributeValue>>]
|
3313
|
+
#
|
3314
|
+
# @!attribute [rw] next_token
|
3315
|
+
# If the response of a read request exceeds the response payload limit
|
3316
|
+
# DynamoDB will set this value in the response. If set, you can use
|
3317
|
+
# that this value in the subsequent request to get the remaining
|
3318
|
+
# results.
|
3319
|
+
# @return [String]
|
3320
|
+
#
|
3321
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
|
3322
|
+
#
|
3323
|
+
class ExecuteStatementOutput < Struct.new(
|
3324
|
+
:items,
|
3325
|
+
:next_token)
|
3326
|
+
SENSITIVE = []
|
3327
|
+
include Aws::Structure
|
3328
|
+
end
|
3329
|
+
|
3330
|
+
# @note When making an API call, you may pass ExecuteTransactionInput
|
3331
|
+
# data as a hash:
|
3332
|
+
#
|
3333
|
+
# {
|
3334
|
+
# transact_statements: [ # required
|
3335
|
+
# {
|
3336
|
+
# statement: "PartiQLStatement", # required
|
3337
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3338
|
+
# },
|
3339
|
+
# ],
|
3340
|
+
# client_request_token: "ClientRequestToken",
|
3341
|
+
# }
|
3342
|
+
#
|
3343
|
+
# @!attribute [rw] transact_statements
|
3344
|
+
# The list of PartiQL statements representing the transaction to run.
|
3345
|
+
# @return [Array<Types::ParameterizedStatement>]
|
3346
|
+
#
|
3347
|
+
# @!attribute [rw] client_request_token
|
3348
|
+
# Set this value to get remaining results, if `NextToken` was returned
|
3349
|
+
# in the statement response.
|
3350
|
+
#
|
3351
|
+
# **A suitable default value is auto-generated.** You should normally
|
3352
|
+
# not need to pass this option.
|
3353
|
+
# @return [String]
|
3354
|
+
#
|
3355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionInput AWS API Documentation
|
3356
|
+
#
|
3357
|
+
class ExecuteTransactionInput < Struct.new(
|
3358
|
+
:transact_statements,
|
3359
|
+
:client_request_token)
|
3360
|
+
SENSITIVE = []
|
3361
|
+
include Aws::Structure
|
3362
|
+
end
|
3363
|
+
|
3364
|
+
# @!attribute [rw] responses
|
3365
|
+
# The response to a PartiQL transaction.
|
3366
|
+
# @return [Array<Types::ItemResponse>]
|
3367
|
+
#
|
3368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionOutput AWS API Documentation
|
3369
|
+
#
|
3370
|
+
class ExecuteTransactionOutput < Struct.new(
|
3371
|
+
:responses)
|
3372
|
+
SENSITIVE = []
|
3373
|
+
include Aws::Structure
|
3374
|
+
end
|
3375
|
+
|
3104
3376
|
# Represents a condition to be compared with an attribute value. This
|
3105
3377
|
# condition can be used with `DeleteItem`, `PutItem`, or `UpdateItem`
|
3106
3378
|
# operations; if the comparison evaluates to true, the operation
|
@@ -4718,6 +4990,77 @@ module Aws::DynamoDB
|
|
4718
4990
|
include Aws::Structure
|
4719
4991
|
end
|
4720
4992
|
|
4993
|
+
# Describes a Kinesis data stream destination.
|
4994
|
+
#
|
4995
|
+
# @!attribute [rw] stream_arn
|
4996
|
+
# The ARN for a specific Kinesis data stream.
|
4997
|
+
# @return [String]
|
4998
|
+
#
|
4999
|
+
# @!attribute [rw] destination_status
|
5000
|
+
# The current status of replication.
|
5001
|
+
# @return [String]
|
5002
|
+
#
|
5003
|
+
# @!attribute [rw] destination_status_description
|
5004
|
+
# The human-readable string that corresponds to the replica status.
|
5005
|
+
# @return [String]
|
5006
|
+
#
|
5007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisDataStreamDestination AWS API Documentation
|
5008
|
+
#
|
5009
|
+
class KinesisDataStreamDestination < Struct.new(
|
5010
|
+
:stream_arn,
|
5011
|
+
:destination_status,
|
5012
|
+
:destination_status_description)
|
5013
|
+
SENSITIVE = []
|
5014
|
+
include Aws::Structure
|
5015
|
+
end
|
5016
|
+
|
5017
|
+
# @note When making an API call, you may pass KinesisStreamingDestinationInput
|
5018
|
+
# data as a hash:
|
5019
|
+
#
|
5020
|
+
# {
|
5021
|
+
# table_name: "TableName", # required
|
5022
|
+
# stream_arn: "StreamArn", # required
|
5023
|
+
# }
|
5024
|
+
#
|
5025
|
+
# @!attribute [rw] table_name
|
5026
|
+
# The name of the DynamoDB table.
|
5027
|
+
# @return [String]
|
5028
|
+
#
|
5029
|
+
# @!attribute [rw] stream_arn
|
5030
|
+
# The ARN for a Kinesis data stream.
|
5031
|
+
# @return [String]
|
5032
|
+
#
|
5033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationInput AWS API Documentation
|
5034
|
+
#
|
5035
|
+
class KinesisStreamingDestinationInput < Struct.new(
|
5036
|
+
:table_name,
|
5037
|
+
:stream_arn)
|
5038
|
+
SENSITIVE = []
|
5039
|
+
include Aws::Structure
|
5040
|
+
end
|
5041
|
+
|
5042
|
+
# @!attribute [rw] table_name
|
5043
|
+
# The name of the table being modified.
|
5044
|
+
# @return [String]
|
5045
|
+
#
|
5046
|
+
# @!attribute [rw] stream_arn
|
5047
|
+
# The ARN for the specific Kinesis data stream.
|
5048
|
+
# @return [String]
|
5049
|
+
#
|
5050
|
+
# @!attribute [rw] destination_status
|
5051
|
+
# The current status of the replication.
|
5052
|
+
# @return [String]
|
5053
|
+
#
|
5054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KinesisStreamingDestinationOutput AWS API Documentation
|
5055
|
+
#
|
5056
|
+
class KinesisStreamingDestinationOutput < Struct.new(
|
5057
|
+
:table_name,
|
5058
|
+
:stream_arn,
|
5059
|
+
:destination_status)
|
5060
|
+
SENSITIVE = []
|
5061
|
+
include Aws::Structure
|
5062
|
+
end
|
5063
|
+
|
4721
5064
|
# There is no limit to the number of daily on-demand backups that can be
|
4722
5065
|
# taken.
|
4723
5066
|
#
|
@@ -5268,6 +5611,33 @@ module Aws::DynamoDB
|
|
5268
5611
|
include Aws::Structure
|
5269
5612
|
end
|
5270
5613
|
|
5614
|
+
# Represents a PartiQL statment that uses parameters.
|
5615
|
+
#
|
5616
|
+
# @note When making an API call, you may pass ParameterizedStatement
|
5617
|
+
# data as a hash:
|
5618
|
+
#
|
5619
|
+
# {
|
5620
|
+
# statement: "PartiQLStatement", # required
|
5621
|
+
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
5622
|
+
# }
|
5623
|
+
#
|
5624
|
+
# @!attribute [rw] statement
|
5625
|
+
# A PartiQL statment that uses parameters.
|
5626
|
+
# @return [String]
|
5627
|
+
#
|
5628
|
+
# @!attribute [rw] parameters
|
5629
|
+
# The parameter values.
|
5630
|
+
# @return [Array<Types::AttributeValue>]
|
5631
|
+
#
|
5632
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ParameterizedStatement AWS API Documentation
|
5633
|
+
#
|
5634
|
+
class ParameterizedStatement < Struct.new(
|
5635
|
+
:statement,
|
5636
|
+
:parameters)
|
5637
|
+
SENSITIVE = []
|
5638
|
+
include Aws::Structure
|
5639
|
+
end
|
5640
|
+
|
5271
5641
|
# The description of the point in time settings applied to the table.
|
5272
5642
|
#
|
5273
5643
|
# @!attribute [rw] point_in_time_recovery_status
|
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.58.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-11-
|
11
|
+
date: 2020-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|