aws-sdk-dynamodb 1.106.0 → 1.108.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 +235 -69
- data/lib/aws-sdk-dynamodb/client_api.rb +27 -1
- data/lib/aws-sdk-dynamodb/resource.rb +15 -4
- data/lib/aws-sdk-dynamodb/table.rb +37 -1
- data/lib/aws-sdk-dynamodb/types.rb +200 -29
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +59 -3
- data/sig/resource.rbs +9 -1
- data/sig/table.rbs +29 -2
- data/sig/types.rbs +28 -0
- metadata +4 -4
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -75,6 +76,7 @@ module Aws::DynamoDB
|
|
75
76
|
add_plugin(Aws::Plugins::ResponsePaging)
|
76
77
|
add_plugin(Aws::Plugins::StubResponses)
|
77
78
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
79
|
+
add_plugin(Aws::Plugins::InvocationId)
|
78
80
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
79
81
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
80
82
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -208,10 +210,17 @@ module Aws::DynamoDB
|
|
208
210
|
# When set to 'true' the request body will not be compressed
|
209
211
|
# for supported operations.
|
210
212
|
#
|
211
|
-
# @option options [String] :endpoint
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
213
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
214
|
+
# Normally you should not configure the `:endpoint` option
|
215
|
+
# directly. This is normally constructed from the `:region`
|
216
|
+
# option. Configuring `:endpoint` is normally reserved for
|
217
|
+
# connecting to test or custom endpoints. The endpoint should
|
218
|
+
# be a URI formatted like:
|
219
|
+
#
|
220
|
+
# 'http://example.com'
|
221
|
+
# 'https://example.com'
|
222
|
+
# 'http://example.com:123'
|
223
|
+
#
|
215
224
|
#
|
216
225
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
217
226
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -366,50 +375,65 @@ module Aws::DynamoDB
|
|
366
375
|
# @option options [Aws::DynamoDB::EndpointProvider] :endpoint_provider
|
367
376
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DynamoDB::EndpointParameters`
|
368
377
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
# @option options [Float] :
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
378
|
+
# @option options [Float] :http_continue_timeout (1)
|
379
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
380
|
+
# request body. This option has no effect unless the request has "Expect"
|
381
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
382
|
+
# behaviour. This value can safely be set per request on the session.
|
383
|
+
#
|
384
|
+
# @option options [Float] :http_idle_timeout (5)
|
385
|
+
# The number of seconds a connection is allowed to sit idle before it
|
386
|
+
# is considered stale. Stale connections are closed and removed from the
|
387
|
+
# pool before making a request.
|
388
|
+
#
|
389
|
+
# @option options [Float] :http_open_timeout (15)
|
390
|
+
# The default number of seconds to wait for response data.
|
391
|
+
# This value can safely be set per-request on the session.
|
392
|
+
#
|
393
|
+
# @option options [URI::HTTP,String] :http_proxy
|
394
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
395
|
+
#
|
396
|
+
# @option options [Float] :http_read_timeout (60)
|
397
|
+
# The default number of seconds to wait for response data.
|
398
|
+
# This value can safely be set per-request on the session.
|
399
|
+
#
|
400
|
+
# @option options [Boolean] :http_wire_trace (false)
|
401
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
402
|
+
#
|
403
|
+
# @option options [Proc] :on_chunk_received
|
404
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
405
|
+
# of the response body is received. It provides three arguments: the chunk,
|
406
|
+
# the number of bytes received, and the total number of
|
407
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
408
|
+
#
|
409
|
+
# @option options [Proc] :on_chunk_sent
|
410
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
411
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
412
|
+
# the number of bytes read from the body, and the total number of
|
413
|
+
# bytes in the body.
|
414
|
+
#
|
415
|
+
# @option options [Boolean] :raise_response_errors (true)
|
416
|
+
# When `true`, response errors are raised.
|
417
|
+
#
|
418
|
+
# @option options [String] :ssl_ca_bundle
|
419
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
420
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
421
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
422
|
+
#
|
423
|
+
# @option options [String] :ssl_ca_directory
|
424
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
425
|
+
# authority files for verifying peer certificates. If you do
|
426
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
427
|
+
# default will be used if available.
|
397
428
|
#
|
398
|
-
# @option options [
|
399
|
-
#
|
400
|
-
# connection.
|
429
|
+
# @option options [String] :ssl_ca_store
|
430
|
+
# Sets the X509::Store to verify peer certificate.
|
401
431
|
#
|
402
|
-
# @option options [
|
403
|
-
#
|
404
|
-
# verifying peer certificates. If you do not pass
|
405
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
406
|
-
# will be used if available.
|
432
|
+
# @option options [Float] :ssl_timeout
|
433
|
+
# Sets the SSL timeout in seconds
|
407
434
|
#
|
408
|
-
# @option options [
|
409
|
-
#
|
410
|
-
# authority files for verifying peer certificates. If you do
|
411
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
412
|
-
# system default will be used if available.
|
435
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
436
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
413
437
|
#
|
414
438
|
def initialize(*args)
|
415
439
|
super
|
@@ -1213,9 +1237,11 @@ module Aws::DynamoDB
|
|
1213
1237
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
1214
1238
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
1215
1239
|
# resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1240
|
+
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1216
1241
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
1217
1242
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
1218
1243
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1244
|
+
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1219
1245
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
1220
1246
|
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1221
1247
|
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -1467,19 +1493,23 @@ module Aws::DynamoDB
|
|
1467
1493
|
# that will be attached to the table.
|
1468
1494
|
#
|
1469
1495
|
# When you attach a resource-based policy while creating a table, the
|
1470
|
-
# policy
|
1496
|
+
# policy application is *strongly consistent*.
|
1471
1497
|
#
|
1472
1498
|
# The maximum size supported for a resource-based policy document is 20
|
1473
1499
|
# KB. DynamoDB counts whitespaces when calculating the size of a policy
|
1474
|
-
# against this limit.
|
1475
|
-
#
|
1476
|
-
# attaching a resource-based policy, see [Resource-based policy
|
1500
|
+
# against this limit. For a full list of all considerations that apply
|
1501
|
+
# for resource-based policies, see [Resource-based policy
|
1477
1502
|
# considerations][1].
|
1478
1503
|
#
|
1479
1504
|
#
|
1480
1505
|
#
|
1481
1506
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
1482
1507
|
#
|
1508
|
+
# @option params [Types::OnDemandThroughput] :on_demand_throughput
|
1509
|
+
# Sets the maximum number of read and write units for the specified
|
1510
|
+
# table in on-demand capacity mode. If you use this parameter, you must
|
1511
|
+
# specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
|
1512
|
+
#
|
1483
1513
|
# @return [Types::CreateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1484
1514
|
#
|
1485
1515
|
# * {Types::CreateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -1600,6 +1630,10 @@ module Aws::DynamoDB
|
|
1600
1630
|
# read_capacity_units: 1, # required
|
1601
1631
|
# write_capacity_units: 1, # required
|
1602
1632
|
# },
|
1633
|
+
# on_demand_throughput: {
|
1634
|
+
# max_read_request_units: 1,
|
1635
|
+
# max_write_request_units: 1,
|
1636
|
+
# },
|
1603
1637
|
# },
|
1604
1638
|
# ],
|
1605
1639
|
# billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
|
@@ -1625,6 +1659,10 @@ module Aws::DynamoDB
|
|
1625
1659
|
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1626
1660
|
# deletion_protection_enabled: false,
|
1627
1661
|
# resource_policy: "ResourcePolicy",
|
1662
|
+
# on_demand_throughput: {
|
1663
|
+
# max_read_request_units: 1,
|
1664
|
+
# max_write_request_units: 1,
|
1665
|
+
# },
|
1628
1666
|
# })
|
1629
1667
|
#
|
1630
1668
|
# @example Response structure
|
@@ -1678,6 +1716,8 @@ module Aws::DynamoDB
|
|
1678
1716
|
# resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
|
1679
1717
|
# resp.table_description.global_secondary_indexes[0].item_count #=> Integer
|
1680
1718
|
# resp.table_description.global_secondary_indexes[0].index_arn #=> String
|
1719
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
1720
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
1681
1721
|
# resp.table_description.stream_specification.stream_enabled #=> Boolean
|
1682
1722
|
# resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
1683
1723
|
# resp.table_description.latest_stream_label #=> String
|
@@ -1690,9 +1730,11 @@ module Aws::DynamoDB
|
|
1690
1730
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
1691
1731
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
1692
1732
|
# resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1733
|
+
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1693
1734
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
1694
1735
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1695
1736
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1737
|
+
# resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
1696
1738
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1697
1739
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1698
1740
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -1710,6 +1752,8 @@ module Aws::DynamoDB
|
|
1710
1752
|
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1711
1753
|
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
1712
1754
|
# resp.table_description.deletion_protection_enabled #=> Boolean
|
1755
|
+
# resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
|
1756
|
+
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
1713
1757
|
#
|
1714
1758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
1715
1759
|
#
|
@@ -1756,6 +1800,8 @@ module Aws::DynamoDB
|
|
1756
1800
|
# resp.backup_description.source_table_details.table_creation_date_time #=> Time
|
1757
1801
|
# resp.backup_description.source_table_details.provisioned_throughput.read_capacity_units #=> Integer
|
1758
1802
|
# resp.backup_description.source_table_details.provisioned_throughput.write_capacity_units #=> Integer
|
1803
|
+
# resp.backup_description.source_table_details.on_demand_throughput.max_read_request_units #=> Integer
|
1804
|
+
# resp.backup_description.source_table_details.on_demand_throughput.max_write_request_units #=> Integer
|
1759
1805
|
# resp.backup_description.source_table_details.item_count #=> Integer
|
1760
1806
|
# resp.backup_description.source_table_details.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
1761
1807
|
# resp.backup_description.source_table_feature_details.local_secondary_indexes #=> Array
|
@@ -1776,6 +1822,8 @@ module Aws::DynamoDB
|
|
1776
1822
|
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
|
1777
1823
|
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
|
1778
1824
|
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
|
1825
|
+
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
1826
|
+
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
1779
1827
|
# resp.backup_description.source_table_feature_details.stream_description.stream_enabled #=> Boolean
|
1780
1828
|
# resp.backup_description.source_table_feature_details.stream_description.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
1781
1829
|
# resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
@@ -2260,6 +2308,8 @@ module Aws::DynamoDB
|
|
2260
2308
|
# resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
|
2261
2309
|
# resp.table_description.global_secondary_indexes[0].item_count #=> Integer
|
2262
2310
|
# resp.table_description.global_secondary_indexes[0].index_arn #=> String
|
2311
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
2312
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
2263
2313
|
# resp.table_description.stream_specification.stream_enabled #=> Boolean
|
2264
2314
|
# resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
2265
2315
|
# resp.table_description.latest_stream_label #=> String
|
@@ -2272,9 +2322,11 @@ module Aws::DynamoDB
|
|
2272
2322
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
2273
2323
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
2274
2324
|
# resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2325
|
+
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2275
2326
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
2276
2327
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2277
2328
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2329
|
+
# resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2278
2330
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
2279
2331
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2280
2332
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -2292,6 +2344,8 @@ module Aws::DynamoDB
|
|
2292
2344
|
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2293
2345
|
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
2294
2346
|
# resp.table_description.deletion_protection_enabled #=> Boolean
|
2347
|
+
# resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
|
2348
|
+
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
2295
2349
|
#
|
2296
2350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
2297
2351
|
#
|
@@ -2339,6 +2393,8 @@ module Aws::DynamoDB
|
|
2339
2393
|
# resp.backup_description.source_table_details.table_creation_date_time #=> Time
|
2340
2394
|
# resp.backup_description.source_table_details.provisioned_throughput.read_capacity_units #=> Integer
|
2341
2395
|
# resp.backup_description.source_table_details.provisioned_throughput.write_capacity_units #=> Integer
|
2396
|
+
# resp.backup_description.source_table_details.on_demand_throughput.max_read_request_units #=> Integer
|
2397
|
+
# resp.backup_description.source_table_details.on_demand_throughput.max_write_request_units #=> Integer
|
2342
2398
|
# resp.backup_description.source_table_details.item_count #=> Integer
|
2343
2399
|
# resp.backup_description.source_table_details.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
2344
2400
|
# resp.backup_description.source_table_feature_details.local_secondary_indexes #=> Array
|
@@ -2359,6 +2415,8 @@ module Aws::DynamoDB
|
|
2359
2415
|
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
|
2360
2416
|
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
|
2361
2417
|
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
|
2418
|
+
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
2419
|
+
# resp.backup_description.source_table_feature_details.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
2362
2420
|
# resp.backup_description.source_table_feature_details.stream_description.stream_enabled #=> Boolean
|
2363
2421
|
# resp.backup_description.source_table_feature_details.stream_description.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
2364
2422
|
# resp.backup_description.source_table_feature_details.time_to_live_description.time_to_live_status #=> String, one of "ENABLING", "DISABLING", "ENABLED", "DISABLED"
|
@@ -2588,9 +2646,11 @@ module Aws::DynamoDB
|
|
2588
2646
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
2589
2647
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
2590
2648
|
# resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2649
|
+
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2591
2650
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
2592
2651
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
2593
2652
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2653
|
+
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
2594
2654
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
2595
2655
|
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2596
2656
|
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -2750,6 +2810,8 @@ module Aws::DynamoDB
|
|
2750
2810
|
# resp.import_table_description.table_creation_parameters.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
2751
2811
|
# resp.import_table_description.table_creation_parameters.provisioned_throughput.read_capacity_units #=> Integer
|
2752
2812
|
# resp.import_table_description.table_creation_parameters.provisioned_throughput.write_capacity_units #=> Integer
|
2813
|
+
# resp.import_table_description.table_creation_parameters.on_demand_throughput.max_read_request_units #=> Integer
|
2814
|
+
# resp.import_table_description.table_creation_parameters.on_demand_throughput.max_write_request_units #=> Integer
|
2753
2815
|
# resp.import_table_description.table_creation_parameters.sse_specification.enabled #=> Boolean
|
2754
2816
|
# resp.import_table_description.table_creation_parameters.sse_specification.sse_type #=> String, one of "AES256", "KMS"
|
2755
2817
|
# resp.import_table_description.table_creation_parameters.sse_specification.kms_master_key_id #=> String
|
@@ -2763,6 +2825,8 @@ module Aws::DynamoDB
|
|
2763
2825
|
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
|
2764
2826
|
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
|
2765
2827
|
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
|
2828
|
+
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
2829
|
+
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
2766
2830
|
# resp.import_table_description.start_time #=> Time
|
2767
2831
|
# resp.import_table_description.end_time #=> Time
|
2768
2832
|
# resp.import_table_description.processed_size_bytes #=> Integer
|
@@ -3055,6 +3119,8 @@ module Aws::DynamoDB
|
|
3055
3119
|
# resp.table.global_secondary_indexes[0].index_size_bytes #=> Integer
|
3056
3120
|
# resp.table.global_secondary_indexes[0].item_count #=> Integer
|
3057
3121
|
# resp.table.global_secondary_indexes[0].index_arn #=> String
|
3122
|
+
# resp.table.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
3123
|
+
# resp.table.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
3058
3124
|
# resp.table.stream_specification.stream_enabled #=> Boolean
|
3059
3125
|
# resp.table.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
3060
3126
|
# resp.table.latest_stream_label #=> String
|
@@ -3067,9 +3133,11 @@ module Aws::DynamoDB
|
|
3067
3133
|
# resp.table.replicas[0].replica_status_percent_progress #=> String
|
3068
3134
|
# resp.table.replicas[0].kms_master_key_id #=> String
|
3069
3135
|
# resp.table.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
3136
|
+
# resp.table.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
3070
3137
|
# resp.table.replicas[0].global_secondary_indexes #=> Array
|
3071
3138
|
# resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
|
3072
3139
|
# resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
3140
|
+
# resp.table.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
3073
3141
|
# resp.table.replicas[0].replica_inaccessible_date_time #=> Time
|
3074
3142
|
# resp.table.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
3075
3143
|
# resp.table.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -3087,6 +3155,8 @@ module Aws::DynamoDB
|
|
3087
3155
|
# resp.table.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
3088
3156
|
# resp.table.table_class_summary.last_update_date_time #=> Time
|
3089
3157
|
# resp.table.deletion_protection_enabled #=> Boolean
|
3158
|
+
# resp.table.on_demand_throughput.max_read_request_units #=> Integer
|
3159
|
+
# resp.table.on_demand_throughput.max_write_request_units #=> Integer
|
3090
3160
|
#
|
3091
3161
|
#
|
3092
3162
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3873,12 +3943,12 @@ module Aws::DynamoDB
|
|
3873
3943
|
# request.
|
3874
3944
|
#
|
3875
3945
|
# After a `GetResourcePolicy` request returns a policy created using the
|
3876
|
-
# `PutResourcePolicy` request,
|
3877
|
-
#
|
3878
|
-
#
|
3879
|
-
#
|
3880
|
-
#
|
3881
|
-
#
|
3946
|
+
# `PutResourcePolicy` request, the policy will be applied in the
|
3947
|
+
# authorization of requests to the resource. Because this process is
|
3948
|
+
# eventually consistent, it will take some time to apply the policy to
|
3949
|
+
# all requests to a resource. Policies that you attach while creating a
|
3950
|
+
# table using the `CreateTable` request will always be applied to all
|
3951
|
+
# requests for that table.
|
3882
3952
|
#
|
3883
3953
|
#
|
3884
3954
|
#
|
@@ -3991,6 +4061,10 @@ module Aws::DynamoDB
|
|
3991
4061
|
# read_capacity_units: 1, # required
|
3992
4062
|
# write_capacity_units: 1, # required
|
3993
4063
|
# },
|
4064
|
+
# on_demand_throughput: {
|
4065
|
+
# max_read_request_units: 1,
|
4066
|
+
# max_write_request_units: 1,
|
4067
|
+
# },
|
3994
4068
|
# sse_specification: {
|
3995
4069
|
# enabled: false,
|
3996
4070
|
# sse_type: "AES256", # accepts AES256, KMS
|
@@ -4013,6 +4087,10 @@ module Aws::DynamoDB
|
|
4013
4087
|
# read_capacity_units: 1, # required
|
4014
4088
|
# write_capacity_units: 1, # required
|
4015
4089
|
# },
|
4090
|
+
# on_demand_throughput: {
|
4091
|
+
# max_read_request_units: 1,
|
4092
|
+
# max_write_request_units: 1,
|
4093
|
+
# },
|
4016
4094
|
# },
|
4017
4095
|
# ],
|
4018
4096
|
# },
|
@@ -4045,6 +4123,8 @@ module Aws::DynamoDB
|
|
4045
4123
|
# resp.import_table_description.table_creation_parameters.billing_mode #=> String, one of "PROVISIONED", "PAY_PER_REQUEST"
|
4046
4124
|
# resp.import_table_description.table_creation_parameters.provisioned_throughput.read_capacity_units #=> Integer
|
4047
4125
|
# resp.import_table_description.table_creation_parameters.provisioned_throughput.write_capacity_units #=> Integer
|
4126
|
+
# resp.import_table_description.table_creation_parameters.on_demand_throughput.max_read_request_units #=> Integer
|
4127
|
+
# resp.import_table_description.table_creation_parameters.on_demand_throughput.max_write_request_units #=> Integer
|
4048
4128
|
# resp.import_table_description.table_creation_parameters.sse_specification.enabled #=> Boolean
|
4049
4129
|
# resp.import_table_description.table_creation_parameters.sse_specification.sse_type #=> String, one of "AES256", "KMS"
|
4050
4130
|
# resp.import_table_description.table_creation_parameters.sse_specification.kms_master_key_id #=> String
|
@@ -4058,6 +4138,8 @@ module Aws::DynamoDB
|
|
4058
4138
|
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].projection.non_key_attributes[0] #=> String
|
4059
4139
|
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.read_capacity_units #=> Integer
|
4060
4140
|
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].provisioned_throughput.write_capacity_units #=> Integer
|
4141
|
+
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
4142
|
+
# resp.import_table_description.table_creation_parameters.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
4061
4143
|
# resp.import_table_description.start_time #=> Time
|
4062
4144
|
# resp.import_table_description.end_time #=> Time
|
4063
4145
|
# resp.import_table_description.processed_size_bytes #=> Integer
|
@@ -4819,7 +4901,7 @@ module Aws::DynamoDB
|
|
4819
4901
|
#
|
4820
4902
|
# `PutResourcePolicy` is an idempotent operation; running it multiple
|
4821
4903
|
# times on the same resource using the same policy document will return
|
4822
|
-
# the same revision ID. If you specify an `ExpectedRevisionId`
|
4904
|
+
# the same revision ID. If you specify an `ExpectedRevisionId` that
|
4823
4905
|
# doesn't match the current policy's `RevisionId`, the
|
4824
4906
|
# `PolicyNotFoundException` will be returned.
|
4825
4907
|
#
|
@@ -4854,11 +4936,16 @@ module Aws::DynamoDB
|
|
4854
4936
|
# @option params [required, String] :policy
|
4855
4937
|
# An Amazon Web Services resource-based policy document in JSON format.
|
4856
4938
|
#
|
4857
|
-
# The maximum size supported for a resource-based policy document is
|
4858
|
-
#
|
4859
|
-
#
|
4860
|
-
#
|
4861
|
-
#
|
4939
|
+
# * The maximum size supported for a resource-based policy document is
|
4940
|
+
# 20 KB. DynamoDB counts whitespaces when calculating the size of a
|
4941
|
+
# policy against this limit.
|
4942
|
+
#
|
4943
|
+
# * Within a resource-based policy, if the action for a DynamoDB
|
4944
|
+
# service-linked role (SLR) to replicate data for a global table is
|
4945
|
+
# denied, adding or deleting a replica will fail with an error.
|
4946
|
+
#
|
4947
|
+
# For a full list of all considerations that apply while attaching a
|
4948
|
+
# resource-based policy, see [Resource-based policy considerations][1].
|
4862
4949
|
#
|
4863
4950
|
#
|
4864
4951
|
#
|
@@ -4867,13 +4954,17 @@ module Aws::DynamoDB
|
|
4867
4954
|
# @option params [String] :expected_revision_id
|
4868
4955
|
# A string value that you can use to conditionally update your policy.
|
4869
4956
|
# You can provide the revision ID of your existing policy to make
|
4870
|
-
# mutating requests against that policy.
|
4871
|
-
# revision ID, if the revision ID of the existing policy on the resource
|
4872
|
-
# doesn't match or if there's no policy attached to the resource, your
|
4873
|
-
# request will be rejected with a `PolicyNotFoundException`.
|
4957
|
+
# mutating requests against that policy.
|
4874
4958
|
#
|
4875
|
-
#
|
4876
|
-
#
|
4959
|
+
# <note markdown="1"> When you provide an expected revision ID, if the revision ID of the
|
4960
|
+
# existing policy on the resource doesn't match or if there's no
|
4961
|
+
# policy attached to the resource, your request will be rejected with a
|
4962
|
+
# `PolicyNotFoundException`.
|
4963
|
+
#
|
4964
|
+
# </note>
|
4965
|
+
#
|
4966
|
+
# To conditionally attach a policy when no policy exists for the
|
4967
|
+
# resource, specify `NO_POLICY` for the revision ID.
|
4877
4968
|
#
|
4878
4969
|
# @option params [Boolean] :confirm_remove_self_resource_access
|
4879
4970
|
# Set this parameter to `true` to confirm that you want to remove your
|
@@ -5486,6 +5577,11 @@ module Aws::DynamoDB
|
|
5486
5577
|
# @option params [Types::ProvisionedThroughput] :provisioned_throughput_override
|
5487
5578
|
# Provisioned throughput settings for the restored table.
|
5488
5579
|
#
|
5580
|
+
# @option params [Types::OnDemandThroughput] :on_demand_throughput_override
|
5581
|
+
# Sets the maximum number of read and write units for the specified
|
5582
|
+
# on-demand table. If you use this parameter, you must specify
|
5583
|
+
# `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
|
5584
|
+
#
|
5489
5585
|
# @option params [Types::SSESpecification] :sse_specification_override
|
5490
5586
|
# The new server-side encryption settings for the restored table.
|
5491
5587
|
#
|
@@ -5516,6 +5612,10 @@ module Aws::DynamoDB
|
|
5516
5612
|
# read_capacity_units: 1, # required
|
5517
5613
|
# write_capacity_units: 1, # required
|
5518
5614
|
# },
|
5615
|
+
# on_demand_throughput: {
|
5616
|
+
# max_read_request_units: 1,
|
5617
|
+
# max_write_request_units: 1,
|
5618
|
+
# },
|
5519
5619
|
# },
|
5520
5620
|
# ],
|
5521
5621
|
# local_secondary_index_override: [
|
@@ -5537,6 +5637,10 @@ module Aws::DynamoDB
|
|
5537
5637
|
# read_capacity_units: 1, # required
|
5538
5638
|
# write_capacity_units: 1, # required
|
5539
5639
|
# },
|
5640
|
+
# on_demand_throughput_override: {
|
5641
|
+
# max_read_request_units: 1,
|
5642
|
+
# max_write_request_units: 1,
|
5643
|
+
# },
|
5540
5644
|
# sse_specification_override: {
|
5541
5645
|
# enabled: false,
|
5542
5646
|
# sse_type: "AES256", # accepts AES256, KMS
|
@@ -5595,6 +5699,8 @@ module Aws::DynamoDB
|
|
5595
5699
|
# resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
|
5596
5700
|
# resp.table_description.global_secondary_indexes[0].item_count #=> Integer
|
5597
5701
|
# resp.table_description.global_secondary_indexes[0].index_arn #=> String
|
5702
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
5703
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
5598
5704
|
# resp.table_description.stream_specification.stream_enabled #=> Boolean
|
5599
5705
|
# resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
5600
5706
|
# resp.table_description.latest_stream_label #=> String
|
@@ -5607,9 +5713,11 @@ module Aws::DynamoDB
|
|
5607
5713
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
5608
5714
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
5609
5715
|
# resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5716
|
+
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
5610
5717
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
5611
5718
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
5612
5719
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5720
|
+
# resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
5613
5721
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
5614
5722
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5615
5723
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -5627,6 +5735,8 @@ module Aws::DynamoDB
|
|
5627
5735
|
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5628
5736
|
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
5629
5737
|
# resp.table_description.deletion_protection_enabled #=> Boolean
|
5738
|
+
# resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
|
5739
|
+
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
5630
5740
|
#
|
5631
5741
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
5632
5742
|
#
|
@@ -5711,6 +5821,11 @@ module Aws::DynamoDB
|
|
5711
5821
|
# @option params [Types::ProvisionedThroughput] :provisioned_throughput_override
|
5712
5822
|
# Provisioned throughput settings for the restored table.
|
5713
5823
|
#
|
5824
|
+
# @option params [Types::OnDemandThroughput] :on_demand_throughput_override
|
5825
|
+
# Sets the maximum number of read and write units for the specified
|
5826
|
+
# on-demand table. If you use this parameter, you must specify
|
5827
|
+
# `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
|
5828
|
+
#
|
5714
5829
|
# @option params [Types::SSESpecification] :sse_specification_override
|
5715
5830
|
# The new server-side encryption settings for the restored table.
|
5716
5831
|
#
|
@@ -5744,6 +5859,10 @@ module Aws::DynamoDB
|
|
5744
5859
|
# read_capacity_units: 1, # required
|
5745
5860
|
# write_capacity_units: 1, # required
|
5746
5861
|
# },
|
5862
|
+
# on_demand_throughput: {
|
5863
|
+
# max_read_request_units: 1,
|
5864
|
+
# max_write_request_units: 1,
|
5865
|
+
# },
|
5747
5866
|
# },
|
5748
5867
|
# ],
|
5749
5868
|
# local_secondary_index_override: [
|
@@ -5765,6 +5884,10 @@ module Aws::DynamoDB
|
|
5765
5884
|
# read_capacity_units: 1, # required
|
5766
5885
|
# write_capacity_units: 1, # required
|
5767
5886
|
# },
|
5887
|
+
# on_demand_throughput_override: {
|
5888
|
+
# max_read_request_units: 1,
|
5889
|
+
# max_write_request_units: 1,
|
5890
|
+
# },
|
5768
5891
|
# sse_specification_override: {
|
5769
5892
|
# enabled: false,
|
5770
5893
|
# sse_type: "AES256", # accepts AES256, KMS
|
@@ -5823,6 +5946,8 @@ module Aws::DynamoDB
|
|
5823
5946
|
# resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
|
5824
5947
|
# resp.table_description.global_secondary_indexes[0].item_count #=> Integer
|
5825
5948
|
# resp.table_description.global_secondary_indexes[0].index_arn #=> String
|
5949
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
5950
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
5826
5951
|
# resp.table_description.stream_specification.stream_enabled #=> Boolean
|
5827
5952
|
# resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
5828
5953
|
# resp.table_description.latest_stream_label #=> String
|
@@ -5835,9 +5960,11 @@ module Aws::DynamoDB
|
|
5835
5960
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
5836
5961
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
5837
5962
|
# resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5963
|
+
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
5838
5964
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
5839
5965
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
5840
5966
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5967
|
+
# resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
5841
5968
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
5842
5969
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5843
5970
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -5855,6 +5982,8 @@ module Aws::DynamoDB
|
|
5855
5982
|
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5856
5983
|
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
5857
5984
|
# resp.table_description.deletion_protection_enabled #=> Boolean
|
5985
|
+
# resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
|
5986
|
+
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
5858
5987
|
#
|
5859
5988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
5860
5989
|
#
|
@@ -6899,9 +7028,11 @@ module Aws::DynamoDB
|
|
6899
7028
|
# resp.global_table_description.replication_group[0].replica_status_percent_progress #=> String
|
6900
7029
|
# resp.global_table_description.replication_group[0].kms_master_key_id #=> String
|
6901
7030
|
# resp.global_table_description.replication_group[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
7031
|
+
# resp.global_table_description.replication_group[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
6902
7032
|
# resp.global_table_description.replication_group[0].global_secondary_indexes #=> Array
|
6903
7033
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
6904
7034
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
7035
|
+
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
6905
7036
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
6906
7037
|
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6907
7038
|
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -7696,6 +7827,11 @@ module Aws::DynamoDB
|
|
7696
7827
|
# Indicates whether deletion protection is to be enabled (true) or
|
7697
7828
|
# disabled (false) on the table.
|
7698
7829
|
#
|
7830
|
+
# @option params [Types::OnDemandThroughput] :on_demand_throughput
|
7831
|
+
# Updates the maximum number of read and write units for the specified
|
7832
|
+
# table in on-demand capacity mode. If you use this parameter, you must
|
7833
|
+
# specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
|
7834
|
+
#
|
7699
7835
|
# @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7700
7836
|
#
|
7701
7837
|
# * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -7769,10 +7905,14 @@ module Aws::DynamoDB
|
|
7769
7905
|
# {
|
7770
7906
|
# update: {
|
7771
7907
|
# index_name: "IndexName", # required
|
7772
|
-
# provisioned_throughput: {
|
7908
|
+
# provisioned_throughput: {
|
7773
7909
|
# read_capacity_units: 1, # required
|
7774
7910
|
# write_capacity_units: 1, # required
|
7775
7911
|
# },
|
7912
|
+
# on_demand_throughput: {
|
7913
|
+
# max_read_request_units: 1,
|
7914
|
+
# max_write_request_units: 1,
|
7915
|
+
# },
|
7776
7916
|
# },
|
7777
7917
|
# create: {
|
7778
7918
|
# index_name: "IndexName", # required
|
@@ -7790,6 +7930,10 @@ module Aws::DynamoDB
|
|
7790
7930
|
# read_capacity_units: 1, # required
|
7791
7931
|
# write_capacity_units: 1, # required
|
7792
7932
|
# },
|
7933
|
+
# on_demand_throughput: {
|
7934
|
+
# max_read_request_units: 1,
|
7935
|
+
# max_write_request_units: 1,
|
7936
|
+
# },
|
7793
7937
|
# },
|
7794
7938
|
# delete: {
|
7795
7939
|
# index_name: "IndexName", # required
|
@@ -7813,12 +7957,18 @@ module Aws::DynamoDB
|
|
7813
7957
|
# provisioned_throughput_override: {
|
7814
7958
|
# read_capacity_units: 1,
|
7815
7959
|
# },
|
7960
|
+
# on_demand_throughput_override: {
|
7961
|
+
# max_read_request_units: 1,
|
7962
|
+
# },
|
7816
7963
|
# global_secondary_indexes: [
|
7817
7964
|
# {
|
7818
7965
|
# index_name: "IndexName", # required
|
7819
7966
|
# provisioned_throughput_override: {
|
7820
7967
|
# read_capacity_units: 1,
|
7821
7968
|
# },
|
7969
|
+
# on_demand_throughput_override: {
|
7970
|
+
# max_read_request_units: 1,
|
7971
|
+
# },
|
7822
7972
|
# },
|
7823
7973
|
# ],
|
7824
7974
|
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
@@ -7829,12 +7979,18 @@ module Aws::DynamoDB
|
|
7829
7979
|
# provisioned_throughput_override: {
|
7830
7980
|
# read_capacity_units: 1,
|
7831
7981
|
# },
|
7982
|
+
# on_demand_throughput_override: {
|
7983
|
+
# max_read_request_units: 1,
|
7984
|
+
# },
|
7832
7985
|
# global_secondary_indexes: [
|
7833
7986
|
# {
|
7834
7987
|
# index_name: "IndexName", # required
|
7835
7988
|
# provisioned_throughput_override: {
|
7836
7989
|
# read_capacity_units: 1,
|
7837
7990
|
# },
|
7991
|
+
# on_demand_throughput_override: {
|
7992
|
+
# max_read_request_units: 1,
|
7993
|
+
# },
|
7838
7994
|
# },
|
7839
7995
|
# ],
|
7840
7996
|
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
@@ -7846,6 +8002,10 @@ module Aws::DynamoDB
|
|
7846
8002
|
# ],
|
7847
8003
|
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7848
8004
|
# deletion_protection_enabled: false,
|
8005
|
+
# on_demand_throughput: {
|
8006
|
+
# max_read_request_units: 1,
|
8007
|
+
# max_write_request_units: 1,
|
8008
|
+
# },
|
7849
8009
|
# })
|
7850
8010
|
#
|
7851
8011
|
# @example Response structure
|
@@ -7899,6 +8059,8 @@ module Aws::DynamoDB
|
|
7899
8059
|
# resp.table_description.global_secondary_indexes[0].index_size_bytes #=> Integer
|
7900
8060
|
# resp.table_description.global_secondary_indexes[0].item_count #=> Integer
|
7901
8061
|
# resp.table_description.global_secondary_indexes[0].index_arn #=> String
|
8062
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_read_request_units #=> Integer
|
8063
|
+
# resp.table_description.global_secondary_indexes[0].on_demand_throughput.max_write_request_units #=> Integer
|
7902
8064
|
# resp.table_description.stream_specification.stream_enabled #=> Boolean
|
7903
8065
|
# resp.table_description.stream_specification.stream_view_type #=> String, one of "NEW_IMAGE", "OLD_IMAGE", "NEW_AND_OLD_IMAGES", "KEYS_ONLY"
|
7904
8066
|
# resp.table_description.latest_stream_label #=> String
|
@@ -7911,9 +8073,11 @@ module Aws::DynamoDB
|
|
7911
8073
|
# resp.table_description.replicas[0].replica_status_percent_progress #=> String
|
7912
8074
|
# resp.table_description.replicas[0].kms_master_key_id #=> String
|
7913
8075
|
# resp.table_description.replicas[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
8076
|
+
# resp.table_description.replicas[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
7914
8077
|
# resp.table_description.replicas[0].global_secondary_indexes #=> Array
|
7915
8078
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
7916
8079
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
8080
|
+
# resp.table_description.replicas[0].global_secondary_indexes[0].on_demand_throughput_override.max_read_request_units #=> Integer
|
7917
8081
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
7918
8082
|
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
7919
8083
|
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
@@ -7931,6 +8095,8 @@ module Aws::DynamoDB
|
|
7931
8095
|
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
7932
8096
|
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
7933
8097
|
# resp.table_description.deletion_protection_enabled #=> Boolean
|
8098
|
+
# resp.table_description.on_demand_throughput.max_read_request_units #=> Integer
|
8099
|
+
# resp.table_description.on_demand_throughput.max_write_request_units #=> Integer
|
7934
8100
|
#
|
7935
8101
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
7936
8102
|
#
|
@@ -8197,7 +8363,7 @@ module Aws::DynamoDB
|
|
8197
8363
|
params: params,
|
8198
8364
|
config: config)
|
8199
8365
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8200
|
-
context[:gem_version] = '1.
|
8366
|
+
context[:gem_version] = '1.108.0'
|
8201
8367
|
Seahorse::Client::Request.new(handlers, context)
|
8202
8368
|
end
|
8203
8369
|
|