aws-sdk-dynamodb 1.118.0 → 1.120.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 +43 -2
- data/lib/aws-sdk-dynamodb/types.rb +10 -2
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- 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: 69d6dd9c30e4d1660a80a10ed80d6dc8a49f647d073dfb6cf68ccecc59793596
|
4
|
+
data.tar.gz: d6827fdf5938c661d8e20379134dfbb15382745c95b87eef9e4b1c33f077dc04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02ea7c35c8013d4a5f4308b6d78ada9427bd040ae6dbd95125cd8ee7694b410bdf4406b93a7209397191ba1d5e60e0b08a4fd745ea4c10e1730cbd2ceb67b898
|
7
|
+
data.tar.gz: 0640c413e37cc9bf43d70b5be01e8f1fb017c69d5f6f60f24d1b8122874954641b12dbc6fd46743bbc651ced3fe9a2628d847dd06b36021fbe000648143131a9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.120.0 (2024-09-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Doc-only update for DynamoDB. Added information about async behavior for TagResource and UntagResource APIs and updated the description of ResourceInUseException.
|
8
|
+
|
9
|
+
1.119.0 (2024-09-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.118.0 (2024-07-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.120.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
37
38
|
require 'aws-sdk-dynamodb/plugins/extended_retries.rb'
|
@@ -86,6 +87,7 @@ module Aws::DynamoDB
|
|
86
87
|
add_plugin(Aws::Plugins::RequestCompression)
|
87
88
|
add_plugin(Aws::Plugins::DefaultsMode)
|
88
89
|
add_plugin(Aws::Plugins::RecursionDetection)
|
90
|
+
add_plugin(Aws::Plugins::Telemetry)
|
89
91
|
add_plugin(Aws::Plugins::Sign)
|
90
92
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
91
93
|
add_plugin(Aws::DynamoDB::Plugins::ExtendedRetries)
|
@@ -356,6 +358,16 @@ module Aws::DynamoDB
|
|
356
358
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
357
359
|
# requests are made, and retries are disabled.
|
358
360
|
#
|
361
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
362
|
+
# Allows you to provide a telemetry provider, which is used to
|
363
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
364
|
+
# will not record or emit any telemetry data. The SDK supports the
|
365
|
+
# following telemetry providers:
|
366
|
+
#
|
367
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
368
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
369
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
370
|
+
#
|
359
371
|
# @option options [Aws::TokenProvider] :token_provider
|
360
372
|
# A Bearer Token Provider. This can be an instance of any one of the
|
361
373
|
# following classes:
|
@@ -6490,6 +6502,18 @@ module Aws::DynamoDB
|
|
6490
6502
|
# and Cost Management console for cost allocation tracking. You can call
|
6491
6503
|
# TagResource up to five times per second, per account.
|
6492
6504
|
#
|
6505
|
+
# * `TagResource` is an asynchronous operation. If you issue a
|
6506
|
+
# ListTagsOfResource request immediately after a `TagResource`
|
6507
|
+
# request, DynamoDB might return your previous tag set, if there was
|
6508
|
+
# one, or an empty tag set. This is because `ListTagsOfResource` uses
|
6509
|
+
# an eventually consistent query, and the metadata for your tags or
|
6510
|
+
# table might not be available at that moment. Wait for a few seconds,
|
6511
|
+
# and then try the `ListTagsOfResource` request again.
|
6512
|
+
#
|
6513
|
+
# * The application or removal of tags using `TagResource` and
|
6514
|
+
# `UntagResource` APIs is eventually consistent. `ListTagsOfResource`
|
6515
|
+
# API will only reflect the changes after a few seconds.
|
6516
|
+
#
|
6493
6517
|
# For an overview on tagging DynamoDB resources, see [Tagging for
|
6494
6518
|
# DynamoDB][1] in the *Amazon DynamoDB Developer Guide*.
|
6495
6519
|
#
|
@@ -6839,6 +6863,18 @@ module Aws::DynamoDB
|
|
6839
6863
|
# Removes the association of tags from an Amazon DynamoDB resource. You
|
6840
6864
|
# can call `UntagResource` up to five times per second, per account.
|
6841
6865
|
#
|
6866
|
+
# * `UntagResource` is an asynchronous operation. If you issue a
|
6867
|
+
# ListTagsOfResource request immediately after an `UntagResource`
|
6868
|
+
# request, DynamoDB might return your previous tag set, if there was
|
6869
|
+
# one, or an empty tag set. This is because `ListTagsOfResource` uses
|
6870
|
+
# an eventually consistent query, and the metadata for your tags or
|
6871
|
+
# table might not be available at that moment. Wait for a few seconds,
|
6872
|
+
# and then try the `ListTagsOfResource` request again.
|
6873
|
+
#
|
6874
|
+
# * The application or removal of tags using `TagResource` and
|
6875
|
+
# `UntagResource` APIs is eventually consistent. `ListTagsOfResource`
|
6876
|
+
# API will only reflect the changes after a few seconds.
|
6877
|
+
#
|
6842
6878
|
# For an overview on tagging DynamoDB resources, see [Tagging for
|
6843
6879
|
# DynamoDB][1] in the *Amazon DynamoDB Developer Guide*.
|
6844
6880
|
#
|
@@ -8369,14 +8405,19 @@ module Aws::DynamoDB
|
|
8369
8405
|
# @api private
|
8370
8406
|
def build_request(operation_name, params = {})
|
8371
8407
|
handlers = @handlers.for(operation_name)
|
8408
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
8409
|
+
Aws::Telemetry.module_to_tracer_name('Aws::DynamoDB')
|
8410
|
+
)
|
8372
8411
|
context = Seahorse::Client::RequestContext.new(
|
8373
8412
|
operation_name: operation_name,
|
8374
8413
|
operation: config.api.operation(operation_name),
|
8375
8414
|
client: self,
|
8376
8415
|
params: params,
|
8377
|
-
config: config
|
8416
|
+
config: config,
|
8417
|
+
tracer: tracer
|
8418
|
+
)
|
8378
8419
|
context[:gem_name] = 'aws-sdk-dynamodb'
|
8379
|
-
context[:gem_version] = '1.
|
8420
|
+
context[:gem_version] = '1.120.0'
|
8380
8421
|
Seahorse::Client::Request.new(handlers, context)
|
8381
8422
|
end
|
8382
8423
|
|
@@ -7596,8 +7596,16 @@ module Aws::DynamoDB
|
|
7596
7596
|
end
|
7597
7597
|
|
7598
7598
|
# The operation conflicts with the resource's availability. For
|
7599
|
-
# example
|
7600
|
-
#
|
7599
|
+
# example:
|
7600
|
+
#
|
7601
|
+
# * You attempted to recreate an existing table.
|
7602
|
+
#
|
7603
|
+
# * You tried to delete a table currently in the `CREATING` state.
|
7604
|
+
#
|
7605
|
+
# * You tried to update a resource that was already being updated.
|
7606
|
+
#
|
7607
|
+
# When appropriate, wait for the ongoing update to complete and attempt
|
7608
|
+
# the request again.
|
7601
7609
|
#
|
7602
7610
|
# @!attribute [rw] message
|
7603
7611
|
# The resource which is being attempted to be changed is in use.
|
data/lib/aws-sdk-dynamodb.rb
CHANGED
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
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.120.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-
|
11
|
+
date: 2024-09-09 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.203.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.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|