aws-sdk-dynamodb 1.145.0 → 1.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +113 -79
- data/lib/aws-sdk-dynamodb/client_api.rb +28 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-dynamodb/errors.rb +4 -0
- data/lib/aws-sdk-dynamodb/table.rb +50 -26
- data/lib/aws-sdk-dynamodb/types.rb +137 -29
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/resource.rbs +1 -0
- data/sig/table.rbs +14 -1
- data/sig/types.rbs +30 -6
- metadata +3 -3
@@ -101,7 +101,7 @@ module Aws::DynamoDB
|
|
101
101
|
# class name or an instance of a plugin class.
|
102
102
|
#
|
103
103
|
# @option options [required, Aws::CredentialProvider] :credentials
|
104
|
-
# Your AWS credentials. This can be an instance of any one of the
|
104
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
105
105
|
# following classes:
|
106
106
|
#
|
107
107
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -134,18 +134,23 @@ module Aws::DynamoDB
|
|
134
134
|
# locations will be searched for credentials:
|
135
135
|
#
|
136
136
|
# * `Aws.config[:credentials]`
|
137
|
+
#
|
137
138
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
138
139
|
# `:account_id` options.
|
139
|
-
#
|
140
|
-
#
|
140
|
+
#
|
141
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
142
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
143
|
+
#
|
141
144
|
# * `~/.aws/credentials`
|
145
|
+
#
|
142
146
|
# * `~/.aws/config`
|
147
|
+
#
|
143
148
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
144
149
|
# are very aggressive. Construct and pass an instance of
|
145
150
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
146
151
|
# enable retries and extended timeouts. Instance profile credential
|
147
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
148
|
-
# to true
|
152
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
153
|
+
# to `true`.
|
149
154
|
#
|
150
155
|
# @option options [required, String] :region
|
151
156
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +178,11 @@ module Aws::DynamoDB
|
|
173
178
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
174
179
|
# not retry instead of sleeping.
|
175
180
|
#
|
181
|
+
# @option options [Array<String>] :auth_scheme_preference
|
182
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
183
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
184
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :client_side_monitoring (false)
|
177
187
|
# When `true`, client-side metrics will be collected for all API requests from
|
178
188
|
# this client.
|
@@ -265,8 +275,8 @@ module Aws::DynamoDB
|
|
265
275
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
266
276
|
#
|
267
277
|
# @option options [String] :profile ("default")
|
268
|
-
# Used when loading credentials from the shared credentials file
|
269
|
-
#
|
278
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
279
|
+
# When not specified, 'default' is used.
|
270
280
|
#
|
271
281
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
272
282
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -396,7 +406,7 @@ module Aws::DynamoDB
|
|
396
406
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
397
407
|
#
|
398
408
|
# @option options [Aws::TokenProvider] :token_provider
|
399
|
-
#
|
409
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
400
410
|
# following classes:
|
401
411
|
#
|
402
412
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -1309,7 +1319,7 @@ module Aws::DynamoDB
|
|
1309
1319
|
#
|
1310
1320
|
# resp.global_table_description.replication_group #=> Array
|
1311
1321
|
# resp.global_table_description.replication_group[0].region_name #=> String
|
1312
|
-
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
1322
|
+
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1313
1323
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
1314
1324
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
1315
1325
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -1317,7 +1327,7 @@ module Aws::DynamoDB
|
|
1317
1327
|
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1318
1328
|
# resp.global_table_description.replication_group[0].warm_throughput.read_units_per_second #=> Integer
|
1319
1329
|
# resp.global_table_description.replication_group[0].warm_throughput.write_units_per_second #=> Integer
|
1320
|
-
# resp.global_table_description.replication_group[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
1330
|
+
# resp.global_table_description.replication_group[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1321
1331
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
1322
1332
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
1323
1333
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -1781,7 +1791,7 @@ module Aws::DynamoDB
|
|
1781
1791
|
# resp.table_description.key_schema #=> Array
|
1782
1792
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
1783
1793
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
1784
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
1794
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1785
1795
|
# resp.table_description.creation_date_time #=> Time
|
1786
1796
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
1787
1797
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -1835,7 +1845,7 @@ module Aws::DynamoDB
|
|
1835
1845
|
# resp.table_description.global_table_version #=> String
|
1836
1846
|
# resp.table_description.replicas #=> Array
|
1837
1847
|
# resp.table_description.replicas[0].region_name #=> String
|
1838
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
1848
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1839
1849
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
1840
1850
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
1841
1851
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -1843,7 +1853,7 @@ module Aws::DynamoDB
|
|
1843
1853
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1844
1854
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
1845
1855
|
# resp.table_description.replicas[0].warm_throughput.write_units_per_second #=> Integer
|
1846
|
-
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
1856
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1847
1857
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
1848
1858
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1849
1859
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -1854,6 +1864,9 @@ module Aws::DynamoDB
|
|
1854
1864
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1855
1865
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1856
1866
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
1867
|
+
# resp.table_description.global_table_witnesses #=> Array
|
1868
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
1869
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
1857
1870
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
1858
1871
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1859
1872
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -1872,7 +1885,7 @@ module Aws::DynamoDB
|
|
1872
1885
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
1873
1886
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
1874
1887
|
# resp.table_description.warm_throughput.write_units_per_second #=> Integer
|
1875
|
-
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
1888
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1876
1889
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
1877
1890
|
#
|
1878
1891
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
@@ -2318,9 +2331,6 @@ module Aws::DynamoDB
|
|
2318
2331
|
# DynamoDB returns a `ResourceNotFoundException`. If table is already in
|
2319
2332
|
# the `DELETING` state, no error is returned.
|
2320
2333
|
#
|
2321
|
-
# For global tables, this operation only applies to global tables using
|
2322
|
-
# Version 2019.11.21 (Current version).
|
2323
|
-
#
|
2324
2334
|
# <note markdown="1"> DynamoDB might continue to accept data read and write operations, such
|
2325
2335
|
# as `GetItem` and `PutItem`, on a table in the `DELETING` state until
|
2326
2336
|
# the table deletion is complete. For the full list of table states, see
|
@@ -2387,7 +2397,7 @@ module Aws::DynamoDB
|
|
2387
2397
|
# resp.table_description.key_schema #=> Array
|
2388
2398
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
2389
2399
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
2390
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
2400
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2391
2401
|
# resp.table_description.creation_date_time #=> Time
|
2392
2402
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
2393
2403
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -2441,7 +2451,7 @@ module Aws::DynamoDB
|
|
2441
2451
|
# resp.table_description.global_table_version #=> String
|
2442
2452
|
# resp.table_description.replicas #=> Array
|
2443
2453
|
# resp.table_description.replicas[0].region_name #=> String
|
2444
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2454
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2445
2455
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
2446
2456
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
2447
2457
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -2449,7 +2459,7 @@ module Aws::DynamoDB
|
|
2449
2459
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2450
2460
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
2451
2461
|
# resp.table_description.replicas[0].warm_throughput.write_units_per_second #=> Integer
|
2452
|
-
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
2462
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2453
2463
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
2454
2464
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2455
2465
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -2460,6 +2470,9 @@ module Aws::DynamoDB
|
|
2460
2470
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
2461
2471
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2462
2472
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
2473
|
+
# resp.table_description.global_table_witnesses #=> Array
|
2474
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
2475
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
2463
2476
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
2464
2477
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
2465
2478
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -2478,7 +2491,7 @@ module Aws::DynamoDB
|
|
2478
2491
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
2479
2492
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
2480
2493
|
# resp.table_description.warm_throughput.write_units_per_second #=> Integer
|
2481
|
-
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
2494
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2482
2495
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
2483
2496
|
#
|
2484
2497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
@@ -2778,7 +2791,7 @@ module Aws::DynamoDB
|
|
2778
2791
|
#
|
2779
2792
|
# resp.global_table_description.replication_group #=> Array
|
2780
2793
|
# resp.global_table_description.replication_group[0].region_name #=> String
|
2781
|
-
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2794
|
+
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2782
2795
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
2783
2796
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
2784
2797
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -2786,7 +2799,7 @@ module Aws::DynamoDB
|
|
2786
2799
|
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2787
2800
|
# resp.global_table_description.replication_group[0].warm_throughput.read_units_per_second #=> Integer
|
2788
2801
|
# resp.global_table_description.replication_group[0].warm_throughput.write_units_per_second #=> Integer
|
2789
|
-
# resp.global_table_description.replication_group[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
2802
|
+
# resp.global_table_description.replication_group[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2790
2803
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
2791
2804
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
2792
2805
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -2849,7 +2862,7 @@ module Aws::DynamoDB
|
|
2849
2862
|
# resp.global_table_name #=> String
|
2850
2863
|
# resp.replica_settings #=> Array
|
2851
2864
|
# resp.replica_settings[0].region_name #=> String
|
2852
|
-
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
2865
|
+
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2853
2866
|
# resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
2854
2867
|
# resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
|
2855
2868
|
# resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
|
@@ -3138,9 +3151,6 @@ module Aws::DynamoDB
|
|
3138
3151
|
# the table, when it was created, the primary key schema, and any
|
3139
3152
|
# indexes on the table.
|
3140
3153
|
#
|
3141
|
-
# For global tables, this operation only applies to global tables using
|
3142
|
-
# Version 2019.11.21 (Current version).
|
3143
|
-
#
|
3144
3154
|
# <note markdown="1"> If you issue a `DescribeTable` request immediately after a
|
3145
3155
|
# `CreateTable` request, DynamoDB might return a
|
3146
3156
|
# `ResourceNotFoundException`. This is because `DescribeTable` uses an
|
@@ -3218,7 +3228,7 @@ module Aws::DynamoDB
|
|
3218
3228
|
# resp.table.key_schema #=> Array
|
3219
3229
|
# resp.table.key_schema[0].attribute_name #=> String
|
3220
3230
|
# resp.table.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
3221
|
-
# resp.table.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
3231
|
+
# resp.table.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3222
3232
|
# resp.table.creation_date_time #=> Time
|
3223
3233
|
# resp.table.provisioned_throughput.last_increase_date_time #=> Time
|
3224
3234
|
# resp.table.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -3272,7 +3282,7 @@ module Aws::DynamoDB
|
|
3272
3282
|
# resp.table.global_table_version #=> String
|
3273
3283
|
# resp.table.replicas #=> Array
|
3274
3284
|
# resp.table.replicas[0].region_name #=> String
|
3275
|
-
# resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
3285
|
+
# resp.table.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3276
3286
|
# resp.table.replicas[0].replica_status_description #=> String
|
3277
3287
|
# resp.table.replicas[0].replica_status_percent_progress #=> String
|
3278
3288
|
# resp.table.replicas[0].kms_master_key_id #=> String
|
@@ -3280,7 +3290,7 @@ module Aws::DynamoDB
|
|
3280
3290
|
# resp.table.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
3281
3291
|
# resp.table.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
3282
3292
|
# resp.table.replicas[0].warm_throughput.write_units_per_second #=> Integer
|
3283
|
-
# resp.table.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
3293
|
+
# resp.table.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3284
3294
|
# resp.table.replicas[0].global_secondary_indexes #=> Array
|
3285
3295
|
# resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
|
3286
3296
|
# resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -3291,6 +3301,9 @@ module Aws::DynamoDB
|
|
3291
3301
|
# resp.table.replicas[0].replica_inaccessible_date_time #=> Time
|
3292
3302
|
# resp.table.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
3293
3303
|
# resp.table.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
3304
|
+
# resp.table.global_table_witnesses #=> Array
|
3305
|
+
# resp.table.global_table_witnesses[0].region_name #=> String
|
3306
|
+
# resp.table.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
3294
3307
|
# resp.table.restore_summary.source_backup_arn #=> String
|
3295
3308
|
# resp.table.restore_summary.source_table_arn #=> String
|
3296
3309
|
# resp.table.restore_summary.restore_date_time #=> Time
|
@@ -3309,7 +3322,7 @@ module Aws::DynamoDB
|
|
3309
3322
|
# resp.table.on_demand_throughput.max_write_request_units #=> Integer
|
3310
3323
|
# resp.table.warm_throughput.read_units_per_second #=> Integer
|
3311
3324
|
# resp.table.warm_throughput.write_units_per_second #=> Integer
|
3312
|
-
# resp.table.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
3325
|
+
# resp.table.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3313
3326
|
# resp.table.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
3314
3327
|
#
|
3315
3328
|
#
|
@@ -3330,9 +3343,6 @@ module Aws::DynamoDB
|
|
3330
3343
|
# Describes auto scaling settings across replicas of the global table at
|
3331
3344
|
# once.
|
3332
3345
|
#
|
3333
|
-
# For global tables, this operation only applies to global tables using
|
3334
|
-
# Version 2019.11.21 (Current version).
|
3335
|
-
#
|
3336
3346
|
# @option params [required, String] :table_name
|
3337
3347
|
# The name of the table. You can also provide the Amazon Resource Name
|
3338
3348
|
# (ARN) of the table in this parameter.
|
@@ -3350,7 +3360,7 @@ module Aws::DynamoDB
|
|
3350
3360
|
# @example Response structure
|
3351
3361
|
#
|
3352
3362
|
# resp.table_auto_scaling_description.table_name #=> String
|
3353
|
-
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
3363
|
+
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3354
3364
|
# resp.table_auto_scaling_description.replicas #=> Array
|
3355
3365
|
# resp.table_auto_scaling_description.replicas[0].region_name #=> String
|
3356
3366
|
# resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
|
@@ -3396,7 +3406,7 @@ module Aws::DynamoDB
|
|
3396
3406
|
# 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
|
3397
3407
|
# 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
|
3398
3408
|
# 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
|
3399
|
-
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
3409
|
+
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3400
3410
|
#
|
3401
3411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling AWS API Documentation
|
3402
3412
|
#
|
@@ -5818,7 +5828,7 @@ module Aws::DynamoDB
|
|
5818
5828
|
# resp.table_description.key_schema #=> Array
|
5819
5829
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
5820
5830
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
5821
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
5831
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5822
5832
|
# resp.table_description.creation_date_time #=> Time
|
5823
5833
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
5824
5834
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -5872,7 +5882,7 @@ module Aws::DynamoDB
|
|
5872
5882
|
# resp.table_description.global_table_version #=> String
|
5873
5883
|
# resp.table_description.replicas #=> Array
|
5874
5884
|
# resp.table_description.replicas[0].region_name #=> String
|
5875
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
5885
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5876
5886
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
5877
5887
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
5878
5888
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -5880,7 +5890,7 @@ module Aws::DynamoDB
|
|
5880
5890
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
5881
5891
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
5882
5892
|
# resp.table_description.replicas[0].warm_throughput.write_units_per_second #=> Integer
|
5883
|
-
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
5893
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5884
5894
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
5885
5895
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
5886
5896
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -5891,6 +5901,9 @@ module Aws::DynamoDB
|
|
5891
5901
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
5892
5902
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5893
5903
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
5904
|
+
# resp.table_description.global_table_witnesses #=> Array
|
5905
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
5906
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
5894
5907
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
5895
5908
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
5896
5909
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -5909,7 +5922,7 @@ module Aws::DynamoDB
|
|
5909
5922
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
5910
5923
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
5911
5924
|
# resp.table_description.warm_throughput.write_units_per_second #=> Integer
|
5912
|
-
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
5925
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5913
5926
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
5914
5927
|
#
|
5915
5928
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
@@ -6083,7 +6096,7 @@ module Aws::DynamoDB
|
|
6083
6096
|
# resp.table_description.key_schema #=> Array
|
6084
6097
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
6085
6098
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
6086
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
6099
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6087
6100
|
# resp.table_description.creation_date_time #=> Time
|
6088
6101
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
6089
6102
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -6137,7 +6150,7 @@ module Aws::DynamoDB
|
|
6137
6150
|
# resp.table_description.global_table_version #=> String
|
6138
6151
|
# resp.table_description.replicas #=> Array
|
6139
6152
|
# resp.table_description.replicas[0].region_name #=> String
|
6140
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
6153
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6141
6154
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
6142
6155
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
6143
6156
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -6145,7 +6158,7 @@ module Aws::DynamoDB
|
|
6145
6158
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
6146
6159
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
6147
6160
|
# resp.table_description.replicas[0].warm_throughput.write_units_per_second #=> Integer
|
6148
|
-
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
6161
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6149
6162
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
6150
6163
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
6151
6164
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -6156,6 +6169,9 @@ module Aws::DynamoDB
|
|
6156
6169
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
6157
6170
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6158
6171
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
6172
|
+
# resp.table_description.global_table_witnesses #=> Array
|
6173
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
6174
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
6159
6175
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
6160
6176
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
6161
6177
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -6174,7 +6190,7 @@ module Aws::DynamoDB
|
|
6174
6190
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
6175
6191
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
6176
6192
|
# resp.table_description.warm_throughput.write_units_per_second #=> Integer
|
6177
|
-
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
6193
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6178
6194
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
6179
6195
|
#
|
6180
6196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
@@ -7184,9 +7200,8 @@ module Aws::DynamoDB
|
|
7184
7200
|
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see
|
7185
7201
|
# [Upgrading global tables][3].
|
7186
7202
|
#
|
7187
|
-
# <note markdown="1">
|
7188
|
-
#
|
7189
|
-
# [Version 2019.11.21][1] you can use [UpdateTable][4] instead.
|
7203
|
+
# <note markdown="1"> If you are using global tables [Version 2019.11.21][1] (Current) you
|
7204
|
+
# can use [UpdateTable][4] instead.
|
7190
7205
|
#
|
7191
7206
|
# Although you can use `UpdateGlobalTable` to add replicas and remove
|
7192
7207
|
# replicas in a single request, for simplicity we recommend that you
|
@@ -7243,7 +7258,7 @@ module Aws::DynamoDB
|
|
7243
7258
|
#
|
7244
7259
|
# resp.global_table_description.replication_group #=> Array
|
7245
7260
|
# resp.global_table_description.replication_group[0].region_name #=> String
|
7246
|
-
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
7261
|
+
# resp.global_table_description.replication_group[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
7247
7262
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
7248
7263
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
7249
7264
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -7251,7 +7266,7 @@ module Aws::DynamoDB
|
|
7251
7266
|
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
7252
7267
|
# resp.global_table_description.replication_group[0].warm_throughput.read_units_per_second #=> Integer
|
7253
7268
|
# resp.global_table_description.replication_group[0].warm_throughput.write_units_per_second #=> Integer
|
7254
|
-
# resp.global_table_description.replication_group[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
7269
|
+
# resp.global_table_description.replication_group[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
7255
7270
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
7256
7271
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
7257
7272
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -7429,7 +7444,7 @@ module Aws::DynamoDB
|
|
7429
7444
|
# resp.global_table_name #=> String
|
7430
7445
|
# resp.replica_settings #=> Array
|
7431
7446
|
# resp.replica_settings[0].region_name #=> String
|
7432
|
-
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
7447
|
+
# resp.replica_settings[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
7433
7448
|
# resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
7434
7449
|
# resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
|
7435
7450
|
# resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
|
@@ -7940,9 +7955,6 @@ module Aws::DynamoDB
|
|
7940
7955
|
# Modifies the provisioned throughput settings, global secondary
|
7941
7956
|
# indexes, or DynamoDB Streams settings for a given table.
|
7942
7957
|
#
|
7943
|
-
# For global tables, this operation only applies to global tables using
|
7944
|
-
# Version 2019.11.21 (Current version).
|
7945
|
-
#
|
7946
7958
|
# You can only perform one of the following operations at once:
|
7947
7959
|
#
|
7948
7960
|
# * Modify the provisioned throughput settings of the table.
|
@@ -8032,11 +8044,6 @@ module Aws::DynamoDB
|
|
8032
8044
|
# A list of replica update actions (create, delete, or update) for the
|
8033
8045
|
# table.
|
8034
8046
|
#
|
8035
|
-
# <note markdown="1"> For global tables, this property only applies to global tables using
|
8036
|
-
# Version 2019.11.21 (Current version).
|
8037
|
-
#
|
8038
|
-
# </note>
|
8039
|
-
#
|
8040
8047
|
# @option params [String] :table_class
|
8041
8048
|
# The table class of the table to be updated. Valid values are
|
8042
8049
|
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
@@ -8053,25 +8060,42 @@ module Aws::DynamoDB
|
|
8053
8060
|
# You can specify one of the following consistency modes:
|
8054
8061
|
#
|
8055
8062
|
# * `EVENTUAL`: Configures a new global table for multi-Region eventual
|
8056
|
-
# consistency. This is the default consistency mode for global
|
8063
|
+
# consistency (MREC). This is the default consistency mode for global
|
8064
|
+
# tables.
|
8057
8065
|
#
|
8058
8066
|
# * `STRONG`: Configures a new global table for multi-Region strong
|
8059
|
-
# consistency (
|
8067
|
+
# consistency (MRSC).
|
8060
8068
|
#
|
8061
|
-
#
|
8062
|
-
#
|
8063
|
-
#
|
8064
|
-
#
|
8065
|
-
# </note>
|
8066
|
-
#
|
8067
|
-
# If you don't specify this parameter, the global table consistency
|
8068
|
-
# mode defaults to `EVENTUAL`.
|
8069
|
+
# If you don't specify this field, the global table consistency mode
|
8070
|
+
# defaults to `EVENTUAL`. For more information about global tables
|
8071
|
+
# consistency modes, see [ Consistency modes][3] in DynamoDB developer
|
8072
|
+
# guide.
|
8069
8073
|
#
|
8070
8074
|
#
|
8071
8075
|
#
|
8072
8076
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
|
8073
8077
|
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
|
8074
|
-
# [3]: https://docs.aws.amazon.com/
|
8078
|
+
# [3]: https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
8079
|
+
#
|
8080
|
+
# @option params [Array<Types::GlobalTableWitnessGroupUpdate>] :global_table_witness_updates
|
8081
|
+
# A list of witness updates for a MRSC global table. A witness provides
|
8082
|
+
# a cost-effective alternative to a full replica in a MRSC global table
|
8083
|
+
# by maintaining replicated change data written to global table
|
8084
|
+
# replicas. You cannot perform read or write operations on a witness.
|
8085
|
+
# For each witness, you can request one action:
|
8086
|
+
#
|
8087
|
+
# * `Create` - add a new witness to the global table.
|
8088
|
+
#
|
8089
|
+
# * `Delete` - remove a witness from the global table.
|
8090
|
+
#
|
8091
|
+
# You can create or delete only one witness per `UpdateTable` operation.
|
8092
|
+
#
|
8093
|
+
# For more information, see [Multi-Region strong consistency (MRSC)][1]
|
8094
|
+
# in the Amazon DynamoDB Developer Guide
|
8095
|
+
#
|
8096
|
+
#
|
8097
|
+
#
|
8098
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
8075
8099
|
#
|
8076
8100
|
# @option params [Types::OnDemandThroughput] :on_demand_throughput
|
8077
8101
|
# Updates the maximum number of read and write units for the specified
|
@@ -8261,6 +8285,16 @@ module Aws::DynamoDB
|
|
8261
8285
|
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
8262
8286
|
# deletion_protection_enabled: false,
|
8263
8287
|
# multi_region_consistency: "EVENTUAL", # accepts EVENTUAL, STRONG
|
8288
|
+
# global_table_witness_updates: [
|
8289
|
+
# {
|
8290
|
+
# create: {
|
8291
|
+
# region_name: "RegionName", # required
|
8292
|
+
# },
|
8293
|
+
# delete: {
|
8294
|
+
# region_name: "RegionName", # required
|
8295
|
+
# },
|
8296
|
+
# },
|
8297
|
+
# ],
|
8264
8298
|
# on_demand_throughput: {
|
8265
8299
|
# max_read_request_units: 1,
|
8266
8300
|
# max_write_request_units: 1,
|
@@ -8280,7 +8314,7 @@ module Aws::DynamoDB
|
|
8280
8314
|
# resp.table_description.key_schema #=> Array
|
8281
8315
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
8282
8316
|
# resp.table_description.key_schema[0].key_type #=> String, one of "HASH", "RANGE"
|
8283
|
-
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
8317
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8284
8318
|
# resp.table_description.creation_date_time #=> Time
|
8285
8319
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
8286
8320
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -8334,7 +8368,7 @@ module Aws::DynamoDB
|
|
8334
8368
|
# resp.table_description.global_table_version #=> String
|
8335
8369
|
# resp.table_description.replicas #=> Array
|
8336
8370
|
# resp.table_description.replicas[0].region_name #=> String
|
8337
|
-
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
8371
|
+
# resp.table_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8338
8372
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
8339
8373
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
8340
8374
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -8342,7 +8376,7 @@ module Aws::DynamoDB
|
|
8342
8376
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
8343
8377
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
8344
8378
|
# resp.table_description.replicas[0].warm_throughput.write_units_per_second #=> Integer
|
8345
|
-
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
8379
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8346
8380
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
8347
8381
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
8348
8382
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -8353,6 +8387,9 @@ module Aws::DynamoDB
|
|
8353
8387
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
8354
8388
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
8355
8389
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
8390
|
+
# resp.table_description.global_table_witnesses #=> Array
|
8391
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
8392
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
8356
8393
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
8357
8394
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
8358
8395
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -8371,7 +8408,7 @@ module Aws::DynamoDB
|
|
8371
8408
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
8372
8409
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
8373
8410
|
# resp.table_description.warm_throughput.write_units_per_second #=> Integer
|
8374
|
-
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
8411
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8375
8412
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
8376
8413
|
#
|
8377
8414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
@@ -8385,9 +8422,6 @@ module Aws::DynamoDB
|
|
8385
8422
|
|
8386
8423
|
# Updates auto scaling settings on your global tables at once.
|
8387
8424
|
#
|
8388
|
-
# For global tables, this operation only applies to global tables using
|
8389
|
-
# Version 2019.11.21 (Current version).
|
8390
|
-
#
|
8391
8425
|
# @option params [Array<Types::GlobalSecondaryIndexAutoScalingUpdate>] :global_secondary_index_updates
|
8392
8426
|
# Represents the auto scaling settings of the global secondary indexes
|
8393
8427
|
# of the replica to be updated.
|
@@ -8492,7 +8526,7 @@ module Aws::DynamoDB
|
|
8492
8526
|
# @example Response structure
|
8493
8527
|
#
|
8494
8528
|
# resp.table_auto_scaling_description.table_name #=> String
|
8495
|
-
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
|
8529
|
+
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8496
8530
|
# resp.table_auto_scaling_description.replicas #=> Array
|
8497
8531
|
# resp.table_auto_scaling_description.replicas[0].region_name #=> String
|
8498
8532
|
# resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
|
@@ -8538,7 +8572,7 @@ module Aws::DynamoDB
|
|
8538
8572
|
# 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
|
8539
8573
|
# 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
|
8540
8574
|
# 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
|
8541
|
-
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS"
|
8575
|
+
# resp.table_auto_scaling_description.replicas[0].replica_status #=> String, one of "CREATING", "CREATION_FAILED", "UPDATING", "DELETING", "ACTIVE", "REGION_DISABLED", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8542
8576
|
#
|
8543
8577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling AWS API Documentation
|
8544
8578
|
#
|
@@ -8640,7 +8674,7 @@ module Aws::DynamoDB
|
|
8640
8674
|
tracer: tracer
|
8641
8675
|
)
|
8642
8676
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8643
|
-
context[:gem_version] = '1.
|
8677
|
+
context[:gem_version] = '1.147.0'
|
8644
8678
|
Seahorse::Client::Request.new(handlers, context)
|
8645
8679
|
end
|
8646
8680
|
|