aws-sdk-dynamodb 1.84.0 → 1.86.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 +10 -5
- data/lib/aws-sdk-dynamodb/resource.rb +12 -4
- data/lib/aws-sdk-dynamodb/table.rb +30 -10
- data/lib/aws-sdk-dynamodb/types.rb +8 -2
- 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: 5d9c7ed842e4bed009f65f1d78a4b434c9b406866b5ef1874e093674669acaba
|
4
|
+
data.tar.gz: 821a7d12c1955caf8e63004e192d211e5480a78b9ee8e70c8518385c9f75cf3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a75ea25ba82c6b847f0887852fc9f9c4c4caaafff8a6c4106b088332bac1564a5ac99fc82bc795adf9192bc55bb315214a9f5f29921486bf0c3f27d83571a3f
|
7
|
+
data.tar.gz: 5d9ba03972f7e0f43975e52d4d9391f360c1efa899f0ae03b426fe099a02a23b0292a61a85b3ed9b3737882712180fceab8201832b2852c3096aeebf3e535072
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.86.0 (2023-06-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for DynamoDB
|
8
|
+
|
9
|
+
1.85.0 (2023-05-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.84.0 (2023-04-17)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.86.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
|
@@ -496,10 +501,10 @@ module Aws::DynamoDB
|
|
496
501
|
# A single operation can retrieve up to 16 MB of data, which can contain
|
497
502
|
# as many as 100 items. `BatchGetItem` returns a partial result if the
|
498
503
|
# response size limit is exceeded, the table's provisioned throughput
|
499
|
-
# is exceeded,
|
500
|
-
# result is returned, the
|
501
|
-
# `UnprocessedKeys`. You can use this
|
502
|
-
# starting with the next item to get.
|
504
|
+
# is exceeded, more than 1MB per partition is requested, or an internal
|
505
|
+
# processing failure occurs. If a partial result is returned, the
|
506
|
+
# operation returns a value for `UnprocessedKeys`. You can use this
|
507
|
+
# value to retry the operation starting with the next item to get.
|
503
508
|
#
|
504
509
|
# If you request more than 100 items, `BatchGetItem` returns a
|
505
510
|
# `ValidationException` with the message "Too many items requested for
|
@@ -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.86.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
|
|
@@ -4888,6 +4888,12 @@ module Aws::DynamoDB
|
|
4888
4888
|
#
|
4889
4889
|
# There is a soft account quota of 2,500 tables.
|
4890
4890
|
#
|
4891
|
+
# GetRecords was called with a value of more than 1000 for the limit
|
4892
|
+
# request parameter.
|
4893
|
+
#
|
4894
|
+
# More than 2 processes are reading from the same streams shard at the
|
4895
|
+
# same time. Exceeding this limit may result in request throttling.
|
4896
|
+
#
|
4891
4897
|
# @!attribute [rw] message
|
4892
4898
|
# Too many operations for a given subscriber.
|
4893
4899
|
# @return [String]
|
@@ -5533,7 +5539,7 @@ module Aws::DynamoDB
|
|
5533
5539
|
#
|
5534
5540
|
#
|
5535
5541
|
#
|
5536
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
5542
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html
|
5537
5543
|
# @return [Integer]
|
5538
5544
|
#
|
5539
5545
|
# @!attribute [rw] write_capacity_units
|
@@ -5547,7 +5553,7 @@ module Aws::DynamoDB
|
|
5547
5553
|
#
|
5548
5554
|
#
|
5549
5555
|
#
|
5550
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
5556
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html
|
5551
5557
|
# @return [Integer]
|
5552
5558
|
#
|
5553
5559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughput AWS API Documentation
|
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.86.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-06-12 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
|