aws-sdk-dynamodb 1.145.0 → 1.146.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +95 -71
- 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 +10 -0
- data/sig/table.rbs +14 -1
- data/sig/types.rbs +30 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08c4403d1ea88d2823f61e4ff6cbbdf5ab22205c9fbad27286429cba323c34aa'
|
4
|
+
data.tar.gz: 1ddf0a2a1338ad179bccc671e630eb46d5b05c1c5095879a26f5b7c47394f1d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20ea2870b9c87c8d045a37daa1beb1ee604ed28086ef15d0096bde09763070c710669d5a186b7f4c2a0ff0416e53596f3a03fdebe2335df51a70419700d44946
|
7
|
+
data.tar.gz: 3254ce46caba0bf2a65f5f43f050dfefc584d3844426bd06f2ce23682de691105a858c45993205798a962361c408152916d825238a6bc758214f520511817a05
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.146.0 (2025-06-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This change adds support for witnesses in global tables. It also adds a new table status, REPLICATION_NOT_AUTHORIZED. This status will indicate scenarios where global replicas table can't be utilized for data plane operations.
|
8
|
+
|
4
9
|
1.145.0 (2025-06-02)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.146.0
|
@@ -1309,7 +1309,7 @@ module Aws::DynamoDB
|
|
1309
1309
|
#
|
1310
1310
|
# resp.global_table_description.replication_group #=> Array
|
1311
1311
|
# 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"
|
1312
|
+
# 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
1313
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
1314
1314
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
1315
1315
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -1317,7 +1317,7 @@ module Aws::DynamoDB
|
|
1317
1317
|
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1318
1318
|
# resp.global_table_description.replication_group[0].warm_throughput.read_units_per_second #=> Integer
|
1319
1319
|
# 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"
|
1320
|
+
# 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
1321
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
1322
1322
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
1323
1323
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -1781,7 +1781,7 @@ module Aws::DynamoDB
|
|
1781
1781
|
# resp.table_description.key_schema #=> Array
|
1782
1782
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
1783
1783
|
# 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"
|
1784
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1785
1785
|
# resp.table_description.creation_date_time #=> Time
|
1786
1786
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
1787
1787
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -1835,7 +1835,7 @@ module Aws::DynamoDB
|
|
1835
1835
|
# resp.table_description.global_table_version #=> String
|
1836
1836
|
# resp.table_description.replicas #=> Array
|
1837
1837
|
# 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"
|
1838
|
+
# 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
1839
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
1840
1840
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
1841
1841
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -1843,7 +1843,7 @@ module Aws::DynamoDB
|
|
1843
1843
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1844
1844
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
1845
1845
|
# 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"
|
1846
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1847
1847
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
1848
1848
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1849
1849
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -1854,6 +1854,9 @@ module Aws::DynamoDB
|
|
1854
1854
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1855
1855
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1856
1856
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
1857
|
+
# resp.table_description.global_table_witnesses #=> Array
|
1858
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
1859
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
1857
1860
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
1858
1861
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1859
1862
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -1872,7 +1875,7 @@ module Aws::DynamoDB
|
|
1872
1875
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
1873
1876
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
1874
1877
|
# 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"
|
1878
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
1876
1879
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
1877
1880
|
#
|
1878
1881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
@@ -2318,9 +2321,6 @@ module Aws::DynamoDB
|
|
2318
2321
|
# DynamoDB returns a `ResourceNotFoundException`. If table is already in
|
2319
2322
|
# the `DELETING` state, no error is returned.
|
2320
2323
|
#
|
2321
|
-
# For global tables, this operation only applies to global tables using
|
2322
|
-
# Version 2019.11.21 (Current version).
|
2323
|
-
#
|
2324
2324
|
# <note markdown="1"> DynamoDB might continue to accept data read and write operations, such
|
2325
2325
|
# as `GetItem` and `PutItem`, on a table in the `DELETING` state until
|
2326
2326
|
# the table deletion is complete. For the full list of table states, see
|
@@ -2387,7 +2387,7 @@ module Aws::DynamoDB
|
|
2387
2387
|
# resp.table_description.key_schema #=> Array
|
2388
2388
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
2389
2389
|
# 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"
|
2390
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2391
2391
|
# resp.table_description.creation_date_time #=> Time
|
2392
2392
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
2393
2393
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -2441,7 +2441,7 @@ module Aws::DynamoDB
|
|
2441
2441
|
# resp.table_description.global_table_version #=> String
|
2442
2442
|
# resp.table_description.replicas #=> Array
|
2443
2443
|
# 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"
|
2444
|
+
# 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
2445
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
2446
2446
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
2447
2447
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -2449,7 +2449,7 @@ module Aws::DynamoDB
|
|
2449
2449
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2450
2450
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
2451
2451
|
# 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"
|
2452
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2453
2453
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
2454
2454
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2455
2455
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -2460,6 +2460,9 @@ module Aws::DynamoDB
|
|
2460
2460
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
2461
2461
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2462
2462
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
2463
|
+
# resp.table_description.global_table_witnesses #=> Array
|
2464
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
2465
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
2463
2466
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
2464
2467
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
2465
2468
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -2478,7 +2481,7 @@ module Aws::DynamoDB
|
|
2478
2481
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
2479
2482
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
2480
2483
|
# 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"
|
2484
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
2482
2485
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
2483
2486
|
#
|
2484
2487
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
@@ -2778,7 +2781,7 @@ module Aws::DynamoDB
|
|
2778
2781
|
#
|
2779
2782
|
# resp.global_table_description.replication_group #=> Array
|
2780
2783
|
# 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"
|
2784
|
+
# 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
2785
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
2783
2786
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
2784
2787
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -2786,7 +2789,7 @@ module Aws::DynamoDB
|
|
2786
2789
|
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2787
2790
|
# resp.global_table_description.replication_group[0].warm_throughput.read_units_per_second #=> Integer
|
2788
2791
|
# 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"
|
2792
|
+
# 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
2793
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
2791
2794
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
2792
2795
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -2849,7 +2852,7 @@ module Aws::DynamoDB
|
|
2849
2852
|
# resp.global_table_name #=> String
|
2850
2853
|
# resp.replica_settings #=> Array
|
2851
2854
|
# 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"
|
2855
|
+
# 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
2856
|
# resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
2854
2857
|
# resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
|
2855
2858
|
# resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
|
@@ -3138,9 +3141,6 @@ module Aws::DynamoDB
|
|
3138
3141
|
# the table, when it was created, the primary key schema, and any
|
3139
3142
|
# indexes on the table.
|
3140
3143
|
#
|
3141
|
-
# For global tables, this operation only applies to global tables using
|
3142
|
-
# Version 2019.11.21 (Current version).
|
3143
|
-
#
|
3144
3144
|
# <note markdown="1"> If you issue a `DescribeTable` request immediately after a
|
3145
3145
|
# `CreateTable` request, DynamoDB might return a
|
3146
3146
|
# `ResourceNotFoundException`. This is because `DescribeTable` uses an
|
@@ -3218,7 +3218,7 @@ module Aws::DynamoDB
|
|
3218
3218
|
# resp.table.key_schema #=> Array
|
3219
3219
|
# resp.table.key_schema[0].attribute_name #=> String
|
3220
3220
|
# 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"
|
3221
|
+
# resp.table.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3222
3222
|
# resp.table.creation_date_time #=> Time
|
3223
3223
|
# resp.table.provisioned_throughput.last_increase_date_time #=> Time
|
3224
3224
|
# resp.table.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -3272,7 +3272,7 @@ module Aws::DynamoDB
|
|
3272
3272
|
# resp.table.global_table_version #=> String
|
3273
3273
|
# resp.table.replicas #=> Array
|
3274
3274
|
# 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"
|
3275
|
+
# 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
3276
|
# resp.table.replicas[0].replica_status_description #=> String
|
3277
3277
|
# resp.table.replicas[0].replica_status_percent_progress #=> String
|
3278
3278
|
# resp.table.replicas[0].kms_master_key_id #=> String
|
@@ -3280,7 +3280,7 @@ module Aws::DynamoDB
|
|
3280
3280
|
# resp.table.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
3281
3281
|
# resp.table.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
3282
3282
|
# 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"
|
3283
|
+
# resp.table.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3284
3284
|
# resp.table.replicas[0].global_secondary_indexes #=> Array
|
3285
3285
|
# resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
|
3286
3286
|
# resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -3291,6 +3291,9 @@ module Aws::DynamoDB
|
|
3291
3291
|
# resp.table.replicas[0].replica_inaccessible_date_time #=> Time
|
3292
3292
|
# resp.table.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
3293
3293
|
# resp.table.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
3294
|
+
# resp.table.global_table_witnesses #=> Array
|
3295
|
+
# resp.table.global_table_witnesses[0].region_name #=> String
|
3296
|
+
# resp.table.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
3294
3297
|
# resp.table.restore_summary.source_backup_arn #=> String
|
3295
3298
|
# resp.table.restore_summary.source_table_arn #=> String
|
3296
3299
|
# resp.table.restore_summary.restore_date_time #=> Time
|
@@ -3309,7 +3312,7 @@ module Aws::DynamoDB
|
|
3309
3312
|
# resp.table.on_demand_throughput.max_write_request_units #=> Integer
|
3310
3313
|
# resp.table.warm_throughput.read_units_per_second #=> Integer
|
3311
3314
|
# 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"
|
3315
|
+
# resp.table.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3313
3316
|
# resp.table.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
3314
3317
|
#
|
3315
3318
|
#
|
@@ -3330,9 +3333,6 @@ module Aws::DynamoDB
|
|
3330
3333
|
# Describes auto scaling settings across replicas of the global table at
|
3331
3334
|
# once.
|
3332
3335
|
#
|
3333
|
-
# For global tables, this operation only applies to global tables using
|
3334
|
-
# Version 2019.11.21 (Current version).
|
3335
|
-
#
|
3336
3336
|
# @option params [required, String] :table_name
|
3337
3337
|
# The name of the table. You can also provide the Amazon Resource Name
|
3338
3338
|
# (ARN) of the table in this parameter.
|
@@ -3350,7 +3350,7 @@ module Aws::DynamoDB
|
|
3350
3350
|
# @example Response structure
|
3351
3351
|
#
|
3352
3352
|
# 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"
|
3353
|
+
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
3354
3354
|
# resp.table_auto_scaling_description.replicas #=> Array
|
3355
3355
|
# resp.table_auto_scaling_description.replicas[0].region_name #=> String
|
3356
3356
|
# resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
|
@@ -3396,7 +3396,7 @@ module Aws::DynamoDB
|
|
3396
3396
|
# 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
3397
|
# 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
3398
|
# 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"
|
3399
|
+
# 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
3400
|
#
|
3401
3401
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling AWS API Documentation
|
3402
3402
|
#
|
@@ -5818,7 +5818,7 @@ module Aws::DynamoDB
|
|
5818
5818
|
# resp.table_description.key_schema #=> Array
|
5819
5819
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
5820
5820
|
# 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"
|
5821
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5822
5822
|
# resp.table_description.creation_date_time #=> Time
|
5823
5823
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
5824
5824
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -5872,7 +5872,7 @@ module Aws::DynamoDB
|
|
5872
5872
|
# resp.table_description.global_table_version #=> String
|
5873
5873
|
# resp.table_description.replicas #=> Array
|
5874
5874
|
# 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"
|
5875
|
+
# 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
5876
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
5877
5877
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
5878
5878
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -5880,7 +5880,7 @@ module Aws::DynamoDB
|
|
5880
5880
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
5881
5881
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
5882
5882
|
# 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"
|
5883
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5884
5884
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
5885
5885
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
5886
5886
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -5891,6 +5891,9 @@ module Aws::DynamoDB
|
|
5891
5891
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
5892
5892
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5893
5893
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
5894
|
+
# resp.table_description.global_table_witnesses #=> Array
|
5895
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
5896
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
5894
5897
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
5895
5898
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
5896
5899
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -5909,7 +5912,7 @@ module Aws::DynamoDB
|
|
5909
5912
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
5910
5913
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
5911
5914
|
# 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"
|
5915
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
5913
5916
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
5914
5917
|
#
|
5915
5918
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
@@ -6083,7 +6086,7 @@ module Aws::DynamoDB
|
|
6083
6086
|
# resp.table_description.key_schema #=> Array
|
6084
6087
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
6085
6088
|
# 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"
|
6089
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6087
6090
|
# resp.table_description.creation_date_time #=> Time
|
6088
6091
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
6089
6092
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -6137,7 +6140,7 @@ module Aws::DynamoDB
|
|
6137
6140
|
# resp.table_description.global_table_version #=> String
|
6138
6141
|
# resp.table_description.replicas #=> Array
|
6139
6142
|
# 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"
|
6143
|
+
# 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
6144
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
6142
6145
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
6143
6146
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -6145,7 +6148,7 @@ module Aws::DynamoDB
|
|
6145
6148
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
6146
6149
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
6147
6150
|
# 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"
|
6151
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6149
6152
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
6150
6153
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
6151
6154
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -6156,6 +6159,9 @@ module Aws::DynamoDB
|
|
6156
6159
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
6157
6160
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6158
6161
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
6162
|
+
# resp.table_description.global_table_witnesses #=> Array
|
6163
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
6164
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
6159
6165
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
6160
6166
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
6161
6167
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -6174,7 +6180,7 @@ module Aws::DynamoDB
|
|
6174
6180
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
6175
6181
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
6176
6182
|
# 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"
|
6183
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
6178
6184
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
6179
6185
|
#
|
6180
6186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
@@ -7184,9 +7190,8 @@ module Aws::DynamoDB
|
|
7184
7190
|
# version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see
|
7185
7191
|
# [Upgrading global tables][3].
|
7186
7192
|
#
|
7187
|
-
# <note markdown="1">
|
7188
|
-
#
|
7189
|
-
# [Version 2019.11.21][1] you can use [UpdateTable][4] instead.
|
7193
|
+
# <note markdown="1"> If you are using global tables [Version 2019.11.21][1] (Current) you
|
7194
|
+
# can use [UpdateTable][4] instead.
|
7190
7195
|
#
|
7191
7196
|
# Although you can use `UpdateGlobalTable` to add replicas and remove
|
7192
7197
|
# replicas in a single request, for simplicity we recommend that you
|
@@ -7243,7 +7248,7 @@ module Aws::DynamoDB
|
|
7243
7248
|
#
|
7244
7249
|
# resp.global_table_description.replication_group #=> Array
|
7245
7250
|
# 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"
|
7251
|
+
# 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
7252
|
# resp.global_table_description.replication_group[0].replica_status_description #=> String
|
7248
7253
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
7249
7254
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
@@ -7251,7 +7256,7 @@ module Aws::DynamoDB
|
|
7251
7256
|
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
7252
7257
|
# resp.global_table_description.replication_group[0].warm_throughput.read_units_per_second #=> Integer
|
7253
7258
|
# 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"
|
7259
|
+
# 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
7260
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
7256
7261
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
7257
7262
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -7429,7 +7434,7 @@ module Aws::DynamoDB
|
|
7429
7434
|
# resp.global_table_name #=> String
|
7430
7435
|
# resp.replica_settings #=> Array
|
7431
7436
|
# 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"
|
7437
|
+
# 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
7438
|
# resp.replica_settings[0].replica_billing_mode_summary.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
7434
7439
|
# resp.replica_settings[0].replica_billing_mode_summary.last_update_to_pay_per_request_date_time #=> Time
|
7435
7440
|
# resp.replica_settings[0].replica_provisioned_read_capacity_units #=> Integer
|
@@ -7940,9 +7945,6 @@ module Aws::DynamoDB
|
|
7940
7945
|
# Modifies the provisioned throughput settings, global secondary
|
7941
7946
|
# indexes, or DynamoDB Streams settings for a given table.
|
7942
7947
|
#
|
7943
|
-
# For global tables, this operation only applies to global tables using
|
7944
|
-
# Version 2019.11.21 (Current version).
|
7945
|
-
#
|
7946
7948
|
# You can only perform one of the following operations at once:
|
7947
7949
|
#
|
7948
7950
|
# * Modify the provisioned throughput settings of the table.
|
@@ -8032,11 +8034,6 @@ module Aws::DynamoDB
|
|
8032
8034
|
# A list of replica update actions (create, delete, or update) for the
|
8033
8035
|
# table.
|
8034
8036
|
#
|
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
8037
|
# @option params [String] :table_class
|
8041
8038
|
# The table class of the table to be updated. Valid values are
|
8042
8039
|
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
@@ -8053,25 +8050,42 @@ module Aws::DynamoDB
|
|
8053
8050
|
# You can specify one of the following consistency modes:
|
8054
8051
|
#
|
8055
8052
|
# * `EVENTUAL`: Configures a new global table for multi-Region eventual
|
8056
|
-
# consistency. This is the default consistency mode for global
|
8053
|
+
# consistency (MREC). This is the default consistency mode for global
|
8054
|
+
# tables.
|
8057
8055
|
#
|
8058
8056
|
# * `STRONG`: Configures a new global table for multi-Region strong
|
8059
|
-
# consistency (
|
8057
|
+
# consistency (MRSC).
|
8060
8058
|
#
|
8061
|
-
#
|
8062
|
-
#
|
8063
|
-
#
|
8064
|
-
#
|
8065
|
-
# </note>
|
8066
|
-
#
|
8067
|
-
# If you don't specify this parameter, the global table consistency
|
8068
|
-
# mode defaults to `EVENTUAL`.
|
8059
|
+
# If you don't specify this field, the global table consistency mode
|
8060
|
+
# defaults to `EVENTUAL`. For more information about global tables
|
8061
|
+
# consistency modes, see [ Consistency modes][3] in DynamoDB developer
|
8062
|
+
# guide.
|
8069
8063
|
#
|
8070
8064
|
#
|
8071
8065
|
#
|
8072
8066
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
|
8073
8067
|
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
|
8074
|
-
# [3]: https://docs.aws.amazon.com/
|
8068
|
+
# [3]: https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
8069
|
+
#
|
8070
|
+
# @option params [Array<Types::GlobalTableWitnessGroupUpdate>] :global_table_witness_updates
|
8071
|
+
# A list of witness updates for a MRSC global table. A witness provides
|
8072
|
+
# a cost-effective alternative to a full replica in a MRSC global table
|
8073
|
+
# by maintaining replicated change data written to global table
|
8074
|
+
# replicas. You cannot perform read or write operations on a witness.
|
8075
|
+
# For each witness, you can request one action:
|
8076
|
+
#
|
8077
|
+
# * `Create` - add a new witness to the global table.
|
8078
|
+
#
|
8079
|
+
# * `Delete` - remove a witness from the global table.
|
8080
|
+
#
|
8081
|
+
# You can create or delete only one witness per `UpdateTable` operation.
|
8082
|
+
#
|
8083
|
+
# For more information, see [Multi-Region strong consistency (MRSC)][1]
|
8084
|
+
# in the Amazon DynamoDB Developer Guide
|
8085
|
+
#
|
8086
|
+
#
|
8087
|
+
#
|
8088
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
8075
8089
|
#
|
8076
8090
|
# @option params [Types::OnDemandThroughput] :on_demand_throughput
|
8077
8091
|
# Updates the maximum number of read and write units for the specified
|
@@ -8261,6 +8275,16 @@ module Aws::DynamoDB
|
|
8261
8275
|
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
8262
8276
|
# deletion_protection_enabled: false,
|
8263
8277
|
# multi_region_consistency: "EVENTUAL", # accepts EVENTUAL, STRONG
|
8278
|
+
# global_table_witness_updates: [
|
8279
|
+
# {
|
8280
|
+
# create: {
|
8281
|
+
# region_name: "RegionName", # required
|
8282
|
+
# },
|
8283
|
+
# delete: {
|
8284
|
+
# region_name: "RegionName", # required
|
8285
|
+
# },
|
8286
|
+
# },
|
8287
|
+
# ],
|
8264
8288
|
# on_demand_throughput: {
|
8265
8289
|
# max_read_request_units: 1,
|
8266
8290
|
# max_write_request_units: 1,
|
@@ -8280,7 +8304,7 @@ module Aws::DynamoDB
|
|
8280
8304
|
# resp.table_description.key_schema #=> Array
|
8281
8305
|
# resp.table_description.key_schema[0].attribute_name #=> String
|
8282
8306
|
# 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"
|
8307
|
+
# resp.table_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8284
8308
|
# resp.table_description.creation_date_time #=> Time
|
8285
8309
|
# resp.table_description.provisioned_throughput.last_increase_date_time #=> Time
|
8286
8310
|
# resp.table_description.provisioned_throughput.last_decrease_date_time #=> Time
|
@@ -8334,7 +8358,7 @@ module Aws::DynamoDB
|
|
8334
8358
|
# resp.table_description.global_table_version #=> String
|
8335
8359
|
# resp.table_description.replicas #=> Array
|
8336
8360
|
# 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"
|
8361
|
+
# 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
8362
|
# resp.table_description.replicas[0].replica_status_description #=> String
|
8339
8363
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
8340
8364
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
@@ -8342,7 +8366,7 @@ module Aws::DynamoDB
|
|
8342
8366
|
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
8343
8367
|
# resp.table_description.replicas[0].warm_throughput.read_units_per_second #=> Integer
|
8344
8368
|
# 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"
|
8369
|
+
# resp.table_description.replicas[0].warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8346
8370
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
8347
8371
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
8348
8372
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
@@ -8353,6 +8377,9 @@ module Aws::DynamoDB
|
|
8353
8377
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
8354
8378
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
8355
8379
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
8380
|
+
# resp.table_description.global_table_witnesses #=> Array
|
8381
|
+
# resp.table_description.global_table_witnesses[0].region_name #=> String
|
8382
|
+
# resp.table_description.global_table_witnesses[0].witness_status #=> String, one of "CREATING", "DELETING", "ACTIVE"
|
8356
8383
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
8357
8384
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
8358
8385
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -8371,7 +8398,7 @@ module Aws::DynamoDB
|
|
8371
8398
|
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
8372
8399
|
# resp.table_description.warm_throughput.read_units_per_second #=> Integer
|
8373
8400
|
# 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"
|
8401
|
+
# resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8375
8402
|
# resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
|
8376
8403
|
#
|
8377
8404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
@@ -8385,9 +8412,6 @@ module Aws::DynamoDB
|
|
8385
8412
|
|
8386
8413
|
# Updates auto scaling settings on your global tables at once.
|
8387
8414
|
#
|
8388
|
-
# For global tables, this operation only applies to global tables using
|
8389
|
-
# Version 2019.11.21 (Current version).
|
8390
|
-
#
|
8391
8415
|
# @option params [Array<Types::GlobalSecondaryIndexAutoScalingUpdate>] :global_secondary_index_updates
|
8392
8416
|
# Represents the auto scaling settings of the global secondary indexes
|
8393
8417
|
# of the replica to be updated.
|
@@ -8492,7 +8516,7 @@ module Aws::DynamoDB
|
|
8492
8516
|
# @example Response structure
|
8493
8517
|
#
|
8494
8518
|
# 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"
|
8519
|
+
# resp.table_auto_scaling_description.table_status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED", "REPLICATION_NOT_AUTHORIZED"
|
8496
8520
|
# resp.table_auto_scaling_description.replicas #=> Array
|
8497
8521
|
# resp.table_auto_scaling_description.replicas[0].region_name #=> String
|
8498
8522
|
# resp.table_auto_scaling_description.replicas[0].global_secondary_indexes #=> Array
|
@@ -8538,7 +8562,7 @@ module Aws::DynamoDB
|
|
8538
8562
|
# 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
8563
|
# 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
8564
|
# 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"
|
8565
|
+
# 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
8566
|
#
|
8543
8567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling AWS API Documentation
|
8544
8568
|
#
|
@@ -8640,7 +8664,7 @@ module Aws::DynamoDB
|
|
8640
8664
|
tracer: tracer
|
8641
8665
|
)
|
8642
8666
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8643
|
-
context[:gem_version] = '1.
|
8667
|
+
context[:gem_version] = '1.146.0'
|
8644
8668
|
Seahorse::Client::Request.new(handlers, context)
|
8645
8669
|
end
|
8646
8670
|
|
@@ -103,6 +103,7 @@ module Aws::DynamoDB
|
|
103
103
|
CreateGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'CreateGlobalSecondaryIndexAction')
|
104
104
|
CreateGlobalTableInput = Shapes::StructureShape.new(name: 'CreateGlobalTableInput')
|
105
105
|
CreateGlobalTableOutput = Shapes::StructureShape.new(name: 'CreateGlobalTableOutput')
|
106
|
+
CreateGlobalTableWitnessGroupMemberAction = Shapes::StructureShape.new(name: 'CreateGlobalTableWitnessGroupMemberAction')
|
106
107
|
CreateReplicaAction = Shapes::StructureShape.new(name: 'CreateReplicaAction')
|
107
108
|
CreateReplicationGroupMemberAction = Shapes::StructureShape.new(name: 'CreateReplicationGroupMemberAction')
|
108
109
|
CreateTableInput = Shapes::StructureShape.new(name: 'CreateTableInput')
|
@@ -116,6 +117,7 @@ module Aws::DynamoDB
|
|
116
117
|
DeleteBackupInput = Shapes::StructureShape.new(name: 'DeleteBackupInput')
|
117
118
|
DeleteBackupOutput = Shapes::StructureShape.new(name: 'DeleteBackupOutput')
|
118
119
|
DeleteGlobalSecondaryIndexAction = Shapes::StructureShape.new(name: 'DeleteGlobalSecondaryIndexAction')
|
120
|
+
DeleteGlobalTableWitnessGroupMemberAction = Shapes::StructureShape.new(name: 'DeleteGlobalTableWitnessGroupMemberAction')
|
119
121
|
DeleteItemInput = Shapes::StructureShape.new(name: 'DeleteItemInput')
|
120
122
|
DeleteItemOutput = Shapes::StructureShape.new(name: 'DeleteItemOutput')
|
121
123
|
DeleteReplicaAction = Shapes::StructureShape.new(name: 'DeleteReplicaAction')
|
@@ -220,6 +222,10 @@ module Aws::DynamoDB
|
|
220
222
|
GlobalTableList = Shapes::ListShape.new(name: 'GlobalTableList')
|
221
223
|
GlobalTableNotFoundException = Shapes::StructureShape.new(name: 'GlobalTableNotFoundException')
|
222
224
|
GlobalTableStatus = Shapes::StringShape.new(name: 'GlobalTableStatus')
|
225
|
+
GlobalTableWitnessDescription = Shapes::StructureShape.new(name: 'GlobalTableWitnessDescription')
|
226
|
+
GlobalTableWitnessDescriptionList = Shapes::ListShape.new(name: 'GlobalTableWitnessDescriptionList')
|
227
|
+
GlobalTableWitnessGroupUpdate = Shapes::StructureShape.new(name: 'GlobalTableWitnessGroupUpdate')
|
228
|
+
GlobalTableWitnessGroupUpdateList = Shapes::ListShape.new(name: 'GlobalTableWitnessGroupUpdateList')
|
223
229
|
IdempotentParameterMismatchException = Shapes::StructureShape.new(name: 'IdempotentParameterMismatchException')
|
224
230
|
ImportArn = Shapes::StringShape.new(name: 'ImportArn')
|
225
231
|
ImportConflictException = Shapes::StructureShape.new(name: 'ImportConflictException')
|
@@ -486,6 +492,7 @@ module Aws::DynamoDB
|
|
486
492
|
UpdateTimeToLiveInput = Shapes::StructureShape.new(name: 'UpdateTimeToLiveInput')
|
487
493
|
UpdateTimeToLiveOutput = Shapes::StructureShape.new(name: 'UpdateTimeToLiveOutput')
|
488
494
|
WarmThroughput = Shapes::StructureShape.new(name: 'WarmThroughput')
|
495
|
+
WitnessStatus = Shapes::StringShape.new(name: 'WitnessStatus')
|
489
496
|
WriteRequest = Shapes::StructureShape.new(name: 'WriteRequest')
|
490
497
|
WriteRequests = Shapes::ListShape.new(name: 'WriteRequests')
|
491
498
|
|
@@ -731,6 +738,9 @@ module Aws::DynamoDB
|
|
731
738
|
CreateGlobalTableOutput.add_member(:global_table_description, Shapes::ShapeRef.new(shape: GlobalTableDescription, location_name: "GlobalTableDescription"))
|
732
739
|
CreateGlobalTableOutput.struct_class = Types::CreateGlobalTableOutput
|
733
740
|
|
741
|
+
CreateGlobalTableWitnessGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
|
742
|
+
CreateGlobalTableWitnessGroupMemberAction.struct_class = Types::CreateGlobalTableWitnessGroupMemberAction
|
743
|
+
|
734
744
|
CreateReplicaAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
|
735
745
|
CreateReplicaAction.struct_class = Types::CreateReplicaAction
|
736
746
|
|
@@ -785,6 +795,9 @@ module Aws::DynamoDB
|
|
785
795
|
DeleteGlobalSecondaryIndexAction.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
786
796
|
DeleteGlobalSecondaryIndexAction.struct_class = Types::DeleteGlobalSecondaryIndexAction
|
787
797
|
|
798
|
+
DeleteGlobalTableWitnessGroupMemberAction.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "RegionName"))
|
799
|
+
DeleteGlobalTableWitnessGroupMemberAction.struct_class = Types::DeleteGlobalTableWitnessGroupMemberAction
|
800
|
+
|
788
801
|
DeleteItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableArn, required: true, location_name: "TableName", metadata: {"contextParam" => {"name" => "ResourceArn"}}))
|
789
802
|
DeleteItemInput.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key"))
|
790
803
|
DeleteItemInput.add_member(:expected, Shapes::ShapeRef.new(shape: ExpectedAttributeMap, location_name: "Expected"))
|
@@ -1126,6 +1139,18 @@ module Aws::DynamoDB
|
|
1126
1139
|
GlobalTableNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1127
1140
|
GlobalTableNotFoundException.struct_class = Types::GlobalTableNotFoundException
|
1128
1141
|
|
1142
|
+
GlobalTableWitnessDescription.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "RegionName"))
|
1143
|
+
GlobalTableWitnessDescription.add_member(:witness_status, Shapes::ShapeRef.new(shape: WitnessStatus, location_name: "WitnessStatus"))
|
1144
|
+
GlobalTableWitnessDescription.struct_class = Types::GlobalTableWitnessDescription
|
1145
|
+
|
1146
|
+
GlobalTableWitnessDescriptionList.member = Shapes::ShapeRef.new(shape: GlobalTableWitnessDescription)
|
1147
|
+
|
1148
|
+
GlobalTableWitnessGroupUpdate.add_member(:create, Shapes::ShapeRef.new(shape: CreateGlobalTableWitnessGroupMemberAction, location_name: "Create"))
|
1149
|
+
GlobalTableWitnessGroupUpdate.add_member(:delete, Shapes::ShapeRef.new(shape: DeleteGlobalTableWitnessGroupMemberAction, location_name: "Delete"))
|
1150
|
+
GlobalTableWitnessGroupUpdate.struct_class = Types::GlobalTableWitnessGroupUpdate
|
1151
|
+
|
1152
|
+
GlobalTableWitnessGroupUpdateList.member = Shapes::ShapeRef.new(shape: GlobalTableWitnessGroupUpdate)
|
1153
|
+
|
1129
1154
|
IdempotentParameterMismatchException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1130
1155
|
IdempotentParameterMismatchException.struct_class = Types::IdempotentParameterMismatchException
|
1131
1156
|
|
@@ -1766,6 +1791,7 @@ module Aws::DynamoDB
|
|
1766
1791
|
TableDescription.add_member(:latest_stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "LatestStreamArn"))
|
1767
1792
|
TableDescription.add_member(:global_table_version, Shapes::ShapeRef.new(shape: String, location_name: "GlobalTableVersion"))
|
1768
1793
|
TableDescription.add_member(:replicas, Shapes::ShapeRef.new(shape: ReplicaDescriptionList, location_name: "Replicas"))
|
1794
|
+
TableDescription.add_member(:global_table_witnesses, Shapes::ShapeRef.new(shape: GlobalTableWitnessDescriptionList, location_name: "GlobalTableWitnesses"))
|
1769
1795
|
TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
|
1770
1796
|
TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
|
1771
1797
|
TableDescription.add_member(:archival_summary, Shapes::ShapeRef.new(shape: ArchivalSummary, location_name: "ArchivalSummary"))
|
@@ -1958,6 +1984,7 @@ module Aws::DynamoDB
|
|
1958
1984
|
UpdateTableInput.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
1959
1985
|
UpdateTableInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "DeletionProtectionEnabled"))
|
1960
1986
|
UpdateTableInput.add_member(:multi_region_consistency, Shapes::ShapeRef.new(shape: MultiRegionConsistency, location_name: "MultiRegionConsistency"))
|
1987
|
+
UpdateTableInput.add_member(:global_table_witness_updates, Shapes::ShapeRef.new(shape: GlobalTableWitnessGroupUpdateList, location_name: "GlobalTableWitnessUpdates"))
|
1961
1988
|
UpdateTableInput.add_member(:on_demand_throughput, Shapes::ShapeRef.new(shape: OnDemandThroughput, location_name: "OnDemandThroughput"))
|
1962
1989
|
UpdateTableInput.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughput, location_name: "WarmThroughput"))
|
1963
1990
|
UpdateTableInput.struct_class = Types::UpdateTableInput
|
@@ -2055,6 +2082,7 @@ module Aws::DynamoDB
|
|
2055
2082
|
o.errors << Shapes::ShapeRef.new(shape: ItemCollectionSizeLimitExceededException)
|
2056
2083
|
o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
|
2057
2084
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
2085
|
+
o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
|
2058
2086
|
end)
|
2059
2087
|
|
2060
2088
|
api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
|
@@ -28,7 +28,7 @@ module Aws::DynamoDB
|
|
28
28
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
29
|
raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
|
30
30
|
end
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes" => [{"signingRegion" => "us-east-1", "
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes" => [{"signingRegion" => "us-east-1", "signingName" => "dynamodb", "name" => "sigv4"}]}, metadata: { account_id_endpoint: false })
|
32
32
|
end
|
33
33
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) && Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
|
@@ -340,6 +340,13 @@ module Aws::DynamoDB
|
|
340
340
|
data[:replicas]
|
341
341
|
end
|
342
342
|
|
343
|
+
# The witness Region and its current status in the MRSC global table.
|
344
|
+
# Only one witness Region can be configured per MRSC global table.
|
345
|
+
# @return [Array<Types::GlobalTableWitnessDescription>]
|
346
|
+
def global_table_witnesses
|
347
|
+
data[:global_table_witnesses]
|
348
|
+
end
|
349
|
+
|
343
350
|
# Contains details for the restore.
|
344
351
|
# @return [Types::RestoreSummary]
|
345
352
|
def restore_summary
|
@@ -389,23 +396,19 @@ module Aws::DynamoDB
|
|
389
396
|
# Indicates one of the following consistency modes for a global table:
|
390
397
|
#
|
391
398
|
# * `EVENTUAL`: Indicates that the global table is configured for
|
392
|
-
# multi-Region eventual consistency.
|
399
|
+
# multi-Region eventual consistency (MREC).
|
393
400
|
#
|
394
401
|
# * `STRONG`: Indicates that the global table is configured for
|
395
|
-
# multi-Region strong consistency (
|
396
|
-
#
|
397
|
-
# <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
|
398
|
-
# tables capability currently available in preview mode. For more
|
399
|
-
# information, see [Global tables multi-Region strong consistency][1].
|
400
|
-
#
|
401
|
-
# </note>
|
402
|
+
# multi-Region strong consistency (MRSC).
|
402
403
|
#
|
403
404
|
# If you don't specify this field, the global table consistency mode
|
404
|
-
# defaults to `EVENTUAL`.
|
405
|
+
# defaults to `EVENTUAL`. For more information about global tables
|
406
|
+
# consistency modes, see [ Consistency modes][1] in DynamoDB developer
|
407
|
+
# guide.
|
405
408
|
#
|
406
409
|
#
|
407
410
|
#
|
408
|
-
# [1]: https://docs.aws.amazon.com/
|
411
|
+
# [1]: https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
409
412
|
# @return [String]
|
410
413
|
def multi_region_consistency
|
411
414
|
data[:multi_region_consistency]
|
@@ -1947,6 +1950,16 @@ module Aws::DynamoDB
|
|
1947
1950
|
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1948
1951
|
# deletion_protection_enabled: false,
|
1949
1952
|
# multi_region_consistency: "EVENTUAL", # accepts EVENTUAL, STRONG
|
1953
|
+
# global_table_witness_updates: [
|
1954
|
+
# {
|
1955
|
+
# create: {
|
1956
|
+
# region_name: "RegionName", # required
|
1957
|
+
# },
|
1958
|
+
# delete: {
|
1959
|
+
# region_name: "RegionName", # required
|
1960
|
+
# },
|
1961
|
+
# },
|
1962
|
+
# ],
|
1950
1963
|
# on_demand_throughput: {
|
1951
1964
|
# max_read_request_units: 1,
|
1952
1965
|
# max_write_request_units: 1,
|
@@ -2019,11 +2032,6 @@ module Aws::DynamoDB
|
|
2019
2032
|
# @option options [Array<Types::ReplicationGroupUpdate>] :replica_updates
|
2020
2033
|
# A list of replica update actions (create, delete, or update) for the
|
2021
2034
|
# table.
|
2022
|
-
#
|
2023
|
-
# <note markdown="1"> For global tables, this property only applies to global tables using
|
2024
|
-
# Version 2019.11.21 (Current version).
|
2025
|
-
#
|
2026
|
-
# </note>
|
2027
2035
|
# @option options [String] :table_class
|
2028
2036
|
# The table class of the table to be updated. Valid values are
|
2029
2037
|
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
@@ -2038,25 +2046,41 @@ module Aws::DynamoDB
|
|
2038
2046
|
# You can specify one of the following consistency modes:
|
2039
2047
|
#
|
2040
2048
|
# * `EVENTUAL`: Configures a new global table for multi-Region eventual
|
2041
|
-
# consistency. This is the default consistency mode for global
|
2049
|
+
# consistency (MREC). This is the default consistency mode for global
|
2050
|
+
# tables.
|
2042
2051
|
#
|
2043
2052
|
# * `STRONG`: Configures a new global table for multi-Region strong
|
2044
|
-
# consistency (
|
2053
|
+
# consistency (MRSC).
|
2045
2054
|
#
|
2046
|
-
#
|
2047
|
-
#
|
2048
|
-
#
|
2049
|
-
#
|
2050
|
-
# </note>
|
2051
|
-
#
|
2052
|
-
# If you don't specify this parameter, the global table consistency
|
2053
|
-
# mode defaults to `EVENTUAL`.
|
2055
|
+
# If you don't specify this field, the global table consistency mode
|
2056
|
+
# defaults to `EVENTUAL`. For more information about global tables
|
2057
|
+
# consistency modes, see [ Consistency modes][3] in DynamoDB developer
|
2058
|
+
# guide.
|
2054
2059
|
#
|
2055
2060
|
#
|
2056
2061
|
#
|
2057
2062
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
|
2058
2063
|
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
|
2059
|
-
# [3]: https://docs.aws.amazon.com/
|
2064
|
+
# [3]: https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
2065
|
+
# @option options [Array<Types::GlobalTableWitnessGroupUpdate>] :global_table_witness_updates
|
2066
|
+
# A list of witness updates for a MRSC global table. A witness provides
|
2067
|
+
# a cost-effective alternative to a full replica in a MRSC global table
|
2068
|
+
# by maintaining replicated change data written to global table
|
2069
|
+
# replicas. You cannot perform read or write operations on a witness.
|
2070
|
+
# For each witness, you can request one action:
|
2071
|
+
#
|
2072
|
+
# * `Create` - add a new witness to the global table.
|
2073
|
+
#
|
2074
|
+
# * `Delete` - remove a witness from the global table.
|
2075
|
+
#
|
2076
|
+
# You can create or delete only one witness per `UpdateTable` operation.
|
2077
|
+
#
|
2078
|
+
# For more information, see [Multi-Region strong consistency (MRSC)][1]
|
2079
|
+
# in the Amazon DynamoDB Developer Guide
|
2080
|
+
#
|
2081
|
+
#
|
2082
|
+
#
|
2083
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
2060
2084
|
# @option options [Types::OnDemandThroughput] :on_demand_throughput
|
2061
2085
|
# Updates the maximum number of read and write units for the specified
|
2062
2086
|
# table in on-demand capacity mode. If you use this parameter, you must
|
@@ -1774,6 +1774,33 @@ module Aws::DynamoDB
|
|
1774
1774
|
include Aws::Structure
|
1775
1775
|
end
|
1776
1776
|
|
1777
|
+
# Specifies the action to add a new witness Region to a MRSC global
|
1778
|
+
# table. A MRSC global table can be configured with either three
|
1779
|
+
# replicas, or with two replicas and one witness.
|
1780
|
+
#
|
1781
|
+
# @!attribute [rw] region_name
|
1782
|
+
# The Amazon Web Services Region name to be added as a witness Region
|
1783
|
+
# for the MRSC global table. The witness must be in a different Region
|
1784
|
+
# than the replicas and within the same Region set:
|
1785
|
+
#
|
1786
|
+
# * US Region set: US East (N. Virginia), US East (Ohio), US West
|
1787
|
+
# (Oregon)
|
1788
|
+
#
|
1789
|
+
# * EU Region set: Europe (Ireland), Europe (London), Europe (Paris),
|
1790
|
+
# Europe (Frankfurt)
|
1791
|
+
#
|
1792
|
+
# * AP Region set: Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia
|
1793
|
+
# Pacific (Osaka)
|
1794
|
+
# @return [String]
|
1795
|
+
#
|
1796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTableWitnessGroupMemberAction AWS API Documentation
|
1797
|
+
#
|
1798
|
+
class CreateGlobalTableWitnessGroupMemberAction < Struct.new(
|
1799
|
+
:region_name)
|
1800
|
+
SENSITIVE = []
|
1801
|
+
include Aws::Structure
|
1802
|
+
end
|
1803
|
+
|
1777
1804
|
# Represents a replica to be added.
|
1778
1805
|
#
|
1779
1806
|
# @!attribute [rw] region_name
|
@@ -2249,6 +2276,24 @@ module Aws::DynamoDB
|
|
2249
2276
|
include Aws::Structure
|
2250
2277
|
end
|
2251
2278
|
|
2279
|
+
# Specifies the action to remove a witness Region from a MRSC global
|
2280
|
+
# table. You cannot delete a single witness from a MRSC global table -
|
2281
|
+
# you must delete both a replica and the witness together. The deletion
|
2282
|
+
# of both a witness and replica converts the remaining replica to a
|
2283
|
+
# single-Region DynamoDB table.
|
2284
|
+
#
|
2285
|
+
# @!attribute [rw] region_name
|
2286
|
+
# The witness Region name to be removed from the MRSC global table.
|
2287
|
+
# @return [String]
|
2288
|
+
#
|
2289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteGlobalTableWitnessGroupMemberAction AWS API Documentation
|
2290
|
+
#
|
2291
|
+
class DeleteGlobalTableWitnessGroupMemberAction < Struct.new(
|
2292
|
+
:region_name)
|
2293
|
+
SENSITIVE = []
|
2294
|
+
include Aws::Structure
|
2295
|
+
end
|
2296
|
+
|
2252
2297
|
# Represents the input of a `DeleteItem` operation.
|
2253
2298
|
#
|
2254
2299
|
# @!attribute [rw] table_name
|
@@ -4554,6 +4599,55 @@ module Aws::DynamoDB
|
|
4554
4599
|
include Aws::Structure
|
4555
4600
|
end
|
4556
4601
|
|
4602
|
+
# Represents the properties of a witness Region in a MRSC global table.
|
4603
|
+
#
|
4604
|
+
# @!attribute [rw] region_name
|
4605
|
+
# The name of the Amazon Web Services Region that serves as a witness
|
4606
|
+
# for the MRSC global table.
|
4607
|
+
# @return [String]
|
4608
|
+
#
|
4609
|
+
# @!attribute [rw] witness_status
|
4610
|
+
# The current status of the witness Region in the MRSC global table.
|
4611
|
+
# @return [String]
|
4612
|
+
#
|
4613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableWitnessDescription AWS API Documentation
|
4614
|
+
#
|
4615
|
+
class GlobalTableWitnessDescription < Struct.new(
|
4616
|
+
:region_name,
|
4617
|
+
:witness_status)
|
4618
|
+
SENSITIVE = []
|
4619
|
+
include Aws::Structure
|
4620
|
+
end
|
4621
|
+
|
4622
|
+
# Represents one of the following:
|
4623
|
+
#
|
4624
|
+
# * A new witness to be added to a new global table.
|
4625
|
+
#
|
4626
|
+
# * An existing witness to be removed from an existing global table.
|
4627
|
+
#
|
4628
|
+
# You can configure one witness per MRSC global table.
|
4629
|
+
#
|
4630
|
+
# @!attribute [rw] create
|
4631
|
+
# Specifies a witness Region to be added to a new MRSC global table.
|
4632
|
+
# The witness must be added when creating the MRSC global table.
|
4633
|
+
# @return [Types::CreateGlobalTableWitnessGroupMemberAction]
|
4634
|
+
#
|
4635
|
+
# @!attribute [rw] delete
|
4636
|
+
# Specifies a witness Region to be removed from an existing global
|
4637
|
+
# table. Must be done in conjunction with removing a replica. The
|
4638
|
+
# deletion of both a witness and replica converts the remaining
|
4639
|
+
# replica to a single-Region DynamoDB table.
|
4640
|
+
# @return [Types::DeleteGlobalTableWitnessGroupMemberAction]
|
4641
|
+
#
|
4642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableWitnessGroupUpdate AWS API Documentation
|
4643
|
+
#
|
4644
|
+
class GlobalTableWitnessGroupUpdate < Struct.new(
|
4645
|
+
:create,
|
4646
|
+
:delete)
|
4647
|
+
SENSITIVE = []
|
4648
|
+
include Aws::Structure
|
4649
|
+
end
|
4650
|
+
|
4557
4651
|
# DynamoDB rejected the request because you retried a request with a
|
4558
4652
|
# different payload but with an idempotent token that was already used.
|
4559
4653
|
#
|
@@ -9002,6 +9096,11 @@ module Aws::DynamoDB
|
|
9002
9096
|
# Represents replicas of the table.
|
9003
9097
|
# @return [Array<Types::ReplicaDescription>]
|
9004
9098
|
#
|
9099
|
+
# @!attribute [rw] global_table_witnesses
|
9100
|
+
# The witness Region and its current status in the MRSC global table.
|
9101
|
+
# Only one witness Region can be configured per MRSC global table.
|
9102
|
+
# @return [Array<Types::GlobalTableWitnessDescription>]
|
9103
|
+
#
|
9005
9104
|
# @!attribute [rw] restore_summary
|
9006
9105
|
# Contains details for the restore.
|
9007
9106
|
# @return [Types::RestoreSummary]
|
@@ -9038,24 +9137,19 @@ module Aws::DynamoDB
|
|
9038
9137
|
# Indicates one of the following consistency modes for a global table:
|
9039
9138
|
#
|
9040
9139
|
# * `EVENTUAL`: Indicates that the global table is configured for
|
9041
|
-
# multi-Region eventual consistency.
|
9140
|
+
# multi-Region eventual consistency (MREC).
|
9042
9141
|
#
|
9043
9142
|
# * `STRONG`: Indicates that the global table is configured for
|
9044
|
-
# multi-Region strong consistency (
|
9045
|
-
#
|
9046
|
-
# <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
|
9047
|
-
# tables capability currently available in preview mode. For more
|
9048
|
-
# information, see [Global tables multi-Region strong
|
9049
|
-
# consistency][1].
|
9050
|
-
#
|
9051
|
-
# </note>
|
9143
|
+
# multi-Region strong consistency (MRSC).
|
9052
9144
|
#
|
9053
9145
|
# If you don't specify this field, the global table consistency mode
|
9054
|
-
# defaults to `EVENTUAL`.
|
9146
|
+
# defaults to `EVENTUAL`. For more information about global tables
|
9147
|
+
# consistency modes, see [ Consistency modes][1] in DynamoDB developer
|
9148
|
+
# guide.
|
9055
9149
|
#
|
9056
9150
|
#
|
9057
9151
|
#
|
9058
|
-
# [1]: https://docs.aws.amazon.com/
|
9152
|
+
# [1]: https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
9059
9153
|
# @return [String]
|
9060
9154
|
#
|
9061
9155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
|
@@ -9079,6 +9173,7 @@ module Aws::DynamoDB
|
|
9079
9173
|
:latest_stream_arn,
|
9080
9174
|
:global_table_version,
|
9081
9175
|
:replicas,
|
9176
|
+
:global_table_witnesses,
|
9082
9177
|
:restore_summary,
|
9083
9178
|
:sse_description,
|
9084
9179
|
:archival_summary,
|
@@ -10557,11 +10652,6 @@ module Aws::DynamoDB
|
|
10557
10652
|
# @!attribute [rw] replica_updates
|
10558
10653
|
# A list of replica update actions (create, delete, or update) for the
|
10559
10654
|
# table.
|
10560
|
-
#
|
10561
|
-
# <note markdown="1"> For global tables, this property only applies to global tables using
|
10562
|
-
# Version 2019.11.21 (Current version).
|
10563
|
-
#
|
10564
|
-
# </note>
|
10565
10655
|
# @return [Array<Types::ReplicationGroupUpdate>]
|
10566
10656
|
#
|
10567
10657
|
# @!attribute [rw] table_class
|
@@ -10583,29 +10673,46 @@ module Aws::DynamoDB
|
|
10583
10673
|
# You can specify one of the following consistency modes:
|
10584
10674
|
#
|
10585
10675
|
# * `EVENTUAL`: Configures a new global table for multi-Region
|
10586
|
-
# eventual consistency. This is the default consistency mode
|
10587
|
-
# global tables.
|
10676
|
+
# eventual consistency (MREC). This is the default consistency mode
|
10677
|
+
# for global tables.
|
10588
10678
|
#
|
10589
10679
|
# * `STRONG`: Configures a new global table for multi-Region strong
|
10590
|
-
# consistency (
|
10591
|
-
#
|
10592
|
-
# <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
|
10593
|
-
# tables capability currently available in preview mode. For more
|
10594
|
-
# information, see [Global tables multi-Region strong
|
10595
|
-
# consistency][3].
|
10680
|
+
# consistency (MRSC).
|
10596
10681
|
#
|
10597
|
-
#
|
10598
|
-
#
|
10599
|
-
#
|
10600
|
-
#
|
10682
|
+
# If you don't specify this field, the global table consistency mode
|
10683
|
+
# defaults to `EVENTUAL`. For more information about global tables
|
10684
|
+
# consistency modes, see [ Consistency modes][3] in DynamoDB developer
|
10685
|
+
# guide.
|
10601
10686
|
#
|
10602
10687
|
#
|
10603
10688
|
#
|
10604
10689
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
|
10605
10690
|
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
|
10606
|
-
# [3]: https://docs.aws.amazon.com/
|
10691
|
+
# [3]: https://docs.aws.amazon.com/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
10607
10692
|
# @return [String]
|
10608
10693
|
#
|
10694
|
+
# @!attribute [rw] global_table_witness_updates
|
10695
|
+
# A list of witness updates for a MRSC global table. A witness
|
10696
|
+
# provides a cost-effective alternative to a full replica in a MRSC
|
10697
|
+
# global table by maintaining replicated change data written to global
|
10698
|
+
# table replicas. You cannot perform read or write operations on a
|
10699
|
+
# witness. For each witness, you can request one action:
|
10700
|
+
#
|
10701
|
+
# * `Create` - add a new witness to the global table.
|
10702
|
+
#
|
10703
|
+
# * `Delete` - remove a witness from the global table.
|
10704
|
+
#
|
10705
|
+
# You can create or delete only one witness per `UpdateTable`
|
10706
|
+
# operation.
|
10707
|
+
#
|
10708
|
+
# For more information, see [Multi-Region strong consistency
|
10709
|
+
# (MRSC)][1] in the Amazon DynamoDB Developer Guide
|
10710
|
+
#
|
10711
|
+
#
|
10712
|
+
#
|
10713
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/V2globaltables_HowItWorks.html#V2globaltables_HowItWorks.consistency-modes
|
10714
|
+
# @return [Array<Types::GlobalTableWitnessGroupUpdate>]
|
10715
|
+
#
|
10609
10716
|
# @!attribute [rw] on_demand_throughput
|
10610
10717
|
# Updates the maximum number of read and write units for the specified
|
10611
10718
|
# table in on-demand capacity mode. If you use this parameter, you
|
@@ -10631,6 +10738,7 @@ module Aws::DynamoDB
|
|
10631
10738
|
:table_class,
|
10632
10739
|
:deletion_protection_enabled,
|
10633
10740
|
:multi_region_consistency,
|
10741
|
+
:global_table_witness_updates,
|
10634
10742
|
:on_demand_throughput,
|
10635
10743
|
:warm_throughput)
|
10636
10744
|
SENSITIVE = []
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -1409,6 +1409,16 @@ module Aws
|
|
1409
1409
|
?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
|
1410
1410
|
?deletion_protection_enabled: bool,
|
1411
1411
|
?multi_region_consistency: ("EVENTUAL" | "STRONG"),
|
1412
|
+
?global_table_witness_updates: Array[
|
1413
|
+
{
|
1414
|
+
create: {
|
1415
|
+
region_name: ::String
|
1416
|
+
}?,
|
1417
|
+
delete: {
|
1418
|
+
region_name: ::String
|
1419
|
+
}?
|
1420
|
+
},
|
1421
|
+
],
|
1412
1422
|
?on_demand_throughput: {
|
1413
1423
|
max_read_request_units: ::Integer?,
|
1414
1424
|
max_write_request_units: ::Integer?
|
data/sig/table.rbs
CHANGED
@@ -25,7 +25,7 @@ module Aws
|
|
25
25
|
def key_schema: () -> ::Array[Types::KeySchemaElement]
|
26
26
|
|
27
27
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#table_status-instance_method
|
28
|
-
def table_status: () -> ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED")
|
28
|
+
def table_status: () -> ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
29
29
|
|
30
30
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#creation_date_time-instance_method
|
31
31
|
def creation_date_time: () -> ::Time
|
@@ -69,6 +69,9 @@ module Aws
|
|
69
69
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#replicas-instance_method
|
70
70
|
def replicas: () -> ::Array[Types::ReplicaDescription]
|
71
71
|
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#global_table_witnesses-instance_method
|
73
|
+
def global_table_witnesses: () -> ::Array[Types::GlobalTableWitnessDescription]
|
74
|
+
|
72
75
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#restore_summary-instance_method
|
73
76
|
def restore_summary: () -> Types::RestoreSummary
|
74
77
|
|
@@ -335,6 +338,16 @@ module Aws
|
|
335
338
|
?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
|
336
339
|
?deletion_protection_enabled: bool,
|
337
340
|
?multi_region_consistency: ("EVENTUAL" | "STRONG"),
|
341
|
+
?global_table_witness_updates: Array[
|
342
|
+
{
|
343
|
+
create: {
|
344
|
+
region_name: ::String
|
345
|
+
}?,
|
346
|
+
delete: {
|
347
|
+
region_name: ::String
|
348
|
+
}?
|
349
|
+
},
|
350
|
+
],
|
338
351
|
?on_demand_throughput: {
|
339
352
|
max_read_request_units: ::Integer?,
|
340
353
|
max_write_request_units: ::Integer?
|
data/sig/types.rbs
CHANGED
@@ -293,6 +293,11 @@ module Aws::DynamoDB
|
|
293
293
|
SENSITIVE: []
|
294
294
|
end
|
295
295
|
|
296
|
+
class CreateGlobalTableWitnessGroupMemberAction
|
297
|
+
attr_accessor region_name: ::String
|
298
|
+
SENSITIVE: []
|
299
|
+
end
|
300
|
+
|
296
301
|
class CreateReplicaAction
|
297
302
|
attr_accessor region_name: ::String
|
298
303
|
SENSITIVE: []
|
@@ -363,6 +368,11 @@ module Aws::DynamoDB
|
|
363
368
|
SENSITIVE: []
|
364
369
|
end
|
365
370
|
|
371
|
+
class DeleteGlobalTableWitnessGroupMemberAction
|
372
|
+
attr_accessor region_name: ::String
|
373
|
+
SENSITIVE: []
|
374
|
+
end
|
375
|
+
|
366
376
|
class DeleteItemInput
|
367
377
|
attr_accessor table_name: ::String
|
368
378
|
attr_accessor key: ::Hash[::String, Types::AttributeValue]
|
@@ -804,6 +814,18 @@ module Aws::DynamoDB
|
|
804
814
|
SENSITIVE: []
|
805
815
|
end
|
806
816
|
|
817
|
+
class GlobalTableWitnessDescription
|
818
|
+
attr_accessor region_name: ::String
|
819
|
+
attr_accessor witness_status: ("CREATING" | "DELETING" | "ACTIVE")
|
820
|
+
SENSITIVE: []
|
821
|
+
end
|
822
|
+
|
823
|
+
class GlobalTableWitnessGroupUpdate
|
824
|
+
attr_accessor create: Types::CreateGlobalTableWitnessGroupMemberAction
|
825
|
+
attr_accessor delete: Types::DeleteGlobalTableWitnessGroupMemberAction
|
826
|
+
SENSITIVE: []
|
827
|
+
end
|
828
|
+
|
807
829
|
class IdempotentParameterMismatchException
|
808
830
|
attr_accessor message: ::String
|
809
831
|
SENSITIVE: []
|
@@ -1244,7 +1266,7 @@ module Aws::DynamoDB
|
|
1244
1266
|
attr_accessor global_secondary_indexes: ::Array[Types::ReplicaGlobalSecondaryIndexAutoScalingDescription]
|
1245
1267
|
attr_accessor replica_provisioned_read_capacity_auto_scaling_settings: Types::AutoScalingSettingsDescription
|
1246
1268
|
attr_accessor replica_provisioned_write_capacity_auto_scaling_settings: Types::AutoScalingSettingsDescription
|
1247
|
-
attr_accessor replica_status: ("CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
|
1269
|
+
attr_accessor replica_status: ("CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
1248
1270
|
SENSITIVE: []
|
1249
1271
|
end
|
1250
1272
|
|
@@ -1257,7 +1279,7 @@ module Aws::DynamoDB
|
|
1257
1279
|
|
1258
1280
|
class ReplicaDescription
|
1259
1281
|
attr_accessor region_name: ::String
|
1260
|
-
attr_accessor replica_status: ("CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
|
1282
|
+
attr_accessor replica_status: ("CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
1261
1283
|
attr_accessor replica_status_description: ::String
|
1262
1284
|
attr_accessor replica_status_percent_progress: ::String
|
1263
1285
|
attr_accessor kms_master_key_id: ::String
|
@@ -1323,7 +1345,7 @@ module Aws::DynamoDB
|
|
1323
1345
|
|
1324
1346
|
class ReplicaSettingsDescription
|
1325
1347
|
attr_accessor region_name: ::String
|
1326
|
-
attr_accessor replica_status: ("CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS")
|
1348
|
+
attr_accessor replica_status: ("CREATING" | "CREATION_FAILED" | "UPDATING" | "DELETING" | "ACTIVE" | "REGION_DISABLED" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
1327
1349
|
attr_accessor replica_billing_mode_summary: Types::BillingModeSummary
|
1328
1350
|
attr_accessor replica_provisioned_read_capacity_units: ::Integer
|
1329
1351
|
attr_accessor replica_provisioned_read_capacity_auto_scaling_settings: Types::AutoScalingSettingsDescription
|
@@ -1508,7 +1530,7 @@ module Aws::DynamoDB
|
|
1508
1530
|
|
1509
1531
|
class TableAutoScalingDescription
|
1510
1532
|
attr_accessor table_name: ::String
|
1511
|
-
attr_accessor table_status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED")
|
1533
|
+
attr_accessor table_status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
1512
1534
|
attr_accessor replicas: ::Array[Types::ReplicaAutoScalingDescription]
|
1513
1535
|
SENSITIVE: []
|
1514
1536
|
end
|
@@ -1535,7 +1557,7 @@ module Aws::DynamoDB
|
|
1535
1557
|
attr_accessor attribute_definitions: ::Array[Types::AttributeDefinition]
|
1536
1558
|
attr_accessor table_name: ::String
|
1537
1559
|
attr_accessor key_schema: ::Array[Types::KeySchemaElement]
|
1538
|
-
attr_accessor table_status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED")
|
1560
|
+
attr_accessor table_status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
1539
1561
|
attr_accessor creation_date_time: ::Time
|
1540
1562
|
attr_accessor provisioned_throughput: Types::ProvisionedThroughputDescription
|
1541
1563
|
attr_accessor table_size_bytes: ::Integer
|
@@ -1550,6 +1572,7 @@ module Aws::DynamoDB
|
|
1550
1572
|
attr_accessor latest_stream_arn: ::String
|
1551
1573
|
attr_accessor global_table_version: ::String
|
1552
1574
|
attr_accessor replicas: ::Array[Types::ReplicaDescription]
|
1575
|
+
attr_accessor global_table_witnesses: ::Array[Types::GlobalTableWitnessDescription]
|
1553
1576
|
attr_accessor restore_summary: Types::RestoreSummary
|
1554
1577
|
attr_accessor sse_description: Types::SSEDescription
|
1555
1578
|
attr_accessor archival_summary: Types::ArchivalSummary
|
@@ -1574,7 +1597,7 @@ module Aws::DynamoDB
|
|
1574
1597
|
class TableWarmThroughputDescription
|
1575
1598
|
attr_accessor read_units_per_second: ::Integer
|
1576
1599
|
attr_accessor write_units_per_second: ::Integer
|
1577
|
-
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED")
|
1600
|
+
attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS" | "ARCHIVING" | "ARCHIVED" | "REPLICATION_NOT_AUTHORIZED")
|
1578
1601
|
SENSITIVE: []
|
1579
1602
|
end
|
1580
1603
|
|
@@ -1800,6 +1823,7 @@ module Aws::DynamoDB
|
|
1800
1823
|
attr_accessor table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
|
1801
1824
|
attr_accessor deletion_protection_enabled: bool
|
1802
1825
|
attr_accessor multi_region_consistency: ("EVENTUAL" | "STRONG")
|
1826
|
+
attr_accessor global_table_witness_updates: ::Array[Types::GlobalTableWitnessGroupUpdate]
|
1803
1827
|
attr_accessor on_demand_throughput: Types::OnDemandThroughput
|
1804
1828
|
attr_accessor warm_throughput: Types::WarmThroughput
|
1805
1829
|
SENSITIVE: []
|