aws-sdk-dynamodb 1.137.0 → 1.139.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 +32 -22
- data/lib/aws-sdk-dynamodb/client_api.rb +44 -44
- data/lib/aws-sdk-dynamodb/endpoint_parameters.rb +16 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +33 -18
- data/lib/aws-sdk-dynamodb/endpoints.rb +543 -1
- data/lib/aws-sdk-dynamodb/resource.rb +19 -10
- data/lib/aws-sdk-dynamodb/table.rb +20 -11
- data/lib/aws-sdk-dynamodb/types.rb +46 -25
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +2 -2
@@ -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
|
-
# * `
|
469
|
-
# workloads. `
|
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
|
-
# * `
|
473
|
-
#
|
474
|
-
#
|
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/
|
479
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
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
|
-
# * `
|
1966
|
-
# workloads. `
|
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
|
-
# * `
|
1970
|
-
#
|
1971
|
-
#
|
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/
|
1976
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
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/
|
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
|
1525
|
+
# A condition specified in the operation failed to be evaluated.
|
1526
1526
|
#
|
1527
1527
|
# @!attribute [rw] message
|
1528
1528
|
# The conditional request failed.
|
@@ -1931,6 +1931,10 @@ module Aws::DynamoDB
|
|
1931
1931
|
# across all of the secondary indexes, must not exceed 100. If you
|
1932
1932
|
# project the same attribute into two different indexes, this
|
1933
1933
|
# counts as two distinct attributes when determining the total.
|
1934
|
+
# This limit only applies when you specify the ProjectionType of
|
1935
|
+
# `INCLUDE`. You still can specify the ProjectionType of `ALL` to
|
1936
|
+
# project all attributes from the source table, even if the table
|
1937
|
+
# has more than 100 attributes.
|
1934
1938
|
# @return [Array<Types::LocalSecondaryIndex>]
|
1935
1939
|
#
|
1936
1940
|
# @!attribute [rw] global_secondary_indexes
|
@@ -1969,6 +1973,10 @@ module Aws::DynamoDB
|
|
1969
1973
|
# across all of the secondary indexes, must not exceed 100. If you
|
1970
1974
|
# project the same attribute into two different indexes, this
|
1971
1975
|
# counts as two distinct attributes when determining the total.
|
1976
|
+
# This limit only applies when you specify the ProjectionType of
|
1977
|
+
# `INCLUDE`. You still can specify the ProjectionType of `ALL` to
|
1978
|
+
# project all attributes from the source table, even if the table
|
1979
|
+
# has more than 100 attributes.
|
1972
1980
|
# * `ProvisionedThroughput` - The provisioned throughput settings for
|
1973
1981
|
# the global secondary index, consisting of read and write capacity
|
1974
1982
|
# units.
|
@@ -1978,18 +1986,19 @@ module Aws::DynamoDB
|
|
1978
1986
|
# Controls how you are charged for read and write throughput and how
|
1979
1987
|
# you manage capacity. This setting can be changed later.
|
1980
1988
|
#
|
1981
|
-
# * `
|
1982
|
-
# workloads. `
|
1983
|
-
# capacity mode][1].
|
1989
|
+
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
|
1990
|
+
# DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
|
1991
|
+
# [On-demand capacity mode][1].
|
1984
1992
|
#
|
1985
|
-
# * `
|
1986
|
-
#
|
1987
|
-
#
|
1993
|
+
# * `PROVISIONED` - We recommend using `PROVISIONED` for steady
|
1994
|
+
# workloads with predictable growth where capacity requirements can
|
1995
|
+
# be reliably forecasted. `PROVISIONED` sets the billing mode to
|
1996
|
+
# [Provisioned capacity mode][2].
|
1988
1997
|
#
|
1989
1998
|
#
|
1990
1999
|
#
|
1991
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
1992
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
2000
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
2001
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
1993
2002
|
# @return [String]
|
1994
2003
|
#
|
1995
2004
|
# @!attribute [rw] provisioned_throughput
|
@@ -5857,8 +5866,7 @@ module Aws::DynamoDB
|
|
5857
5866
|
# The number of preceding days for which continuous backups are taken
|
5858
5867
|
# and maintained. Your table data is only recoverable to any
|
5859
5868
|
# point-in-time from within the configured recovery period. This
|
5860
|
-
# parameter is optional.
|
5861
|
-
# default to 35.
|
5869
|
+
# parameter is optional.
|
5862
5870
|
# @return [Integer]
|
5863
5871
|
#
|
5864
5872
|
# @!attribute [rw] earliest_restorable_date_time
|
@@ -5960,10 +5968,14 @@ module Aws::DynamoDB
|
|
5960
5968
|
# Represents the non-key attribute names which will be projected into
|
5961
5969
|
# the index.
|
5962
5970
|
#
|
5963
|
-
# For local secondary indexes, the total count of
|
5964
|
-
# summed across all of the
|
5965
|
-
# 100. If you project the same attribute into two different
|
5966
|
-
# this counts as two distinct attributes when determining the
|
5971
|
+
# For global and local secondary indexes, the total count of
|
5972
|
+
# `NonKeyAttributes` summed across all of the secondary indexes, must
|
5973
|
+
# not exceed 100. If you project the same attribute into two different
|
5974
|
+
# indexes, this counts as two distinct attributes when determining the
|
5975
|
+
# total. This limit only applies when you specify the ProjectionType
|
5976
|
+
# of `INCLUDE`. You still can specify the ProjectionType of `ALL` to
|
5977
|
+
# project all attributes from the source table, even if the table has
|
5978
|
+
# more than 100 attributes.
|
5967
5979
|
# @return [Array<String>]
|
5968
5980
|
#
|
5969
5981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection AWS API Documentation
|
@@ -7665,7 +7677,7 @@ module Aws::DynamoDB
|
|
7665
7677
|
end
|
7666
7678
|
|
7667
7679
|
# Throughput exceeds the current throughput quota for your account.
|
7668
|
-
# Please contact [Amazon Web
|
7680
|
+
# Please contact [Amazon Web ServicesSupport][1] to request a quota
|
7669
7681
|
# increase.
|
7670
7682
|
#
|
7671
7683
|
#
|
@@ -8855,6 +8867,10 @@ module Aws::DynamoDB
|
|
8855
8867
|
# across all of the secondary indexes, must not exceed 100. If you
|
8856
8868
|
# project the same attribute into two different indexes, this
|
8857
8869
|
# counts as two distinct attributes when determining the total.
|
8870
|
+
# This limit only applies when you specify the ProjectionType of
|
8871
|
+
# `INCLUDE`. You still can specify the ProjectionType of `ALL` to
|
8872
|
+
# project all attributes from the source table, even if the table
|
8873
|
+
# has more than 100 attributes.
|
8858
8874
|
# * `IndexSizeBytes` - Represents the total size of the index, in
|
8859
8875
|
# bytes. DynamoDB updates this value approximately every six hours.
|
8860
8876
|
# Recent changes might not be reflected in this value.
|
@@ -8932,6 +8948,10 @@ module Aws::DynamoDB
|
|
8932
8948
|
# across all of the secondary indexes, must not exceed 100. If you
|
8933
8949
|
# project the same attribute into two different indexes, this
|
8934
8950
|
# counts as two distinct attributes when determining the total.
|
8951
|
+
# This limit only applies when you specify the ProjectionType of
|
8952
|
+
# `INCLUDE`. You still can specify the ProjectionType of `ALL` to
|
8953
|
+
# project all attributes from the source table, even if the table
|
8954
|
+
# has more than 100 attributes.
|
8935
8955
|
# * `ProvisionedThroughput` - The provisioned throughput settings for
|
8936
8956
|
# the global secondary index, consisting of read and write capacity
|
8937
8957
|
# units, along with data about increases and decreases.
|
@@ -10471,18 +10491,19 @@ module Aws::DynamoDB
|
|
10471
10491
|
# the consumed read and write capacity of your table and global
|
10472
10492
|
# secondary indexes over the past 30 minutes.
|
10473
10493
|
#
|
10474
|
-
# * `
|
10475
|
-
# workloads. `
|
10476
|
-
# capacity mode][1].
|
10494
|
+
# * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
|
10495
|
+
# DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
|
10496
|
+
# [On-demand capacity mode][1].
|
10477
10497
|
#
|
10478
|
-
# * `
|
10479
|
-
#
|
10480
|
-
#
|
10498
|
+
# * `PROVISIONED` - We recommend using `PROVISIONED` for steady
|
10499
|
+
# workloads with predictable growth where capacity requirements can
|
10500
|
+
# be reliably forecasted. `PROVISIONED` sets the billing mode to
|
10501
|
+
# [Provisioned capacity mode][2].
|
10481
10502
|
#
|
10482
10503
|
#
|
10483
10504
|
#
|
10484
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
10485
|
-
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
10505
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
|
10506
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
|
10486
10507
|
# @return [String]
|
10487
10508
|
#
|
10488
10509
|
# @!attribute [rw] provisioned_throughput
|
@@ -10574,7 +10595,7 @@ module Aws::DynamoDB
|
|
10574
10595
|
#
|
10575
10596
|
#
|
10576
10597
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
|
10577
|
-
# [2]: https://docs.aws.amazon.com/
|
10598
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
|
10578
10599
|
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
|
10579
10600
|
# @return [String]
|
10580
10601
|
#
|
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.139.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-
|
11
|
+
date: 2025-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|