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.
@@ -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
@@ -5853,6 +5864,13 @@ module Aws::DynamoDB
5853
5864
  # * `DISABLED` - Point in time recovery is disabled.
5854
5865
  # @return [String]
5855
5866
  #
5867
+ # @!attribute [rw] recovery_period_in_days
5868
+ # The number of preceding days for which continuous backups are taken
5869
+ # and maintained. Your table data is only recoverable to any
5870
+ # point-in-time from within the configured recovery period. This
5871
+ # parameter is optional.
5872
+ # @return [Integer]
5873
+ #
5856
5874
  # @!attribute [rw] earliest_restorable_date_time
5857
5875
  # Specifies the earliest point in time you can restore your table to.
5858
5876
  # You can restore your table to any point in time during the last 35
@@ -5868,6 +5886,7 @@ module Aws::DynamoDB
5868
5886
  #
5869
5887
  class PointInTimeRecoveryDescription < Struct.new(
5870
5888
  :point_in_time_recovery_status,
5889
+ :recovery_period_in_days,
5871
5890
  :earliest_restorable_date_time,
5872
5891
  :latest_restorable_date_time)
5873
5892
  SENSITIVE = []
@@ -5881,10 +5900,19 @@ module Aws::DynamoDB
5881
5900
  # disabled (false) on the table.
5882
5901
  # @return [Boolean]
5883
5902
  #
5903
+ # @!attribute [rw] recovery_period_in_days
5904
+ # The number of preceding days for which continuous backups are taken
5905
+ # and maintained. Your table data is only recoverable to any
5906
+ # point-in-time from within the configured recovery period. This
5907
+ # parameter is optional. If no value is provided, the value will
5908
+ # default to 35.
5909
+ # @return [Integer]
5910
+ #
5884
5911
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PointInTimeRecoverySpecification AWS API Documentation
5885
5912
  #
5886
5913
  class PointInTimeRecoverySpecification < Struct.new(
5887
- :point_in_time_recovery_enabled)
5914
+ :point_in_time_recovery_enabled,
5915
+ :recovery_period_in_days)
5888
5916
  SENSITIVE = []
5889
5917
  include Aws::Structure
5890
5918
  end
@@ -5942,10 +5970,14 @@ module Aws::DynamoDB
5942
5970
  # Represents the non-key attribute names which will be projected into
5943
5971
  # the index.
5944
5972
  #
5945
- # For local secondary indexes, the total count of `NonKeyAttributes`
5946
- # summed across all of the local secondary indexes, must not exceed
5947
- # 100. If you project the same attribute into two different indexes,
5948
- # this counts as two distinct attributes when determining the total.
5973
+ # For global and local secondary indexes, the total count of
5974
+ # `NonKeyAttributes` summed across all of the secondary indexes, must
5975
+ # not exceed 100. If you project the same attribute into two different
5976
+ # indexes, this counts as two distinct attributes when determining the
5977
+ # total. This limit only applies when you specify the ProjectionType
5978
+ # of `INCLUDE`. You still can specify the ProjectionType of `ALL` to
5979
+ # project all attributes from the source table, even if the table has
5980
+ # more than 100 attributes.
5949
5981
  # @return [Array<String>]
5950
5982
  #
5951
5983
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Projection AWS API Documentation
@@ -5957,9 +5989,9 @@ module Aws::DynamoDB
5957
5989
  include Aws::Structure
5958
5990
  end
5959
5991
 
5960
- # Represents the provisioned throughput settings for a specified table
5961
- # or index. The settings can be modified using the `UpdateTable`
5962
- # operation.
5992
+ # Represents the provisioned throughput settings for the specified
5993
+ # global secondary index. You must use `ProvisionedThroughput` or
5994
+ # `OnDemandThroughput` based on your table’s capacity mode.
5963
5995
  #
5964
5996
  # For current minimum and maximum provisioned throughput values, see
5965
5997
  # [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
@@ -7647,7 +7679,7 @@ module Aws::DynamoDB
7647
7679
  end
7648
7680
 
7649
7681
  # Throughput exceeds the current throughput quota for your account.
7650
- # Please contact [Amazon Web Services Support][1] to request a quota
7682
+ # Please contact [Amazon Web ServicesSupport][1] to request a quota
7651
7683
  # increase.
7652
7684
  #
7653
7685
  #
@@ -8645,9 +8677,9 @@ module Aws::DynamoDB
8645
8677
  # @return [String]
8646
8678
  #
8647
8679
  # @!attribute [rw] provisioned_throughput
8648
- # Represents the provisioned throughput settings for a specified table
8649
- # or index. The settings can be modified using the `UpdateTable`
8650
- # operation.
8680
+ # Represents the provisioned throughput settings for the specified
8681
+ # global secondary index. You must use `ProvisionedThroughput` or
8682
+ # `OnDemandThroughput` based on your table’s capacity mode.
8651
8683
  #
8652
8684
  # For current minimum and maximum provisioned throughput values, see
8653
8685
  # [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
@@ -8837,6 +8869,10 @@ module Aws::DynamoDB
8837
8869
  # across all of the secondary indexes, must not exceed 100. If you
8838
8870
  # project the same attribute into two different indexes, this
8839
8871
  # counts as two distinct attributes when determining the total.
8872
+ # This limit only applies when you specify the ProjectionType of
8873
+ # `INCLUDE`. You still can specify the ProjectionType of `ALL` to
8874
+ # project all attributes from the source table, even if the table
8875
+ # has more than 100 attributes.
8840
8876
  # * `IndexSizeBytes` - Represents the total size of the index, in
8841
8877
  # bytes. DynamoDB updates this value approximately every six hours.
8842
8878
  # Recent changes might not be reflected in this value.
