aws-sdk-dynamodb 1.55.0 → 1.60.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.60.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.55.0'
53
+ GEM_VERSION = '1.60.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.
@@ -1036,7 +1076,7 @@ module Aws::DynamoDB
1036
1076
  #
1037
1077
  # resp.global_table_description.replication_group #=> Array
1038
1078
  # resp.global_table_description.replication_group[0].region_name #=> String
1039
- # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
1079
+ # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
1040
1080
  # resp.global_table_description.replication_group[0].replica_status_description #=> String
1041
1081
  # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
1042
1082
  # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
@@ -1481,7 +1521,7 @@ module Aws::DynamoDB
1481
1521
  # resp.table_description.global_table_version #=> String
1482
1522
  # resp.table_description.replicas #=> Array
1483
1523
  # resp.table_description.replicas[0].region_name #=> String
1484
- # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
1524
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
1485
1525
  # resp.table_description.replicas[0].replica_status_description #=> String
1486
1526
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
1487
1527
  # resp.table_description.replicas[0].kms_master_key_id #=> String
@@ -1976,7 +2016,7 @@ module Aws::DynamoDB
1976
2016
  # resp.table_description.global_table_version #=> String
1977
2017
  # resp.table_description.replicas #=> Array
1978
2018
  # resp.table_description.replicas[0].region_name #=> String
1979
- # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
2019
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
1980
2020
  # resp.table_description.replicas[0].replica_status_description #=> String
1981
2021
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
1982
2022
  # resp.table_description.replicas[0].kms_master_key_id #=> String
@@ -2193,6 +2233,52 @@ module Aws::DynamoDB
2193
2233
  req.send_request(options)
2194
2234
  end
2195
2235
 
2236
+ # Describes an existing table export.
2237
+ #
2238
+ # @option params [required, String] :export_arn
2239
+ # The Amazon Resource Name (ARN) associated with the export.
2240
+ #
2241
+ # @return [Types::DescribeExportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2242
+ #
2243
+ # * {Types::DescribeExportOutput#export_description #export_description} => Types::ExportDescription
2244
+ #
2245
+ # @example Request syntax with placeholder values
2246
+ #
2247
+ # resp = client.describe_export({
2248
+ # export_arn: "ExportArn", # required
2249
+ # })
2250
+ #
2251
+ # @example Response structure
2252
+ #
2253
+ # resp.export_description.export_arn #=> String
2254
+ # resp.export_description.export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
2255
+ # resp.export_description.start_time #=> Time
2256
+ # resp.export_description.end_time #=> Time
2257
+ # resp.export_description.export_manifest #=> String
2258
+ # resp.export_description.table_arn #=> String
2259
+ # resp.export_description.table_id #=> String
2260
+ # resp.export_description.export_time #=> Time
2261
+ # resp.export_description.client_token #=> String
2262
+ # resp.export_description.s3_bucket #=> String
2263
+ # resp.export_description.s3_bucket_owner #=> String
2264
+ # resp.export_description.s3_prefix #=> String
2265
+ # resp.export_description.s3_sse_algorithm #=> String, one of "AES256", "KMS"
2266
+ # resp.export_description.s3_sse_kms_key_id #=> String
2267
+ # resp.export_description.failure_code #=> String
2268
+ # resp.export_description.failure_message #=> String
2269
+ # resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
2270
+ # resp.export_description.billed_size_bytes #=> Integer
2271
+ # resp.export_description.item_count #=> Integer
2272
+ #
2273
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport AWS API Documentation
2274
+ #
2275
+ # @overload describe_export(params = {})
2276
+ # @param [Hash] params ({})
2277
+ def describe_export(params = {}, options = {})
2278
+ req = build_request(:describe_export, params)
2279
+ req.send_request(options)
2280
+ end
2281
+
2196
2282
  # Returns information about the specified global table.
2197
2283
  #
2198
2284
  # <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
@@ -2224,7 +2310,7 @@ module Aws::DynamoDB
2224
2310
  #
2225
2311
  # resp.global_table_description.replication_group #=> Array
2226
2312
  # resp.global_table_description.replication_group[0].region_name #=> String
