aws-sdk-dynamodb 1.162.0 → 1.163.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: 86d68894ebe38eb32ea69043bcd3d2851cfbbd93849a4aecb8a7fa0432865a70
4
- data.tar.gz: ba4e527942e9c6a655d933cd75c61c33cf126261f8aede92e205501fbc018932
3
+ metadata.gz: f41c8752529f6fa017f58d20c77747e0205df4faa7f4be79087bb9368ac45dc7
4
+ data.tar.gz: ffc2ea44b9a6d888c3efddd1ae94184c1121243fadfc48ec4da8d95072ebbb9d
5
5
  SHA512:
6
- metadata.gz: f61b179695dd41f4aa95ed1ee4f6db1a4294ce9f443bf70262db02c5f453d05b88a2430424d562509f7c4a727272c00fe0cb9bc118b0cb20593643d525dce820
7
- data.tar.gz: 337a3aee0f799b1cff75b02e99fd526c4a5604bacfe8ab3fa73baae8e42411bbe59783c227041906565d35aa58bb93361db36cdab911de881566b6bad673c099
6
+ metadata.gz: e7b687313c35a9adbc0bb5d54501e3f1880c395d79adcfc0adde6d70ffe0e76f77cc9e55ea1ef3b4f0cbe8fb1cab64b9445ae60f46f0e9114000497af6c7ca78
7
+ data.tar.gz: 425005f5e6c6d3e318e89fb0527729eb1bf00bd0d9029dd8a981ef1f4a5ed47e1d26d56d7d10d5cb273518fbaedb1f634a1f44e0daf88868b639055dc1ee1252
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.163.0 (2026-02-23)
5
+ ------------------
6
+
7
+ * Feature - This change supports the creation of multi-account global tables. It adds one new arguments to UpdateTable, GlobalTableSettingsReplicationMode.
8
+
4
9
  1.162.0 (2026-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.162.0
1
+ 1.163.0
@@ -4504,7 +4504,8 @@ module Aws::DynamoDB
4504
4504
  req.send_request(options)
4505
4505
  end
4506
4506
 
4507
- # Lists completed exports within the past 90 days.
4507
+ # Lists completed exports within the past 90 days, in reverse
4508
+ # alphanumeric order of `ExportArn`.
4508
4509
  #
4509
4510
  # @option params [String] :table_arn
4510
4511
  # The Amazon Resource Name (ARN) associated with the exported table.
@@ -4803,6 +4804,12 @@ module Aws::DynamoDB
4803
4804
  #
4804
4805
  # </note>
4805
4806
  #
4807
+ # <note markdown="1"> To determine whether `PutItem` overwrote an existing item, use
4808
+ # `ReturnValues` set to `ALL_OLD`. If the response includes the
4809
+ # `Attributes` element, an existing item was overwritten.
4810
+ #
4811
+ # </note>
4812
+ #
4806
4813
  # For more information about `PutItem`, see [Working with Items][1] in
4807
4814
  # the *Amazon DynamoDB Developer Guide*.
4808
4815
  #
@@ -7720,9 +7727,7 @@ module Aws::DynamoDB
7720
7727
  # Both sets must have the same primitive data type. For example, if
7721
7728
  # the existing data type is a set of strings, the `Value` must also
7722
7729
  # be a set of strings.
7723
- # The `ADD` action only supports Number and set data types. In
7724
- # addition, `ADD` can only be used on top-level attributes, not nested
7725
- # attributes.
7730
+ # The `ADD` action only supports Number and set data types.
7726
7731
  #
7727
7732
  # * `DELETE` - Deletes an element from a set.
7728
7733
  #
@@ -7731,9 +7736,7 @@ module Aws::DynamoDB
7731
7736
  # `[a,b,c]` and the `DELETE` action specifies `[a,c]`, then the final
7732
7737
  # attribute value is `[b]`. Specifying an empty set is an error.
7733
7738
  #
7734
- # The `DELETE` action only supports set data types. In addition,
7735
- # `DELETE` can only be used on top-level attributes, not nested
7736
- # attributes.
7739
+ # The `DELETE` action only supports set data types.
7737
7740
  #
7738
7741
  # You can have many actions in a single expression, such as the
7739
7742
  # following: `SET a=:value1, b=:value2 DELETE :value3, :value4, :value5`
@@ -8159,6 +8162,18 @@ module Aws::DynamoDB
8159
8162
  # Represents the warm throughput (in read units per second and write
8160
8163
  # units per second) for updating a table.
8161
8164
  #
8165
+ # @option params [String] :global_table_settings_replication_mode
8166
+ # Controls the settings replication mode for a global table replica.
8167
+ # This attribute can be defined using UpdateTable operation only on a
8168
+ # regional table with values:
8169
+ #
8170
+ # * `ENABLED`: Defines settings replication on a regional table to be
8171
+ # used as a source table for creating Multi-Account Global Table.
8172
+ #
8173
+ # * `DISABLED`: Remove settings replication on a regional table.
8174
+ # Settings replication needs to be defined to ENABLED again in order
8175
+ # to create a Multi-Account Global Table using this table.
8176
+ #
8162
8177
  # @return [Types::UpdateTableOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8163
8178
  #
8164
8179
  # * {Types::UpdateTableOutput#table_description #table_description} => Types::TableDescription
@@ -8356,6 +8371,7 @@ module Aws::DynamoDB
8356
8371
  # read_units_per_second: 1,
8357
8372
  # write_units_per_second: 1,
8358
8373
  # },
8374
+ # global_table_settings_replication_mode: "ENABLED", # accepts ENABLED, DISABLED, ENABLED_WITH_OVERRIDES
8359
8375
  # })
8360
8376
  #
8361
8377
  # @example Response structure
@@ -8729,7 +8745,7 @@ module Aws::DynamoDB
8729
8745
  tracer: tracer
8730
8746
  )