@@ -8914,6 +8950,10 @@ module Aws::DynamoDB
8914
8950
  # across all of the secondary indexes, must not exceed 100. If you
8915
8951
  # project the same attribute into two different indexes, this
8916
8952
  # counts as two distinct attributes when determining the total.
8953
+ # This limit only applies when you specify the ProjectionType of
8954
+ # `INCLUDE`. You still can specify the ProjectionType of `ALL` to
8955
+ # project all attributes from the source table, even if the table
8956
+ # has more than 100 attributes.
8917
8957
  # * `ProvisionedThroughput` - The provisioned throughput settings for
8918
8958
  # the global secondary index, consisting of read and write capacity
8919
8959
  # units, along with data about increases and decreases.
@@ -9078,7 +9118,9 @@ module Aws::DynamoDB
9078
9118
  end
9079
9119
 
9080
9120
  # Represents the warm throughput value (in read units per second and
9081
- # write units per second) of the base table.
9121
+ # write units per second) of the table. Warm throughput is applicable
9122
+ # for DynamoDB Standard-IA tables and specifies the minimum provisioned
9123
+ # capacity maintained for immediate data access.
9082
9124
  #
9083
9125
  # @!attribute [rw] read_units_per_second
9084
9126
  # Represents the base table's warm throughput value in read units per
@@ -9091,7 +9133,7 @@ module Aws::DynamoDB
9091
9133
  # @return [Integer]
9092
9134
  #
9093
9135
  # @!attribute [rw] status
9094
- # Represents warm throughput value of the base table..
9136
+ # Represents warm throughput value of the base table.
9095
9137
  # @return [String]
9096
9138
  #
9097
9139
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableWarmThroughputDescription AWS API Documentation
@@ -10453,18 +10495,19 @@ module Aws::DynamoDB
10453
10495
  # the consumed read and write capacity of your table and global
10454
10496
  # secondary indexes over the past 30 minutes.
10455
10497
  #
10456
- # * `PROVISIONED` - We recommend using `PROVISIONED` for predictable
10457
- # workloads. `PROVISIONED` sets the billing mode to [Provisioned
10458
- # capacity mode][1].
10498
+ # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for most
10499
+ # DynamoDB workloads. `PAY_PER_REQUEST` sets the billing mode to
10500
+ # [On-demand capacity mode][1].
10459
10501
  #
10460
- # * `PAY_PER_REQUEST` - We recommend using `PAY_PER_REQUEST` for
10461
- # unpredictable workloads. `PAY_PER_REQUEST` sets the billing mode
10462
- # to [On-demand capacity mode][2].
10502
+ # * `PROVISIONED` - We recommend using `PROVISIONED` for steady
10503
+ # workloads with predictable growth where capacity requirements can
10504
+ # be reliably forecasted. `PROVISIONED` sets the billing mode to
10505
+ # [Provisioned capacity mode][2].
10463
10506
  #
10464
10507
  #
10465
10508
  #
10466
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
10467
- # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
10509
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/on-demand-capacity-mode.html
10510
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/provisioned-capacity-mode.html
10468
10511
  # @return [String]
10469
10512
  #
10470
10513
  # @!attribute [rw] provisioned_throughput
@@ -10556,7 +10599,7 @@ module Aws::DynamoDB
10556
10599
  #
10557
10600
  #
10558
10601
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
10559
- # [2]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
10602
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
10560
10603
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
10561
10604
  # @return [String]
10562
10605
  #
@@ -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.132.0'
59
+ GEM_VERSION = '1.140.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -40,7 +40,9 @@ module Aws
40
40
  ?logger: untyped,
41
41
  ?max_attempts: Integer,
42
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
43
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
44
46
  ?retry_backoff: Proc,
45
47
  ?retry_base_delay: Float,
46
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -1098,7 +1100,8 @@ module Aws
1098
1100
  def update_continuous_backups: (
1099
1101
  table_name: ::String,
1100
1102
  point_in_time_recovery_specification: {
1101
- point_in_time_recovery_enabled: bool
1103
+ point_in_time_recovery_enabled: bool,
1104
+ recovery_period_in_days: ::Integer?
1102
1105
  }
1103
1106
  ) -> _UpdateContinuousBackupsResponseSuccess
1104
1107
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateContinuousBackupsResponseSuccess
data/sig/resource.rbs CHANGED
@@ -40,7 +40,9 @@ module Aws
40
40
  ?logger: untyped,
41
41
  ?max_attempts: Integer,
42
42
  ?profile: String,
43
+ ?request_checksum_calculation: String,
43
44
  ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
44
46
  ?retry_backoff: Proc,
45
47
  ?retry_base_delay: Float,
46
48
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -1096,6 +1096,7 @@ module Aws::DynamoDB
1096
1096
 
1097
1097
  class PointInTimeRecoveryDescription
1098
1098
  attr_accessor point_in_time_recovery_status: ("ENABLED" | "DISABLED")
1099
+ attr_accessor recovery_period_in_days: ::Integer
1099
1100
  attr_accessor earliest_restorable_date_time: ::Time
1100
1101
  attr_accessor latest_restorable_date_time: ::Time
1101
1102
  SENSITIVE: []
@@ -1103,6 +1104,7 @@ module Aws::DynamoDB
1103
1104
 
1104
1105
  class PointInTimeRecoverySpecification
1105
1106
  attr_accessor point_in_time_recovery_enabled: bool
1107
+ attr_accessor recovery_period_in_days: ::Integer
1106
1108
  SENSITIVE: []
1107
1109
  end
1108
1110
 
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.132.0
4
+ version: 1.140.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-12-09 00:00:00.000000000 Z
11
+ date: 2025-04-11 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement