aws-sdk-dynamodb 1.84.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +6 -1
- data/lib/aws-sdk-dynamodb/resource.rb +12 -4
- data/lib/aws-sdk-dynamodb/table.rb +30 -10
- 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
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
|
@@ -7748,7 +7753,7 @@ module Aws::DynamoDB
|
|
7748
7753
|
params: params,
|
7749
7754
|
config: config)
|
7750
7755
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
7751
|
-
context[:gem_version] = '1.
|
7756
|
+
context[:gem_version] = '1.85.0'
|
7752
7757
|
Seahorse::Client::Request.new(handlers, context)
|
7753
7758
|
end
|
7754
7759
|
|
@@ -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
|
|
@@ -705,7 +711,9 @@ module Aws::DynamoDB
|
|
705
711
|
# @return [Types::DeleteItemOutput]
|
706
712
|
def delete_item(options = {})
|
707
713
|
options = options.merge(table_name: @name)
|
708
|
-
resp =
|
714
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
715
|
+
@client.delete_item(options)
|
716
|
+
end
|
709
717
|
resp.data
|
710
718
|
end
|
711
719
|
|
@@ -828,7 +836,9 @@ module Aws::DynamoDB
|
|
828
836
|
# @return [Types::GetItemOutput]
|
829
837
|
def get_item(options = {})
|
830
838
|
options = options.merge(table_name: @name)
|
831
|
-
resp =
|
839
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
840
|
+
@client.get_item(options)
|
841
|
+
end
|
832
842
|
resp.data
|
833
843
|
end
|
834
844
|
|
@@ -1043,7 +1053,9 @@ module Aws::DynamoDB
|
|
1043
1053
|
# @return [Types::PutItemOutput]
|
1044
1054
|
def put_item(options = {})
|
1045
1055
|
options = options.merge(table_name: @name)
|
1046
|
-
resp =
|
1056
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1057
|
+
@client.put_item(options)
|
1058
|
+
end
|
1047
1059
|
resp.data
|
1048
1060
|
end
|
1049
1061
|
|
@@ -1431,7 +1443,9 @@ module Aws::DynamoDB
|
|
1431
1443
|
# @return [Types::QueryOutput]
|
1432
1444
|
def query(options = {})
|
1433
1445
|
options = options.merge(table_name: @name)
|
1434
|
-
resp =
|
1446
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1447
|
+
@client.query(options)
|
1448
|
+
end
|
1435
1449
|
resp.data
|
1436
1450
|
end
|
1437
1451
|
|
@@ -1746,7 +1760,9 @@ module Aws::DynamoDB
|
|
1746
1760
|
# @return [Types::ScanOutput]
|
1747
1761
|
def scan(options = {})
|
1748
1762
|
options = options.merge(table_name: @name)
|
1749
|
-
resp =
|
1763
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1764
|
+
@client.scan(options)
|
1765
|
+
end
|
1750
1766
|
resp.data
|
1751
1767
|
end
|
1752
1768
|
|
@@ -1926,7 +1942,9 @@ module Aws::DynamoDB
|
|
1926
1942
|
# @return [Table]
|
1927
1943
|
def update(options = {})
|
1928
1944
|
options = options.merge(table_name: @name)
|
1929
|
-
resp =
|
1945
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
1946
|
+
@client.update_table(options)
|
1947
|
+
end
|
1930
1948
|
Table.new(
|
1931
1949
|
name: @name,
|
1932
1950
|
data: resp.data.table_description,
|
@@ -2232,7 +2250,9 @@ module Aws::DynamoDB
|
|
2232
2250
|
# @return [Types::UpdateItemOutput]
|
2233
2251
|
def update_item(options = {})
|
2234
2252
|
options = options.merge(table_name: @name)
|
2235
|
-
resp =
|
2253
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
2254
|
+
@client.update_item(options)
|
2255
|
+
end
|
2236
2256
|
resp.data
|
2237
2257
|
end
|
2238
2258
|
|
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
|