aws-sdk-dynamodb 1.57.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.61.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.batch_get_item(params)
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.57.0'
53
+ GEM_VERSION = '1.61.0'
54
54
 
55
55
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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&lt;Types::BatchStatementResponse&gt;
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&lt;Types::KinesisDataStreamDestination&gt;
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&lt;Hash&lt;String,Types::AttributeValue&gt;&gt;
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&lt;Types::ItemResponse&gt;
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.57.0'
7124
+ context[:gem_version] = '1.61.0'
6883
7125
  Seahorse::Client::Request.new(handlers, context)
6884
7126
  end
6885
7127
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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"