8731
8747
  context[:gem_name] = 'aws-sdk-dynamodb'
8732
- context[:gem_version] = '1.162.0'
8748
+ context[:gem_version] = '1.163.0'
8733
8749
  Seahorse::Client::Request.new(handlers, context)
8734
8750
  end
8735
8751
 
@@ -2015,6 +2015,7 @@ module Aws::DynamoDB
2015
2015
  UpdateTableInput.add_member(:global_table_witness_updates, Shapes::ShapeRef.new(shape: GlobalTableWitnessGroupUpdateList, location_name: "GlobalTableWitnessUpdates"))
2016
2016
  UpdateTableInput.add_member(:on_demand_throughput, Shapes::ShapeRef.new(shape: OnDemandThroughput, location_name: "OnDemandThroughput"))
2017
2017
  UpdateTableInput.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughput, location_name: "WarmThroughput"))
2018
+ UpdateTableInput.add_member(:global_table_settings_replication_mode, Shapes::ShapeRef.new(shape: GlobalTableSettingsReplicationMode, location_name: "GlobalTableSettingsReplicationMode"))
2018
2019
  UpdateTableInput.struct_class = Types::UpdateTableInput
2019
2020
 
2020
2021
  UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
@@ -40,7 +40,7 @@ module Aws::DynamoDB
40
40
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
41
41
  raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
42
42
  end
43
- return Aws::Endpoints::Endpoint.new(url: "http://localhost:8000", headers: {}, properties: {"authSchemes" => [{"name" => "sigv4", "signingName" => "dynamodb", "signingRegion" => "us-east-1"}]}, metadata: { account_id_endpoint: false })
43
+ 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 })
44
44
  end
45
45
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
46
46
  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)
@@ -1985,6 +1985,7 @@ module Aws::DynamoDB
1985
1985
  # read_units_per_second: 1,
1986
1986
  # write_units_per_second: 1,
1987
1987
  # },
1988
+ # global_table_settings_replication_mode: "ENABLED", # accepts ENABLED, DISABLED, ENABLED_WITH_OVERRIDES
1988
1989
  # })
1989
1990
  # @param [Hash] options ({})
1990
1991
  # @option options [Array<Types::AttributeDefinition>] :attribute_definitions
@@ -2105,6 +2106,17 @@ module Aws::DynamoDB
2105
2106
  # @option options [Types::WarmThroughput] :warm_throughput
2106
2107
  # Represents the warm throughput (in read units per second and write
2107
2108
  # units per second) for updating a table.
2109
+ # @option options [String] :global_table_settings_replication_mode
2110
+ # Controls the settings replication mode for a global table replica.
2111
+ # This attribute can be defined using UpdateTable operation only on a
2112
+ # regional table with values:
2113
+ #
2114
+ # * `ENABLED`: Defines settings replication on a regional table to be
2115
+ # used as a source table for creating Multi-Account Global Table.
2116
+ #
2117
+ # * `DISABLED`: Remove settings replication on a regional table.
2118
+ # Settings replication needs to be defined to ENABLED again in order
2119
+ # to create a Multi-Account Global Table using this table.
2108
2120
  # @return [Table]
2109
2121
  def update(options = {})
2110
2122
  options = options.merge(table_name: @name)
@@ -2293,9 +2305,7 @@ module Aws::DynamoDB
2293
2305
  # Both sets must have the same primitive data type. For example, if
2294
2306
  # the existing data type is a set of strings, the `Value` must also
2295
2307
  # be a set of strings.
2296
- # The `ADD` action only supports Number and set data types. In
2297
- # addition, `ADD` can only be used on top-level attributes, not nested
2298
- # attributes.
2308
+ # The `ADD` action only supports Number and set data types.
2299
2309
  #
2300
2310
  # * `DELETE` - Deletes an element from a set.
2301
2311
  #
@@ -2304,9 +2314,7 @@ module Aws::DynamoDB
2304
2314
  # `[a,b,c]` and the `DELETE` action specifies `[a,c]`, then the final
