aws-sdk-dynamodb 1.83.0 → 1.85.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +23 -24
- data/lib/aws-sdk-dynamodb/resource.rb +14 -6
- data/lib/aws-sdk-dynamodb/table.rb +42 -28
- data/lib/aws-sdk-dynamodb/types.rb +43 -44
- 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: 221b5867daf131f845d838853787c6543d8ff0bd4d54ad98e6f68abacfc374cf
|
4
|
+
data.tar.gz: 033f302798423df43dbc7e9c258122498166dc7c77fe9c56e53307ed530c6139
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1e726f9480b66ff18158772366c3ad6c214cdc1ce05793827e0eaca730cf9708c5782efcebeb3842255e84673f25b3ce5cdb6e4295a4e83c26c94347223a5c1
|
7
|
+
data.tar.gz: 829e3c6f5b12d1507ccdfcf5e5575f0993e3b347f126328e50f68121f02996ce6c5f226fcdf4085fa748a960ae36ae32b4d61f0ec94871e3a6ffd3afeac95ac5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.85.0 (2023-05-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.84.0 (2023-04-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for DynamoDB API
|
13
|
+
|
4
14
|
1.83.0 (2023-03-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.85.0
|
@@ -286,6 +286,11 @@ module Aws::DynamoDB
|
|
286
286
|
# in the future.
|
287
287
|
#
|
288
288
|
#
|
289
|
+
# @option options [String] :sdk_ua_app_id
|
290
|
+
# A unique and opaque application ID that is appended to the
|
291
|
+
# User-Agent header as app/<sdk_ua_app_id>. It should have a
|
292
|
+
# maximum length of 50.
|
293
|
+
#
|
289
294
|
# @option options [String] :secret_access_key
|
290
295
|
#
|
291
296
|
# @option options [String] :session_token
|
@@ -534,8 +539,8 @@ module Aws::DynamoDB
|
|
534
539
|
# every table in the request. If you want strongly consistent reads
|
535
540
|
# instead, you can set `ConsistentRead` to `true` for any or all tables.
|
536
541
|
#
|
537
|
-
# In order to minimize response latency, `BatchGetItem`
|
538
|
-
# in parallel.
|
542
|
+
# In order to minimize response latency, `BatchGetItem` may retrieve
|
543
|
+
# items in parallel.
|
539
544
|
#
|
540
545
|
# When designing your application, keep in mind that DynamoDB does not
|
541
546
|
# return items in any particular order. To help parse the response by
|
@@ -565,7 +570,7 @@ module Aws::DynamoDB
|
|
565
570
|
#
|
566
571
|
# * `ExpressionAttributeNames` - One or more substitution tokens for
|
567
572
|
# attribute names in the `ProjectionExpression` parameter. The
|
568
|
-
# following are some use cases for using `ExpressionAttributeNames
|
573
|
+
# following are some use cases for using `ExpressionAttributeNames`:
|
569
574
|
#
|
570
575
|
# * To access an attribute whose name conflicts with a DynamoDB
|
571
576
|
# reserved word.
|
@@ -587,7 +592,7 @@ module Aws::DynamoDB
|
|
587
592
|
# cannot be used directly in an expression. (For the complete list of
|
588
593
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
589
594
|
# Developer Guide*). To work around this, you could specify the
|
590
|
-
# following for `ExpressionAttributeNames
|
595
|
+
# following for `ExpressionAttributeNames`:
|
591
596
|
#
|
592
597
|
# * `\{"#P":"Percentile"\}`
|
593
598
|
#
|
@@ -1864,8 +1869,7 @@ module Aws::DynamoDB
|
|
1864
1869
|
#
|
1865
1870
|
# @option params [Hash<String,String>] :expression_attribute_names
|
1866
1871
|
# One or more substitution tokens for attribute names in an expression.
|
1867
|
-
# The following are some use cases for using
|
1868
|
-
# `ExpressionAttributeNames`\:
|
1872
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
1869
1873
|
#
|
1870
1874
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
1871
1875
|
# word.
|
@@ -1887,7 +1891,7 @@ module Aws::DynamoDB
|
|
1887
1891
|
# cannot be used directly in an expression. (For the complete list of
|
1888
1892
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
1889
1893
|
# Developer Guide*). To work around this, you could specify the
|
1890
|
-
# following for `ExpressionAttributeNames
|
1894
|
+
# following for `ExpressionAttributeNames`:
|
1891
1895
|
#
|
1892
1896
|
# * `\{"#P":"Percentile"\}`
|
1893
1897
|
#
|
@@ -3544,8 +3548,7 @@ module Aws::DynamoDB
|
|
3544
3548
|
#
|
3545
3549
|
# @option params [Hash<String,String>] :expression_attribute_names
|
3546
3550
|
# One or more substitution tokens for attribute names in an expression.
|
3547
|
-
# The following are some use cases for using
|
3548
|
-
# `ExpressionAttributeNames`\:
|
3551
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
3549
3552
|
#
|
3550
3553
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
3551
3554
|
# word.
|
@@ -3567,7 +3570,7 @@ module Aws::DynamoDB
|
|
3567
3570
|
# cannot be used directly in an expression. (For the complete list of
|
3568
3571
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
3569
3572
|
# Developer Guide*). To work around this, you could specify the
|
3570
|
-
# following for `ExpressionAttributeNames
|
3573
|
+
# following for `ExpressionAttributeNames`:
|
3571
3574
|
#
|
3572
3575
|
# * `\{"#P":"Percentile"\}`
|
3573
3576
|
#
|
@@ -4379,8 +4382,7 @@ module Aws::DynamoDB
|
|
4379
4382
|
#
|
4380
4383
|
# @option params [Hash<String,String>] :expression_attribute_names
|
4381
4384
|
# One or more substitution tokens for attribute names in an expression.
|
4382
|
-
# The following are some use cases for using
|
4383
|
-
# `ExpressionAttributeNames`\:
|
4385
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
4384
4386
|
#
|
4385
4387
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
4386
4388
|
# word.
|
@@ -4402,7 +4404,7 @@ module Aws::DynamoDB
|
|
4402
4404
|
# cannot be used directly in an expression. (For the complete list of
|
4403
4405
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
4404
4406
|
# Developer Guide*). To work around this, you could specify the
|
4405
|
-
# following for `ExpressionAttributeNames
|
4407
|
+
# following for `ExpressionAttributeNames`:
|
4406
4408
|
#
|
4407
4409
|
# * `\{"#P":"Percentile"\}`
|
4408
4410
|
#
|
@@ -4897,8 +4899,7 @@ module Aws::DynamoDB
|
|
4897
4899
|
#
|
4898
4900
|
# @option params [Hash<String,String>] :expression_attribute_names
|
4899
4901
|
# One or more substitution tokens for attribute names in an expression.
|
4900
|
-
# The following are some use cases for using
|
4901
|
-
# `ExpressionAttributeNames`\:
|
4902
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
4902
4903
|
#
|
4903
4904
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
4904
4905
|
# word.
|
@@ -4920,7 +4921,7 @@ module Aws::DynamoDB
|
|
4920
4921
|
# cannot be used directly in an expression. (For the complete list of
|
4921
4922
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
4922
4923
|
# Developer Guide*). To work around this, you could specify the
|
4923
|
-
# following for `ExpressionAttributeNames
|
4924
|
+
# following for `ExpressionAttributeNames`:
|
4924
4925
|
#
|
4925
4926
|
# * `\{"#P":"Percentile"\}`
|
4926
4927
|
#
|
@@ -5083,7 +5084,7 @@ module Aws::DynamoDB
|
|
5083
5084
|
end
|
5084
5085
|
|
5085
5086
|
# Creates a new table from an existing backup. Any number of users can
|
5086
|
-
# execute up to
|
5087
|
+
# execute up to 50 concurrent restores (any type of restore) in a given
|
5087
5088
|
# account.
|
5088
5089
|
#
|
5089
5090
|
# You can call `RestoreTableFromBackup` at a maximum rate of 10 times
|
@@ -5743,8 +5744,7 @@ module Aws::DynamoDB
|
|
5743
5744
|
#
|
5744
5745
|
# @option params [Hash<String,String>] :expression_attribute_names
|
5745
5746
|
# One or more substitution tokens for attribute names in an expression.
|
5746
|
-
# The following are some use cases for using
|
5747
|
-
# `ExpressionAttributeNames`\:
|
5747
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
5748
5748
|
#
|
5749
5749
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
5750
5750
|
# word.
|
@@ -5766,7 +5766,7 @@ module Aws::DynamoDB
|
|
5766
5766
|
# cannot be used directly in an expression. (For the complete list of
|
5767
5767
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
5768
5768
|
# Developer Guide*). To work around this, you could specify the
|
5769
|
-
# following for `ExpressionAttributeNames
|
5769
|
+
# following for `ExpressionAttributeNames`:
|
5770
5770
|
#
|
5771
5771
|
# * `\{"#P":"Percentile"\}`
|
5772
5772
|
#
|
@@ -6958,8 +6958,7 @@ module Aws::DynamoDB
|
|
6958
6958
|
#
|
6959
6959
|
# @option params [Hash<String,String>] :expression_attribute_names
|
6960
6960
|
# One or more substitution tokens for attribute names in an expression.
|
6961
|
-
# The following are some use cases for using
|
6962
|
-
# `ExpressionAttributeNames`\:
|
6961
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
6963
6962
|
#
|
6964
6963
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
6965
6964
|
# word.
|
@@ -6981,7 +6980,7 @@ module Aws::DynamoDB
|
|
6981
6980
|
# cannot be used directly in an expression. (For the complete list of
|
6982
6981
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
6983
6982
|
# Developer Guide*.) To work around this, you could specify the
|
6984
|
-
# following for `ExpressionAttributeNames
|
6983
|
+
# following for `ExpressionAttributeNames`:
|
6985
6984
|
#
|
6986
6985
|
# * `\{"#P":"Percentile"\}`
|
6987
6986
|
#
|
@@ -7754,7 +7753,7 @@ module Aws::DynamoDB
|
|
7754
7753
|
params: params,
|
7755
7754
|
config: config)
|
7756
7755
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
7757
|
-
context[:gem_version] = '1.
|
7756
|
+
context[:gem_version] = '1.85.0'
|
7758
7757
|
Seahorse::Client::Request.new(handlers, context)
|
7759
7758
|
end
|
7760
7759
|
|
@@ -69,7 +69,7 @@ module Aws::DynamoDB
|
|
69
69
|
#
|
70
70
|
# * `ExpressionAttributeNames` - One or more substitution tokens for
|
71
71
|
# attribute names in the `ProjectionExpression` parameter. The
|
72
|
-
# following are some use cases for using `ExpressionAttributeNames
|
72
|
+
# following are some use cases for using `ExpressionAttributeNames`:
|
73
73
|
#
|
74
74
|
# * To access an attribute whose name conflicts with a DynamoDB
|
75
75
|
# reserved word.
|
@@ -91,7 +91,7 @@ module Aws::DynamoDB
|
|
91
91
|
# cannot be used directly in an expression. (For the complete list of
|
92
92
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
93
93
|
# Developer Guide*). To work around this, you could specify the
|
94
|
-
# following for `ExpressionAttributeNames
|
94
|
+
# following for `ExpressionAttributeNames`:
|
95
95
|
#
|
96
96
|
# * `\{"#P":"Percentile"\}`
|
97
97
|
#
|
@@ -160,7 +160,9 @@ module Aws::DynamoDB
|
|
160
160
|
# * `NONE` - No `ConsumedCapacity` details are included in the response.
|
161
161
|
# @return [Types::BatchGetItemOutput]
|
162
162
|
def batch_get_item(options = {})
|
163
|
-
resp =
|
163
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
164
|
+
@client.batch_get_item(options)
|
165
|
+
end
|
164
166
|
resp.data
|
165
167
|
end
|
166
168
|
|
@@ -241,7 +243,9 @@ module Aws::DynamoDB
|
|
241
243
|
# response. If set to `NONE` (the default), no statistics are returned.
|
242
244
|
# @return [Types::BatchWriteItemOutput]
|
243
245
|
def batch_write_item(options = {})
|
244
|
-
resp =
|
246
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
247
|
+
@client.batch_write_item(options)
|
248
|
+
end
|
245
249
|
resp.data
|
246
250
|
end
|
247
251
|
|
@@ -518,7 +522,9 @@ module Aws::DynamoDB
|
|
518
522
|
# disabled (false) on the table.
|
519
523
|
# @return [Table]
|
520
524
|
def create_table(options = {})
|
521
|
-
resp =
|
525
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
526
|
+
@client.create_table(options)
|
527
|
+
end
|
522
528
|
Table.new(
|
523
529
|
name: resp.data.table_description.table_name,
|
524
530
|
data: resp.data.table_description,
|
@@ -544,7 +550,9 @@ module Aws::DynamoDB
|
|
544
550
|
# @return [Table::Collection]
|
545
551
|
def tables(options = {})
|
546
552
|
batches = Enumerator.new do |y|
|
547
|
-
resp =
|
553
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
554
|
+
@client.list_tables(options)
|
555
|
+
end
|
548
556
|
resp.each_page do |page|
|
549
557
|
batch = []
|
550
558
|
page.data.table_names.each do |t|
|
@@ -384,7 +384,9 @@ module Aws::DynamoDB
|
|
384
384
|
#
|
385
385
|
# @return [self]
|
386
386
|
def load
|
387
|
-
resp =
|
387
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
388
|
+
@client.describe_table(table_name: @name)
|
389
|
+
end
|
388
390
|
@data = resp.table
|
389
391
|
self
|
390
392
|
end
|
@@ -499,7 +501,9 @@ module Aws::DynamoDB
|
|
499
501
|
:retry
|
500
502
|
end
|
501
503
|
end
|
502
|
-
Aws::
|
504
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
505
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
506
|
+
end
|
503
507
|
end
|
504
508
|
|
505
509
|
# @!group Actions
|
@@ -511,7 +515,9 @@ module Aws::DynamoDB
|
|
511
515
|
# @return [Types::DeleteTableOutput]
|
512
516
|
def delete(options = {})
|
513
517
|
options = options.merge(table_name: @name)
|
514
|
-
resp =
|
518
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
519
|
+
@client.delete_table(options)
|
520
|
+
end
|
515
521
|
resp.data
|
516
522
|
end
|
517
523
|
|
@@ -630,8 +636,7 @@ module Aws::DynamoDB
|
|
630
636
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
631
637
|
# @option options [Hash<String,String>] :expression_attribute_names
|
632
638
|
# One or more substitution tokens for attribute names in an expression.
|
633
|
-
# The following are some use cases for using
|
634
|
-
# `ExpressionAttributeNames`\:
|
639
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
635
640
|
#
|
636
641
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
637
642
|
# word.
|
@@ -653,7 +658,7 @@ module Aws::DynamoDB
|
|
653
658
|
# cannot be used directly in an expression. (For the complete list of
|
654
659
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
655
660
|
# Developer Guide*). To work around this, you could specify the
|
656
|
-
# following for `ExpressionAttributeNames
|
661
|
+
# following for `ExpressionAttributeNames`:
|
657
662
|
#
|
658
663
|
# * `\{"#P":"Percentile"\}`
|
659
664
|
#
|
@@ -706,7 +711,9 @@ module Aws::DynamoDB
|
|
706
711
|
# @return [Types::DeleteItemOutput]
|
707
712
|
def delete_item(options = {})
|
708
713
|
options = options.merge(table_name: @name)
|
709
|
-
resp =
|
714
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
715
|
+
@client.delete_item(options)
|
716
|
+
end
|
710
717
|
resp.data
|
711
718
|
end
|
712
719
|
|
@@ -779,8 +786,7 @@ module Aws::DynamoDB
|
|
779
786
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
780
787
|
# @option options [Hash<String,String>] :expression_attribute_names
|
781
788
|
# One or more substitution tokens for attribute names in an expression.
|
782
|
-
# The following are some use cases for using
|
783
|
-
# `ExpressionAttributeNames`\:
|
789
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
784
790
|
#
|
785
791
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
786
792
|
# word.
|
@@ -802,7 +808,7 @@ module Aws::DynamoDB
|
|
802
808
|
# cannot be used directly in an expression. (For the complete list of
|
803
809
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
804
810
|
# Developer Guide*). To work around this, you could specify the
|
805
|
-
# following for `ExpressionAttributeNames
|
811
|
+
# following for `ExpressionAttributeNames`:
|
806
812
|
#
|
807
813
|
# * `\{"#P":"Percentile"\}`
|
808
814
|
#
|
@@ -830,7 +836,9 @@ module Aws::DynamoDB
|
|
830
836
|
# @return [Types::GetItemOutput]
|
831
837
|
def get_item(options = {})
|
832
838
|
options = options.merge(table_name: @name)
|
833
|
-
resp =
|
839
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
840
|
+
@client.get_item(options)
|
841
|
+
end
|
834
842
|
resp.data
|
835
843
|
end
|
836
844
|
|
@@ -970,8 +978,7 @@ module Aws::DynamoDB
|
|
970
978
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
971
979
|
# @option options [Hash<String,String>] :expression_attribute_names
|
972
980
|
# One or more substitution tokens for attribute names in an expression.
|
973
|
-
# The following are some use cases for using
|
974
|
-
# `ExpressionAttributeNames`\:
|
981
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
975
982
|
#
|
976
983
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
977
984
|
# word.
|
@@ -993,7 +1000,7 @@ module Aws::DynamoDB
|
|
993
1000
|
# cannot be used directly in an expression. (For the complete list of
|
994
1001
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
995
1002
|
# Developer Guide*). To work around this, you could specify the
|
996
|
-
# following for `ExpressionAttributeNames
|
1003
|
+
# following for `ExpressionAttributeNames`:
|
997
1004
|
#
|
998
1005
|
# * `\{"#P":"Percentile"\}`
|
999
1006
|
#
|
@@ -1046,7 +1053,9 @@ module Aws::DynamoDB
|
|
1046
1053
|
# @return [Types::PutItemOutput]
|
1047
1054
|
def put_item(options = {})
|
1048
1055
|
options = options.merge(table_name: @name)
|
1049
|
-
resp =
|
1056
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1057
|
+
@client.put_item(options)
|
1058
|
+
end
|
1050
1059
|
resp.data
|
1051
1060
|
end
|
1052
1061
|
|
@@ -1359,8 +1368,7 @@ module Aws::DynamoDB
|
|
1359
1368
|
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html
|
1360
1369
|
# @option options [Hash<String,String>] :expression_attribute_names
|
1361
1370
|
# One or more substitution tokens for attribute names in an expression.
|
1362
|
-
# The following are some use cases for using
|
1363
|
-
# `ExpressionAttributeNames`\:
|
1371
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
1364
1372
|
#
|
1365
1373
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
1366
1374
|
# word.
|
@@ -1382,7 +1390,7 @@ module Aws::DynamoDB
|
|
1382
1390
|
# cannot be used directly in an expression. (For the complete list of
|
1383
1391
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
1384
1392
|
# Developer Guide*). To work around this, you could specify the
|
1385
|
-
# following for `ExpressionAttributeNames
|
1393
|
+
# following for `ExpressionAttributeNames`:
|
1386
1394
|
#
|
1387
1395
|
# * `\{"#P":"Percentile"\}`
|
1388
1396
|
#
|
@@ -1435,7 +1443,9 @@ module Aws::DynamoDB
|
|
1435
1443
|
# @return [Types::QueryOutput]
|
1436
1444
|
def query(options = {})
|
1437
1445
|
options = options.merge(table_name: @name)
|
1438
|
-
resp =
|
1446
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1447
|
+
@client.query(options)
|
1448
|
+
end
|
1439
1449
|
resp.data
|
1440
1450
|
end
|
1441
1451
|
|
@@ -1658,8 +1668,7 @@ module Aws::DynamoDB
|
|
1658
1668
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
1659
1669
|
# @option options [Hash<String,String>] :expression_attribute_names
|
1660
1670
|
# One or more substitution tokens for attribute names in an expression.
|
1661
|
-
# The following are some use cases for using
|
1662
|
-
# `ExpressionAttributeNames`\:
|
1671
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
1663
1672
|
#
|
1664
1673
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
1665
1674
|
# word.
|
@@ -1681,7 +1690,7 @@ module Aws::DynamoDB
|
|
1681
1690
|
# cannot be used directly in an expression. (For the complete list of
|
1682
1691
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
1683
1692
|
# Developer Guide*). To work around this, you could specify the
|
1684
|
-
# following for `ExpressionAttributeNames
|
1693
|
+
# following for `ExpressionAttributeNames`:
|
1685
1694
|
#
|
1686
1695
|
# * `\{"#P":"Percentile"\}`
|
1687
1696
|
#
|
@@ -1751,7 +1760,9 @@ module Aws::DynamoDB
|
|
1751
1760
|
# @return [Types::ScanOutput]
|
1752
1761
|
def scan(options = {})
|
1753
1762
|
options = options.merge(table_name: @name)
|
1754
|
-
resp =
|
1763
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1764
|
+
@client.scan(options)
|
1765
|
+
end
|
1755
1766
|
resp.data
|
1756
1767
|
end
|
1757
1768
|
|
@@ -1931,7 +1942,9 @@ module Aws::DynamoDB
|
|
1931
1942
|
# @return [Table]
|
1932
1943
|
def update(options = {})
|
1933
1944
|
options = options.merge(table_name: @name)
|
1934
|
-
resp =
|
1945
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1946
|
+
@client.update_table(options)
|
1947
|
+
end
|
1935
1948
|
Table.new(
|
1936
1949
|
name: @name,
|
1937
1950
|
data: resp.data.table_description,
|
@@ -2162,8 +2175,7 @@ module Aws::DynamoDB
|
|
2162
2175
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
2163
2176
|
# @option options [Hash<String,String>] :expression_attribute_names
|
2164
2177
|
# One or more substitution tokens for attribute names in an expression.
|
2165
|
-
# The following are some use cases for using
|
2166
|
-
# `ExpressionAttributeNames`\:
|
2178
|
+
# The following are some use cases for using `ExpressionAttributeNames`:
|
2167
2179
|
#
|
2168
2180
|
# * To access an attribute whose name conflicts with a DynamoDB reserved
|
2169
2181
|
# word.
|
@@ -2185,7 +2197,7 @@ module Aws::DynamoDB
|
|
2185
2197
|
# cannot be used directly in an expression. (For the complete list of
|
2186
2198
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
2187
2199
|
# Developer Guide*.) To work around this, you could specify the
|
2188
|
-
# following for `ExpressionAttributeNames
|
2200
|
+
# following for `ExpressionAttributeNames`:
|
2189
2201
|
#
|
2190
2202
|
# * `\{"#P":"Percentile"\}`
|
2191
2203
|
#
|
@@ -2238,7 +2250,9 @@ module Aws::DynamoDB
|
|
2238
2250
|
# @return [Types::UpdateItemOutput]
|
2239
2251
|
def update_item(options = {})
|
2240
2252
|
options = options.merge(table_name: @name)
|
2241
|
-
resp =
|
2253
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2254
|
+
@client.update_item(options)
|
2255
|
+
end
|
2242
2256
|
resp.data
|
2243
2257
|
end
|
2244
2258
|
|
@@ -747,8 +747,7 @@ module Aws::DynamoDB
|
|
747
747
|
#
|
748
748
|
# * `ExpressionAttributeNames` - One or more substitution tokens for
|
749
749
|
# attribute names in the `ProjectionExpression` parameter. The
|
750
|
-
# following are some use cases for using
|
751
|
-
# `ExpressionAttributeNames`\:
|
750
|
+
# following are some use cases for using `ExpressionAttributeNames`:
|
752
751
|
#
|
753
752
|
# * To access an attribute whose name conflicts with a DynamoDB
|
754
753
|
# reserved word.
|
@@ -771,7 +770,7 @@ module Aws::DynamoDB
|
|
771
770
|
# cannot be used directly in an expression. (For the complete list
|
772
771
|
# of reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
773
772
|
# Developer Guide*). To work around this, you could specify the
|
774
|
-
# following for `ExpressionAttributeNames
|
773
|
+
# following for `ExpressionAttributeNames`:
|
775
774
|
#
|
776
775
|
# * `\{"#P":"Percentile"\}`
|
777
776
|
#
|
@@ -1276,7 +1275,7 @@ module Aws::DynamoDB
|
|
1276
1275
|
#
|
1277
1276
|
# The following are descriptions of each comparison operator.
|
1278
1277
|
#
|
1279
|
-
# * `EQ
|
1278
|
+
# * `EQ` : Equal. `EQ` is supported for all data types, including
|
1280
1279
|
# lists and maps.
|
1281
1280
|
#
|
1282
1281
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
@@ -1289,7 +1288,7 @@ module Aws::DynamoDB
|
|
1289
1288
|
#
|
1290
1289
|
#
|
1291
1290
|
#
|
1292
|
-
# * `NE
|
1291
|
+
# * `NE` : Not equal. `NE` is supported for all data types, including
|
1293
1292
|
# lists and maps.
|
1294
1293
|
#
|
1295
1294
|
# `AttributeValueList` can contain only one `AttributeValue` of type
|
@@ -1301,7 +1300,7 @@ module Aws::DynamoDB
|
|
1301
1300
|
#
|
1302
1301
|
#
|
1303
1302
|
#
|
1304
|
-
# * `LE
|
1303
|
+
# * `LE` : Less than or equal.
|
1305
1304
|
#
|
1306
1305
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
1307
1306
|
# of type String, Number, or Binary (not a set type). If an item
|
@@ -1312,7 +1311,7 @@ module Aws::DynamoDB
|
|
1312
1311
|
#
|
1313
1312
|
#
|
1314
1313
|
#
|
1315
|
-
# * `LT
|
1314
|
+
# * `LT` : Less than.
|
1316
1315
|
#
|
1317
1316
|
# `AttributeValueList` can contain only one `AttributeValue` of type
|
1318
1317
|
# String, Number, or Binary (not a set type). If an item contains an
|
@@ -1323,7 +1322,7 @@ module Aws::DynamoDB
|
|
1323
1322
|
#
|
1324
1323
|
#
|
1325
1324
|
#
|
1326
|
-
# * `GE
|
1325
|
+
# * `GE` : Greater than or equal.
|
1327
1326
|
#
|
1328
1327
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
1329
1328
|
# of type String, Number, or Binary (not a set type). If an item
|
@@ -1334,7 +1333,7 @@ module Aws::DynamoDB
|
|
1334
1333
|
#
|
1335
1334
|
#
|
1336
1335
|
#
|
1337
|
-
# * `GT
|
1336
|
+
# * `GT` : Greater than.
|
1338
1337
|
#
|
1339
1338
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
1340
1339
|
# of type String, Number, or Binary (not a set type). If an item
|
@@ -1345,7 +1344,7 @@ module Aws::DynamoDB
|
|
1345
1344
|
#
|
1346
1345
|
#
|
1347
1346
|
#
|
1348
|
-
# * `NOT_NULL
|
1347
|
+
# * `NOT_NULL` : The attribute exists. `NOT_NULL` is supported for all
|
1349
1348
|
# data types, including lists and maps.
|
1350
1349
|
#
|
1351
1350
|
# <note markdown="1"> This operator tests for the existence of an attribute, not its
|
@@ -1356,7 +1355,7 @@ module Aws::DynamoDB
|
|
1356
1355
|
#
|
1357
1356
|
# </note>
|
1358
1357
|
#
|
1359
|
-
# * `NULL
|
1358
|
+
# * `NULL` : The attribute does not exist. `NULL` is supported for all
|
1360
1359
|
# data types, including lists and maps.
|
1361
1360
|
#
|
1362
1361
|
# <note markdown="1"> This operator tests for the nonexistence of an attribute, not its
|
@@ -1367,7 +1366,7 @@ module Aws::DynamoDB
|
|
1367
1366
|
#
|
1368
1367
|
# </note>
|
1369
1368
|
#
|
1370
|
-
# * `CONTAINS
|
1369
|
+
# * `CONTAINS` : Checks for a subsequence, or value in a set.
|
1371
1370
|
#
|
1372
1371
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
1373
1372
|
# of type String, Number, or Binary (not a set type). If the target
|
@@ -1383,7 +1382,7 @@ module Aws::DynamoDB
|
|
1383
1382
|
# b`", "`a`" can be a list; however, "`b`" cannot be a set, a
|
1384
1383
|
# map, or a list.
|
1385
1384
|
#
|
1386
|
-
# * `NOT_CONTAINS
|
1385
|
+
# * `NOT_CONTAINS` : Checks for absence of a subsequence, or absence
|
1387
1386
|
# of a value in a set.
|
1388
1387
|
#
|
1389
1388
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
@@ -1400,7 +1399,7 @@ module Aws::DynamoDB
|
|
1400
1399
|
# CONTAINS b`", "`a`" can be a list; however, "`b`" cannot be a
|
1401
1400
|
# set, a map, or a list.
|
1402
1401
|
#
|
1403
|
-
# * `BEGINS_WITH
|
1402
|
+
# * `BEGINS_WITH` : Checks for a prefix.
|
1404
1403
|
#
|
1405
1404
|
# `AttributeValueList` can contain only one `AttributeValue` of type
|
1406
1405
|
# String or Binary (not a Number or a set type). The target
|
@@ -1409,7 +1408,7 @@ module Aws::DynamoDB
|
|
1409
1408
|
#
|
1410
1409
|
#
|
1411
1410
|
#
|
1412
|
-
# * `IN
|
1411
|
+
# * `IN` : Checks for matching elements in a list.
|
1413
1412
|
#
|
1414
1413
|
# `AttributeValueList` can contain one or more `AttributeValue`
|
1415
1414
|
# elements of type String, Number, or Binary. These attributes are
|
@@ -1417,7 +1416,7 @@ module Aws::DynamoDB
|
|
1417
1416
|
# of the input are equal to the item attribute, the expression
|
1418
1417
|
# evaluates to true.
|
1419
1418
|
#
|
1420
|
-
# * `BETWEEN
|
1419
|
+
# * `BETWEEN` : Greater than or equal to the first value, and less
|
1421
1420
|
# than or equal to the second value.
|
1422
1421
|
#
|
1423
1422
|
# `AttributeValueList` must contain two `AttributeValue` elements of
|
@@ -2271,7 +2270,7 @@ module Aws::DynamoDB
|
|
2271
2270
|
# @!attribute [rw] expression_attribute_names
|
2272
2271
|
# One or more substitution tokens for attribute names in an
|
2273
2272
|
# expression. The following are some use cases for using
|
2274
|
-
# `ExpressionAttributeNames
|
2273
|
+
# `ExpressionAttributeNames`:
|
2275
2274
|
#
|
2276
2275
|
# * To access an attribute whose name conflicts with a DynamoDB
|
2277
2276
|
# reserved word.
|
@@ -2293,7 +2292,7 @@ module Aws::DynamoDB
|
|
2293
2292
|
# cannot be used directly in an expression. (For the complete list of
|
2294
2293
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
2295
2294
|
# Developer Guide*). To work around this, you could specify the
|
2296
|
-
# following for `ExpressionAttributeNames
|
2295
|
+
# following for `ExpressionAttributeNames`:
|
2297
2296
|
#
|
2298
2297
|
# * `\{"#P":"Percentile"\}`
|
2299
2298
|
#
|
@@ -3163,7 +3162,7 @@ module Aws::DynamoDB
|
|
3163
3162
|
#
|
3164
3163
|
# The following are descriptions of each comparison operator.
|
3165
3164
|
#
|
3166
|
-
# * `EQ
|
3165
|
+
# * `EQ` : Equal. `EQ` is supported for all data types, including
|
3167
3166
|
# lists and maps.
|
3168
3167
|
#
|
3169
3168
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
@@ -3176,7 +3175,7 @@ module Aws::DynamoDB
|
|
3176
3175
|
#
|
3177
3176
|
#
|
3178
3177
|
#
|
3179
|
-
# * `NE
|
3178
|
+
# * `NE` : Not equal. `NE` is supported for all data types, including
|
3180
3179
|
# lists and maps.
|
3181
3180
|
#
|
3182
3181
|
# `AttributeValueList` can contain only one `AttributeValue` of type
|
@@ -3188,7 +3187,7 @@ module Aws::DynamoDB
|
|
3188
3187
|
#
|
3189
3188
|
#
|
3190
3189
|
#
|
3191
|
-
# * `LE
|
3190
|
+
# * `LE` : Less than or equal.
|
3192
3191
|
#
|
3193
3192
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
3194
3193
|
# of type String, Number, or Binary (not a set type). If an item
|
@@ -3199,7 +3198,7 @@ module Aws::DynamoDB
|
|
3199
3198
|
#
|
3200
3199
|
#
|
3201
3200
|
#
|
3202
|
-
# * `LT
|
3201
|
+
# * `LT` : Less than.
|
3203
3202
|
#
|
3204
3203
|
# `AttributeValueList` can contain only one `AttributeValue` of type
|
3205
3204
|
# String, Number, or Binary (not a set type). If an item contains an
|
@@ -3210,7 +3209,7 @@ module Aws::DynamoDB
|
|
3210
3209
|
#
|
3211
3210
|
#
|
3212
3211
|
#
|
3213
|
-
# * `GE
|
3212
|
+
# * `GE` : Greater than or equal.
|
3214
3213
|
#
|
3215
3214
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
3216
3215
|
# of type String, Number, or Binary (not a set type). If an item
|
@@ -3221,7 +3220,7 @@ module Aws::DynamoDB
|
|
3221
3220
|
#
|
3222
3221
|
#
|
3223
3222
|
#
|
3224
|
-
# * `GT
|
3223
|
+
# * `GT` : Greater than.
|
3225
3224
|
#
|
3226
3225
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
3227
3226
|
# of type String, Number, or Binary (not a set type). If an item
|
@@ -3232,7 +3231,7 @@ module Aws::DynamoDB
|
|
3232
3231
|
#
|
3233
3232
|
#
|
3234
3233
|
#
|
3235
|
-
# * `NOT_NULL
|
3234
|
+
# * `NOT_NULL` : The attribute exists. `NOT_NULL` is supported for all
|
3236
3235
|
# data types, including lists and maps.
|
3237
3236
|
#
|
3238
3237
|
# <note markdown="1"> This operator tests for the existence of an attribute, not its
|
@@ -3243,7 +3242,7 @@ module Aws::DynamoDB
|
|
3243
3242
|
#
|
3244
3243
|
# </note>
|
3245
3244
|
#
|
3246
|
-
# * `NULL
|
3245
|
+
# * `NULL` : The attribute does not exist. `NULL` is supported for all
|
3247
3246
|
# data types, including lists and maps.
|
3248
3247
|
#
|
3249
3248
|
# <note markdown="1"> This operator tests for the nonexistence of an attribute, not its
|
@@ -3254,7 +3253,7 @@ module Aws::DynamoDB
|
|
3254
3253
|
#
|
3255
3254
|
# </note>
|
3256
3255
|
#
|
3257
|
-
# * `CONTAINS
|
3256
|
+
# * `CONTAINS` : Checks for a subsequence, or value in a set.
|
3258
3257
|
#
|
3259
3258
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
3260
3259
|
# of type String, Number, or Binary (not a set type). If the target
|
@@ -3270,7 +3269,7 @@ module Aws::DynamoDB
|
|
3270
3269
|
# b`", "`a`" can be a list; however, "`b`" cannot be a set, a
|
3271
3270
|
# map, or a list.
|
3272
3271
|
#
|
3273
|
-
# * `NOT_CONTAINS
|
3272
|
+
# * `NOT_CONTAINS` : Checks for absence of a subsequence, or absence
|
3274
3273
|
# of a value in a set.
|
3275
3274
|
#
|
3276
3275
|
# `AttributeValueList` can contain only one `AttributeValue` element
|
@@ -3287,7 +3286,7 @@ module Aws::DynamoDB
|
|
3287
3286
|
# CONTAINS b`", "`a`" can be a list; however, "`b`" cannot be a
|
3288
3287
|
# set, a map, or a list.
|
3289
3288
|
#
|
3290
|
-
# * `BEGINS_WITH
|
3289
|
+
# * `BEGINS_WITH` : Checks for a prefix.
|
3291
3290
|
#
|
3292
3291
|
# `AttributeValueList` can contain only one `AttributeValue` of type
|
3293
3292
|
# String or Binary (not a Number or a set type). The target
|
@@ -3296,7 +3295,7 @@ module Aws::DynamoDB
|
|
3296
3295
|
#
|
3297
3296
|
#
|
3298
3297
|
#
|
3299
|
-
# * `IN
|
3298
|
+
# * `IN` : Checks for matching elements in a list.
|
3300
3299
|
#
|
3301
3300
|
# `AttributeValueList` can contain one or more `AttributeValue`
|
3302
3301
|
# elements of type String, Number, or Binary. These attributes are
|
@@ -3304,7 +3303,7 @@ module Aws::DynamoDB
|
|
3304
3303
|
# of the input are equal to the item attribute, the expression
|
3305
3304
|
# evaluates to true.
|
3306
3305
|
#
|
3307
|
-
# * `BETWEEN
|
3306
|
+
# * `BETWEEN` : Greater than or equal to the first value, and less
|
3308
3307
|
# than or equal to the second value.
|
3309
3308
|
#
|
3310
3309
|
# `AttributeValueList` must contain two `AttributeValue` elements of
|
@@ -3736,7 +3735,7 @@ module Aws::DynamoDB
|
|
3736
3735
|
# @!attribute [rw] expression_attribute_names
|
3737
3736
|
# One or more substitution tokens for attribute names in an
|
3738
3737
|
# expression. The following are some use cases for using
|
3739
|
-
# `ExpressionAttributeNames
|
3738
|
+
# `ExpressionAttributeNames`:
|
3740
3739
|
#
|
3741
3740
|
# * To access an attribute whose name conflicts with a DynamoDB
|
3742
3741
|
# reserved word.
|
@@ -3758,7 +3757,7 @@ module Aws::DynamoDB
|
|
3758
3757
|
# cannot be used directly in an expression. (For the complete list of
|
3759
3758
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
3760
3759
|
# Developer Guide*). To work around this, you could specify the
|
3761
|
-
# following for `ExpressionAttributeNames
|
3760
|
+
# following for `ExpressionAttributeNames`:
|
3762
3761
|
#
|
3763
3762
|
# * `\{"#P":"Percentile"\}`
|
3764
3763
|
#
|
@@ -4746,7 +4745,7 @@ module Aws::DynamoDB
|
|
4746
4745
|
# @!attribute [rw] expression_attribute_names
|
4747
4746
|
# One or more substitution tokens for attribute names in an
|
4748
4747
|
# expression. The following are some use cases for using
|
4749
|
-
# `ExpressionAttributeNames
|
4748
|
+
# `ExpressionAttributeNames`:
|
4750
4749
|
#
|
4751
4750
|
# * To access an attribute whose name conflicts with a DynamoDB
|
4752
4751
|
# reserved word.
|
@@ -4768,7 +4767,7 @@ module Aws::DynamoDB
|
|
4768
4767
|
# cannot be used directly in an expression. (For the complete list of
|
4769
4768
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
4770
4769
|
# Developer Guide*). To work around this, you could specify the
|
4771
|
-
# following for `ExpressionAttributeNames
|
4770
|
+
# following for `ExpressionAttributeNames`:
|
4772
4771
|
#
|
4773
4772
|
# * `\{"#P":"Percentile"\}`
|
4774
4773
|
#
|
@@ -5832,7 +5831,7 @@ module Aws::DynamoDB
|
|
5832
5831
|
# @!attribute [rw] expression_attribute_names
|
5833
5832
|
# One or more substitution tokens for attribute names in an
|
5834
5833
|
# expression. The following are some use cases for using
|
5835
|
-
# `ExpressionAttributeNames
|
5834
|
+
# `ExpressionAttributeNames`:
|
5836
5835
|
#
|
5837
5836
|
# * To access an attribute whose name conflicts with a DynamoDB
|
5838
5837
|
# reserved word.
|
@@ -5854,7 +5853,7 @@ module Aws::DynamoDB
|
|
5854
5853
|
# cannot be used directly in an expression. (For the complete list of
|
5855
5854
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
5856
5855
|
# Developer Guide*). To work around this, you could specify the
|
5857
|
-
# following for `ExpressionAttributeNames
|
5856
|
+
# following for `ExpressionAttributeNames`:
|
5858
5857
|
#
|
5859
5858
|
# * `\{"#P":"Percentile"\}`
|
5860
5859
|
#
|
@@ -6316,7 +6315,7 @@ module Aws::DynamoDB
|
|
6316
6315
|
# @!attribute [rw] expression_attribute_names
|
6317
6316
|
# One or more substitution tokens for attribute names in an
|
6318
6317
|
# expression. The following are some use cases for using
|
6319
|
-
# `ExpressionAttributeNames
|
6318
|
+
# `ExpressionAttributeNames`:
|
6320
6319
|
#
|
6321
6320
|
# * To access an attribute whose name conflicts with a DynamoDB
|
6322
6321
|
# reserved word.
|
@@ -6338,7 +6337,7 @@ module Aws::DynamoDB
|
|
6338
6337
|
# cannot be used directly in an expression. (For the complete list of
|
6339
6338
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
6340
6339
|
# Developer Guide*). To work around this, you could specify the
|
6341
|
-
# following for `ExpressionAttributeNames
|
6340
|
+
# following for `ExpressionAttributeNames`:
|
6342
6341
|
#
|
6343
6342
|
# * `\{"#P":"Percentile"\}`
|
6344
6343
|
#
|
@@ -7611,7 +7610,7 @@ module Aws::DynamoDB
|
|
7611
7610
|
# @!attribute [rw] expression_attribute_names
|
7612
7611
|
# One or more substitution tokens for attribute names in an
|
7613
7612
|
# expression. The following are some use cases for using
|
7614
|
-
# `ExpressionAttributeNames
|
7613
|
+
# `ExpressionAttributeNames`:
|
7615
7614
|
#
|
7616
7615
|
# * To access an attribute whose name conflicts with a DynamoDB
|
7617
7616
|
# reserved word.
|
@@ -7633,7 +7632,7 @@ module Aws::DynamoDB
|
|
7633
7632
|
# cannot be used directly in an expression. (For the complete list of
|
7634
7633
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
7635
7634
|
# Developer Guide*). To work around this, you could specify the
|
7636
|
-
# following for `ExpressionAttributeNames
|
7635
|
+
# following for `ExpressionAttributeNames`:
|
7637
7636
|
#
|
7638
7637
|
# * `\{"#P":"Percentile"\}`
|
7639
7638
|
#
|
@@ -9419,7 +9418,7 @@ module Aws::DynamoDB
|
|
9419
9418
|
#
|
9420
9419
|
# You can have many actions in a single expression, such as the
|
9421
9420
|
# following: `SET a=:value1, b=:value2 DELETE :value3, :value4,
|
9422
|
-
#
|
9421
|
+
# \:value5`
|
9423
9422
|
#
|
9424
9423
|
# For more information on update expressions, see [Modifying Items and
|
9425
9424
|
# Attributes][1] in the *Amazon DynamoDB Developer Guide*.
|
@@ -9455,7 +9454,7 @@ module Aws::DynamoDB
|
|
9455
9454
|
# @!attribute [rw] expression_attribute_names
|
9456
9455
|
# One or more substitution tokens for attribute names in an
|
9457
9456
|
# expression. The following are some use cases for using
|
9458
|
-
# `ExpressionAttributeNames
|
9457
|
+
# `ExpressionAttributeNames`:
|
9459
9458
|
#
|
9460
9459
|
# * To access an attribute whose name conflicts with a DynamoDB
|
9461
9460
|
# reserved word.
|
@@ -9477,7 +9476,7 @@ module Aws::DynamoDB
|
|
9477
9476
|
# cannot be used directly in an expression. (For the complete list of
|
9478
9477
|
# reserved words, see [Reserved Words][1] in the *Amazon DynamoDB
|
9479
9478
|
# Developer Guide*.) To work around this, you could specify the
|
9480
|
-
# following for `ExpressionAttributeNames
|
9479
|
+
# following for `ExpressionAttributeNames`:
|
9481
9480
|
#
|
9482
9481
|
# * `\{"#P":"Percentile"\}`
|
9483
9482
|
#
|
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.85.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: 2023-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.174.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|