aws-sdk-dynamodb 1.138.0 → 1.142.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: bd4e41e375a1b8ac3859bae14a574315cfe3aa72b5aba6b3058bae362ac23916
4
- data.tar.gz: 0e6a2c98858ab0f9fce90383760fa4e86ea20a1c992d2ddc0e2dcd5dbe0310c3
3
+ metadata.gz: 90a541899ae7ae29cc4c7520318191a32848affa823a396ee1b83ddb0922689b
4
+ data.tar.gz: 79feab033056e98f44fa170233b8ea5f768d2a0062862f8a94c79e719e10fdca
5
5
  SHA512:
6
- metadata.gz: 22f4d26543c15e83ac7fa33de133feeeb7be243e465fae1265affeae2ae9a9b033e1103c39f3503637f001b66d4b28a64b5320193918caca515b2be925ccd366
7
- data.tar.gz: c687ae6044e0236c64d33434725b84c0968d2de240f50ef6422a282b955e1bd13747f9eb088bd038f3f83a815cf765ac9d9c6363c5b5df52980536a5dde59b2a
6
+ metadata.gz: 05772121ccad5e19ff99e229526247f9eb48eeb8d8fbae203d7c05c047ac41175b390e989782f7f487c46110165a4dd91af7a8a24b47d21f6a2480d3cd4084c1
7
+ data.tar.gz: 58bdd19378bbb12e05afd9c949f6adb16fa56bf3b59a6f7772b48ec96f821c247c43be7fa37fa6a0fd2378a6bf5afaff68072ac5ae8900d60c73cde868b06d0a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.142.0 (2025-04-28)
5
+ ------------------
6
+
7
+ * Feature - Doc only update for GSI descriptions.
8
+
9
+ 1.141.0 (2025-04-24)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.140.0 (2025-04-11)
15
+ ------------------
16
+
17
+ * Feature - Doc only update for API descriptions.
18
+
19
+ 1.139.0 (2025-04-09)
20
+ ------------------
21
+
22
+ * Feature - Documentation update for secondary indexes and Create_Table.
23
+
4
24
  1.138.0 (2025-03-13)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.138.0
1
+ 1.142.0
@@ -663,6 +663,11 @@ module Aws::DynamoDB
663
663
  # according to the type of read. For more information, see [Working with
664
664
  # Tables][2] in the *Amazon DynamoDB Developer Guide*.
665
665
  #
666
+ # <note markdown="1"> `BatchGetItem` will result in a `ValidationException` if the same key
667
+ # is specified multiple times.
668
+ #
669
+ # </note>
670
+ #
666
671
  #
667
672
  #
668
673
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ErrorHandling.html#BatchOperations
@@ -1447,7 +1452,11 @@ module Aws::DynamoDB
1447
1452
  # attributes provided in `NonKeyAttributes`, summed across all of
1448
1453
  # the secondary indexes, must not exceed 100. If you project the
1449
1454
  # same attribute into two different indexes, this counts as two
1450
- # 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.
1451
1460
  #
1452
1461
  # @option params [Array<Types::GlobalSecondaryIndex>] :global_secondary_indexes
1453
1462
  # One or more global secondary indexes (the maximum is 20) to be created
@@ -1483,7 +1492,11 @@ module Aws::DynamoDB
1483
1492
  # attributes provided in `NonKeyAttributes`, summed across all of
1484
1493
  # the secondary indexes, must not exceed 100. If you project the
1485
1494
  # same attribute into two different indexes, this counts as two
1486
- # 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.
1487
1500
  # * `ProvisionedThroughput` - The provisioned throughput settings for
1488
1501
  # the global secondary index, consisting of read and write capacity
1489
1502
  # units.
@@ -1492,18 +1505,19 @@ module Aws::DynamoDB
1492
1505
  # Controls how you are charged for read and write throughput and how you
1493
1506
  # manage capacity. This setting can be changed later.
1494
1507
  #
1495
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
1496
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
1497
- # 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].
1498
1511
  #
1499
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
1500
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
1501
- # [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].
1502
1516
  #
1503
1517
  #
1504
1518
  #
1505
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1506
- # [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
1507
1521
  #
1508
1522
  # @option params [Types::ProvisionedThroughput] :provisioned_throughput
1509
1523
  # Represents the provisioned throughput settings for a specified table
@@ -7065,8 +7079,8 @@ module Aws::DynamoDB
7065
7079
  #
7066
7080
  # `LatestRestorableDateTime` is typically 5 minutes before the current
7067
7081
  # time. You can restore your table to any point in time in the last 35
7068
- # days. You can set the recovery period to any value between 1 and 35
7069
- # days.
7082
+ # days. You can set the `RecoveryPeriodInDays` to any value between 1
7083
+ # and 35 days.
7070
7084
  #
7071
7085
  # @option params [required, String] :table_name
7072
7086
  # The name of the table. You can also provide the Amazon Resource Name
@@ -7964,18 +7978,19 @@ module Aws::DynamoDB
7964
7978
  # and write capacity of your table and global secondary indexes over the
7965
7979
  # past 30 minutes.
7966
7980
  #
7967
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
7968
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
7969
- # 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].
7970
7984
  #
7971
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
7972
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
7973
- # [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].
7974
7989
  #
7975
7990
  #
7976
7991
  #
7977
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
7978
- # [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
7979
7994
  #
7980
7995
  # @option params [Types::ProvisionedThroughput] :provisioned_throughput
7981
7996
  # The new provisioned throughput settings for the specified table or
@@ -8056,7 +8071,7 @@ module Aws::DynamoDB
8056
8071
  #
8057
8072
  #
8058
8073
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
8059
- # [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
8060
8075
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
8061
8076
  #
8062
8077
  # @option params [Types::OnDemandThroughput] :on_demand_throughput
@@ -8626,7 +8641,7 @@ module Aws::DynamoDB
8626
8641
  tracer: tracer
8627
8642
  )
8628
8643
  context[:gem_name] = 'aws-sdk-dynamodb'
8629
- context[:gem_version] = '1.138.0'
8644
+ context[:gem_version] = '1.142.0'
8630
8645
  Seahorse::Client::Request.new(handlers, context)
8631
8646
  end
8632
8647
 
@@ -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"=>[{"signingRegion"=>"us-east-1", "signingName"=>"dynamodb", "name"=>"sigv4"}]}, metadata: { account_id_endpoint: false })
31
+ return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"dynamodb"}]}, 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
@@ -422,7 +422,11 @@ module Aws::DynamoDB
422
422
  # attributes provided in `NonKeyAttributes`, summed across all of
423
423
  # the secondary indexes, must not exceed 100. If you project the
424
424
  # same attribute into two different indexes, this counts as two
425
- # distinct attributes when determining the total.
425
+ # distinct attributes when determining the total. This limit only
426
+ # applies when you specify the ProjectionType of `INCLUDE`. You
427
+ # still can specify the ProjectionType of `ALL` to project all
428
+ # attributes from the source table, even if the table has more than
429
+ # 100 attributes.
426
430
  # @option options [Array<Types::GlobalSecondaryIndex>] :global_secondary_indexes
427
431
  # One or more global secondary indexes (the maximum is 20) to be created
428
432
  # on the table. Each global secondary index in the array includes the
@@ -457,7 +461,11 @@ module Aws::DynamoDB
457
461
  # attributes provided in `NonKeyAttributes`, summed across all of
458
462
  # the secondary indexes, must not exceed 100. If you project the
459
463
  # same attribute into two different indexes, this counts as two
460
- # distinct attributes when determining the total.
464
+ # distinct attributes when determining the total. This limit only
465
+ # applies when you specify the ProjectionType of `INCLUDE`. You
466
+ # still can specify the ProjectionType of `ALL` to project all
467
+ # attributes from the source table, even if the table has more than
468
+ # 100 attributes.
461
469
  # * `ProvisionedThroughput` - The provisioned throughput settings for
462
470
  # the global secondary index, consisting of read and write capacity
463
471
  # units.
@@ -465,18 +473,19 @@ module Aws::DynamoDB
465
473
  # Controls how you are charged for read and write throughput and how you
466
474
  # manage capacity. This setting can be changed later.
467
475
  #
468
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
469
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
470
- # capacity mode][1].
476
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
477
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
478
+ # [On-demand capacity mode][1].
471
479
  #
472
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
473
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
474
- # [On-demand capacity mode][2].
480
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
481
+ # workloads with predictable growth where capacity requirements can be
482
+ # reliably forecasted. `PROVISIONED` sets the billing mode to
483
+ # [Provisioned capacity mode][2].
475
484
  #
476
485
  #
477
486
  #
478
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
479
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
487
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
488
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
480
489
  # @option options [Types::ProvisionedThroughput] :provisioned_throughput
481
490
  # Represents the provisioned throughput settings for a specified table
482
491
  # or index. The settings can be modified using the `UpdateTable`
@@ -195,7 +195,11 @@ module Aws::DynamoDB
195
195
  # attributes provided in `NonKeyAttributes`, summed across all of
196
196
  # the secondary indexes, must not exceed 100. If you project the
197
197
  # same attribute into two different indexes, this counts as two
198
- # distinct attributes when determining the total.
198
+ # distinct attributes when determining the total. This limit only
199
+ # applies when you specify the ProjectionType of `INCLUDE`. You
200
+ # still can specify the ProjectionType of `ALL` to project all
201
+ # attributes from the source table, even if the table has more than
202
+ # 100 attributes.
199
203
  # * `IndexSizeBytes` - Represents the total size of the index, in bytes.
200
204
  # DynamoDB updates this value approximately every six hours. Recent
201
205
  # changes might not be reflected in this value.
@@ -273,7 +277,11 @@ module Aws::DynamoDB
273
277
  # attributes provided in `NonKeyAttributes`, summed across all of
274
278
  # the secondary indexes, must not exceed 100. If you project the
275
279
  # same attribute into two different indexes, this counts as two
276
- # distinct attributes when determining the total.
280
+ # distinct attributes when determining the total. This limit only
281
+ # applies when you specify the ProjectionType of `INCLUDE`. You
282
+ # still can specify the ProjectionType of `ALL` to project all
283
+ # attributes from the source table, even if the table has more than
284
+ # 100 attributes.
277
285
  # * `ProvisionedThroughput` - The provisioned throughput settings for
278
286
  # the global secondary index, consisting of read and write capacity
279
287
  # units, along with data about increases and decreases.
@@ -1962,18 +1970,19 @@ module Aws::DynamoDB
1962
1970
  # and write capacity of your table and global secondary indexes over the
1963
1971
  # past 30 minutes.
1964
1972
  #
1965
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
1966
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
1967
- # capacity mode][1].
1973
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
1974
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
1975
+ # [On-demand capacity mode][1].
1968
1976
  #
1969
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
1970
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode to
1971
- # [On-demand capacity mode][2].
1977
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
1978
+ # workloads with predictable growth where capacity requirements can be
1979
+ # reliably forecasted. `PROVISIONED` sets the billing mode to
1980
+ # [Provisioned capacity mode][2].
1972
1981
  #
1973
1982
  #
1974
1983
  #
1975
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1976
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
1984
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
1985
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1977
1986
  # @option options [Types::ProvisionedThroughput] :provisioned_throughput
1978
1987
  # The new provisioned throughput settings for the specified table or
1979
1988
  # index.
@@ -2046,7 +2055,7 @@ module Aws::DynamoDB
2046
2055
  #
2047
2056
  #
2048
2057
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
2049
- # [2]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
2058
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
2050
2059
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
2051
2060
  # @option options [Types::OnDemandThroughput] :on_demand_throughput
2052
2061
  # Updates the maximum number of read and write units for the specified
