aws-sdk-dynamodb 1.66.0 → 1.70.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +176 -21
- data/lib/aws-sdk-dynamodb/client_api.rb +20 -0
- data/lib/aws-sdk-dynamodb/resource.rb +8 -4
- data/lib/aws-sdk-dynamodb/table.rb +24 -12
- data/lib/aws-sdk-dynamodb/types.rb +190 -32
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e15f9bd050a76bc26db4367c0aabbc70b5775449163824ae0e0d30fb043730b7
|
4
|
+
data.tar.gz: ab8f6ea3a8aa45422be5e85d49dd68fdd094d570743978bbb85bac65ac3603bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbdfbfa5a90f5a136df25efb2f462eb24a4df02010969c05afa18822bd856ad03edea15c5d82a8dce0e231a8f74b3ebabd561dfd423ab5bbffc168576889284a
|
7
|
+
data.tar.gz: 1c7f31903c7d0005daf10dc78db72540ef90379624e715d515693172ba66ee48e17a2c2c7d6bf44f63fc04ebc9f441750b9137c3d0a9679be7613281aca87dff
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.70.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.69.0 (2021-12-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add support for Table Classes and introduce the Standard Infrequent Access table class.
|
13
|
+
|
14
|
+
1.68.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.67.0 (2021-11-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - DynamoDB PartiQL now supports ReturnConsumedCapacity, which returns capacity units consumed by PartiQL APIs if the request specified returnConsumedCapacity parameter. PartiQL APIs include ExecuteStatement, BatchExecuteStatement, and ExecuteTransaction.
|
23
|
+
|
4
24
|
1.66.0 (2021-11-11)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.70.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
33
|
require 'aws-sdk-dynamodb/plugins/extended_retries.rb'
|
@@ -76,6 +77,7 @@ module Aws::DynamoDB
|
|
76
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
80
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::SignatureV4)
|
80
82
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
81
83
|
add_plugin(Aws::DynamoDB::Plugins::ExtendedRetries)
|
@@ -125,7 +127,9 @@ module Aws::DynamoDB
|
|
125
127
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
126
128
|
# are very aggressive. Construct and pass an instance of
|
127
129
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
128
|
-
# enable retries and extended timeouts.
|
130
|
+
# enable retries and extended timeouts. Instance profile credential
|
131
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
132
|
+
# to true.
|
129
133
|
#
|
130
134
|
# @option options [required, String] :region
|
131
135
|
# The AWS region to connect to. The configured `:region` is
|
@@ -185,6 +189,10 @@ module Aws::DynamoDB
|
|
185
189
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
186
190
|
# a clock skew correction and retry requests with skewed client clocks.
|
187
191
|
#
|
192
|
+
# @option options [String] :defaults_mode ("legacy")
|
193
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
194
|
+
# accepted modes and the configuration defaults that are included.
|
195
|
+
#
|
188
196
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
189
197
|
# Set to true to disable SDK automatically adding host prefix
|
190
198
|
# to default service endpoint when available.
|
@@ -324,7 +332,7 @@ module Aws::DynamoDB
|
|
324
332
|
# seconds to wait when opening a HTTP session before raising a
|
325
333
|
# `Timeout::Error`.
|
326
334
|
#
|
327
|
-
# @option options [
|
335
|
+
# @option options [Float] :http_read_timeout (60) The default
|
328
336
|
# number of seconds to wait for response data. This value can
|
329
337
|
# safely be set per-request on the session.
|
330
338
|
#
|
@@ -340,6 +348,9 @@ module Aws::DynamoDB
|
|
340
348
|
# disables this behaviour. This value can safely be set per
|
341
349
|
# request on the session.
|
342
350
|
#
|
351
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
352
|
+
# in seconds.
|
353
|
+
#
|
343
354
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
344
355
|
# HTTP debug output will be sent to the `:logger`.
|
345
356
|
#
|
@@ -376,9 +387,27 @@ module Aws::DynamoDB
|
|
376
387
|
# @option params [required, Array<Types::BatchStatementRequest>] :statements
|
377
388
|
# The list of PartiQL statements representing the batch to run.
|
378
389
|
#
|
390
|
+
# @option params [String] :return_consumed_capacity
|
391
|
+
# Determines the level of detail about either provisioned or on-demand
|
392
|
+
# throughput consumption that is returned in the response:
|
393
|
+
#
|
394
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
395
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
396
|
+
# and secondary index that was accessed.
|
397
|
+
#
|
398
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`, do
|
399
|
+
# not access any indexes at all. In these cases, specifying `INDEXES`
|
400
|
+
# will only return `ConsumedCapacity` information for table(s).
|
401
|
+
#
|
402
|
+
# * `TOTAL` - The response includes only the aggregate
|
403
|
+
# `ConsumedCapacity` for the operation.
|
404
|
+
#
|
405
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the response.
|
406
|
+
#
|
379
407
|
# @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
380
408
|
#
|
381
409
|
# * {Types::BatchExecuteStatementOutput#responses #responses} => Array<Types::BatchStatementResponse>
|
410
|
+
# * {Types::BatchExecuteStatementOutput#consumed_capacity #consumed_capacity} => Array<Types::ConsumedCapacity>
|
382
411
|
#
|
383
412
|
# @example Request syntax with placeholder values
|
384
413
|
#
|
@@ -390,6 +419,7 @@ module Aws::DynamoDB
|
|
390
419
|
# consistent_read: false,
|
391
420
|
# },
|
392
421
|
# ],
|
422
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
393
423
|
# })
|
394
424
|
#
|
395
425
|
# @example Response structure
|
@@ -400,6 +430,22 @@ module Aws::DynamoDB
|
|
400
430
|
# resp.responses[0].table_name #=> String
|
401
431
|
# resp.responses[0].item #=> Hash
|
402
432
|
# resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
433
|
+
# resp.consumed_capacity #=> Array
|
434
|
+
# resp.consumed_capacity[0].table_name #=> String
|
435
|
+
# resp.consumed_capacity[0].capacity_units #=> Float
|
436
|
+
# resp.consumed_capacity[0].read_capacity_units #=> Float
|
437
|
+
# resp.consumed_capacity[0].write_capacity_units #=> Float
|
438
|
+
# resp.consumed_capacity[0].table.read_capacity_units #=> Float
|
439
|
+
# resp.consumed_capacity[0].table.write_capacity_units #=> Float
|
440
|
+
# resp.consumed_capacity[0].table.capacity_units #=> Float
|
441
|
+
# resp.consumed_capacity[0].local_secondary_indexes #=> Hash
|
442
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
443
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
444
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].capacity_units #=> Float
|
445
|
+
# resp.consumed_capacity[0].global_secondary_indexes #=> Hash
|
446
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
447
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
448
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
|
403
449
|
#
|
404
450
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatement AWS API Documentation
|
405
451
|
#
|
@@ -561,8 +607,8 @@ module Aws::DynamoDB
|
|
561
607
|
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
562
608
|
#
|
563
609
|
# @option params [String] :return_consumed_capacity
|
564
|
-
# Determines the level of detail about provisioned
|
565
|
-
# consumption that is returned in the response:
|
610
|
+
# Determines the level of detail about either provisioned or on-demand
|
611
|
+
# throughput consumption that is returned in the response:
|
566
612
|
#
|
567
613
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
568
614
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -810,8 +856,8 @@ module Aws::DynamoDB
|
|
810
856
|
# in the table's attribute definition.
|
811
857
|
#
|
812
858
|
# @option params [String] :return_consumed_capacity
|
813
|
-
# Determines the level of detail about provisioned
|
814
|
-
# consumption that is returned in the response:
|
859
|
+
# Determines the level of detail about either provisioned or on-demand
|
860
|
+
# throughput consumption that is returned in the response:
|
815
861
|
#
|
816
862
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
817
863
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1099,6 +1145,8 @@ module Aws::DynamoDB
|
|
1099
1145
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
1100
1146
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1101
1147
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
1148
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1149
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
1102
1150
|
# resp.global_table_description.global_table_arn #=> String
|
1103
1151
|
# resp.global_table_description.creation_date_time #=> Time
|
1104
1152
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -1333,6 +1381,10 @@ module Aws::DynamoDB
|
|
1333
1381
|
#
|
1334
1382
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
1335
1383
|
#
|
1384
|
+
# @option params [String] :table_class
|
1385
|
+
# The table class of the new table. Valid values are `STANDARD` and
|
1386
|
+
# `STANDARD_INFREQUENT_ACCESS`.
|
1387
|
+
#
|
1336
1388
|
# @return [Types::CreateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1337
1389
|
#
|
1338
1390
|
# * {Types::CreateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -1475,6 +1527,7 @@ module Aws::DynamoDB
|
|
1475
1527
|
# value: "TagValueString", # required
|
1476
1528
|
# },
|
1477
1529
|
# ],
|
1530
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1478
1531
|
# })
|
1479
1532
|
#
|
1480
1533
|
# @example Response structure
|
@@ -1544,6 +1597,8 @@ module Aws::DynamoDB
|
|
1544
1597
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1545
1598
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1546
1599
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1600
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1601
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
1547
1602
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
1548
1603
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1549
1604
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -1555,6 +1610,8 @@ module Aws::DynamoDB
|
|
1555
1610
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
1556
1611
|
# resp.table_description.archival_summary.archival_reason #=> String
|
1557
1612
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
1613
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1614
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
1558
1615
|
#
|
1559
1616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
1560
1617
|
#
|
@@ -1703,8 +1760,8 @@ module Aws::DynamoDB
|
|
1703
1760
|
# </note>
|
1704
1761
|
#
|
1705
1762
|
# @option params [String] :return_consumed_capacity
|
1706
|
-
# Determines the level of detail about provisioned
|
1707
|
-
# consumption that is returned in the response:
|
1763
|
+
# Determines the level of detail about either provisioned or on-demand
|
1764
|
+
# throughput consumption that is returned in the response:
|
1708
1765
|
#
|
1709
1766
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
1710
1767
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -2039,6 +2096,8 @@ module Aws::DynamoDB
|
|
2039
2096
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2040
2097
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2041
2098
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
2099
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2100
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
2042
2101
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
2043
2102
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
2044
2103
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -2050,6 +2109,8 @@ module Aws::DynamoDB
|
|
2050
2109
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
2051
2110
|
# resp.table_description.archival_summary.archival_reason #=> String
|
2052
2111
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
2112
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2113
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
2053
2114
|
#
|
2054
2115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
2055
2116
|
#
|
@@ -2333,6 +2394,8 @@ module Aws::DynamoDB
|
|
2333
2394
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
2334
2395
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2335
2396
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
2397
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2398
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
2336
2399
|
# resp.global_table_description.global_table_arn #=> String
|
2337
2400
|
# resp.global_table_description.creation_date_time #=> Time
|
2338
2401
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -2427,6 +2490,8 @@ module Aws::DynamoDB
|
|
2427
2490
|
# resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
|
2428
2491
|
# resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
|
2429
2492
|
# resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
2493
|
+
# resp.replica_settings[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2494
|
+
# resp.replica_settings[0].replica_table_class_summary.last_update_date_time #=> Time
|
2430
2495
|
#
|
2431
2496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableSettings AWS API Documentation
|
2432
2497
|
#
|
@@ -2718,6 +2783,8 @@ module Aws::DynamoDB
|
|
2718
2783
|
# resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2719
2784
|
# resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2720
2785
|
# resp.table.replicas[0].replica_inaccessible_date_time #=> Time
|
2786
|
+
# resp.table.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2787
|
+
# resp.table.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
2721
2788
|
# resp.table.restore_summary.source_backup_arn #=> String
|
2722
2789
|
# resp.table.restore_summary.source_table_arn #=> String
|
2723
2790
|
# resp.table.restore_summary.restore_date_time #=> Time
|
@@ -2729,6 +2796,8 @@ module Aws::DynamoDB
|
|
2729
2796
|
# resp.table.archival_summary.archival_date_time #=> Time
|
2730
2797
|
# resp.table.archival_summary.archival_reason #=> String
|
2731
2798
|
# resp.table.archival_summary.archival_backup_arn #=> String
|
2799
|
+
# resp.table.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2800
|
+
# resp.table.table_class_summary.last_update_date_time #=> Time
|
2732
2801
|
#
|
2733
2802
|
#
|
2734
2803
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2955,10 +3024,28 @@ module Aws::DynamoDB
|
|
2955
3024
|
# Set this value to get remaining results, if `NextToken` was returned
|
2956
3025
|
# in the statement response.
|
2957
3026
|
#
|
3027
|
+
# @option params [String] :return_consumed_capacity
|
3028
|
+
# Determines the level of detail about either provisioned or on-demand
|
3029
|
+
# throughput consumption that is returned in the response:
|
3030
|
+
#
|
3031
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3032
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
3033
|
+
# and secondary index that was accessed.
|
3034
|
+
#
|
3035
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`, do
|
3036
|
+
# not access any indexes at all. In these cases, specifying `INDEXES`
|
3037
|
+
# will only return `ConsumedCapacity` information for table(s).
|
3038
|
+
#
|
3039
|
+
# * `TOTAL` - The response includes only the aggregate
|
3040
|
+
# `ConsumedCapacity` for the operation.
|
3041
|
+
#
|
3042
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the response.
|
3043
|
+
#
|
2958
3044
|
# @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2959
3045
|
#
|
2960
3046
|
# * {Types::ExecuteStatementOutput#items #items} => Array<Hash<String,Types::AttributeValue>>
|
2961
3047
|
# * {Types::ExecuteStatementOutput#next_token #next_token} => String
|
3048
|
+
# * {Types::ExecuteStatementOutput#consumed_capacity #consumed_capacity} => Types::ConsumedCapacity
|
2962
3049
|
#
|
2963
3050
|
# @example Request syntax with placeholder values
|
2964
3051
|
#
|
@@ -2967,6 +3054,7 @@ module Aws::DynamoDB
|
|
2967
3054
|
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2968
3055
|
# consistent_read: false,
|
2969
3056
|
# next_token: "PartiQLNextToken",
|
3057
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
2970
3058
|
# })
|
2971
3059
|
#
|
2972
3060
|
# @example Response structure
|
@@ -2975,6 +3063,21 @@ module Aws::DynamoDB
|
|
2975
3063
|
# resp.items[0] #=> Hash
|
2976
3064
|
# resp.items[0]["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2977
3065
|
# resp.next_token #=> String
|
3066
|
+
# resp.consumed_capacity.table_name #=> String
|
3067
|
+
# resp.consumed_capacity.capacity_units #=> Float
|
3068
|
+
# resp.consumed_capacity.read_capacity_units #=> Float
|
3069
|
+
# resp.consumed_capacity.write_capacity_units #=> Float
|
3070
|
+
# resp.consumed_capacity.table.read_capacity_units #=> Float
|
3071
|
+
# resp.consumed_capacity.table.write_capacity_units #=> Float
|
3072
|
+
# resp.consumed_capacity.table.capacity_units #=> Float
|
3073
|
+
# resp.consumed_capacity.local_secondary_indexes #=> Hash
|
3074
|
+
# resp.consumed_capacity.local_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3075
|
+
# resp.consumed_capacity.local_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3076
|
+
# resp.consumed_capacity.local_secondary_indexes["IndexName"].capacity_units #=> Float
|
3077
|
+
# resp.consumed_capacity.global_secondary_indexes #=> Hash
|
3078
|
+
# resp.consumed_capacity.global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3079
|
+
# resp.consumed_capacity.global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3080
|
+
# resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
|
2978
3081
|
#
|
2979
3082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement AWS API Documentation
|
2980
3083
|
#
|
@@ -3010,9 +3113,20 @@ module Aws::DynamoDB
|
|
3010
3113
|
# **A suitable default value is auto-generated.** You should normally
|
3011
3114
|
# not need to pass this option.**
|
3012
3115
|
#
|
3116
|
+
# @option params [String] :return_consumed_capacity
|
3117
|
+
# Determines the level of detail about either provisioned or on-demand
|
3118
|
+
# throughput consumption that is returned in the response. For more
|
3119
|
+
# information, see [TransactGetItems][1] and [TransactWriteItems][2].
|
3120
|
+
#
|
3121
|
+
#
|
3122
|
+
#
|
3123
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
|
3124
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
|
3125
|
+
#
|
3013
3126
|
# @return [Types::ExecuteTransactionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3014
3127
|
#
|
3015
3128
|
# * {Types::ExecuteTransactionOutput#responses #responses} => Array<Types::ItemResponse>
|
3129
|
+
# * {Types::ExecuteTransactionOutput#consumed_capacity #consumed_capacity} => Array<Types::ConsumedCapacity>
|
3016
3130
|
#
|
3017
3131
|
# @example Request syntax with placeholder values
|
3018
3132
|
#
|
@@ -3024,6 +3138,7 @@ module Aws::DynamoDB
|
|
3024
3138
|
# },
|
3025
3139
|
# ],
|
3026
3140
|
# client_request_token: "ClientRequestToken",
|
3141
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3027
3142
|
# })
|
3028
3143
|
#
|
3029
3144
|
# @example Response structure
|
@@ -3031,6 +3146,22 @@ module Aws::DynamoDB
|
|
3031
3146
|
# resp.responses #=> Array
|
3032
3147
|
# resp.responses[0].item #=> Hash
|
3033
3148
|
# resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3149
|
+
# resp.consumed_capacity #=> Array
|
3150
|
+
# resp.consumed_capacity[0].table_name #=> String
|
3151
|
+
# resp.consumed_capacity[0].capacity_units #=> Float
|
3152
|
+
# resp.consumed_capacity[0].read_capacity_units #=> Float
|
3153
|
+
# resp.consumed_capacity[0].write_capacity_units #=> Float
|
3154
|
+
# resp.consumed_capacity[0].table.read_capacity_units #=> Float
|
3155
|
+
# resp.consumed_capacity[0].table.write_capacity_units #=> Float
|
3156
|
+
# resp.consumed_capacity[0].table.capacity_units #=> Float
|
3157
|
+
# resp.consumed_capacity[0].local_secondary_indexes #=> Hash
|
3158
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3159
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3160
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].capacity_units #=> Float
|
3161
|
+
# resp.consumed_capacity[0].global_secondary_indexes #=> Hash
|
3162
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3163
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3164
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
|
3034
3165
|
#
|
3035
3166
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransaction AWS API Documentation
|
3036
3167
|
#
|
@@ -3184,8 +3315,8 @@ module Aws::DynamoDB
|
|
3184
3315
|
# uses eventually consistent reads.
|
3185
3316
|
#
|
3186
3317
|
# @option params [String] :return_consumed_capacity
|
3187
|
-
# Determines the level of detail about provisioned
|
3188
|
-
# consumption that is returned in the response:
|
3318
|
+
# Determines the level of detail about either provisioned or on-demand
|
3319
|
+
# throughput consumption that is returned in the response:
|
3189
3320
|
#
|
3190
3321
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3191
3322
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -3805,8 +3936,8 @@ module Aws::DynamoDB
|
|
3805
3936
|
# </note>
|
3806
3937
|
#
|
3807
3938
|
# @option params [String] :return_consumed_capacity
|
3808
|
-
# Determines the level of detail about provisioned
|
3809
|
-
# consumption that is returned in the response:
|
3939
|
+
# Determines the level of detail about either provisioned or on-demand
|
3940
|
+
# throughput consumption that is returned in the response:
|
3810
3941
|
#
|
3811
3942
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3812
3943
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -4235,8 +4366,8 @@ module Aws::DynamoDB
|
|
4235
4366
|
# Binary. No set data types are allowed.
|
4236
4367
|
#
|
4237
4368
|
# @option params [String] :return_consumed_capacity
|
4238
|
-
# Determines the level of detail about provisioned
|
4239
|
-
# consumption that is returned in the response:
|
4369
|
+
# Determines the level of detail about either provisioned or on-demand
|
4370
|
+
# throughput consumption that is returned in the response:
|
4240
4371
|
#
|
4241
4372
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
4242
4373
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -4728,6 +4859,8 @@ module Aws::DynamoDB
|
|
4728
4859
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
4729
4860
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
4730
4861
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
4862
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
4863
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
4731
4864
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
4732
4865
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
4733
4866
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -4739,6 +4872,8 @@ module Aws::DynamoDB
|
|
4739
4872
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
4740
4873
|
# resp.table_description.archival_summary.archival_reason #=> String
|
4741
4874
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
4875
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
4876
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
4742
4877
|
#
|
4743
4878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
4744
4879
|
#
|
@@ -4951,6 +5086,8 @@ module Aws::DynamoDB
|
|
4951
5086
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
4952
5087
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
4953
5088
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
5089
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5090
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
4954
5091
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
4955
5092
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
4956
5093
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -4962,6 +5099,8 @@ module Aws::DynamoDB
|
|
4962
5099
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
4963
5100
|
# resp.table_description.archival_summary.archival_reason #=> String
|
4964
5101
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
5102
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5103
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
4965
5104
|
#
|
4966
5105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
4967
5106
|
#
|
@@ -5123,8 +5262,8 @@ module Aws::DynamoDB
|
|
5123
5262
|
# corresponding value of `LastEvaluatedKey`.
|
5124
5263
|
#
|
5125
5264
|
# @option params [String] :return_consumed_capacity
|
5126
|
-
# Determines the level of detail about provisioned
|
5127
|
-
# consumption that is returned in the response:
|
5265
|
+
# Determines the level of detail about either provisioned or on-demand
|
5266
|
+
# throughput consumption that is returned in the response:
|
5128
5267
|
#
|
5129
5268
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
5130
5269
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -5610,8 +5749,8 @@ module Aws::DynamoDB
|
|
5610
5749
|
# two of them can operate on the same item.
|
5611
5750
|
#
|
5612
5751
|
# @option params [String] :return_consumed_capacity
|
5613
|
-
# Determines the level of detail about provisioned
|
5614
|
-
# consumption that is returned in the response:
|
5752
|
+
# Determines the level of detail about either provisioned or on-demand
|
5753
|
+
# throughput consumption that is returned in the response:
|
5615
5754
|
#
|
5616
5755
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
5617
5756
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -5962,6 +6101,8 @@ module Aws::DynamoDB
|
|
5962
6101
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
5963
6102
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5964
6103
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
6104
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6105
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
5965
6106
|
# resp.global_table_description.global_table_arn #=> String
|
5966
6107
|
# resp.global_table_description.creation_date_time #=> Time
|
5967
6108
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -6102,6 +6243,7 @@ module Aws::DynamoDB
|
|
6102
6243
|
# },
|
6103
6244
|
# },
|
6104
6245
|
# ],
|
6246
|
+
# replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6105
6247
|
# },
|
6106
6248
|
# ],
|
6107
6249
|
# })
|
@@ -6161,6 +6303,8 @@ module Aws::DynamoDB
|
|
6161
6303
|
# resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_in_cooldown #=> Integer
|
6162
6304
|
# resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.scale_out_cooldown #=> Integer
|
6163
6305
|
# resp.replica_settings[0].replica_global_secondary_index_settings[0].provisioned_write_capacity_auto_scaling_settings.scaling_policies[0].target_tracking_scaling_policy_configuration.target_value #=> Float
|
6306
|
+
# resp.replica_settings[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6307
|
+
# resp.replica_settings[0].replica_table_class_summary.last_update_date_time #=> Time
|
6164
6308
|
#
|
6165
6309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableSettings AWS API Documentation
|
6166
6310
|
#
|
@@ -6248,8 +6392,8 @@ module Aws::DynamoDB
|
|
6248
6392
|
# The values returned are strongly consistent.
|
6249
6393
|
#
|
6250
6394
|
# @option params [String] :return_consumed_capacity
|
6251
|
-
# Determines the level of detail about provisioned
|
6252
|
-
# consumption that is returned in the response:
|
6395
|
+
# Determines the level of detail about either provisioned or on-demand
|
6396
|
+
# throughput consumption that is returned in the response:
|
6253
6397
|
#
|
6254
6398
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
6255
6399
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -6666,6 +6810,10 @@ module Aws::DynamoDB
|
|
6666
6810
|
#
|
6667
6811
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
6668
6812
|
#
|
6813
|
+
# @option params [String] :table_class
|
6814
|
+
# The table class of the table to be updated. Valid values are
|
6815
|
+
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
6816
|
+
#
|
6669
6817
|
# @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6670
6818
|
#
|
6671
6819
|
# * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -6791,6 +6939,7 @@ module Aws::DynamoDB
|
|
6791
6939
|
# },
|
6792
6940
|
# },
|
6793
6941
|
# ],
|
6942
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6794
6943
|
# },
|
6795
6944
|
# update: {
|
6796
6945
|
# region_name: "RegionName", # required
|
@@ -6806,12 +6955,14 @@ module Aws::DynamoDB
|
|
6806
6955
|
# },
|
6807
6956
|
# },
|
6808
6957
|
# ],
|
6958
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6809
6959
|
# },
|
6810
6960
|
# delete: {
|
6811
6961
|
# region_name: "RegionName", # required
|
6812
6962
|
# },
|
6813
6963
|
# },
|
6814
6964
|
# ],
|
6965
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6815
6966
|
# })
|
6816
6967
|
#
|
6817
6968
|
# @example Response structure
|
@@ -6881,6 +7032,8 @@ module Aws::DynamoDB
|
|
6881
7032
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
6882
7033
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
6883
7034
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
7035
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
7036
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
6884
7037
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
6885
7038
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
6886
7039
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -6892,6 +7045,8 @@ module Aws::DynamoDB
|
|
6892
7045
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
6893
7046
|
# resp.table_description.archival_summary.archival_reason #=> String
|
6894
7047
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
7048
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
7049
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
6895
7050
|
#
|
6896
7051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
6897
7052
|
#
|
@@ -7158,7 +7313,7 @@ module Aws::DynamoDB
|
|
7158
7313
|
params: params,
|
7159
7314
|
config: config)
|
7160
7315
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
7161
|
-
context[:gem_version] = '1.
|
7316
|
+
context[:gem_version] = '1.70.0'
|
7162
7317
|
Seahorse::Client::Request.new(handlers, context)
|
7163
7318
|
end
|
7164
7319
|
|