aws-sdk-dynamodb 1.140.0 → 1.141.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +1 -1
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-dynamodb/endpoints.rb +11 -0
- 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: ec8ecc19c9205cf182043f5a53fc8953b0cdf74d5c619ae0aa1d15d1f3618c33
|
4
|
+
data.tar.gz: 21fa1d5796d83282741413672d49f7117319c3d5ce491bd027dbe20a17148c0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a83a5a8ca6b996ac14a0aa6d8088e3666eea4a42548fa9dbd49e2ab91f2482ca0d9dea106d687114cc1a888840a7b0a1b6b1fe9cbe6b91089256e42fa171c4d
|
7
|
+
data.tar.gz: d734ba42e4d8b686eec4f4a7494592649c6f155f3850fa422360bae751dda5da5e70d7d1e7a38b90598bc6db16e0a5a12cf7d35741b71260abadf76df80865f1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.141.0 (2025-04-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for ARN-sourced account endpoint generation for TransactWriteItems. This will generate account endpoints for DynamoDB TransactWriteItems requests using ARN-sourced account ID when available.
|
8
|
+
|
4
9
|
1.140.0 (2025-04-11)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.141.0
|
@@ -28,7 +28,7 @@ module Aws::DynamoDB
|
|
28
28
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
29
29
|
raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
|
30
30
|
end
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"signingRegion"=>"us-east-1", "signingName"=>"dynamodb", "name"=>"sigv4"}]}, metadata: { account_id_endpoint: false })
|
32
32
|
end
|
33
33
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) && Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"), true)
|
@@ -363,6 +363,15 @@ module Aws::DynamoDB
|
|
363
363
|
end
|
364
364
|
end
|
365
365
|
|
366
|
+
class TransactWriteItems
|
367
|
+
def self.build(context)
|
368
|
+
Aws::DynamoDB::EndpointParameters.create(
|
369
|
+
context.config,
|
370
|
+
resource_arn_list: JMESPath.search("transact_items[*].[condition_check.table_name, put.table_name, delete.table_name, update.table_name][]", context.params),
|
371
|
+
)
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
366
375
|
class UntagResource
|
367
376
|
def self.build(context)
|
368
377
|
Aws::DynamoDB::EndpointParameters.create(
|
@@ -534,6 +543,8 @@ module Aws::DynamoDB
|
|
534
543
|
TagResource.build(context)
|
535
544
|
when :transact_get_items
|
536
545
|
TransactGetItems.build(context)
|
546
|
+
when :transact_write_items
|
547
|
+
TransactWriteItems.build(context)
|
537
548
|
when :untag_resource
|
538
549
|
UntagResource.build(context)
|
539
550
|
when :update_continuous_backups
|
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.141.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: 2025-04-
|
11
|
+
date: 2025-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|