aws-sdk-dynamodb 1.66.0 → 1.69.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +166 -20
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e05476b82915f01a358d8bba79d357df0743d64d9c25e6c627285dc46c61ea79
|
4
|
+
data.tar.gz: 61308d48457d2b02cb269e79d0c3f440983eb82d050a25ac7cd18da2980aa950
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c62190a339337d1c5e53481a2afb957868587eb9ece07ffe13df792e95bf094a38f88647bda00d678a627a630a4d21503994855466f548d9e68d9eff5df91bd9
|
7
|
+
data.tar.gz: 446fac3dae812b9c83ee7873a958c4439649b43894676efa1c751c460d2a454f68ffed064f067bbe47197998836e58b15ab792419b81f7e40bc91648a185f38d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2021-12-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for Table Classes and introduce the Standard Infrequent Access table class.
|
8
|
+
|
9
|
+
1.68.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.67.0 (2021-11-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* 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.
|
18
|
+
|
4
19
|
1.66.0 (2021-11-11)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -125,7 +125,9 @@ module Aws::DynamoDB
|
|
125
125
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
126
126
|
# are very aggressive. Construct and pass an instance of
|
127
127
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
128
|
-
# enable retries and extended timeouts.
|
128
|
+
# enable retries and extended timeouts. Instance profile credential
|
129
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
130
|
+
# to true.
|
129
131
|
#
|
130
132
|
# @option options [required, String] :region
|
131
133
|
# The AWS region to connect to. The configured `:region` is
|
@@ -376,9 +378,27 @@ module Aws::DynamoDB
|
|
376
378
|
# @option params [required, Array<Types::BatchStatementRequest>] :statements
|
377
379
|
# The list of PartiQL statements representing the batch to run.
|
378
380
|
#
|
381
|
+
# @option params [String] :return_consumed_capacity
|
382
|
+
# Determines the level of detail about either provisioned or on-demand
|
383
|
+
# throughput consumption that is returned in the response:
|
384
|
+
#
|
385
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
386
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
387
|
+
# and secondary index that was accessed.
|
388
|
+
#
|
389
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`, do
|
390
|
+
# not access any indexes at all. In these cases, specifying `INDEXES`
|
391
|
+
# will only return `ConsumedCapacity` information for table(s).
|
392
|
+
#
|
393
|
+
# * `TOTAL` - The response includes only the aggregate
|
394
|
+
# `ConsumedCapacity` for the operation.
|
395
|
+
#
|
396
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the response.
|
397
|
+
#
|
379
398
|
# @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
380
399
|
#
|
381
400
|
# * {Types::BatchExecuteStatementOutput#responses #responses} => Array<Types::BatchStatementResponse>
|
401
|
+
# * {Types::BatchExecuteStatementOutput#consumed_capacity #consumed_capacity} => Array<Types::ConsumedCapacity>
|
382
402
|
#
|
383
403
|
# @example Request syntax with placeholder values
|
384
404
|
#
|
@@ -390,6 +410,7 @@ module Aws::DynamoDB
|
|
390
410
|
# consistent_read: false,
|
391
411
|
# },
|
392
412
|
# ],
|
413
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
393
414
|
# })
|
394
415
|
#
|
395
416
|
# @example Response structure
|
@@ -400,6 +421,22 @@ module Aws::DynamoDB
|
|
400
421
|
# resp.responses[0].table_name #=> String
|
401
422
|
# resp.responses[0].item #=> Hash
|
402
423
|
# resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
424
|
+
# resp.consumed_capacity #=> Array
|
425
|
+
# resp.consumed_capacity[0].table_name #=> String
|
426
|
+
# resp.consumed_capacity[0].capacity_units #=> Float
|
427
|
+
# resp.consumed_capacity[0].read_capacity_units #=> Float
|
428
|
+
# resp.consumed_capacity[0].write_capacity_units #=> Float
|
429
|
+
# resp.consumed_capacity[0].table.read_capacity_units #=> Float
|
430
|
+
# resp.consumed_capacity[0].table.write_capacity_units #=> Float
|
431
|
+
# resp.consumed_capacity[0].table.capacity_units #=> Float
|
432
|
+
# resp.consumed_capacity[0].local_secondary_indexes #=> Hash
|
433
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
434
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
435
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].capacity_units #=> Float
|
436
|
+
# resp.consumed_capacity[0].global_secondary_indexes #=> Hash
|
437
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
438
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
439
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
|
403
440
|
#
|
404
441
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatement AWS API Documentation
|
405
442
|
#
|
@@ -561,8 +598,8 @@ module Aws::DynamoDB
|
|
561
598
|
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
562
599
|
#
|
563
600
|
# @option params [String] :return_consumed_capacity
|
564
|
-
# Determines the level of detail about provisioned
|
565
|
-
# consumption that is returned in the response:
|
601
|
+
# Determines the level of detail about either provisioned or on-demand
|
602
|
+
# throughput consumption that is returned in the response:
|
566
603
|
#
|
567
604
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
568
605
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -810,8 +847,8 @@ module Aws::DynamoDB
|
|
810
847
|
# in the table's attribute definition.
|
811
848
|
#
|
812
849
|
# @option params [String] :return_consumed_capacity
|
813
|
-
# Determines the level of detail about provisioned
|
814
|
-
# consumption that is returned in the response:
|
850
|
+
# Determines the level of detail about either provisioned or on-demand
|
851
|
+
# throughput consumption that is returned in the response:
|
815
852
|
#
|
816
853
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
817
854
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1099,6 +1136,8 @@ module Aws::DynamoDB
|
|
1099
1136
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
1100
1137
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1101
1138
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
1139
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1140
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
1102
1141
|
# resp.global_table_description.global_table_arn #=> String
|
1103
1142
|
# resp.global_table_description.creation_date_time #=> Time
|
1104
1143
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -1333,6 +1372,10 @@ module Aws::DynamoDB
|
|
1333
1372
|
#
|
1334
1373
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
1335
1374
|
#
|
1375
|
+
# @option params [String] :table_class
|
1376
|
+
# The table class of the new table. Valid values are `STANDARD` and
|
1377
|
+
# `STANDARD_INFREQUENT_ACCESS`.
|
1378
|
+
#
|
1336
1379
|
# @return [Types::CreateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1337
1380
|
#
|
1338
1381
|
# * {Types::CreateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -1475,6 +1518,7 @@ module Aws::DynamoDB
|
|
1475
1518
|
# value: "TagValueString", # required
|
1476
1519
|
# },
|
1477
1520
|
# ],
|
1521
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1478
1522
|
# })
|
1479
1523
|
#
|
1480
1524
|
# @example Response structure
|
@@ -1544,6 +1588,8 @@ module Aws::DynamoDB
|
|
1544
1588
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
1545
1589
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
1546
1590
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
1591
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1592
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
1547
1593
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
1548
1594
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
1549
1595
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -1555,6 +1601,8 @@ module Aws::DynamoDB
|
|
1555
1601
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
1556
1602
|
# resp.table_description.archival_summary.archival_reason #=> String
|
1557
1603
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
1604
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
1605
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
1558
1606
|
#
|
1559
1607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
|
1560
1608
|
#
|
@@ -1703,8 +1751,8 @@ module Aws::DynamoDB
|
|
1703
1751
|
# </note>
|
1704
1752
|
#
|
1705
1753
|
# @option params [String] :return_consumed_capacity
|
1706
|
-
# Determines the level of detail about provisioned
|
1707
|
-
# consumption that is returned in the response:
|
1754
|
+
# Determines the level of detail about either provisioned or on-demand
|
1755
|
+
# throughput consumption that is returned in the response:
|
1708
1756
|
#
|
1709
1757
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
1710
1758
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -2039,6 +2087,8 @@ module Aws::DynamoDB
|
|
2039
2087
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2040
2088
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2041
2089
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
2090
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2091
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
2042
2092
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
2043
2093
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
2044
2094
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -2050,6 +2100,8 @@ module Aws::DynamoDB
|
|
2050
2100
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
2051
2101
|
# resp.table_description.archival_summary.archival_reason #=> String
|
2052
2102
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
2103
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2104
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
2053
2105
|
#
|
2054
2106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
|
2055
2107
|
#
|
@@ -2333,6 +2385,8 @@ module Aws::DynamoDB
|
|
2333
2385
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
2334
2386
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2335
2387
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
2388
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2389
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
2336
2390
|
# resp.global_table_description.global_table_arn #=> String
|
2337
2391
|
# resp.global_table_description.creation_date_time #=> Time
|
2338
2392
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -2427,6 +2481,8 @@ module Aws::DynamoDB
|
|
2427
2481
|
# 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
2482
|
# 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
2483
|
# 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
|
2484
|
+
# resp.replica_settings[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2485
|
+
# resp.replica_settings[0].replica_table_class_summary.last_update_date_time #=> Time
|
2430
2486
|
#
|
2431
2487
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableSettings AWS API Documentation
|
2432
2488
|
#
|
@@ -2718,6 +2774,8 @@ module Aws::DynamoDB
|
|
2718
2774
|
# resp.table.replicas[0].global_secondary_indexes[0].index_name #=> String
|
2719
2775
|
# resp.table.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
2720
2776
|
# resp.table.replicas[0].replica_inaccessible_date_time #=> Time
|
2777
|
+
# resp.table.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2778
|
+
# resp.table.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
2721
2779
|
# resp.table.restore_summary.source_backup_arn #=> String
|
2722
2780
|
# resp.table.restore_summary.source_table_arn #=> String
|
2723
2781
|
# resp.table.restore_summary.restore_date_time #=> Time
|
@@ -2729,6 +2787,8 @@ module Aws::DynamoDB
|
|
2729
2787
|
# resp.table.archival_summary.archival_date_time #=> Time
|
2730
2788
|
# resp.table.archival_summary.archival_reason #=> String
|
2731
2789
|
# resp.table.archival_summary.archival_backup_arn #=> String
|
2790
|
+
# resp.table.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
2791
|
+
# resp.table.table_class_summary.last_update_date_time #=> Time
|
2732
2792
|
#
|
2733
2793
|
#
|
2734
2794
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2955,10 +3015,28 @@ module Aws::DynamoDB
|
|
2955
3015
|
# Set this value to get remaining results, if `NextToken` was returned
|
2956
3016
|
# in the statement response.
|
2957
3017
|
#
|
3018
|
+
# @option params [String] :return_consumed_capacity
|
3019
|
+
# Determines the level of detail about either provisioned or on-demand
|
3020
|
+
# throughput consumption that is returned in the response:
|
3021
|
+
#
|
3022
|
+
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3023
|
+
# for the operation, together with `ConsumedCapacity` for each table
|
3024
|
+
# and secondary index that was accessed.
|
3025
|
+
#
|
3026
|
+
# Note that some operations, such as `GetItem` and `BatchGetItem`, do
|
3027
|
+
# not access any indexes at all. In these cases, specifying `INDEXES`
|
3028
|
+
# will only return `ConsumedCapacity` information for table(s).
|
3029
|
+
#
|
3030
|
+
# * `TOTAL` - The response includes only the aggregate
|
3031
|
+
# `ConsumedCapacity` for the operation.
|
3032
|
+
#
|
3033
|
+
# * `NONE` - No `ConsumedCapacity` details are included in the response.
|
3034
|
+
#
|
2958
3035
|
# @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2959
3036
|
#
|
2960
3037
|
# * {Types::ExecuteStatementOutput#items #items} => Array<Hash<String,Types::AttributeValue>>
|
2961
3038
|
# * {Types::ExecuteStatementOutput#next_token #next_token} => String
|
3039
|
+
# * {Types::ExecuteStatementOutput#consumed_capacity #consumed_capacity} => Types::ConsumedCapacity
|
2962
3040
|
#
|
2963
3041
|
# @example Request syntax with placeholder values
|
2964
3042
|
#
|
@@ -2967,6 +3045,7 @@ module Aws::DynamoDB
|
|
2967
3045
|
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2968
3046
|
# consistent_read: false,
|
2969
3047
|
# next_token: "PartiQLNextToken",
|
3048
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
2970
3049
|
# })
|
2971
3050
|
#
|
2972
3051
|
# @example Response structure
|
@@ -2975,6 +3054,21 @@ module Aws::DynamoDB
|
|
2975
3054
|
# resp.items[0] #=> Hash
|
2976
3055
|
# resp.items[0]["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2977
3056
|
# resp.next_token #=> String
|
3057
|
+
# resp.consumed_capacity.table_name #=> String
|
3058
|
+
# resp.consumed_capacity.capacity_units #=> Float
|
3059
|
+
# resp.consumed_capacity.read_capacity_units #=> Float
|
3060
|
+
# resp.consumed_capacity.write_capacity_units #=> Float
|
3061
|
+
# resp.consumed_capacity.table.read_capacity_units #=> Float
|
3062
|
+
# resp.consumed_capacity.table.write_capacity_units #=> Float
|
3063
|
+
# resp.consumed_capacity.table.capacity_units #=> Float
|
3064
|
+
# resp.consumed_capacity.local_secondary_indexes #=> Hash
|
3065
|
+
# resp.consumed_capacity.local_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3066
|
+
# resp.consumed_capacity.local_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3067
|
+
# resp.consumed_capacity.local_secondary_indexes["IndexName"].capacity_units #=> Float
|
3068
|
+
# resp.consumed_capacity.global_secondary_indexes #=> Hash
|
3069
|
+
# resp.consumed_capacity.global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3070
|
+
# resp.consumed_capacity.global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3071
|
+
# resp.consumed_capacity.global_secondary_indexes["IndexName"].capacity_units #=> Float
|
2978
3072
|
#
|
2979
3073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement AWS API Documentation
|
2980
3074
|
#
|
@@ -3010,9 +3104,20 @@ module Aws::DynamoDB
|
|
3010
3104
|
# **A suitable default value is auto-generated.** You should normally
|
3011
3105
|
# not need to pass this option.**
|
3012
3106
|
#
|
3107
|
+
# @option params [String] :return_consumed_capacity
|
3108
|
+
# Determines the level of detail about either provisioned or on-demand
|
3109
|
+
# throughput consumption that is returned in the response. For more
|
3110
|
+
# information, see [TransactGetItems][1] and [TransactWriteItems][2].
|
3111
|
+
#
|
3112
|
+
#
|
3113
|
+
#
|
3114
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
|
3115
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
|
3116
|
+
#
|
3013
3117
|
# @return [Types::ExecuteTransactionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3014
3118
|
#
|
3015
3119
|
# * {Types::ExecuteTransactionOutput#responses #responses} => Array<Types::ItemResponse>
|
3120
|
+
# * {Types::ExecuteTransactionOutput#consumed_capacity #consumed_capacity} => Array<Types::ConsumedCapacity>
|
3016
3121
|
#
|
3017
3122
|
# @example Request syntax with placeholder values
|
3018
3123
|
#
|
@@ -3024,6 +3129,7 @@ module Aws::DynamoDB
|
|
3024
3129
|
# },
|
3025
3130
|
# ],
|
3026
3131
|
# client_request_token: "ClientRequestToken",
|
3132
|
+
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3027
3133
|
# })
|
3028
3134
|
#
|
3029
3135
|
# @example Response structure
|
@@ -3031,6 +3137,22 @@ module Aws::DynamoDB
|
|
3031
3137
|
# resp.responses #=> Array
|
3032
3138
|
# resp.responses[0].item #=> Hash
|
3033
3139
|
# resp.responses[0].item["AttributeName"] #=> <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3140
|
+
# resp.consumed_capacity #=> Array
|
3141
|
+
# resp.consumed_capacity[0].table_name #=> String
|
3142
|
+
# resp.consumed_capacity[0].capacity_units #=> Float
|
3143
|
+
# resp.consumed_capacity[0].read_capacity_units #=> Float
|
3144
|
+
# resp.consumed_capacity[0].write_capacity_units #=> Float
|
3145
|
+
# resp.consumed_capacity[0].table.read_capacity_units #=> Float
|
3146
|
+
# resp.consumed_capacity[0].table.write_capacity_units #=> Float
|
3147
|
+
# resp.consumed_capacity[0].table.capacity_units #=> Float
|
3148
|
+
# resp.consumed_capacity[0].local_secondary_indexes #=> Hash
|
3149
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3150
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3151
|
+
# resp.consumed_capacity[0].local_secondary_indexes["IndexName"].capacity_units #=> Float
|
3152
|
+
# resp.consumed_capacity[0].global_secondary_indexes #=> Hash
|
3153
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].read_capacity_units #=> Float
|
3154
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].write_capacity_units #=> Float
|
3155
|
+
# resp.consumed_capacity[0].global_secondary_indexes["IndexName"].capacity_units #=> Float
|
3034
3156
|
#
|
3035
3157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransaction AWS API Documentation
|
3036
3158
|
#
|
@@ -3184,8 +3306,8 @@ module Aws::DynamoDB
|
|
3184
3306
|
# uses eventually consistent reads.
|
3185
3307
|
#
|
3186
3308
|
# @option params [String] :return_consumed_capacity
|
3187
|
-
# Determines the level of detail about provisioned
|
3188
|
-
# consumption that is returned in the response:
|
3309
|
+
# Determines the level of detail about either provisioned or on-demand
|
3310
|
+
# throughput consumption that is returned in the response:
|
3189
3311
|
#
|
3190
3312
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3191
3313
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -3805,8 +3927,8 @@ module Aws::DynamoDB
|
|
3805
3927
|
# </note>
|
3806
3928
|
#
|
3807
3929
|
# @option params [String] :return_consumed_capacity
|
3808
|
-
# Determines the level of detail about provisioned
|
3809
|
-
# consumption that is returned in the response:
|
3930
|
+
# Determines the level of detail about either provisioned or on-demand
|
3931
|
+
# throughput consumption that is returned in the response:
|
3810
3932
|
#
|
3811
3933
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
3812
3934
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -4235,8 +4357,8 @@ module Aws::DynamoDB
|
|
4235
4357
|
# Binary. No set data types are allowed.
|
4236
4358
|
#
|
4237
4359
|
# @option params [String] :return_consumed_capacity
|
4238
|
-
# Determines the level of detail about provisioned
|
4239
|
-
# consumption that is returned in the response:
|
4360
|
+
# Determines the level of detail about either provisioned or on-demand
|
4361
|
+
# throughput consumption that is returned in the response:
|
4240
4362
|
#
|
4241
4363
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
4242
4364
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -4728,6 +4850,8 @@ module Aws::DynamoDB
|
|
4728
4850
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
4729
4851
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
4730
4852
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
4853
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
4854
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
4731
4855
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
4732
4856
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
4733
4857
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -4739,6 +4863,8 @@ module Aws::DynamoDB
|
|
4739
4863
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
4740
4864
|
# resp.table_description.archival_summary.archival_reason #=> String
|
4741
4865
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
4866
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
4867
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
4742
4868
|
#
|
4743
4869
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
|
4744
4870
|
#
|
@@ -4951,6 +5077,8 @@ module Aws::DynamoDB
|
|
4951
5077
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
4952
5078
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
4953
5079
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
5080
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5081
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
4954
5082
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
4955
5083
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
4956
5084
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -4962,6 +5090,8 @@ module Aws::DynamoDB
|
|
4962
5090
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
4963
5091
|
# resp.table_description.archival_summary.archival_reason #=> String
|
4964
5092
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
5093
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
5094
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
4965
5095
|
#
|
4966
5096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
|
4967
5097
|
#
|
@@ -5123,8 +5253,8 @@ module Aws::DynamoDB
|
|
5123
5253
|
# corresponding value of `LastEvaluatedKey`.
|
5124
5254
|
#
|
5125
5255
|
# @option params [String] :return_consumed_capacity
|
5126
|
-
# Determines the level of detail about provisioned
|
5127
|
-
# consumption that is returned in the response:
|
5256
|
+
# Determines the level of detail about either provisioned or on-demand
|
5257
|
+
# throughput consumption that is returned in the response:
|
5128
5258
|
#
|
5129
5259
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
5130
5260
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -5610,8 +5740,8 @@ module Aws::DynamoDB
|
|
5610
5740
|
# two of them can operate on the same item.
|
5611
5741
|
#
|
5612
5742
|
# @option params [String] :return_consumed_capacity
|
5613
|
-
# Determines the level of detail about provisioned
|
5614
|
-
# consumption that is returned in the response:
|
5743
|
+
# Determines the level of detail about either provisioned or on-demand
|
5744
|
+
# throughput consumption that is returned in the response:
|
5615
5745
|
#
|
5616
5746
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
5617
5747
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -5962,6 +6092,8 @@ module Aws::DynamoDB
|
|
5962
6092
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].index_name #=> String
|
5963
6093
|
# resp.global_table_description.replication_group[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
5964
6094
|
# resp.global_table_description.replication_group[0].replica_inaccessible_date_time #=> Time
|
6095
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6096
|
+
# resp.global_table_description.replication_group[0].replica_table_class_summary.last_update_date_time #=> Time
|
5965
6097
|
# resp.global_table_description.global_table_arn #=> String
|
5966
6098
|
# resp.global_table_description.creation_date_time #=> Time
|
5967
6099
|
# resp.global_table_description.global_table_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING"
|
@@ -6102,6 +6234,7 @@ module Aws::DynamoDB
|
|
6102
6234
|
# },
|
6103
6235
|
# },
|
6104
6236
|
# ],
|
6237
|
+
# replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6105
6238
|
# },
|
6106
6239
|
# ],
|
6107
6240
|
# })
|
@@ -6161,6 +6294,8 @@ module Aws::DynamoDB
|
|
6161
6294
|
# 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
6295
|
# 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
6296
|
# 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
|
6297
|
+
# resp.replica_settings[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
6298
|
+
# resp.replica_settings[0].replica_table_class_summary.last_update_date_time #=> Time
|
6164
6299
|
#
|
6165
6300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableSettings AWS API Documentation
|
6166
6301
|
#
|
@@ -6248,8 +6383,8 @@ module Aws::DynamoDB
|
|
6248
6383
|
# The values returned are strongly consistent.
|
6249
6384
|
#
|
6250
6385
|
# @option params [String] :return_consumed_capacity
|
6251
|
-
# Determines the level of detail about provisioned
|
6252
|
-
# consumption that is returned in the response:
|
6386
|
+
# Determines the level of detail about either provisioned or on-demand
|
6387
|
+
# throughput consumption that is returned in the response:
|
6253
6388
|
#
|
6254
6389
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
6255
6390
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -6666,6 +6801,10 @@ module Aws::DynamoDB
|
|
6666
6801
|
#
|
6667
6802
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
6668
6803
|
#
|
6804
|
+
# @option params [String] :table_class
|
6805
|
+
# The table class of the table to be updated. Valid values are
|
6806
|
+
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
6807
|
+
#
|
6669
6808
|
# @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6670
6809
|
#
|
6671
6810
|
# * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
|
@@ -6791,6 +6930,7 @@ module Aws::DynamoDB
|
|
6791
6930
|
# },
|
6792
6931
|
# },
|
6793
6932
|
# ],
|
6933
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6794
6934
|
# },
|
6795
6935
|
# update: {
|
6796
6936
|
# region_name: "RegionName", # required
|
@@ -6806,12 +6946,14 @@ module Aws::DynamoDB
|
|
6806
6946
|
# },
|
6807
6947
|
# },
|
6808
6948
|
# ],
|
6949
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6809
6950
|
# },
|
6810
6951
|
# delete: {
|
6811
6952
|
# region_name: "RegionName", # required
|
6812
6953
|
# },
|
6813
6954
|
# },
|
6814
6955
|
# ],
|
6956
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
6815
6957
|
# })
|
6816
6958
|
#
|
6817
6959
|
# @example Response structure
|
@@ -6881,6 +7023,8 @@ module Aws::DynamoDB
|
|
6881
7023
|
# resp.table_description.replicas[0].global_secondary_indexes[0].index_name #=> String
|
6882
7024
|
# resp.table_description.replicas[0].global_secondary_indexes[0].provisioned_throughput_override.read_capacity_units #=> Integer
|
6883
7025
|
# resp.table_description.replicas[0].replica_inaccessible_date_time #=> Time
|
7026
|
+
# resp.table_description.replicas[0].replica_table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
7027
|
+
# resp.table_description.replicas[0].replica_table_class_summary.last_update_date_time #=> Time
|
6884
7028
|
# resp.table_description.restore_summary.source_backup_arn #=> String
|
6885
7029
|
# resp.table_description.restore_summary.source_table_arn #=> String
|
6886
7030
|
# resp.table_description.restore_summary.restore_date_time #=> Time
|
@@ -6892,6 +7036,8 @@ module Aws::DynamoDB
|
|
6892
7036
|
# resp.table_description.archival_summary.archival_date_time #=> Time
|
6893
7037
|
# resp.table_description.archival_summary.archival_reason #=> String
|
6894
7038
|
# resp.table_description.archival_summary.archival_backup_arn #=> String
|
7039
|
+
# resp.table_description.table_class_summary.table_class #=> String, one of "STANDARD", "STANDARD_INFREQUENT_ACCESS"
|
7040
|
+
# resp.table_description.table_class_summary.last_update_date_time #=> Time
|
6895
7041
|
#
|
6896
7042
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
|
6897
7043
|
#
|
@@ -7158,7 +7304,7 @@ module Aws::DynamoDB
|
|
7158
7304
|
params: params,
|
7159
7305
|
config: config)
|
7160
7306
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
7161
|
-
context[:gem_version] = '1.
|
7307
|
+
context[:gem_version] = '1.69.0'
|
7162
7308
|
Seahorse::Client::Request.new(handlers, context)
|
7163
7309
|
end
|
7164
7310
|
|