@@ -1522,7 +1522,7 @@ module Aws::DynamoDB
1522
1522
  include Aws::Structure
1523
1523
  end
1524
1524
 
1525
- # A condition specified in the operation could not be evaluated.
1525
+ # A condition specified in the operation failed to be evaluated.
1526
1526
  #
1527
1527
  # @!attribute [rw] message
1528
1528
  # The conditional request failed.
@@ -1722,7 +1722,9 @@ module Aws::DynamoDB
1722
1722
  # @!attribute [rw] on_demand_throughput
1723
1723
  # The maximum number of read and write units for the global secondary
1724
1724
  # index being created. If you use this parameter, you must specify
1725
- # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
1725
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use
1726
+ # either `OnDemand Throughput` or `ProvisionedThroughput` based on
1727
+ # your table's capacity mode.
1726
1728
  # @return [Types::OnDemandThroughput]
1727
1729
  #
1728
1730
  # @!attribute [rw] warm_throughput
@@ -1931,6 +1933,10 @@ module Aws::DynamoDB
1931
1933
  # across all of the secondary indexes, must not exceed 100. If you
1932
1934
  # project the same attribute into two different indexes, this
1933
1935
  # counts as two distinct attributes when determining the total.
1936
+ # This limit only applies when you specify the ProjectionType of
1937
+ # `INCLUDE`. You still can specify the ProjectionType of `ALL` to
1938
+ # project all attributes from the source table, even if the table
1939
+ # has more than 100 attributes.
1934
1940
  # @return [Array<Types::LocalSecondaryIndex>]
1935
1941
  #
1936
1942
  # @!attribute [rw] global_secondary_indexes
@@ -1969,6 +1975,10 @@ module Aws::DynamoDB
1969
1975
  # across all of the secondary indexes, must not exceed 100. If you
1970
1976
  # project the same attribute into two different indexes, this
1971
1977
  # counts as two distinct attributes when determining the total.
1978
+ # This limit only applies when you specify the ProjectionType of
1979
+ # `INCLUDE`. You still can specify the ProjectionType of `ALL` to
1980
+ # project all attributes from the source table, even if the table
1981
+ # has more than 100 attributes.
1972
1982
  # * `ProvisionedThroughput` - The provisioned throughput settings for
1973
1983
  # the global secondary index, consisting of read and write capacity
1974
1984
  # units.
@@ -1978,18 +1988,19 @@ module Aws::DynamoDB
1978
1988
  # Controls how you are charged for read and write throughput and how
1979
1989
  # you manage capacity. This setting can be changed later.
1980
1990
  #
1981
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
1982
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
1983
- # capacity mode][1].
1991
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
1992
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
1993
+ # [On-demand capacity mode][1].
1984
1994
  #
1985
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
1986
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
1987
- # to [On-demand capacity mode][2].
1995
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
1996
+ # workloads with predictable growth where capacity requirements can
1997
+ # be reliably forecasted. `PROVISIONED` sets the billing mode to
1998
+ # [Provisioned capacity mode][2].
1988
1999
  #
1989
2000
  #
1990
2001
  #
1991
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1992
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
2002
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
2003
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
1993
2004
  # @return [String]
1994
2005
  #
1995
2006
  # @!attribute [rw] provisioned_throughput
@@ -4110,7 +4121,8 @@ module Aws::DynamoDB
4110
4121
  #
4111
4122
  # @!attribute [rw] provisioned_throughput
4112
4123
  # Represents the provisioned throughput settings for the specified
4113
- # global secondary index.
4124
+ # global secondary index. You must use either `OnDemandThroughput` or
4125
+ # `ProvisionedThroughput` based on your table's capacity mode.
4114
4126
  #
4115
4127
  # For current minimum and maximum provisioned throughput values, see
4116
4128
  # [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
@@ -4124,7 +4136,9 @@ module Aws::DynamoDB
4124
4136
  # @!attribute [rw] on_demand_throughput
4125
4137
  # The maximum number of read and write units for the specified global
4126
4138
  # secondary index. If you use this parameter, you must specify
4127
- # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both.
4139
+ # `MaxReadRequestUnits`, `MaxWriteRequestUnits`, or both. You must use
4140
+ # either `OnDemandThroughput` or `ProvisionedThroughput` based on your
4141
+ # table's capacity mode.
4128
4142
  # @return [Types::OnDemandThroughput]
4129
4143
  #
4130
4144
  # @!attribute [rw] warm_throughput
@@ -5857,8 +5871,7 @@ module Aws::DynamoDB
5857
5871
  # The number of preceding days for which continuous backups are taken
5858
5872
  # and maintained. Your table data is only recoverable to any
5859
5873
  # point-in-time from within the configured recovery period. This
5860
- # parameter is optional. If no value is provided, the value will
5861
- # default to 35.
5874
+ # parameter is optional.
5862
5875
  # @return [Integer]
5863
5876
  #
5864
5877
  # @!attribute [rw] earliest_restorable_date_time
@@ -5960,10 +5973,14 @@ module Aws::DynamoDB
5960
5973
  # Represents the non-key attribute names which will be projected into
5961
5974
  # the index.
5962
5975
  #
5963
- # For local secondary indexes, the total count of `NonKeyAttributes`
5964
- # summed across all of the local secondary indexes, must not exceed
5965
- # 100. If you project the same attribute into two different indexes,
5966
- # this counts as two distinct attributes when determining the total.
5976
+ # For global and local secondary indexes, the total count of
5977
+ # `NonKeyAttributes` summed across all of the secondary indexes, must
5978
+ # not exceed 100. If you project the same attribute into two different
5979
+ # indexes, this counts as two distinct attributes when determining the
5980
+ # total. This limit only applies when you specify the ProjectionType
5981
+ # of `INCLUDE`. You still can specify the ProjectionType of `ALL` to
5982
+ # project all attributes from the source table, even if the table has
5983
+ # more than 100 attributes.
5967
5984
  # @return [Array<String>]
5968
5985
  #
5969
5986
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection AWS API Documentation
@@ -5975,9 +5992,9 @@ module Aws::DynamoDB
5975
5992
  include Aws::Structure
5976
5993
  end
5977
5994
 
5978
- # Represents the provisioned throughput settings for a specified table
5979
- # or index. The settings can be modified using the `UpdateTable`
5980
- # operation.
5995
+ # Represents the provisioned throughput settings for the specified
5996
+ # global secondary index. You must use `ProvisionedThroughput` or
5997
+ # `OnDemandThroughput` based on your table’s capacity mode.
5981
5998
  #
5982
5999
  # For current minimum and maximum provisioned throughput values, see
5983
6000
  # [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
@@ -7665,7 +7682,7 @@ module Aws::DynamoDB
7665
7682
  end
7666
7683
 
7667
7684
  # Throughput exceeds the current throughput quota for your account.
7668
- # Please contact [Amazon Web Services Support][1] to request a quota
7685
+ # Please contact [Amazon Web ServicesSupport][1] to request a quota
7669
7686
  # increase.
7670
7687
  #
7671
7688
  #
@@ -8663,9 +8680,9 @@ module Aws::DynamoDB
8663
8680
  # @return [String]
8664
8681
  #
8665
8682
  # @!attribute [rw] provisioned_throughput
8666
- # Represents the provisioned throughput settings for a specified table
8667
- # or index. The settings can be modified using the `UpdateTable`
8668
- # operation.
8683
+ # Represents the provisioned throughput settings for the specified
8684
+ # global secondary index. You must use `ProvisionedThroughput` or
8685
+ # `OnDemandThroughput` based on your table’s capacity mode.
8669
8686
  #
8670
8687
  # For current minimum and maximum provisioned throughput values, see
8671
8688
  # [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
@@ -8855,6 +8872,10 @@ module Aws::DynamoDB
8855
8872
  # across all of the secondary indexes, must not exceed 100. If you
