aws-sdk-dynamodb 1.132.0 → 1.140.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2204d1f8b6a933ab7baa59e4dafb1f9f39eda984ae74b3f68a119bc78ccdf02f
4
- data.tar.gz: 89535cf45eb05eace5806755dd8722d9721fb7f01c38d072b53b3848e7a0d248
3
+ metadata.gz: 4120df8214be6302a8f7a4f0f106f1a01c26182d23d2c04efb2a5bc5218f8d2a
4
+ data.tar.gz: 06ef7d9a24cb98c7f2804c3cd1ea26c01a3a065e88a541832d29f940c61a4d3c
5
5
  SHA512:
6
- metadata.gz: 7c6716d222579072f7c661ddd0fd95fd67e8f6b762f1c8266cd4f9b86629f1c24c41f5339befac9a4c4cc1fbb858c81e2d6e7901aea345f71a879389e5e6311f
7
- data.tar.gz: 70e983178017f516df1ef248094299826f9bb8b7a753ff8b66e12a43a19a5f453d0d442587865e2b1fd4be67b940a4d4501f09eda19dfbcfa87d815958724b9e
6
+ metadata.gz: 05fc831e4b8838ff53cfc5c49be7c172f30b5e2e9ff1cfd0e26fd8f8a65f3c1e6f7998d5681bb2d87b343a824f740ee84d54b1bb37c2a85bf98c341522884ef5
7
+ data.tar.gz: de7eb9f70d692ac04b57a702a5dfb3a9345c966342dc4298a523f607564c0e8c12ab28aa99a3cf6c00e5d51e77ecf5724c4e0a6b3c50c248e4066f96488ad6c2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,48 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.140.0 (2025-04-11)
5
+ ------------------
6
+
7
+ * Feature - Doc only update for API descriptions.
8
+
9
+ 1.139.0 (2025-04-09)
10
+ ------------------
11
+
12
+ * Feature - Documentation update for secondary indexes and Create_Table.
13
+
14
+ 1.138.0 (2025-03-13)
15
+ ------------------
16
+
17
+ * Feature - Generate account endpoints for DynamoDB requests using ARN-sourced account ID when available
18
+
19
+ 1.137.0 (2025-02-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.136.0 (2025-02-06)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.135.0 (2025-01-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ * Issue - Allow other retry configs to influence DynamoDB extended retries.
35
+
36
+ 1.134.0 (2025-01-15)
37
+ ------------------
38
+
39
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
40
+
41
+ 1.133.0 (2025-01-07)
42
+ ------------------
43
+
44
+ * Feature - This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days.
45
+
4
46
  1.132.0 (2024-12-09)
5
47
  ------------------
6
48
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.132.0
1
+ 1.140.0
@@ -7,37 +7,37 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
38
- require 'aws-sdk-dynamodb/plugins/extended_retries.rb'
39
- require 'aws-sdk-dynamodb/plugins/simple_attributes.rb'
40
- require 'aws-sdk-dynamodb/plugins/crc32_validation.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/json_rpc'
38
+ require 'aws-sdk-dynamodb/plugins/extended_retries'
39
+ require 'aws-sdk-dynamodb/plugins/simple_attributes'
40
+ require 'aws-sdk-dynamodb/plugins/crc32_validation'
41
41
 
42
42
  module Aws::DynamoDB
43
43
  # An API client for DynamoDB. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -269,16 +269,39 @@ module Aws::DynamoDB
269
269
  # Used when loading credentials from the shared credentials file
270
270
  # at HOME/.aws/credentials. When not specified, 'default' is used.
271
271
  #
272
+ # @option options [String] :request_checksum_calculation ("when_supported")
273
+ # Determines when a checksum will be calculated for request payloads. Values are:
274
+ #
275
+ # * `when_supported` - (default) When set, a checksum will be
276
+ # calculated for all request payloads of operations modeled with the
277
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
278
+ # `requestAlgorithmMember` is modeled.
279
+ # * `when_required` - When set, a checksum will only be calculated for
280
+ # request payloads of operations modeled with the `httpChecksum` trait where
281
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
282
+ # is modeled and supplied.
283
+ #
272
284
  # @option options [Integer] :request_min_compression_size_bytes (10240)
273
285
  # The minimum size in bytes that triggers compression for request
274
286
  # bodies. The value must be non-negative integer value between 0
275
287
  # and 10485780 bytes inclusive.
276
288
  #
289
+ # @option options [String] :response_checksum_validation ("when_supported")
290
+ # Determines when checksum validation will be performed on response payloads. Values are:
291
+ #
292
+ # * `when_supported` - (default) When set, checksum validation is performed on all
293
+ # response payloads of operations modeled with the `httpChecksum` trait where
294
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
295
+ # are supported.
296
+ # * `when_required` - When set, checksum validation is not performed on
297
+ # response payloads of operations unless the checksum algorithm is supported and
298
+ # the `requestValidationModeMember` member is set to `ENABLED`.
299
+ #
277
300
  # @option options [Proc] :retry_backoff
278
301
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
279
302
  # This option is only used in the `legacy` retry mode.
280
303
  #
281
- # @option options [Float] :retry_base_delay (0.3)
304
+ # @option options [Float] :retry_base_delay (0.05)
282
305
  # The base delay in seconds used by the default backoff function. This option
283
306
  # is only used in the `legacy` retry mode.
284
307
  #
@@ -294,8 +317,9 @@ module Aws::DynamoDB
294
317
  # The maximum number of times to retry failed requests. Only
295
318
  # ~ 500 level server errors and certain ~ 400 level client errors
296
319
  # are retried. Generally, these are throttling errors, data
297
- # checksum errors, networking errors, timeout errors and auth
298
- # errors from expired credentials.
320
+ # checksum errors, networking errors, timeout errors, auth errors,
321
+ # endpoint discovery, and errors from expired credentials.
322
+ # This option is only used in the `legacy` retry mode.
299
323
  #
300
324
  # @option options [Integer] :retry_max_delay (0)
301
325
  # The maximum number of seconds to delay between retries (0 for no limit)
@@ -639,6 +663,11 @@ module Aws::DynamoDB
639
663
  # according to the type of read. For more information, see [Working with
640
664
  # Tables][2] in the *Amazon DynamoDB Developer Guide*.
641
665
  #
666
+ # <note markdown="1"> `BatchGetItem` will result in a `ValidationException` if the same key
667
+ # is specified multiple times.
668
+ #
669
+ # </note>
670
+ #
642
671
  #
643
672
  #
644
673
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations
@@ -1423,7 +1452,11 @@ module Aws::DynamoDB
1423
1452
  # attributes provided in `NonKeyAttributes`, summed across all of
1424
1453
  # the secondary indexes, must not exceed 100. If you project the
1425
1454
  # same attribute into two different indexes, this counts as two
1426
- # distinct attributes when determining the total.
1455
+ # distinct attributes when determining the total. This limit only
1456
+ # applies when you specify the ProjectionType of `INCLUDE`. You
1457
+ # still can specify the ProjectionType of `ALL` to project all
1458
+ # attributes from the source table, even if the table has more than
1459
+ # 100 attributes.
1427
1460
  #
1428
1461
  # @option params [Array<Types::GlobalSecondaryIndex>] :global_secondary_indexes
1429
1462
  # One or more global secondary indexes (the maximum is 20) to be created
@@ -1459,7 +1492,11 @@ module Aws::DynamoDB
1459
1492
  # attributes provided in `NonKeyAttributes`, summed across all of
1460
1493
  # the secondary indexes, must not exceed 100. If you project the
1461
1494
  # same attribute into two different indexes, this counts as two
1462
- # distinct attributes when determining the total.
1495
+ # distinct attributes when determining the total. This limit only
1496
+ # applies when you specify the ProjectionType of `INCLUDE`. You
1497
+ # still can specify the ProjectionType of `ALL` to project all
1498
+ # attributes from the source table, even if the table has more than
1499
+ # 100 attributes.
1463
1500
  # * `ProvisionedThroughput` - The provisioned throughput settings for
1464
1501
  # the global secondary index, consisting of read and write capacity
1465
1502
  # units.
@@ -1468,18 +1505,19 @@ module Aws::DynamoDB
1468
1505
  # Controls how you are charged for read and write throughput and how you
1469
1506
  # manage capacity. This setting can be changed later.
1470
1507
  #
1471
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
1472
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
1473
- # capacity mode][1].
1508
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
1509
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
1510
+ # [On-demand capacity mode][1].
1474
1511
  #
1475
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
1476
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
1477
- # [On-demand capacity mode][2].
1512
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
1513
+ # workloads with predictable growth where capacity requirements can be
1514
+ # reliably forecasted. `PROVISIONED` sets the billing mode to
1515
+ # [Provisioned capacity mode][2].
1478
1516
  #
1479
1517
  #
1480
1518
  #
1481
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1482
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
1519
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
1520
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1483
1521
  #
1484
1522
  # @option params [Types::ProvisionedThroughput] :provisioned_throughput
1485
1523
  # Represents the provisioned throughput settings for a specified table
@@ -2542,8 +2580,9 @@ module Aws::DynamoDB
2542
2580
  # and `LatestRestorableDateTime`.
2543
2581
  #
2544
2582
  # `LatestRestorableDateTime` is typically 5 minutes before the current
2545
- # time. You can restore your table to any point in time during the last
2546
- # 35 days.
2583
+ # time. You can restore your table to any point in time in the last 35
2584
+ # days. You can set the recovery period to any value between 1 and 35
2585
+ # days.
2547
2586
  #
2548
2587
  # You can call `DescribeContinuousBackups` at a maximum rate of 10 times
2549
2588
  # per second.
@@ -2569,6 +2608,7 @@ module Aws::DynamoDB
2569
2608
  #
2570
2609
  # resp.continuous_backups_description.continuous_backups_status #=> String, one of "ENABLED", "DISABLED"
2571
2610
  # resp.continuous_backups_description.point_in_time_recovery_description.point_in_time_recovery_status #=> String, one of "ENABLED", "DISABLED"
2611
+ # resp.continuous_backups_description.point_in_time_recovery_description.recovery_period_in_days #=> Integer
2572
2612
  # resp.continuous_backups_description.point_in_time_recovery_description.earliest_restorable_date_time #=> Time
2573
2613
  # resp.continuous_backups_description.point_in_time_recovery_description.latest_restorable_date_time #=> Time
2574
2614
  #
@@ -5884,8 +5924,9 @@ module Aws::DynamoDB
5884
5924
 
5885
5925
  # Restores the specified table to the specified point in time within
5886
5926
  # `EarliestRestorableDateTime` and `LatestRestorableDateTime`. You can
5887
- # restore your table to any point in time during the last 35 days. Any
5888
- # number of users can execute up to 50 concurrent restores (any type of
5927
+ # restore your table to any point in time in the last 35 days. You can
5928
+ # set the recovery period to any value between 1 and 35 days. Any number
5929
+ # of users can execute up to 50 concurrent restores (any type of
5889
5930
  # restore) in a given account.
5890
5931
  #
5891
5932
  # When you restore using point in time recovery, DynamoDB restores your
@@ -7037,8 +7078,9 @@ module Aws::DynamoDB
7037
7078
  # and `LatestRestorableDateTime`.
7038
7079
  #
7039
7080
  # `LatestRestorableDateTime` is typically 5 minutes before the current
7040
- # time. You can restore your table to any point in time during the last
7041
- # 35 days.
7081
+ # time. You can restore your table to any point in time in the last 35
7082
+ # days. You can set the `RecoveryPeriodInDays` to any value between 1
7083
+ # and 35 days.
7042
7084
  #
7043
7085
  # @option params [required, String] :table_name
7044
7086
  # The name of the table. You can also provide the Amazon Resource Name
@@ -7057,6 +7099,7 @@ module Aws::DynamoDB
7057
7099
  # table_name: "TableArn", # required
7058
7100
  # point_in_time_recovery_specification: { # required
7059
7101
  # point_in_time_recovery_enabled: false, # required
7102
+ # recovery_period_in_days: 1,
7060
7103
  # },
7061
7104
  # })
7062
7105
  #
@@ -7064,6 +7107,7 @@ module Aws::DynamoDB
7064
7107
  #
7065
7108
  # resp.continuous_backups_description.continuous_backups_status #=> String, one of "ENABLED", "DISABLED"
7066
7109
  # resp.continuous_backups_description.point_in_time_recovery_description.point_in_time_recovery_status #=> String, one of "ENABLED", "DISABLED"
7110
+ # resp.continuous_backups_description.point_in_time_recovery_description.recovery_period_in_days #=> Integer
7067
7111
  # resp.continuous_backups_description.point_in_time_recovery_description.earliest_restorable_date_time #=> Time
7068
7112
  # resp.continuous_backups_description.point_in_time_recovery_description.latest_restorable_date_time #=> Time
7069
7113
  #
@@ -7934,18 +7978,19 @@ module Aws::DynamoDB
7934
7978
  # and write capacity of your table and global secondary indexes over the
7935
7979
  # past 30 minutes.
7936
7980
  #
7937
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
7938
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
7939
- # capacity mode][1].
7981
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
7982
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
7983
+ # [On-demand capacity mode][1].
7940
7984
  #
7941
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
7942
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
7943
- # [On-demand capacity mode][2].
7985
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
7986
+ # workloads with predictable growth where capacity requirements can be
7987
+ # reliably forecasted. `PROVISIONED` sets the billing mode to
7988
+ # [Provisioned capacity mode][2].
7944
7989
  #
7945
7990
  #
7946
7991
  #
7947
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
7948
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
7992
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
7993
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
7949
7994
  #
7950
7995
  # @option params [Types::ProvisionedThroughput] :provisioned_throughput
7951
7996
  # The new provisioned throughput settings for the specified table or
@@ -8026,7 +8071,7 @@ module Aws::DynamoDB
8026
8071
  #
8027
8072
  #
8028
8073
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
8029
- # [2]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
8074
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
8030
8075
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
8031
8076
  #
8032
8077
  # @option params [Types::OnDemandThroughput] :on_demand_throughput
@@ -8596,7 +8641,7 @@ module Aws::DynamoDB
8596
8641
  tracer: tracer
8597
8642
  )
8598
8643
  context[:gem_name] = 'aws-sdk-dynamodb'
8599
- context[:gem_version] = '1.132.0'
8644
+ context[:gem_version] = '1.140.0'
8600
8645
  Seahorse::Client::Request.new(handlers, context)
8601
8646
  end
8602
8647