2227
- # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
2313
+ # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
2228
2314
  # resp.global_table_description.replication_group[0].replica_status_description #=> String
2229
2315
  # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
2230
2316
  # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
@@ -2277,7 +2363,7 @@ module Aws::DynamoDB
2277
2363
  # resp.global_table_name #=> String
2278
2364
  # resp.replica_settings #=> Array
2279
2365
  # resp.replica_settings[0].region_name #=> String
2280
- # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
2366
+ # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
2281
2367
  # resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
2282
2368
  # resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
2283
2369
  # resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
@@ -2337,6 +2423,39 @@ module Aws::DynamoDB
2337
2423
  req.send_request(options)
2338
2424
  end
2339
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
+
2340
2459
  # Returns the current provisioned-capacity quotas for your AWS account
2341
2460
  # in a Region, both for the Region as a whole and for any one DynamoDB
2342
2461
  # table that you create there.
@@ -2575,7 +2694,7 @@ module Aws::DynamoDB
2575
2694
  # resp.table.global_table_version #=> String
2576
2695
  # resp.table.replicas #=> Array
2577
2696
  # resp.table.replicas[0].region_name #=> String
2578
- # resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
2697
+ # resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
2579
2698
  # resp.table.replicas[0].replica_status_description #=> String
2580
2699
  # resp.table.replicas[0].replica_status_percent_progress #=> String
2581
2700
  # resp.table.replicas[0].kms_master_key_id #=> String
@@ -2685,7 +2804,7 @@ module Aws::DynamoDB
2685
2804
  # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
2686
2805
  # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
2687
2806
  # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
2688
- # resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
2807
+ # resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
2689
2808
  #
2690
2809
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling AWS API Documentation
2691
2810
  #
@@ -2726,6 +2845,280 @@ module Aws::DynamoDB
2726
2845
  req.send_request(options)
2727
2846
  end
2728
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
+
3017
+ # Exports table data to an S3 bucket. The table must have point in time
3018
+ # recovery enabled, and you can export data from any time within the
3019
+ # point in time recovery window.
3020
+ #
3021
+ # @option params [required, String] :table_arn
3022
+ # The Amazon Resource Name (ARN) associated with the table to export.
3023
+ #
3024
+ # @option params [Time,DateTime,Date,Integer,String] :export_time
3025
+ # Time in the past from which to export table data. The table export
3026
+ # will be a snapshot of the table's state at this point in time.
3027
+ #
3028
+ # @option params [String] :client_token
3029
+ # Providing a `ClientToken` makes the call to
3030
+ # `ExportTableToPointInTimeInput` idempotent, meaning that multiple
3031
+ # identical calls have the same effect as one single call.
3032
+ #
3033
+ # A client token is valid for 8 hours after the first request that uses
3034
+ # it is completed. After 8 hours, any request with the same client token
3035
+ # is treated as a new request. Do not resubmit the same request with the
3036
+ # same client token for more than 8 hours, or the result might not be
3037
+ # idempotent.
3038
+ #
3039
+ # If you submit a request with the same client token but a change in
3040
+ # other parameters within the 8-hour idempotency window, DynamoDB
3041
+ # returns an `IdempotentParameterMismatch` exception.
3042
+ #
3043
+ # **A suitable default value is auto-generated.** You should normally
3044
+ # not need to pass this option.**
3045
+ #
3046
+ # @option params [required, String] :s3_bucket
3047
+ # The name of the Amazon S3 bucket to export the snapshot to.
3048
+ #
3049
+ # @option params [String] :s3_bucket_owner
3050
+ # The ID of the AWS account that owns the bucket the export will be
3051
+ # stored in.
3052
+ #
3053
+ # @option params [String] :s3_prefix
3054
+ # The Amazon S3 bucket prefix to use as the file name and path of the
3055
+ # exported snapshot.
3056
+ #
3057
+ # @option params [String] :s3_sse_algorithm
3058
+ # Type of encryption used on the bucket where export data will be
3059
+ # stored. Valid values for `S3SseAlgorithm` are:
3060
+ #
3061
+ # * `AES256` - server-side encryption with Amazon S3 managed keys
3062
+ #
3063
+ # * `KMS` - server-side encryption with AWS KMS managed keys
3064
+ #
3065
+ # @option params [String] :s3_sse_kms_key_id
3066
+ # The ID of the AWS KMS managed key used to encrypt the S3 bucket where
3067
+ # export data will be stored (if applicable).
3068
+ #
3069
+ # @option params [String] :export_format
3070
+ # The format for the exported data. Valid values for `ExportFormat` are
3071
+ # `DYNAMODB_JSON` or `ION`.
3072
+ #
3073
+ # @return [Types::ExportTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3074
+ #
3075
+ # * {Types::ExportTableToPointInTimeOutput#export_description #export_description} => Types::ExportDescription
3076
+ #
3077
+ # @example Request syntax with placeholder values
3078
+ #
3079
+ # resp = client.export_table_to_point_in_time({
3080
+ # table_arn: "TableArn", # required
3081
+ # export_time: Time.now,
3082
+ # client_token: "ClientToken",
3083
+ # s3_bucket: "S3Bucket", # required
3084
+ # s3_bucket_owner: "S3BucketOwner",
3085
+ # s3_prefix: "S3Prefix",
3086
+ # s3_sse_algorithm: "AES256", # accepts AES256, KMS
3087
+ # s3_sse_kms_key_id: "S3SseKmsKeyId",
3088
+ # export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
3089
+ # })
3090
+ #
3091
+ # @example Response structure
3092
+ #
3093
+ # resp.export_description.export_arn #=> String
3094
+ # resp.export_description.export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
3095
+ # resp.export_description.start_time #=> Time
3096
+ # resp.export_description.end_time #=> Time
3097
+ # resp.export_description.export_manifest #=> String
3098
+ # resp.export_description.table_arn #=> String
3099
+ # resp.export_description.table_id #=> String
3100
+ # resp.export_description.export_time #=> Time
3101
+ # resp.export_description.client_token #=> String
3102
+ # resp.export_description.s3_bucket #=> String
3103
+ # resp.export_description.s3_bucket_owner #=> String
3104
+ # resp.export_description.s3_prefix #=> String
3105
+ # resp.export_description.s3_sse_algorithm #=> String, one of "AES256", "KMS"
3106
+ # resp.export_description.s3_sse_kms_key_id #=> String
3107
+ # resp.export_description.failure_code #=> String
3108
+ # resp.export_description.failure_message #=> String
3109
+ # resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
3110
+ # resp.export_description.billed_size_bytes #=> Integer
3111
+ # resp.export_description.item_count #=> Integer
3112
+ #
3113
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime AWS API Documentation
3114
+ #
3115
+ # @overload export_table_to_point_in_time(params = {})
3116
+ # @param [Hash] params ({})
3117
+ def export_table_to_point_in_time(params = {}, options = {})
3118
+ req = build_request(:export_table_to_point_in_time, params)
3119
+ req.send_request(options)
3120
+ end
3121
+
2729
3122
  # The `GetItem` operation returns a set of attributes for the item with
2730
3123
  # the given primary key. If there is no matching item, `GetItem` does
2731
3124
  # not return any data and there will be no `Item` element in the
@@ -3048,6 +3441,50 @@ module Aws::DynamoDB
3048
3441
  req.send_request(options)
3049
3442
  end
3050
3443
 
3444
+ # Lists completed exports within the past 90 days.
3445
+ #
3446
+ # @option params [String] :table_arn
3447
+ # The Amazon Resource Name (ARN) associated with the exported table.
3448
+ #
3449
+ # @option params [Integer] :max_results
3450
+ # Maximum number of results to return per page.
3451
+ #
3452
+ # @option params [String] :next_token
3453
+ # An optional string that, if supplied, must be copied from the output
3454
+ # of a previous call to `ListExports`. When provided in this manner, the
3455
+ # API fetches the next page of results.
3456
+ #
3457
+ # @return [Types::ListExportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3458
+ #
3459
+ # * {Types::ListExportsOutput#export_summaries #export_summaries} => Array&lt;Types::ExportSummary&gt;
3460
+ # * {Types::ListExportsOutput#next_token #next_token} => String
3461
+ #
3462
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3463
+ #
3464
+ # @example Request syntax with placeholder values
3465
+ #
3466
+ # resp = client.list_exports({
3467
+ # table_arn: "TableArn",
3468
+ # max_results: 1,
3469
+ # next_token: "ExportNextToken",
3470
+ # })
3471
+ #
3472
+ # @example Response structure
3473
+ #
3474
+ # resp.export_summaries #=> Array
3475
+ # resp.export_summaries[0].export_arn #=> String
3476
+ # resp.export_summaries[0].export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
3477
+ # resp.next_token #=> String
3478
+ #
3479
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports AWS API Documentation
3480
+ #
3481
+ # @overload list_exports(params = {})
3482
+ # @param [Hash] params ({})
3483
+ def list_exports(params = {}, options = {})
3484
+ req = build_request(:list_exports, params)
3485
+ req.send_request(options)
3486
+ end
3487
+
3051
3488
  # Lists all global tables that have a replica in the specified Region.