2305
2315
  # attribute value is `[b]`. Specifying an empty set is an error.
2306
2316
  #
2307
- # The `DELETE` action only supports set data types. In addition,
2308
- # `DELETE` can only be used on top-level attributes, not nested
2309
- # attributes.
2317
+ # The `DELETE` action only supports set data types.
2310
2318
  #
2311
2319
  # You can have many actions in a single expression, such as the
2312
2320
  # following: `SET a=:value1, b=:value2 DELETE :value3, :value4, :value5`
@@ -10433,9 +10433,7 @@ module Aws::DynamoDB
10433
10433
  # Both sets must have the same primitive data type. For example,
10434
10434
  # if the existing data type is a set of strings, the `Value` must
10435
10435
  # also be a set of strings.
10436
- # The `ADD` action only supports Number and set data types. In
10437
- # addition, `ADD` can only be used on top-level attributes, not
10438
- # nested attributes.
10436
+ # The `ADD` action only supports Number and set data types.
10439
10437
  #
10440
10438
  # * `DELETE` - Deletes an element from a set.
10441
10439
  #
@@ -10445,9 +10443,7 @@ module Aws::DynamoDB
10445
10443
  # final attribute value is `[b]`. Specifying an empty set is an
10446
10444
  # error.
10447
10445
  #
10448
- # The `DELETE` action only supports set data types. In addition,
10449
- # `DELETE` can only be used on top-level attributes, not nested
10450
- # attributes.
10446
+ # The `DELETE` action only supports set data types.
10451
10447
  #
10452
10448
  # You can have many actions in a single expression, such as the
10453
10449
  # following: `SET a=:value1, b=:value2 DELETE :value3, :value4,
@@ -10920,6 +10916,19 @@ module Aws::DynamoDB
10920
10916
  # units per second) for updating a table.
10921
10917
  # @return [Types::WarmThroughput]
10922
10918
  #
10919
+ # @!attribute [rw] global_table_settings_replication_mode
10920
+ # Controls the settings replication mode for a global table replica.
10921
+ # This attribute can be defined using UpdateTable operation only on a
10922
+ # regional table with values:
10923
+ #
10924
+ # * `ENABLED`: Defines settings replication on a regional table to be
10925
+ # used as a source table for creating Multi-Account Global Table.
10926
+ #
10927
+ # * `DISABLED`: Remove settings replication on a regional table.
10928
+ # Settings replication needs to be defined to ENABLED again in order
10929
+ # to create a Multi-Account Global Table using this table.
10930
+ # @return [String]
10931
+ #
10923
10932
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
10924
10933
  #
10925
10934
  class UpdateTableInput < Struct.new(
@@ -10936,7 +10945,8 @@ module Aws::DynamoDB
10936
10945
  :multi_region_consistency,
10937
10946
  :global_table_witness_updates,
10938
10947
  :on_demand_throughput,
10939
- :warm_throughput)
10948
+ :warm_throughput,
10949
+ :global_table_settings_replication_mode)
10940
10950
  SENSITIVE = []
10941
10951
  include Aws::Structure
10942
10952
  end
@@ -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.162.0'
59
+ GEM_VERSION = '1.163.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -1432,7 +1432,8 @@ module Aws
1432
1432
  ?warm_throughput: {
1433
1433
  read_units_per_second: ::Integer?,
1434
1434
  write_units_per_second: ::Integer?
1435
- }
1435
+ },
1436
+ ?global_table_settings_replication_mode: ("ENABLED" | "DISABLED" | "ENABLED_WITH_OVERRIDES")
1436
1437
  ) -> _UpdateTableResponseSuccess
1437
1438
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableResponseSuccess
1438
1439
 
data/sig/table.rbs CHANGED
@@ -358,7 +358,8 @@ module Aws
358
358
  ?warm_throughput: {
359
359
  read_units_per_second: ::Integer?,
360
360
  write_units_per_second: ::Integer?
361
- }
361
+ },
362
+ ?global_table_settings_replication_mode: ("ENABLED" | "DISABLED" | "ENABLED_WITH_OVERRIDES")
362
363
  ) -> Table
363
364
  | (?Hash[Symbol, untyped]) -> Table
364
365
 
data/sig/types.rbs CHANGED
@@ -1848,6 +1848,7 @@ module Aws::DynamoDB
1848
1848
  attr_accessor global_table_witness_updates: ::Array[Types::GlobalTableWitnessGroupUpdate]
1849
1849
  attr_accessor on_demand_throughput: Types::OnDemandThroughput
1850
1850
  attr_accessor warm_throughput: Types::WarmThroughput
1851
+ attr_accessor global_table_settings_replication_mode: ("ENABLED" | "DISABLED" | "ENABLED_WITH_OVERRIDES")
1851
1852
  SENSITIVE: []
1852
1853
  end
1853
1854
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-dynamodb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.162.0
4
+ version: 1.163.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services