aws-sdk-dynamodb 1.117.0 → 1.119.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9abc2acc269fe7a78efe7d7a07c5dda62d9d536cd853e668e8915c54757c1d35
4
- data.tar.gz: e8f9c4151992e99819a331023604e8b389e34170929c24cfedb2d073aac5630c
3
+ metadata.gz: 32ee8b79b399d9570d0f014aadf53774b881f08e19e01a092d29c7f90e7f5e55
4
+ data.tar.gz: 8b0e9f46440d5d2df41b44d4a1fbcdb08dfb706a234ec61c8d07e2a99692d1cf
5
5
  SHA512:
6
- metadata.gz: 0c899ccbfc401f2805c5f3f30117e932f216d696946a6e230699b98856bb8870abb68ce5e842b56fb75762d7ab7d52dbd674a1a1357bf6b6720d7335413fb46c
7
- data.tar.gz: 4b95f413790d2e913a06ed550c03fab12ccac17a5e36e77f2e888904fea00896674a7069ea483c1dca2da568de3467c7424c7ac81ec0f98bd95879f336d8ef58
6
+ metadata.gz: f270687cec2814fd513da216baccde1e1efabacc418ebfb3783f1be328ac9d7bc187b8f7ba6be50c1a0a2071b01c71ef887453c31b3031bd98b59a8ea9e9b718
7
+ data.tar.gz: 037f237cf9b46bc571eadbf48d294b86055328ab9faa3e7f6b1d0f97e934318a5fbbc870725f097557d95f5ac2f7ea7668697b4c03656016eba341df3e3b3ab6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.119.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.118.0 (2024-07-24)
10
+ ------------------
11
+
12
+ * Feature - DynamoDB doc only update for July
13
+
4
14
  1.117.0 (2024-07-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.117.0
1
+ 1.119.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:
@@ -455,7 +467,8 @@ module Aws::DynamoDB
455
467
  # stored in DynamoDB, using PartiQL. Each read statement in a
456
468
  # `BatchExecuteStatement` must specify an equality condition on all key
457
469
  # attributes. This enforces that each `SELECT` statement in a batch
458
- # returns at most a single item.
470
+ # returns at most a single item. For more information, see [Running
471
+ # batch operations with PartiQL for DynamoDB ][1].
459
472
  #
460
473
  # <note markdown="1"> The entire batch must consist of either read statements or write
461
474
  # statements, you cannot mix both in one batch.
@@ -464,12 +477,13 @@ module Aws::DynamoDB
464
477
  #
465
478
  # A HTTP 200 response does not mean that all statements in the
466
479
  # BatchExecuteStatement succeeded. Error details for individual
467
- # statements can be found under the [Error][1] field of the
480
+ # statements can be found under the [Error][2] field of the
468
481
  # `BatchStatementResponse` for each statement.
469
482
  #
470
483
  #
471
484
  #
472
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchStatementResponse.html#DDB-Type-BatchStatementResponse-Error
485
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ql-reference.multiplestatements.batching.html
486
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchStatementResponse.html#DDB-Type-BatchStatementResponse-Error
473
487
  #
474
488
  # @option params [required, Array<Types::BatchStatementRequest>] :statements
475
489
  # The list of PartiQL statements representing the batch to run.
@@ -857,9 +871,13 @@ module Aws::DynamoDB
857
871
  # request with those unprocessed items until all items have been
858
872
  # processed.
859
873
  #
860
- # If *none* of the items can be processed due to insufficient
861
- # provisioned throughput on all of the tables in the request, then
862
- # `BatchWriteItem` returns a `ProvisionedThroughputExceededException`.
874
+ # For tables and indexes with provisioned capacity, if none of the items
875
+ # can be processed due to insufficient provisioned throughput on all of
876
+ # the tables in the request, then `BatchWriteItem` returns a
877
+ # `ProvisionedThroughputExceededException`. For all tables and indexes,
878
+ # if none of the items can be processed due to other throttling
879
+ # scenarios (such as exceeding partition level limits), then
880
+ # `BatchWriteItem` returns a `ThrottlingException`.
863
881
  #
864
882
  # If DynamoDB returns any unprocessed items, you should retry the batch
865
883
  # operation on those items. However, *we strongly recommend that you use
@@ -2224,7 +2242,8 @@ module Aws::DynamoDB
2224
2242
  #
2225
2243
  # <note markdown="1"> DynamoDB might continue to accept data read and write operations, such
2226
2244
  # as `GetItem` and `PutItem`, on a table in the `DELETING` state until
2227
- # the table deletion is complete.
2245
+ # the table deletion is complete. For the full list of table states, see
2246
+ # [TableStatus][1].
2228
2247
  #
2229
2248
  # </note>
2230
2249
  #
@@ -2236,6 +2255,10 @@ module Aws::DynamoDB
2236
2255
  #
2237
2256
  # Use the `DescribeTable` action to check the status of the table.
2238
2257
  #
2258
+ #
2259
+ #
2260
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableDescription.html#DDB-Type-TableDescription-TableStatus
2261
+ #
2239
2262
  # @option params [required, String] :table_name
2240
2263
  # The name of the table to delete. You can also provide the Amazon
2241
2264
  # Resource Name (ARN) of the table in this parameter.
@@ -8358,14 +8381,19 @@ module Aws::DynamoDB
8358
8381
  # @api private
8359
8382
  def build_request(operation_name, params = {})
8360
8383
  handlers = @handlers.for(operation_name)
8384
+ tracer = config.telemetry_provider.tracer_provider.tracer(
8385
+ Aws::Telemetry.module_to_tracer_name('Aws::DynamoDB')
8386
+ )
8361
8387
  context = Seahorse::Client::RequestContext.new(
8362
8388
  operation_name: operation_name,
8363
8389
  operation: config.api.operation(operation_name),
8364
8390
  client: self,
8365
8391
  params: params,
8366
- config: config)
8392
+ config: config,
8393
+ tracer: tracer
8394
+ )
8367
8395
  context[:gem_name] = 'aws-sdk-dynamodb'
8368
- context[:gem_version] = '1.117.0'
8396
+ context[:gem_version] = '1.119.0'
8369
8397
  Seahorse::Client::Request.new(handlers, context)
8370
8398
  end
8371
8399
 
@@ -6946,7 +6946,7 @@ module Aws::DynamoDB
6946
6946
  #
6947
6947
  #
6948
6948
  #
6949
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count
6949
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Count
6950
6950
  # @return [Integer]
6951
6951
  #
6952
6952
  # @!attribute [rw] last_evaluated_key
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-dynamodb/customizations'
54
54
  # @!group service
55
55
  module Aws::DynamoDB
56
56
 
57
- GEM_VERSION = '1.117.0'
57
+ GEM_VERSION = '1.119.0'
58
58
 
59
59
  end
data/sig/client.rbs CHANGED
@@ -53,6 +53,7 @@ module Aws
53
53
  ?simple_attributes: bool,
54
54
  ?simple_json: bool,
55
55
  ?stub_responses: untyped,
56
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
56
57
  ?token_provider: untyped,
57
58
  ?use_dualstack_endpoint: bool,
58
59
  ?use_fips_endpoint: bool,
data/sig/resource.rbs CHANGED
@@ -53,6 +53,7 @@ module Aws
53
53
  ?simple_attributes: bool,
54
54
  ?simple_json: bool,
55
55
  ?stub_responses: untyped,
56
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
56
57
  ?token_provider: untyped,
57
58
  ?use_dualstack_endpoint: bool,
58
59
  ?use_fips_endpoint: bool,
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.117.0
4
+ version: 1.119.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-07-12 00:00:00.000000000 Z
11
+ date: 2024-09-03 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.201.0
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.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement