aws-sdk-dynamodb 1.110.0 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +7 -1
- data/lib/aws-sdk-dynamodb/resource.rb +10 -4
- data/lib/aws-sdk-dynamodb/table.rb +10 -10
- data/lib/aws-sdk-dynamodb/types.rb +6 -0
- 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: b1306c5cb0f50bb3f3f29bd683a70855c7f8d3b98e43be949fbcd4913835c389
|
4
|
+
data.tar.gz: bf63d4c3c7043d97dc6a0275577b304daf06a3ed54ada684b922ca9cb89f11c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: addb9dc616076e14cf2e8ff95afbc618c88f201d56cf4e3009843fe6baf4f90a10dbdc6a05fa47d3b96c0a510f50a59450609501e8e2888ba041c5494bb71607
|
7
|
+
data.tar.gz: 391c5ca2e222b627ee44153286ba3758f105dcbbc6124865d725776fef9665e8dd60786371e42298b8f3d77de5487d3b39e56d5dcac5a91f3c137d5f9b95dda9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.112.0 (2024-06-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.111.0 (2024-05-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy.
|
13
|
+
|
4
14
|
1.110.0 (2024-05-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.112.0
|
@@ -1503,6 +1503,12 @@ module Aws::DynamoDB
|
|
1503
1503
|
# for resource-based policies, see [Resource-based policy
|
1504
1504
|
# considerations][1].
|
1505
1505
|
#
|
1506
|
+
# <note markdown="1"> You need to specify the `CreateTable` and `PutResourcePolicy` IAM
|
1507
|
+
# actions for authorizing a user to create a table with a resource-based
|
1508
|
+
# policy.
|
1509
|
+
#
|
1510
|
+
# </note>
|
1511
|
+
#
|
1506
1512
|
#
|
1507
1513
|
#
|
1508
1514
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
@@ -8327,7 +8333,7 @@ module Aws::DynamoDB
|
|
8327
8333
|
params: params,
|
8328
8334
|
config: config)
|
8329
8335
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8330
|
-
context[:gem_version] = '1.
|
8336
|
+
context[:gem_version] = '1.112.0'
|
8331
8337
|
Seahorse::Client::Request.new(handlers, context)
|
8332
8338
|
end
|
8333
8339
|
|
@@ -160,7 +160,7 @@ 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 = Aws::Plugins::UserAgent.
|
163
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
164
164
|
@client.batch_get_item(options)
|
165
165
|
end
|
166
166
|
resp.data
|
@@ -243,7 +243,7 @@ module Aws::DynamoDB
|
|
243
243
|
# response. If set to `NONE` (the default), no statistics are returned.
|
244
244
|
# @return [Types::BatchWriteItemOutput]
|
245
245
|
def batch_write_item(options = {})
|
246
|
-
resp = Aws::Plugins::UserAgent.
|
246
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
247
247
|
@client.batch_write_item(options)
|
248
248
|
end
|
249
249
|
resp.data
|
@@ -543,6 +543,12 @@ module Aws::DynamoDB
|
|
543
543
|
# for resource-based policies, see [Resource-based policy
|
544
544
|
# considerations][1].
|
545
545
|
#
|
546
|
+
# <note markdown="1"> You need to specify the `CreateTable` and `PutResourcePolicy` IAM
|
547
|
+
# actions for authorizing a user to create a table with a resource-based
|
548
|
+
# policy.
|
549
|
+
#
|
550
|
+
# </note>
|
551
|
+
#
|
546
552
|
#
|
547
553
|
#
|
548
554
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
@@ -552,7 +558,7 @@ module Aws::DynamoDB
|
|
552
558
|
# specify `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
|
553
559
|
# @return [Table]
|
554
560
|
def create_table(options = {})
|
555
|
-
resp = Aws::Plugins::UserAgent.
|
561
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
556
562
|
@client.create_table(options)
|
557
563
|
end
|
558
564
|
Table.new(
|
@@ -580,7 +586,7 @@ module Aws::DynamoDB
|
|
580
586
|
# @return [Table::Collection]
|
581
587
|
def tables(options = {})
|
582
588
|
batches = Enumerator.new do |y|
|
583
|
-
resp = Aws::Plugins::UserAgent.
|
589
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
584
590
|
@client.list_tables(options)
|
585
591
|
end
|
586
592
|
resp.each_page do |page|
|
@@ -392,7 +392,7 @@ module Aws::DynamoDB
|
|
392
392
|
#
|
393
393
|
# @return [self]
|
394
394
|
def load
|
395
|
-
resp = Aws::Plugins::UserAgent.
|
395
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
396
396
|
@client.describe_table(table_name: @name)
|
397
397
|
end
|
398
398
|
@data = resp.table
|
@@ -509,7 +509,7 @@ module Aws::DynamoDB
|
|
509
509
|
:retry
|
510
510
|
end
|
511
511
|
end
|
512
|
-
Aws::Plugins::UserAgent.
|
512
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
513
513
|
Aws::Waiters::Waiter.new(options).wait({})
|
514
514
|
end
|
515
515
|
end
|
@@ -523,7 +523,7 @@ module Aws::DynamoDB
|
|
523
523
|
# @return [Types::DeleteTableOutput]
|
524
524
|
def delete(options = {})
|
525
525
|
options = options.merge(table_name: @name)
|
526
|
-
resp = Aws::Plugins::UserAgent.
|
526
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
527
527
|
@client.delete_table(options)
|
528
528
|
end
|
529
529
|
resp.data
|
@@ -727,7 +727,7 @@ module Aws::DynamoDB
|
|
727
727
|
# @return [Types::DeleteItemOutput]
|
728
728
|
def delete_item(options = {})
|
729
729
|
options = options.merge(table_name: @name)
|
730
|
-
resp = Aws::Plugins::UserAgent.
|
730
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
731
731
|
@client.delete_item(options)
|
732
732
|
end
|
733
733
|
resp.data
|
@@ -852,7 +852,7 @@ module Aws::DynamoDB
|
|
852
852
|
# @return [Types::GetItemOutput]
|
853
853
|
def get_item(options = {})
|
854
854
|
options = options.merge(table_name: @name)
|
855
|
-
resp = Aws::Plugins::UserAgent.
|
855
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
856
856
|
@client.get_item(options)
|
857
857
|
end
|
858
858
|
resp.data
|
@@ -1077,7 +1077,7 @@ module Aws::DynamoDB
|
|
1077
1077
|
# @return [Types::PutItemOutput]
|
1078
1078
|
def put_item(options = {})
|
1079
1079
|
options = options.merge(table_name: @name)
|
1080
|
-
resp = Aws::Plugins::UserAgent.
|
1080
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1081
1081
|
@client.put_item(options)
|
1082
1082
|
end
|
1083
1083
|
resp.data
|
@@ -1467,7 +1467,7 @@ module Aws::DynamoDB
|
|
1467
1467
|
# @return [Types::QueryOutput]
|
1468
1468
|
def query(options = {})
|
1469
1469
|
options = options.merge(table_name: @name)
|
1470
|
-
resp = Aws::Plugins::UserAgent.
|
1470
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1471
1471
|
@client.query(options)
|
1472
1472
|
end
|
1473
1473
|
resp.data
|
@@ -1784,7 +1784,7 @@ module Aws::DynamoDB
|
|
1784
1784
|
# @return [Types::ScanOutput]
|
1785
1785
|
def scan(options = {})
|
1786
1786
|
options = options.merge(table_name: @name)
|
1787
|
-
resp = Aws::Plugins::UserAgent.
|
1787
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1788
1788
|
@client.scan(options)
|
1789
1789
|
end
|
1790
1790
|
resp.data
|
@@ -1990,7 +1990,7 @@ module Aws::DynamoDB
|
|
1990
1990
|
# @return [Table]
|
1991
1991
|
def update(options = {})
|
1992
1992
|
options = options.merge(table_name: @name)
|
1993
|
-
resp = Aws::Plugins::UserAgent.
|
1993
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1994
1994
|
@client.update_table(options)
|
1995
1995
|
end
|
1996
1996
|
Table.new(
|
@@ -2306,7 +2306,7 @@ module Aws::DynamoDB
|
|
2306
2306
|
# @return [Types::UpdateItemOutput]
|
2307
2307
|
def update_item(options = {})
|
2308
2308
|
options = options.merge(table_name: @name)
|
2309
|
-
resp = Aws::Plugins::UserAgent.
|
2309
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
2310
2310
|
@client.update_item(options)
|
2311
2311
|
end
|
2312
2312
|
resp.data
|
@@ -2074,6 +2074,12 @@ module Aws::DynamoDB
|
|
2074
2074
|
# that apply for resource-based policies, see [Resource-based policy
|
2075
2075
|
# considerations][1].
|
2076
2076
|
#
|
2077
|
+
# <note markdown="1"> You need to specify the `CreateTable` and `PutResourcePolicy` IAM
|
2078
|
+
# actions for authorizing a user to create a table with a
|
2079
|
+
# resource-based policy.
|
2080
|
+
#
|
2081
|
+
# </note>
|
2082
|
+
#
|
2077
2083
|
#
|
2078
2084
|
#
|
2079
2085
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-considerations.html
|
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.112.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: 2024-05
|
11
|
+
date: 2024-06-05 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.197.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.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|