aws-sdk-dynamodb 1.74.0 → 1.75.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +43 -53
- data/lib/aws-sdk-dynamodb/table.rb +28 -18
- data/lib/aws-sdk-dynamodb/types.rb +56 -36
- 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: 79a8f7d90716096cc816bcaa1c94e20d4b25a45d9ef563d9ec4be2853733072b
|
4
|
+
data.tar.gz: ccdfc32c84f0a02de79fe8ebebc2ed58310eea7712679ea1215a26fc97e73537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08b4a399dd2811b5d8fcdc54b56276e84c66fc4d73bd4ba8a8f48169a4cea37378c80cbda6920973600805280c198fedc9e96128c091c0dddfbe1c4bbbdfdc7a'
|
7
|
+
data.tar.gz: 0661d453507bb416a6f1adfbc374d29cbb47e0950d933cb5a792f9809754eee5d50a8e71b708b6b5be02d6be0953f11e66bc8b005f29c282f519d70ad16a3454
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.0
|
@@ -381,13 +381,25 @@ module Aws::DynamoDB
|
|
381
381
|
# @!group API Operations
|
382
382
|
|
383
383
|
# This operation allows you to perform batch reads or writes on data
|
384
|
-
# stored in DynamoDB, using PartiQL.
|
384
|
+
# stored in DynamoDB, using PartiQL. Each read statement in a
|
385
|
+
# `BatchExecuteStatement` must specify an equality condition on all key
|
386
|
+
# attributes. This enforces that each `SELECT` statement in a batch
|
387
|
+
# returns at most a single item.
|
385
388
|
#
|
386
389
|
# <note markdown="1"> The entire batch must consist of either read statements or write
|
387
390
|
# statements, you cannot mix both in one batch.
|
388
391
|
#
|
389
392
|
# </note>
|
390
393
|
#
|
394
|
+
# A HTTP 200 response does not mean that all statements in the
|
395
|
+
# BatchExecuteStatement succeeded. Error details for individual
|
396
|
+
# statements can be found under the [Error][1] field of the
|
397
|
+
# `BatchStatementResponse` for each statement.
|
398
|
+
#
|
399
|
+
#
|
400
|
+
#
|
401
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchStatementResponse.html#DDB-Type-BatchStatementResponse-Error
|
402
|
+
#
|
391
403
|
# @option params [required, Array<Types::BatchStatementRequest>] :statements
|
392
404
|
# The list of PartiQL statements representing the batch to run.
|
393
405
|
#
|
@@ -1762,6 +1774,10 @@ module Aws::DynamoDB
|
|
1762
1774
|
#
|
1763
1775
|
# * `ALL_OLD` - The content of the old item is returned.
|
1764
1776
|
#
|
1777
|
+
# There is no additional cost associated with requesting a return value
|
1778
|
+
# aside from the small network and processing overhead of receiving a
|
1779
|
+
# larger response. No read capacity units are consumed.
|
1780
|
+
#
|
1765
1781
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
1766
1782
|
# however, `DeleteItem` does not recognize any values other than `NONE`
|
1767
1783
|
# or `ALL_OLD`.
|
@@ -3218,8 +3234,9 @@ module Aws::DynamoDB
|
|
3218
3234
|
# The Amazon Resource Name (ARN) associated with the table to export.
|
3219
3235
|
#
|
3220
3236
|
# @option params [Time,DateTime,Date,Integer,String] :export_time
|
3221
|
-
# Time in the past from which to export table data
|
3222
|
-
#
|
3237
|
+
# Time in the past from which to export table data, counted in seconds
|
3238
|
+
# from the start of the Unix epoch. The table export will be a snapshot
|
3239
|
+
# of the table's state at this point in time.
|
3223
3240
|
#
|
3224
3241
|
# @option params [String] :client_token
|
3225
3242
|
# Providing a `ClientToken` makes the call to
|
@@ -3548,7 +3565,8 @@ module Aws::DynamoDB
|
|
3548
3565
|
#
|
3549
3566
|
# Where `BackupType` can be:
|
3550
3567
|
#
|
3551
|
-
# * `USER` - On-demand backup created by you.
|
3568
|
+
# * `USER` - On-demand backup created by you. (The default setting if no
|
3569
|
+
# other backup types are specified.)
|
3552
3570
|
#
|
3553
3571
|
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
3554
3572
|
#
|
@@ -3855,29 +3873,6 @@ module Aws::DynamoDB
|
|
3855
3873
|
# item's attribute values in the same operation, using the
|
3856
3874
|
# `ReturnValues` parameter.
|
3857
3875
|
#
|
3858
|
-
# This topic provides general information about the `PutItem` API.
|
3859
|
-
#
|
3860
|
-
# For information on how to call the `PutItem` API using the Amazon Web
|
3861
|
-
# Services SDK in specific languages, see the following:
|
3862
|
-
#
|
3863
|
-
# * [ PutItem in the Command Line Interface][1]
|
3864
|
-
#
|
3865
|
-
# * [ PutItem in the SDK for .NET][2]
|
3866
|
-
#
|
3867
|
-
# * [ PutItem in the SDK for C++][3]
|
3868
|
-
#
|
3869
|
-
# * [ PutItem in the SDK for Go][4]
|
3870
|
-
#
|
3871
|
-
# * [ PutItem in the SDK for Java][5]
|
3872
|
-
#
|
3873
|
-
# * [ PutItem in the SDK for JavaScript][6]
|
3874
|
-
#
|
3875
|
-
# * [ PutItem in the SDK for PHP V3][7]
|
3876
|
-
#
|
3877
|
-
# * [ PutItem in the SDK for Python (Boto)][8]
|
3878
|
-
#
|
3879
|
-
# * [ PutItem in the SDK for Ruby V2][9]
|
3880
|
-
#
|
3881
3876
|
# When you add an item, the primary key attributes are the only required
|
3882
3877
|
# attributes. Attribute values cannot be null.
|
3883
3878
|
#
|
@@ -3898,21 +3893,12 @@ module Aws::DynamoDB
|
|
3898
3893
|
#
|
3899
3894
|
# </note>
|
3900
3895
|
#
|
3901
|
-
# For more information about `PutItem`, see [Working with Items][
|
3896
|
+
# For more information about `PutItem`, see [Working with Items][1] in
|
3902
3897
|
# the *Amazon DynamoDB Developer Guide*.
|
3903
3898
|
#
|
3904
3899
|
#
|
3905
3900
|
#
|
3906
|
-
# [1]:
|
3907
|
-
# [2]: http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem
|
3908
|
-
# [3]: http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem
|
3909
|
-
# [4]: http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem
|
3910
|
-
# [5]: http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem
|
3911
|
-
# [6]: http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem
|
3912
|
-
# [7]: http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem
|
3913
|
-
# [8]: http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem
|
3914
|
-
# [9]: http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem
|
3915
|
-
# [10]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html
|
3901
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html
|
3916
3902
|
#
|
3917
3903
|
# @option params [required, String] :table_name
|
3918
3904
|
# The name of the table to contain the item.
|
@@ -3967,6 +3953,10 @@ module Aws::DynamoDB
|
|
3967
3953
|
#
|
3968
3954
|
# The values returned are strongly consistent.
|
3969
3955
|
#
|
3956
|
+
# There is no additional cost associated with requesting a return value
|
3957
|
+
# aside from the small network and processing overhead of receiving a
|
3958
|
+
# larger response. No read capacity units are consumed.
|
3959
|
+
#
|
3970
3960
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
3971
3961
|
# however, `PutItem` does not recognize any values other than `NONE` or
|
3972
3962
|
# `ALL_OLD`.
|
@@ -4288,8 +4278,9 @@ module Aws::DynamoDB
|
|
4288
4278
|
# matching items themselves.
|
4289
4279
|
#
|
4290
4280
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
4291
|
-
# `
|
4292
|
-
# `
|
4281
|
+
# `ProjectionExpression`. This return value is equivalent to
|
4282
|
+
# specifying `ProjectionExpression` without specifying any value for
|
4283
|
+
# `Select`.
|
4293
4284
|
#
|
4294
4285
|
# If you query or scan a local secondary index and request only
|
4295
4286
|
# attributes that are projected into that index, the operation will
|
@@ -4302,12 +4293,12 @@ module Aws::DynamoDB
|
|
4302
4293
|
# attributes that are projected into the index. Global secondary index
|
4303
4294
|
# queries cannot fetch attributes from the parent table.
|
4304
4295
|
#
|
4305
|
-
# If neither `Select` nor `
|
4296
|
+
# If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
|
4306
4297
|
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
4307
4298
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
4308
|
-
# both `Select` and `
|
4299
|
+
# both `Select` and `ProjectionExpression` together in a single request,
|
4309
4300
|
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
|
4310
|
-
# equivalent to specifying `
|
4301
|
+
# equivalent to specifying `ProjectionExpression` without any value for
|
4311
4302
|
# `Select`.)
|
4312
4303
|
#
|
4313
4304
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
@@ -4456,7 +4447,7 @@ module Aws::DynamoDB
|
|
4456
4447
|
#
|
4457
4448
|
#
|
4458
4449
|
#
|
4459
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
4450
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
4460
4451
|
#
|
4461
4452
|
# @option params [String] :key_condition_expression
|
4462
4453
|
# The condition that specifies the key values for items to be retrieved
|
@@ -5241,8 +5232,9 @@ module Aws::DynamoDB
|
|
5241
5232
|
# matching items themselves.
|
5242
5233
|
#
|
5243
5234
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
5244
|
-
# `
|
5245
|
-
# `
|
5235
|
+
# `ProjectionExpression`. This return value is equivalent to
|
5236
|
+
# specifying `ProjectionExpression` without specifying any value for
|
5237
|
+
# `Select`.
|
5246
5238
|
#
|
5247
5239
|
# If you query or scan a local secondary index and request only
|
5248
5240
|
# attributes that are projected into that index, the operation reads
|
@@ -5255,12 +5247,12 @@ module Aws::DynamoDB
|
|
5255
5247
|
# attributes that are projected into the index. Global secondary index
|
5256
5248
|
# queries cannot fetch attributes from the parent table.
|
5257
5249
|
#
|
5258
|
-
# If neither `Select` nor `
|
5250
|
+
# If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
|
5259
5251
|
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
5260
5252
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
5261
|
-
# both `Select` and `
|
5253
|
+
# both `Select` and `ProjectionExpression` together in a single request,
|
5262
5254
|
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
|
5263
|
-
# equivalent to specifying `
|
5255
|
+
# equivalent to specifying `ProjectionExpression` without any value for
|
5264
5256
|
# `Select`.)
|
5265
5257
|
#
|
5266
5258
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
@@ -5381,7 +5373,7 @@ module Aws::DynamoDB
|
|
5381
5373
|
#
|
5382
5374
|
#
|
5383
5375
|
#
|
5384
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
5376
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
5385
5377
|
#
|
5386
5378
|
# @option params [Hash<String,String>] :expression_attribute_names
|
5387
5379
|
# One or more substitution tokens for attribute names in an expression.
|
@@ -6754,8 +6746,6 @@ module Aws::DynamoDB
|
|
6754
6746
|
#
|
6755
6747
|
# * Modify the provisioned throughput settings of the table.
|
6756
6748
|
#
|
6757
|
-
# * Enable or disable DynamoDB Streams on the table.
|
6758
|
-
#
|
6759
6749
|
# * Remove a global secondary index from the table.
|
6760
6750
|
#
|
6761
6751
|
# * Create a new global secondary index on the table. After the index
|
@@ -7351,7 +7341,7 @@ module Aws::DynamoDB
|
|
7351
7341
|
params: params,
|
7352
7342
|
config: config)
|
7353
7343
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
7354
|
-
context[:gem_version] = '1.
|
7344
|
+
context[:gem_version] = '1.75.0'
|
7355
7345
|
Seahorse::Client::Request.new(handlers, context)
|
7356
7346
|
end
|
7357
7347
|
|
@@ -194,9 +194,9 @@ module Aws::DynamoDB
|
|
194
194
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
195
195
|
# that are projected into the secondary index. The total count of
|
196
196
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
197
|
-
# the secondary indexes, must not exceed
|
198
|
-
# attribute into two different indexes, this counts as two
|
199
|
-
# attributes when determining the total.
|
197
|
+
# the secondary indexes, must not exceed 100. If you project the
|
198
|
+
# same attribute into two different indexes, this counts as two
|
199
|
+
# distinct attributes when determining the total.
|
200
200
|
#
|
201
201
|
# * `IndexSizeBytes` - Represents the total size of the index, in bytes.
|
202
202
|
# DynamoDB updates this value approximately every six hours. Recent
|
@@ -275,9 +275,9 @@ module Aws::DynamoDB
|
|
275
275
|
# * `NonKeyAttributes` - A list of one or more non-key attribute names
|
276
276
|
# that are projected into the secondary index. The total count of
|
277
277
|
# attributes provided in `NonKeyAttributes`, summed across all of
|
278
|
-
# the secondary indexes, must not exceed
|
279
|
-
# attribute into two different indexes, this counts as two
|
280
|
-
# attributes when determining the total.
|
278
|
+
# the secondary indexes, must not exceed 100. If you project the
|
279
|
+
# same attribute into two different indexes, this counts as two
|
280
|
+
# distinct attributes when determining the total.
|
281
281
|
#
|
282
282
|
# * `ProvisionedThroughput` - The provisioned throughput settings for
|
283
283
|
# the global secondary index, consisting of read and write capacity
|
@@ -569,6 +569,10 @@ module Aws::DynamoDB
|
|
569
569
|
#
|
570
570
|
# * `ALL_OLD` - The content of the old item is returned.
|
571
571
|
#
|
572
|
+
# There is no additional cost associated with requesting a return value
|
573
|
+
# aside from the small network and processing overhead of receiving a
|
574
|
+
# larger response. No read capacity units are consumed.
|
575
|
+
#
|
572
576
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
573
577
|
# however, `DeleteItem` does not recognize any values other than `NONE`
|
574
578
|
# or `ALL_OLD`.
|
@@ -897,6 +901,10 @@ module Aws::DynamoDB
|
|
897
901
|
#
|
898
902
|
# The values returned are strongly consistent.
|
899
903
|
#
|
904
|
+
# There is no additional cost associated with requesting a return value
|
905
|
+
# aside from the small network and processing overhead of receiving a
|
906
|
+
# larger response. No read capacity units are consumed.
|
907
|
+
#
|
900
908
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
901
909
|
# however, `PutItem` does not recognize any values other than `NONE` or
|
902
910
|
# `ALL_OLD`.
|
@@ -1097,8 +1105,9 @@ module Aws::DynamoDB
|
|
1097
1105
|
# matching items themselves.
|
1098
1106
|
#
|
1099
1107
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
1100
|
-
# `
|
1101
|
-
# `
|
1108
|
+
# `ProjectionExpression`. This return value is equivalent to
|
1109
|
+
# specifying `ProjectionExpression` without specifying any value for
|
1110
|
+
# `Select`.
|
1102
1111
|
#
|
1103
1112
|
# If you query or scan a local secondary index and request only
|
1104
1113
|
# attributes that are projected into that index, the operation will
|
@@ -1111,12 +1120,12 @@ module Aws::DynamoDB
|
|
1111
1120
|
# attributes that are projected into the index. Global secondary index
|
1112
1121
|
# queries cannot fetch attributes from the parent table.
|
1113
1122
|
#
|
1114
|
-
# If neither `Select` nor `
|
1123
|
+
# If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
|
1115
1124
|
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
1116
1125
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
1117
|
-
# both `Select` and `
|
1126
|
+
# both `Select` and `ProjectionExpression` together in a single request,
|
1118
1127
|
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
|
1119
|
-
# equivalent to specifying `
|
1128
|
+
# equivalent to specifying `ProjectionExpression` without any value for
|
1120
1129
|
# `Select`.)
|
1121
1130
|
#
|
1122
1131
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
@@ -1254,7 +1263,7 @@ module Aws::DynamoDB
|
|
1254
1263
|
#
|
1255
1264
|
#
|
1256
1265
|
#
|
1257
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
1266
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
1258
1267
|
# @option options [String] :key_condition_expression
|
1259
1268
|
# The condition that specifies the key values for items to be retrieved
|
1260
1269
|
# by the `Query` action.
|
@@ -1501,8 +1510,9 @@ module Aws::DynamoDB
|
|
1501
1510
|
# matching items themselves.
|
1502
1511
|
#
|
1503
1512
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
1504
|
-
# `
|
1505
|
-
# `
|
1513
|
+
# `ProjectionExpression`. This return value is equivalent to
|
1514
|
+
# specifying `ProjectionExpression` without specifying any value for
|
1515
|
+
# `Select`.
|
1506
1516
|
#
|
1507
1517
|
# If you query or scan a local secondary index and request only
|
1508
1518
|
# attributes that are projected into that index, the operation reads
|
@@ -1515,12 +1525,12 @@ module Aws::DynamoDB
|
|
1515
1525
|
# attributes that are projected into the index. Global secondary index
|
1516
1526
|
# queries cannot fetch attributes from the parent table.
|
1517
1527
|
#
|
1518
|
-
# If neither `Select` nor `
|
1528
|
+
# If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
|
1519
1529
|
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
1520
1530
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
1521
|
-
# both `Select` and `
|
1531
|
+
# both `Select` and `ProjectionExpression` together in a single request,
|
1522
1532
|
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
|
1523
|
-
# equivalent to specifying `
|
1533
|
+
# equivalent to specifying `ProjectionExpression` without any value for
|
1524
1534
|
# `Select`.)
|
1525
1535
|
#
|
1526
1536
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
@@ -1633,7 +1643,7 @@ module Aws::DynamoDB
|
|
1633
1643
|
#
|
1634
1644
|
#
|
1635
1645
|
#
|
1636
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
1646
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
1637
1647
|
# @option options [Hash<String,String>] :expression_attribute_names
|
1638
1648
|
# One or more substitution tokens for attribute names in an expression.
|
1639
1649
|
# The following are some use cases for using
|
@@ -164,7 +164,7 @@ module Aws::DynamoDB
|
|
164
164
|
# @!attribute [rw] l
|
165
165
|
# An attribute of type List. For example:
|
166
166
|
#
|
167
|
-
# `"L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N"
|
167
|
+
# `"L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N": "3.14159"\}]`
|
168
168
|
# @return [Array<Types::AttributeValue>]
|
169
169
|
#
|
170
170
|
# @!attribute [rw] null
|
@@ -304,10 +304,9 @@ module Aws::DynamoDB
|
|
304
304
|
#
|
305
305
|
# * `DELETE` - Nothing happens; there is no attribute to delete.
|
306
306
|
#
|
307
|
-
# * `ADD` - DynamoDB creates
|
308
|
-
# number (or set
|
309
|
-
#
|
310
|
-
# be specified.
|
307
|
+
# * `ADD` - DynamoDB creates a new item with the supplied primary key
|
308
|
+
# and number (or set) for the attribute value. The only data types
|
309
|
+
# allowed are number, number set, string set or binary set.
|
311
310
|
# @return [String]
|
312
311
|
#
|
313
312
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValueUpdate AWS API Documentation
|
@@ -605,7 +604,9 @@ module Aws::DynamoDB
|
|
605
604
|
# @return [String]
|
606
605
|
#
|
607
606
|
# @!attribute [rw] backup_size_bytes
|
608
|
-
# Size of the backup in bytes.
|
607
|
+
# Size of the backup in bytes. DynamoDB updates this value
|
608
|
+
# approximately every six hours. Recent changes might not be reflected
|
609
|
+
# in this value.
|
609
610
|
# @return [Integer]
|
610
611
|
#
|
611
612
|
# @!attribute [rw] backup_status
|
@@ -2522,6 +2523,10 @@ module Aws::DynamoDB
|
|
2522
2523
|
#
|
2523
2524
|
# * `ALL_OLD` - The content of the old item is returned.
|
2524
2525
|
#
|
2526
|
+
# There is no additional cost associated with requesting a return
|
2527
|
+
# value aside from the small network and processing overhead of
|
2528
|
+
# receiving a larger response. No read capacity units are consumed.
|
2529
|
+
#
|
2525
2530
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
2526
2531
|
# however, `DeleteItem` does not recognize any values other than
|
2527
2532
|
# `NONE` or `ALL_OLD`.
|
@@ -3958,8 +3963,9 @@ module Aws::DynamoDB
|
|
3958
3963
|
# @return [String]
|
3959
3964
|
#
|
3960
3965
|
# @!attribute [rw] export_time
|
3961
|
-
# Time in the past from which to export table data
|
3962
|
-
#
|
3966
|
+
# Time in the past from which to export table data, counted in seconds
|
3967
|
+
# from the start of the Unix epoch. The table export will be a
|
3968
|
+
# snapshot of the table's state at this point in time.
|
3963
3969
|
# @return [Time]
|
3964
3970
|
#
|
3965
3971
|
# @!attribute [rw] client_token
|
@@ -5188,17 +5194,17 @@ module Aws::DynamoDB
|
|
5188
5194
|
# There is no limit to the number of daily on-demand backups that can be
|
5189
5195
|
# taken.
|
5190
5196
|
#
|
5191
|
-
# Up to
|
5197
|
+
# Up to 500 simultaneous table operations are allowed per account. These
|
5192
5198
|
# operations include `CreateTable`, `UpdateTable`,
|
5193
5199
|
# `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and
|
5194
5200
|
# `RestoreTableToPointInTime`.
|
5195
5201
|
#
|
5196
5202
|
# The only exception is when you are creating a table with one or more
|
5197
|
-
# secondary indexes. You can have up to
|
5203
|
+
# secondary indexes. You can have up to 250 such requests running at a
|
5198
5204
|
# time; however, if the table or index specifications are complex,
|
5199
5205
|
# DynamoDB might temporarily reduce the number of concurrent operations.
|
5200
5206
|
#
|
5201
|
-
# There is a soft account quota of
|
5207
|
+
# There is a soft account quota of 2,500 tables.
|
5202
5208
|
#
|
5203
5209
|
# @!attribute [rw] message
|
5204
5210
|
# Too many operations for a given subscriber.
|
@@ -5255,7 +5261,8 @@ module Aws::DynamoDB
|
|
5255
5261
|
#
|
5256
5262
|
# Where `BackupType` can be:
|
5257
5263
|
#
|
5258
|
-
# * `USER` - On-demand backup created by you.
|
5264
|
+
# * `USER` - On-demand backup created by you. (The default setting if
|
5265
|
+
# no other backup types are specified.)
|
5259
5266
|
#
|
5260
5267
|
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
5261
5268
|
#
|
@@ -5859,7 +5866,7 @@ module Aws::DynamoDB
|
|
5859
5866
|
#
|
5860
5867
|
# For local secondary indexes, the total count of `NonKeyAttributes`
|
5861
5868
|
# summed across all of the local secondary indexes, must not exceed
|
5862
|
-
#
|
5869
|
+
# 100. If you project the same attribute into two different indexes,
|
5863
5870
|
# this counts as two distinct attributes when determining the total.
|
5864
5871
|
# @return [Array<String>]
|
5865
5872
|
#
|
@@ -6180,6 +6187,10 @@ module Aws::DynamoDB
|
|
6180
6187
|
#
|
6181
6188
|
# The values returned are strongly consistent.
|
6182
6189
|
#
|
6190
|
+
# There is no additional cost associated with requesting a return
|
6191
|
+
# value aside from the small network and processing overhead of
|
6192
|
+
# receiving a larger response. No read capacity units are consumed.
|
6193
|
+
#
|
6183
6194
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
6184
6195
|
# however, `PutItem` does not recognize any values other than `NONE`
|
6185
6196
|
# or `ALL_OLD`.
|
@@ -6505,8 +6516,9 @@ module Aws::DynamoDB
|
|
6505
6516
|
# matching items themselves.
|
6506
6517
|
#
|
6507
6518
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
6508
|
-
# `
|
6509
|
-
# `
|
6519
|
+
# `ProjectionExpression`. This return value is equivalent to
|
6520
|
+
# specifying `ProjectionExpression` without specifying any value for
|
6521
|
+
# `Select`.
|
6510
6522
|
#
|
6511
6523
|
# If you query or scan a local secondary index and request only
|
6512
6524
|
# attributes that are projected into that index, the operation will
|
@@ -6520,13 +6532,13 @@ module Aws::DynamoDB
|
|
6520
6532
|
# secondary index queries cannot fetch attributes from the parent
|
6521
6533
|
# table.
|
6522
6534
|
#
|
6523
|
-
# If neither `Select` nor `
|
6524
|
-
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
6535
|
+
# If neither `Select` nor `ProjectionExpression` are specified,
|
6536
|
+
# DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
6525
6537
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
6526
|
-
# both `Select` and `
|
6527
|
-
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
6528
|
-
# is equivalent to specifying `
|
6529
|
-
# `Select`.)
|
6538
|
+
# both `Select` and `ProjectionExpression` together in a single
|
6539
|
+
# request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
6540
|
+
# (This usage is equivalent to specifying `ProjectionExpression`
|
6541
|
+
# without any value for `Select`.)
|
6530
6542
|
#
|
6531
6543
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
6532
6544
|
# `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
|
@@ -6688,7 +6700,7 @@ module Aws::DynamoDB
|
|
6688
6700
|
#
|
6689
6701
|
#
|
6690
6702
|
#
|
6691
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
6703
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
6692
6704
|
# @return [String]
|
6693
6705
|
#
|
6694
6706
|
# @!attribute [rw] key_condition_expression
|
@@ -7658,6 +7670,12 @@ module Aws::DynamoDB
|
|
7658
7670
|
# `DeleteTableReplica` action in the destination Region, deleting the
|
7659
7671
|
# replica and all if its items in the destination Region.
|
7660
7672
|
#
|
7673
|
+
# <note markdown="1"> When you manually remove a table or global table replica, you do not
|
7674
|
+
# automatically remove any associated scalable targets, scaling
|
7675
|
+
# policies, or CloudWatch alarms.
|
7676
|
+
#
|
7677
|
+
# </note>
|
7678
|
+
#
|
7661
7679
|
# @note When making an API call, you may pass ReplicationGroupUpdate
|
7662
7680
|
# data as a hash:
|
7663
7681
|
#
|
@@ -8233,8 +8251,9 @@ module Aws::DynamoDB
|
|
8233
8251
|
# matching items themselves.
|
8234
8252
|
#
|
8235
8253
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
8236
|
-
# `
|
8237
|
-
# `
|
8254
|
+
# `ProjectionExpression`. This return value is equivalent to
|
8255
|
+
# specifying `ProjectionExpression` without specifying any value for
|
8256
|
+
# `Select`.
|
8238
8257
|
#
|
8239
8258
|
# If you query or scan a local secondary index and request only
|
8240
8259
|
# attributes that are projected into that index, the operation reads
|
@@ -8248,13 +8267,13 @@ module Aws::DynamoDB
|
|
8248
8267
|
# secondary index queries cannot fetch attributes from the parent
|
8249
8268
|
# table.
|
8250
8269
|
#
|
8251
|
-
# If neither `Select` nor `
|
8252
|
-
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
8270
|
+
# If neither `Select` nor `ProjectionExpression` are specified,
|
8271
|
+
# DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
8253
8272
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
8254
|
-
# both `Select` and `
|
8255
|
-
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
8256
|
-
# is equivalent to specifying `
|
8257
|
-
# `Select`.)
|
8273
|
+
# both `Select` and `ProjectionExpression` together in a single
|
8274
|
+
# request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
8275
|
+
# (This usage is equivalent to specifying `ProjectionExpression`
|
8276
|
+
# without any value for `Select`.)
|
8258
8277
|
#
|
8259
8278
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
8260
8279
|
# `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
|
@@ -8385,7 +8404,7 @@ module Aws::DynamoDB
|
|
8385
8404
|
#
|
8386
8405
|
#
|
8387
8406
|
#
|
8388
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
8407
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
8389
8408
|
# @return [String]
|
8390
8409
|
#
|
8391
8410
|
# @!attribute [rw] expression_attribute_names
|
@@ -8943,7 +8962,7 @@ module Aws::DynamoDB
|
|
8943
8962
|
# * `NonKeyAttributes` - A list of one or more non-key attribute
|
8944
8963
|
# names that are projected into the secondary index. The total
|
8945
8964
|
# count of attributes provided in `NonKeyAttributes`, summed
|
8946
|
-
# across all of the secondary indexes, must not exceed
|
8965
|
+
# across all of the secondary indexes, must not exceed 100. If you
|
8947
8966
|
# project the same attribute into two different indexes, this
|
8948
8967
|
# counts as two distinct attributes when determining the total.
|
8949
8968
|
#
|
@@ -9023,7 +9042,7 @@ module Aws::DynamoDB
|
|
9023
9042
|
# * `NonKeyAttributes` - A list of one or more non-key attribute
|
9024
9043
|
# names that are projected into the secondary index. The total
|
9025
9044
|
# count of attributes provided in `NonKeyAttributes`, summed
|
9026
|
-
# across all of the secondary indexes, must not exceed
|
9045
|
+
# across all of the secondary indexes, must not exceed 100. If you
|
9027
9046
|
# project the same attribute into two different indexes, this
|
9028
9047
|
# counts as two distinct attributes when determining the total.
|
9029
9048
|
#
|
@@ -9133,7 +9152,8 @@ module Aws::DynamoDB
|
|
9133
9152
|
end
|
9134
9153
|
|
9135
9154
|
# A source table with the name `TableName` does not currently exist
|
9136
|
-
# within the subscriber's account
|
9155
|
+
# within the subscriber's account or the subscriber is operating in the
|
9156
|
+
# wrong Amazon Web Services Region.
|
9137
9157
|
#
|
9138
9158
|
# @!attribute [rw] message
|
9139
9159
|
# @return [String]
|
@@ -9675,7 +9695,7 @@ module Aws::DynamoDB
|
|
9675
9695
|
# <note markdown="1"> If using Java, DynamoDB lists the cancellation reasons on the
|
9676
9696
|
# `CancellationReasons` property. This property is not set for other
|
9677
9697
|
# languages. Transaction cancellation reasons are ordered in the order
|
9678
|
-
# of requested items, if an item has no error it will have `
|
9698
|
+
# of requested items, if an item has no error it will have `None` code
|
9679
9699
|
# and `Null` message.
|
9680
9700
|
#
|
9681
9701
|
# </note>
|
@@ -9684,7 +9704,7 @@ module Aws::DynamoDB
|
|
9684
9704
|
#
|
9685
9705
|
# * No Errors:
|
9686
9706
|
#
|
9687
|
-
# * Code: `
|
9707
|
+
# * Code: `None`
|
9688
9708
|
#
|
9689
9709
|
# * Message: `null`
|
9690
9710
|
#
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dynamodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.75.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|