aws-sdk-dynamodb 1.52.0 → 1.57.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 -1
- data/lib/aws-sdk-dynamodb/client.rb +237 -33
- data/lib/aws-sdk-dynamodb/client_api.rb +137 -0
- data/lib/aws-sdk-dynamodb/errors.rb +48 -0
- data/lib/aws-sdk-dynamodb/resource.rb +2 -1
- data/lib/aws-sdk-dynamodb/table.rb +3 -3
- data/lib/aws-sdk-dynamodb/types.rb +416 -19
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77d2d3ca48547e85f0d25840297d9fddb96cf9ccce546d16f78cdb04c8b6ac8a
|
4
|
+
data.tar.gz: c4074caf735b7606ed8f729f3f5b130781b708e430f97b3f1dbefb06aec74d15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8b35e97196e91f39ff436dc7bc11496c3072ea9a998c50fc4dca9defc6f41100c7abb00fe00f9782af7c2dcb2485d4b6e353ebede861808c502b892b4973717
|
7
|
+
data.tar.gz: a3dcdd007442a4a72bff2dfa106c968fd14e4d01165e248b0631a479ab6b74ef8efb323eb08d0ad4fd76c5885c9bd8a1f7a5118db2824c836301607b3f58b345
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -49,6 +50,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
|
|
49
50
|
# @!group service
|
50
51
|
module Aws::DynamoDB
|
51
52
|
|
52
|
-
GEM_VERSION = '1.
|
53
|
+
GEM_VERSION = '1.57.0'
|
53
54
|
|
54
55
|
end
|
@@ -1036,7 +1036,7 @@ module Aws::DynamoDB
|
|
1036
1036
|
#
|
1037
1037
|
# resp.global_table_description.replication_group #=> Array
|
1038
1038
|
# 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"
|
1039
|
+
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
1040
1040
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
1041
1041
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
1042
1042
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -1044,6 +1044,7 @@ module Aws::DynamoDB
|
|
1044
1044
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
1045
1045
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
1046
1046
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1047
|
+
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
1047
1048
|
# resp.global_table_description.global_table_arn #=> String
|
1048
1049
|
# resp.global_table_description.creation_date_time #=> Time
|
1049
1050
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -1237,7 +1238,8 @@ module Aws::DynamoDB
|
|
1237
1238
|
# specify this property.
|
1238
1239
|
#
|
1239
1240
|
# For current minimum and maximum provisioned throughput values, see
|
1240
|
-
# [
|
1241
|
+
# [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
|
1242
|
+
# Developer Guide*.
|
1241
1243
|
#
|
1242
1244
|
#
|
1243
1245
|
#
|
@@ -1479,7 +1481,7 @@ module Aws::DynamoDB
|
|
1479
1481
|
# resp.table_description.global_table_version #=> String
|
1480
1482
|
# resp.table_description.replicas #=> Array
|
1481
1483
|
# resp.table_description.replicas[0].region_name #=> String
|
1482
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
1484
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
1483
1485
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
1484
1486
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
1485
1487
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -1487,6 +1489,7 @@ module Aws::DynamoDB
|
|
1487
1489
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
1488
1490
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1489
1491
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1492
|
+
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1490
1493
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
1491
1494
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1492
1495
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -1973,7 +1976,7 @@ module Aws::DynamoDB
|
|
1973
1976
|
# resp.table_description.global_table_version #=> String
|
1974
1977
|
# resp.table_description.replicas #=> Array
|
1975
1978
|
# resp.table_description.replicas[0].region_name #=> String
|
1976
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
1979
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
1977
1980
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
1978
1981
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
1979
1982
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -1981,6 +1984,7 @@ module Aws::DynamoDB
|
|
1981
1984
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
1982
1985
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1983
1986
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1987
|
+
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1984
1988
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
1985
1989
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1986
1990
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -2189,6 +2193,52 @@ module Aws::DynamoDB
|
|
2189
2193
|
req.send_request(options)
|
2190
2194
|
end
|
2191
2195
|
|
2196
|
+
# Describes an existing table export.
|
2197
|
+
#
|
2198
|
+
# @option params [required, String] :export_arn
|
2199
|
+
# The Amazon Resource Name (ARN) associated with the export.
|
2200
|
+
#
|
2201
|
+
# @return [Types::DescribeExportOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2202
|
+
#
|
2203
|
+
# * {Types::DescribeExportOutput#export_description #export_description} => Types::ExportDescription
|
2204
|
+
#
|
2205
|
+
# @example Request syntax with placeholder values
|
2206
|
+
#
|
2207
|
+
# resp = client.describe_export({
|
2208
|
+
# export_arn: "ExportArn", # required
|
2209
|
+
# })
|
2210
|
+
#
|
2211
|
+
# @example Response structure
|
2212
|
+
#
|
2213
|
+
# resp.export_description.export_arn #=> String
|
2214
|
+
# resp.export_description.export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
2215
|
+
# resp.export_description.start_time #=> Time
|
2216
|
+
# resp.export_description.end_time #=> Time
|
2217
|
+
# resp.export_description.export_manifest #=> String
|
2218
|
+
# resp.export_description.table_arn #=> String
|
2219
|
+
# resp.export_description.table_id #=> String
|
2220
|
+
# resp.export_description.export_time #=> Time
|
2221
|
+
# resp.export_description.client_token #=> String
|
2222
|
+
# resp.export_description.s3_bucket #=> String
|
2223
|
+
# resp.export_description.s3_bucket_owner #=> String
|
2224
|
+
# resp.export_description.s3_prefix #=> String
|
2225
|
+
# resp.export_description.s3_sse_algorithm #=> String, one of "AES256", "KMS"
|
2226
|
+
# resp.export_description.s3_sse_kms_key_id #=> String
|
2227
|
+
# resp.export_description.failure_code #=> String
|
2228
|
+
# resp.export_description.failure_message #=> String
|
2229
|
+
# resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
|
2230
|
+
# resp.export_description.billed_size_bytes #=> Integer
|
2231
|
+
# resp.export_description.item_count #=> Integer
|
2232
|
+
#
|
2233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport AWS API Documentation
|
2234
|
+
#
|
2235
|
+
# @overload describe_export(params = {})
|
2236
|
+
# @param [Hash] params ({})
|
2237
|
+
def describe_export(params = {}, options = {})
|
2238
|
+
req = build_request(:describe_export, params)
|
2239
|
+
req.send_request(options)
|
2240
|
+
end
|
2241
|
+
|
2192
2242
|
# Returns information about the specified global table.
|
2193
2243
|
#
|
2194
2244
|
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
@@ -2220,7 +2270,7 @@ module Aws::DynamoDB
|
|
2220
2270
|
#
|
2221
2271
|
# resp.global_table_description.replication_group #=> Array
|
2222
2272
|
# resp.global_table_description.replication_group[0].region_name #=> String
|
2223
|
-
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
2273
|
+
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2224
2274
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
2225
2275
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
2226
2276
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -2228,6 +2278,7 @@ module Aws::DynamoDB
|
|
2228
2278
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
2229
2279
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
2230
2280
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2281
|
+
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
2231
2282
|
# resp.global_table_description.global_table_arn #=> String
|
2232
2283
|
# resp.global_table_description.creation_date_time #=> Time
|
2233
2284
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -2272,7 +2323,7 @@ module Aws::DynamoDB
|
|
2272
2323
|
# resp.global_table_name #=> String
|
2273
2324
|
# resp.replica_settings #=> Array
|
2274
2325
|
# resp.replica_settings[0].region_name #=> String
|
2275
|
-
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
2326
|
+
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2276
2327
|
# resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
2277
2328
|
# resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
|
2278
2329
|
# resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
|
@@ -2332,28 +2383,28 @@ module Aws::DynamoDB
|
|
2332
2383
|
req.send_request(options)
|
2333
2384
|
end
|
2334
2385
|
|
2335
|
-
# Returns the current provisioned-capacity
|
2386
|
+
# Returns the current provisioned-capacity quotas for your AWS account
|
2336
2387
|
# in a Region, both for the Region as a whole and for any one DynamoDB
|
2337
2388
|
# table that you create there.
|
2338
2389
|
#
|
2339
|
-
# When you establish an AWS account, the account has initial
|
2390
|
+
# When you establish an AWS account, the account has initial quotas on
|
2340
2391
|
# the maximum read capacity units and write capacity units that you can
|
2341
2392
|
# provision across all of your DynamoDB tables in a given Region. Also,
|
2342
|
-
# there are per-table
|
2343
|
-
# For more information, see [
|
2344
|
-
# Developer Guide*.
|
2393
|
+
# there are per-table quotas that apply when you create a table there.
|
2394
|
+
# For more information, see [Service, Account, and Table Quotas][1] page
|
2395
|
+
# in the *Amazon DynamoDB Developer Guide*.
|
2345
2396
|
#
|
2346
|
-
# Although you can increase these
|
2397
|
+
# Although you can increase these quotas by filing a case at [AWS
|
2347
2398
|
# Support Center][2], obtaining the increase is not instantaneous. The
|
2348
2399
|
# `DescribeLimits` action lets you write code to compare the capacity
|
2349
|
-
# you are currently using to those
|
2400
|
+
# you are currently using to those quotas imposed by your account so
|
2350
2401
|
# that you have enough time to apply for an increase before you hit a
|
2351
|
-
#
|
2402
|
+
# quota.
|
2352
2403
|
#
|
2353
2404
|
# For example, you could use one of the AWS SDKs to do the following:
|
2354
2405
|
#
|
2355
2406
|
# 1. Call `DescribeLimits` for a particular Region to obtain your
|
2356
|
-
# current account
|
2407
|
+
# current account quotas on provisioned capacity there.
|
2357
2408
|
#
|
2358
2409
|
# 2. Create a variable to hold the aggregate read capacity units
|
2359
2410
|
# provisioned for all your tables in that Region, and one to hold
|
@@ -2373,21 +2424,21 @@ module Aws::DynamoDB
|
|
2373
2424
|
# loop over these GSIs and add their provisioned capacity values
|
2374
2425
|
# to your variables as well.
|
2375
2426
|
#
|
2376
|
-
# 5. Report the account
|
2427
|
+
# 5. Report the account quotas for that Region returned by
|
2377
2428
|
# `DescribeLimits`, along with the total current provisioned
|
2378
2429
|
# capacity levels you have calculated.
|
2379
2430
|
#
|
2380
2431
|
# This will let you see whether you are getting close to your
|
2381
|
-
# account-level
|
2432
|
+
# account-level quotas.
|
2382
2433
|
#
|
2383
|
-
# The per-table
|
2434
|
+
# The per-table quotas apply only when you are creating a new table.
|
2384
2435
|
# They restrict the sum of the provisioned capacity of the new table
|
2385
2436
|
# itself and all its global secondary indexes.
|
2386
2437
|
#
|
2387
2438
|
# For existing tables and their GSIs, DynamoDB doesn't let you increase
|
2388
|
-
# provisioned capacity extremely rapidly
|
2439
|
+
# provisioned capacity extremely rapidly, but the only quota that
|
2389
2440
|
# applies is that the aggregate provisioned capacity over all your
|
2390
|
-
# tables and GSIs cannot exceed either of the per-account
|
2441
|
+
# tables and GSIs cannot exceed either of the per-account quotas.
|
2391
2442
|
#
|
2392
2443
|
# <note markdown="1"> `DescribeLimits` should only be called periodically. You can expect
|
2393
2444
|
# throttling errors if you call it more than once in a minute.
|
@@ -2570,7 +2621,7 @@ module Aws::DynamoDB
|
|
2570
2621
|
# resp.table.global_table_version #=> String
|
2571
2622
|
# resp.table.replicas #=> Array
|
2572
2623
|
# resp.table.replicas[0].region_name #=> String
|
2573
|
-
# resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
2624
|
+
# resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2574
2625
|
# resp.table.replicas[0].replica_status_description #=> String
|
2575
2626
|
# resp.table.replicas[0].replica_status_percent_progress #=> String
|
2576
2627
|
# resp.table.replicas[0].kms_master_key_id #=> String
|
@@ -2578,6 +2629,7 @@ module Aws::DynamoDB
|
|
2578
2629
|
# resp.table.replicas[0].global_secondary_indexes #=> Array
|
2579
2630
|
# resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2580
2631
|
# resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2632
|
+
# resp.table.replicas[0].replica_inaccessible_date_time #=> Time
|
2581
2633
|
# resp.table.restore_summary.source_backup_arn #=> String
|
2582
2634
|
# resp.table.restore_summary.source_table_arn #=> String
|
2583
2635
|
# resp.table.restore_summary.restore_date_time #=> Time
|
@@ -2679,7 +2731,7 @@ module Aws::DynamoDB
|
|
2679
2731
|
# 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
|
2680
2732
|
# 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
|
2681
2733
|
# 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
|
2682
|
-
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
2734
|
+
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2683
2735
|
#
|
2684
2736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling AWS API Documentation
|
2685
2737
|
#
|
@@ -2720,6 +2772,111 @@ module Aws::DynamoDB
|
|
2720
2772
|
req.send_request(options)
|
2721
2773
|
end
|
2722
2774
|
|
2775
|
+
# Exports table data to an S3 bucket. The table must have point in time
|
2776
|
+
# recovery enabled, and you can export data from any time within the
|
2777
|
+
# point in time recovery window.
|
2778
|
+
#
|
2779
|
+
# @option params [required, String] :table_arn
|
2780
|
+
# The Amazon Resource Name (ARN) associated with the table to export.
|
2781
|
+
#
|
2782
|
+
# @option params [Time,DateTime,Date,Integer,String] :export_time
|
2783
|
+
# Time in the past from which to export table data. The table export
|
2784
|
+
# will be a snapshot of the table's state at this point in time.
|
2785
|
+
#
|
2786
|
+
# @option params [String] :client_token
|
2787
|
+
# Providing a `ClientToken` makes the call to
|
2788
|
+
# `ExportTableToPointInTimeInput` idempotent, meaning that multiple
|
2789
|
+
# identical calls have the same effect as one single call.
|
2790
|
+
#
|
2791
|
+
# A client token is valid for 8 hours after the first request that uses
|
2792
|
+
# it is completed. After 8 hours, any request with the same client token
|
2793
|
+
# is treated as a new request. Do not resubmit the same request with the
|
2794
|
+
# same client token for more than 8 hours, or the result might not be
|
2795
|
+
# idempotent.
|
2796
|
+
#
|
2797
|
+
# If you submit a request with the same client token but a change in
|
2798
|
+
# other parameters within the 8-hour idempotency window, DynamoDB
|
2799
|
+
# returns an `IdempotentParameterMismatch` exception.
|
2800
|
+
#
|
2801
|
+
# **A suitable default value is auto-generated.** You should normally
|
2802
|
+
# not need to pass this option.**
|
2803
|
+
#
|
2804
|
+
# @option params [required, String] :s3_bucket
|
2805
|
+
# The name of the Amazon S3 bucket to export the snapshot to.
|
2806
|
+
#
|
2807
|
+
# @option params [String] :s3_bucket_owner
|
2808
|
+
# The ID of the AWS account that owns the bucket the export will be
|
2809
|
+
# stored in.
|
2810
|
+
#
|
2811
|
+
# @option params [String] :s3_prefix
|
2812
|
+
# The Amazon S3 bucket prefix to use as the file name and path of the
|
2813
|
+
# exported snapshot.
|
2814
|
+
#
|
2815
|
+
# @option params [String] :s3_sse_algorithm
|
2816
|
+
# Type of encryption used on the bucket where export data will be
|
2817
|
+
# stored. Valid values for `S3SseAlgorithm` are:
|
2818
|
+
#
|
2819
|
+
# * `AES256` - server-side encryption with Amazon S3 managed keys
|
2820
|
+
#
|
2821
|
+
# * `KMS` - server-side encryption with AWS KMS managed keys
|
2822
|
+
#
|
2823
|
+
# @option params [String] :s3_sse_kms_key_id
|
2824
|
+
# The ID of the AWS KMS managed key used to encrypt the S3 bucket where
|
2825
|
+
# export data will be stored (if applicable).
|
2826
|
+
#
|
2827
|
+
# @option params [String] :export_format
|
2828
|
+
# The format for the exported data. Valid values for `ExportFormat` are
|
2829
|
+
# `DYNAMODB_JSON` or `ION`.
|
2830
|
+
#
|
2831
|
+
# @return [Types::ExportTableToPointInTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2832
|
+
#
|
2833
|
+
# * {Types::ExportTableToPointInTimeOutput#export_description #export_description} => Types::ExportDescription
|
2834
|
+
#
|
2835
|
+
# @example Request syntax with placeholder values
|
2836
|
+
#
|
2837
|
+
# resp = client.export_table_to_point_in_time({
|
2838
|
+
# table_arn: "TableArn", # required
|
2839
|
+
# export_time: Time.now,
|
2840
|
+
# client_token: "ClientToken",
|
2841
|
+
# s3_bucket: "S3Bucket", # required
|
2842
|
+
# s3_bucket_owner: "S3BucketOwner",
|
2843
|
+
# s3_prefix: "S3Prefix",
|
2844
|
+
# s3_sse_algorithm: "AES256", # accepts AES256, KMS
|
2845
|
+
# s3_sse_kms_key_id: "S3SseKmsKeyId",
|
2846
|
+
# export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
|
2847
|
+
# })
|
2848
|
+
#
|
2849
|
+
# @example Response structure
|
2850
|
+
#
|
2851
|
+
# resp.export_description.export_arn #=> String
|
2852
|
+
# resp.export_description.export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
2853
|
+
# resp.export_description.start_time #=> Time
|
2854
|
+
# resp.export_description.end_time #=> Time
|
2855
|
+
# resp.export_description.export_manifest #=> String
|
2856
|
+
# resp.export_description.table_arn #=> String
|
2857
|
+
# resp.export_description.table_id #=> String
|
2858
|
+
# resp.export_description.export_time #=> Time
|
2859
|
+
# resp.export_description.client_token #=> String
|
2860
|
+
# resp.export_description.s3_bucket #=> String
|
2861
|
+
# resp.export_description.s3_bucket_owner #=> String
|
2862
|
+
# resp.export_description.s3_prefix #=> String
|
2863
|
+
# resp.export_description.s3_sse_algorithm #=> String, one of "AES256", "KMS"
|
2864
|
+
# resp.export_description.s3_sse_kms_key_id #=> String
|
2865
|
+
# resp.export_description.failure_code #=> String
|
2866
|
+
# resp.export_description.failure_message #=> String
|
2867
|
+
# resp.export_description.export_format #=> String, one of "DYNAMODB_JSON", "ION"
|
2868
|
+
# resp.export_description.billed_size_bytes #=> Integer
|
2869
|
+
# resp.export_description.item_count #=> Integer
|
2870
|
+
#
|
2871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime AWS API Documentation
|
2872
|
+
#
|
2873
|
+
# @overload export_table_to_point_in_time(params = {})
|
2874
|
+
# @param [Hash] params ({})
|
2875
|
+
def export_table_to_point_in_time(params = {}, options = {})
|
2876
|
+
req = build_request(:export_table_to_point_in_time, params)
|
2877
|
+
req.send_request(options)
|
2878
|
+
end
|
2879
|
+
|
2723
2880
|
# The `GetItem` operation returns a set of attributes for the item with
|
2724
2881
|
# the given primary key. If there is no matching item, `GetItem` does
|
2725
2882
|
# not return any data and there will be no `Item` element in the
|
@@ -2918,12 +3075,11 @@ module Aws::DynamoDB
|
|
2918
3075
|
# List backups associated with an AWS account. To list backups for a
|
2919
3076
|
# given table, specify `TableName`. `ListBackups` returns a paginated
|
2920
3077
|
# list of results with at most 1 MB worth of items in a page. You can
|
2921
|
-
# also specify a
|
2922
|
-
# in a page.
|
3078
|
+
# also specify a maximum number of entries to be returned in a page.
|
2923
3079
|
#
|
2924
3080
|
# In the request, start time is inclusive, but end time is exclusive.
|
2925
|
-
# Note that these
|
2926
|
-
# was requested.
|
3081
|
+
# Note that these boundaries are for the time at which the original
|
3082
|
+
# backup was requested.
|
2927
3083
|
#
|
2928
3084
|
# You can call `ListBackups` a maximum of five times per second.
|
2929
3085
|
#
|
@@ -3043,6 +3199,50 @@ module Aws::DynamoDB
|
|
3043
3199
|
req.send_request(options)
|
3044
3200
|
end
|
3045
3201
|
|
3202
|
+
# Lists completed exports within the past 90 days.
|
3203
|
+
#
|
3204
|
+
# @option params [String] :table_arn
|
3205
|
+
# The Amazon Resource Name (ARN) associated with the exported table.
|
3206
|
+
#
|
3207
|
+
# @option params [Integer] :max_results
|
3208
|
+
# Maximum number of results to return per page.
|
3209
|
+
#
|
3210
|
+
# @option params [String] :next_token
|
3211
|
+
# An optional string that, if supplied, must be copied from the output
|
3212
|
+
# of a previous call to `ListExports`. When provided in this manner, the
|
3213
|
+
# API fetches the next page of results.
|
3214
|
+
#
|
3215
|
+
# @return [Types::ListExportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3216
|
+
#
|
3217
|
+
# * {Types::ListExportsOutput#export_summaries #export_summaries} => Array<Types::ExportSummary>
|
3218
|
+
# * {Types::ListExportsOutput#next_token #next_token} => String
|
3219
|
+
#
|
3220
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3221
|
+
#
|
3222
|
+
# @example Request syntax with placeholder values
|
3223
|
+
#
|
3224
|
+
# resp = client.list_exports({
|
3225
|
+
# table_arn: "TableArn",
|
3226
|
+
# max_results: 1,
|
3227
|
+
# next_token: "ExportNextToken",
|
3228
|
+
# })
|
3229
|
+
#
|
3230
|
+
# @example Response structure
|
3231
|
+
#
|
3232
|
+
# resp.export_summaries #=> Array
|
3233
|
+
# resp.export_summaries[0].export_arn #=> String
|
3234
|
+
# resp.export_summaries[0].export_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
3235
|
+
# resp.next_token #=> String
|
3236
|
+
#
|
3237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports AWS API Documentation
|
3238
|
+
#
|
3239
|
+
# @overload list_exports(params = {})
|
3240
|
+
# @param [Hash] params ({})
|
3241
|
+
def list_exports(params = {}, options = {})
|
3242
|
+
req = build_request(:list_exports, params)
|
3243
|
+
req.send_request(options)
|
3244
|
+
end
|
3245
|
+
|
3046
3246
|
# Lists all global tables that have a replica in the specified Region.
|
3047
3247
|
#
|
3048
3248
|
# <note markdown="1"> This operation only applies to [Version 2017.11.29][1] of global
|
@@ -4246,7 +4446,7 @@ module Aws::DynamoDB
|
|
4246
4446
|
# resp.table_description.global_table_version #=> String
|
4247
4447
|
# resp.table_description.replicas #=> Array
|
4248
4448
|
# resp.table_description.replicas[0].region_name #=> String
|
4249
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
4449
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
4250
4450
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
4251
4451
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
4252
4452
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -4254,6 +4454,7 @@ module Aws::DynamoDB
|
|
4254
4454
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
4255
4455
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
4256
4456
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
4457
|
+
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
4257
4458
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
4258
4459
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
4259
4460
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -4468,7 +4669,7 @@ module Aws::DynamoDB
|
|
4468
4669
|
# resp.table_description.global_table_version #=> String
|
4469
4670
|
# resp.table_description.replicas #=> Array
|
4470
4671
|
# resp.table_description.replicas[0].region_name #=> String
|
4471
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
4672
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
4472
4673
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
4473
4674
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
4474
4675
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -4476,6 +4677,7 @@ module Aws::DynamoDB
|
|
4476
4677
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
4477
4678
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
4478
4679
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
4680
|
+
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
4479
4681
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
4480
4682
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
4481
4683
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -5472,7 +5674,7 @@ module Aws::DynamoDB
|
|
5472
5674
|
#
|
5473
5675
|
# resp.global_table_description.replication_group #=> Array
|
5474
5676
|
# resp.global_table_description.replication_group[0].region_name #=> String
|
5475
|
-
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
5677
|
+
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
5476
5678
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
5477
5679
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
5478
5680
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -5480,6 +5682,7 @@ module Aws::DynamoDB
|
|
5480
5682
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
5481
5683
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
5482
5684
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5685
|
+
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
5483
5686
|
# resp.global_table_description.global_table_arn #=> String
|
5484
5687
|
# resp.global_table_description.creation_date_time #=> Time
|
5485
5688
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -5629,7 +5832,7 @@ module Aws::DynamoDB
|
|
5629
5832
|
# resp.global_table_name #=> String
|
5630
5833
|
# resp.replica_settings #=> Array
|
5631
5834
|
# resp.replica_settings[0].region_name #=> String
|
5632
|
-
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
5835
|
+
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
5633
5836
|
# resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
5634
5837
|
# resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
|
5635
5838
|
# resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
|
@@ -6390,7 +6593,7 @@ module Aws::DynamoDB
|
|
6390
6593
|
# resp.table_description.global_table_version #=> String
|
6391
6594
|
# resp.table_description.replicas #=> Array
|
6392
6595
|
# resp.table_description.replicas[0].region_name #=> String
|
6393
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
6596
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
6394
6597
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
6395
6598
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
6396
6599
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -6398,6 +6601,7 @@ module Aws::DynamoDB
|
|
6398
6601
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
6399
6602
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
6400
6603
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
6604
|
+
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
6401
6605
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
6402
6606
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
6403
6607
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -6579,7 +6783,7 @@ module Aws::DynamoDB
|
|
6579
6783
|
# 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
|
6580
6784
|
# 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
|
6581
6785
|
# 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
|
6582
|
-
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE"
|
6786
|
+
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
6583
6787
|
#
|
6584
6788
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling AWS API Documentation
|
6585
6789
|
#
|
@@ -6675,7 +6879,7 @@ module Aws::DynamoDB
|
|
6675
6879
|
params: params,
|
6676
6880
|
config: config)
|
6677
6881
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
6678
|
-
context[:gem_version] = '1.
|
6882
|
+
context[:gem_version] = '1.57.0'
|
6679
6883
|
Seahorse::Client::Request.new(handlers, context)
|
6680
6884
|
end
|
6681
6885
|
|