3052
3489
  #
3053
3490
  # <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
@@ -4251,7 +4688,7 @@ module Aws::DynamoDB
4251
4688
  # resp.table_description.global_table_version #=> String
4252
4689
  # resp.table_description.replicas #=> Array
4253
4690
  # resp.table_description.replicas[0].region_name #=> String
4254
- # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
4691
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
4255
4692
  # resp.table_description.replicas[0].replica_status_description #=> String
4256
4693
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
4257
4694
  # resp.table_description.replicas[0].kms_master_key_id #=> String
@@ -4474,7 +4911,7 @@ module Aws::DynamoDB
4474
4911
  # resp.table_description.global_table_version #=> String
4475
4912
  # resp.table_description.replicas #=> Array
4476
4913
  # resp.table_description.replicas[0].region_name #=> String
4477
- # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
4914
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
4478
4915
  # resp.table_description.replicas[0].replica_status_description #=> String
4479
4916
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
4480
4917
  # resp.table_description.replicas[0].kms_master_key_id #=> String
@@ -5479,7 +5916,7 @@ module Aws::DynamoDB
5479
5916
  #
5480
5917
  # resp.global_table_description.replication_group #=> Array
5481
5918
  # resp.global_table_description.replication_group[0].region_name #=> String
5482
- # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
5919
+ # resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
5483
5920
  # resp.global_table_description.replication_group[0].replica_status_description #=> String
5484
5921
  # resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
5485
5922
  # resp.global_table_description.replication_group[0].kms_master_key_id #=> String
@@ -5637,7 +6074,7 @@ module Aws::DynamoDB
5637
6074
  # resp.global_table_name #=> String
5638
6075
  # resp.replica_settings #=> Array
5639
6076
  # resp.replica_settings[0].region_name #=> String
5640
- # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
6077
+ # resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
5641
6078
  # resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
5642
6079
  # resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
5643
6080
  # resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
@@ -6398,7 +6835,7 @@ module Aws::DynamoDB
6398
6835
  # resp.table_description.global_table_version #=> String
6399
6836
  # resp.table_description.replicas #=> Array
6400
6837
  # resp.table_description.replicas[0].region_name #=> String
6401
- # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
6838
+ # resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
6402
6839
  # resp.table_description.replicas[0].replica_status_description #=> String
6403
6840
  # resp.table_description.replicas[0].replica_status_percent_progress #=> String
6404
6841
  # resp.table_description.replicas[0].kms_master_key_id #=> String
@@ -6588,7 +7025,7 @@ module Aws::DynamoDB
6588
7025
  # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
6589
7026
  # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
6590
7027
  # resp.table_auto_scaling_description.replicas[0].replica_provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
6591
- # resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED"
7028
+ # resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
6592
7029
  #
6593
7030
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling AWS API Documentation
6594
7031
  #
@@ -6684,7 +7121,7 @@ module Aws::DynamoDB
6684
7121
  params: params,
6685
7122
  config: config)
6686
7123
  context[:gem_name] = 'aws-sdk-dynamodb'
6687
- context[:gem_version] = '1.55.0'
7124
+ context[:gem_version] = '1.60.0'
6688
7125
  Seahorse::Client::Request.new(handlers, context)
6689
7126
  end
6690
7127