8856
8873
  # project the same attribute into two different indexes, this
8857
8874
  # counts as two distinct attributes when determining the total.
8875
+ # This limit only applies when you specify the ProjectionType of
8876
+ # `INCLUDE`. You still can specify the ProjectionType of `ALL` to
8877
+ # project all attributes from the source table, even if the table
8878
+ # has more than 100 attributes.
8858
8879
  # * `IndexSizeBytes` - Represents the total size of the index, in
8859
8880
  # bytes. DynamoDB updates this value approximately every six hours.
8860
8881
  # Recent changes might not be reflected in this value.
@@ -8932,6 +8953,10 @@ module Aws::DynamoDB
8932
8953
  # across all of the secondary indexes, must not exceed 100. If you
8933
8954
  # project the same attribute into two different indexes, this
8934
8955
  # counts as two distinct attributes when determining the total.
8956
+ # This limit only applies when you specify the ProjectionType of
8957
+ # `INCLUDE`. You still can specify the ProjectionType of `ALL` to
8958
+ # project all attributes from the source table, even if the table
8959
+ # has more than 100 attributes.
8935
8960
  # * `ProvisionedThroughput` - The provisioned throughput settings for
8936
8961
  # the global secondary index, consisting of read and write capacity
8937
8962
  # units, along with data about increases and decreases.
@@ -9096,7 +9121,9 @@ module Aws::DynamoDB
9096
9121
  end
9097
9122
 
9098
9123
  # Represents the warm throughput value (in read units per second and
9099
- # write units per second) of the base table.
9124
+ # write units per second) of the table. Warm throughput is applicable
9125
+ # for DynamoDB Standard-IA tables and specifies the minimum provisioned
9126
+ # capacity maintained for immediate data access.
9100
9127
  #
9101
9128
  # @!attribute [rw] read_units_per_second
9102
9129
  # Represents the base table's warm throughput value in read units per
@@ -9109,7 +9136,7 @@ module Aws::DynamoDB
9109
9136
  # @return [Integer]
9110
9137
  #
9111
9138
  # @!attribute [rw] status
9112
- # Represents warm throughput value of the base table..
9139
+ # Represents warm throughput value of the base table.
9113
9140
  # @return [String]
9114
9141
  #
9115
9142
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableWarmThroughputDescription AWS API Documentation
@@ -10471,18 +10498,19 @@ module Aws::DynamoDB
10471
10498
  # the consumed read and write capacity of your table and global
10472
10499
  # secondary indexes over the past 30 minutes.
10473
10500
  #
10474
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
10475
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
10476
- # capacity mode][1].
10501
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
10502
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
10503
+ # [On-demand capacity mode][1].
10477
10504
  #
10478
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
10479
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
10480
- # to [On-demand capacity mode][2].
10505
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
10506
+ # workloads with predictable growth where capacity requirements can
10507
+ # be reliably forecasted. `PROVISIONED` sets the billing mode to
10508
+ # [Provisioned capacity mode][2].
10481
10509
  #
10482
10510
  #
10483
10511
  #
10484
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
10485
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
10512
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
10513
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
10486
10514
  # @return [String]
10487
10515
  #
10488
10516
  # @!attribute [rw] provisioned_throughput
@@ -10574,7 +10602,7 @@ module Aws::DynamoDB
10574
10602
  #
10575
10603
  #
10576
10604
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
10577
- # [2]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
10605
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
10578
10606
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
10579
10607
  # @return [String]
10580
10608
  #
@@ -56,7 +56,7 @@ module Aws::DynamoDB
56
56
  autoload :Endpoints, 'aws-sdk-dynamodb/endpoints'
57
57
  autoload :Table, 'aws-sdk-dynamodb/table'
58
58
 
59
- GEM_VERSION = '1.138.0'
59
+ GEM_VERSION = '1.142.0'
60
60
 
61
61
  end
62
62
 
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.138.0
4
+ version: 1.142.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-03-13 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core