aws-sdk-dynamodb 1.130.0 → 1.131.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14964407a2acb9e6592aacd97326988eb46f76c4837d896635ade93e48550bbc
4
- data.tar.gz: 1ce3c66bb492a578e97703f13078fb614493d95abbdb10577372c04082714a11
3
+ metadata.gz: ce80883c841a0d4e63b2955d3518d72f51e4083431ad1a067e8384e161c4e4bc
4
+ data.tar.gz: efb1a080430d312ae6a59deeffb3c307090c2a8f17ed8889e861207321fbbc3d
5
5
  SHA512:
6
- metadata.gz: 0ce159cb6446c59a3bb204155c6f36b2b6c7f693d832b5f810f3fc0784578fe3b70596a92b0213500e46f69f1e0cde2bde6131534568d7a5051f86b4d230694f
7
- data.tar.gz: 9f43f5d128cd3d994a0f9a2b2af2257999265d0706f715c79df10eb4a7dd5bdaf503111dc1729661874e53a3c4906410b155b072d9e37dcff7e954b3d27eddc9
6
+ metadata.gz: ff7a0fccb7e31d25e9ac17d9ad140dd0ba854e5c26d1ba77a07c63386a6499806bcd8587121dc194fc4e9c77650ae1448cb8ed3175ebe0f230f998ae75c42645
7
+ data.tar.gz: 394701f032e98e2bc219102a085d6ce818a669b026fab018ff4b5315d7e44fb4ce0fbe345a7ad4471266754e41c45dad2ca67aca93498ccbd46d752041656802
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.131.0 (2024-12-03)
5
+ ------------------
6
+
7
+ * Feature - This change adds support for global tables with multi-Region strong consistency (in preview). The UpdateTable API now supports a new attribute MultiRegionConsistency to set consistency when creating global tables. The DescribeTable output now optionally includes the MultiRegionConsistency attribute.
8
+
4
9
  1.130.0 (2024-11-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.130.0
1
+ 1.131.0
@@ -1834,6 +1834,7 @@ module Aws::DynamoDB
1834
1834
  # resp.table_description.warm_throughput.read_units_per_second #=> Integer
1835
1835
  # resp.table_description.warm_throughput.write_units_per_second #=> Integer
1836
1836
  # resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
1837
+ # resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
1837
1838
  #
1838
1839
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable AWS API Documentation
1839
1840
  #
@@ -2439,6 +2440,7 @@ module Aws::DynamoDB
2439
2440
  # resp.table_description.warm_throughput.read_units_per_second #=> Integer
2440
2441
  # resp.table_description.warm_throughput.write_units_per_second #=> Integer
2441
2442
  # resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
2443
+ # resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
2442
2444
  #
2443
2445
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable AWS API Documentation
2444
2446
  #
@@ -3267,6 +3269,7 @@ module Aws::DynamoDB
3267
3269
  # resp.table.warm_throughput.read_units_per_second #=> Integer
3268
3270
  # resp.table.warm_throughput.write_units_per_second #=> Integer
3269
3271
  # resp.table.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
3272
+ # resp.table.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
3270
3273
  #
3271
3274
  #
3272
3275
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -5866,6 +5869,7 @@ module Aws::DynamoDB
5866
5869
  # resp.table_description.warm_throughput.read_units_per_second #=> Integer
5867
5870
  # resp.table_description.warm_throughput.write_units_per_second #=> Integer
5868
5871
  # resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
5872
+ # resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
5869
5873
  #
5870
5874
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup AWS API Documentation
5871
5875
  #
@@ -6129,6 +6133,7 @@ module Aws::DynamoDB
6129
6133
  # resp.table_description.warm_throughput.read_units_per_second #=> Integer
6130
6134
  # resp.table_description.warm_throughput.write_units_per_second #=> Integer
6131
6135
  # resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
6136
+ # resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
6132
6137
  #
6133
6138
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime AWS API Documentation
6134
6139
  #
@@ -7994,6 +7999,34 @@ module Aws::DynamoDB
7994
7999
  # Indicates whether deletion protection is to be enabled (true) or
7995
8000
  # disabled (false) on the table.
7996
8001
  #
8002
+ # @option params [String] :multi_region_consistency
8003
+ # Specifies the consistency mode for a new global table. This parameter
8004
+ # is only valid when you create a global table by specifying one or more
8005
+ # [Create][1] actions in the [ReplicaUpdates][2] action list.
8006
+ #
8007
+ # You can specify one of the following consistency modes:
8008
+ #
8009
+ # * `EVENTUAL`: Configures a new global table for multi-Region eventual
8010
+ # consistency. This is the default consistency mode for global tables.
8011
+ #
8012
+ # * `STRONG`: Configures a new global table for multi-Region strong
8013
+ # consistency (preview).
8014
+ #
8015
+ # <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
8016
+ # tables capability currently available in preview mode. For more
8017
+ # information, see [Global tables multi-Region strong consistency][3].
8018
+ #
8019
+ # </note>
8020
+ #
8021
+ # If you don't specify this parameter, the global table consistency
8022
+ # mode defaults to `EVENTUAL`.
8023
+ #
8024
+ #
8025
+ #
8026
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ReplicationGroupUpdate.html#DDB-Type-ReplicationGroupUpdate-Create
8027
+ # [2]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateTable.html#DDB-UpdateTable-request-ReplicaUpdates
8028
+ # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
8029
+ #
7997
8030
  # @option params [Types::OnDemandThroughput] :on_demand_throughput
7998
8031
  # Updates the maximum number of read and write units for the specified
7999
8032
  # table in on-demand capacity mode. If you use this parameter, you must
@@ -8181,6 +8214,7 @@ module Aws::DynamoDB
8181
8214
  # ],
8182
8215
  # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
8183
8216
  # deletion_protection_enabled: false,
8217
+ # multi_region_consistency: "EVENTUAL", # accepts EVENTUAL, STRONG
8184
8218
  # on_demand_throughput: {
8185
8219
  # max_read_request_units: 1,
8186
8220
  # max_write_request_units: 1,
@@ -8292,6 +8326,7 @@ module Aws::DynamoDB
8292
8326
  # resp.table_description.warm_throughput.read_units_per_second #=> Integer
8293
8327
  # resp.table_description.warm_throughput.write_units_per_second #=> Integer
8294
8328
  # resp.table_description.warm_throughput.status #=> String, one of "CREATING", "UPDATING", "DELETING", "ACTIVE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS", "ARCHIVING", "ARCHIVED"
8329
+ # resp.table_description.multi_region_consistency #=> String, one of "EVENTUAL", "STRONG"
8295
8330
  #
8296
8331
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable AWS API Documentation
8297
8332
  #
@@ -8559,7 +8594,7 @@ module Aws::DynamoDB
8559
8594
  tracer: tracer
8560
8595
  )
8561
8596
  context[:gem_name] = 'aws-sdk-dynamodb'
8562
- context[:gem_version] = '1.130.0'
8597
+ context[:gem_version] = '1.131.0'
8563
8598
  Seahorse::Client::Request.new(handlers, context)
8564
8599
  end
8565
8600
 
@@ -302,6 +302,7 @@ module Aws::DynamoDB
302
302
  Long = Shapes::IntegerShape.new(name: 'Long')
303
303
  LongObject = Shapes::IntegerShape.new(name: 'LongObject')
304
304
  MapAttributeValue = Shapes::MapShape.new(name: 'MapAttributeValue')
305
+ MultiRegionConsistency = Shapes::StringShape.new(name: 'MultiRegionConsistency')
305
306
  NextTokenString = Shapes::StringShape.new(name: 'NextTokenString')
306
307
  NonKeyAttributeName = Shapes::StringShape.new(name: 'NonKeyAttributeName')
307
308
  NonKeyAttributeNameList = Shapes::ListShape.new(name: 'NonKeyAttributeNameList')
@@ -375,6 +376,7 @@ module Aws::DynamoDB
375
376
  ReplicaStatusPercentProgress = Shapes::StringShape.new(name: 'ReplicaStatusPercentProgress')
376
377
  ReplicaUpdate = Shapes::StructureShape.new(name: 'ReplicaUpdate')
377
378
  ReplicaUpdateList = Shapes::ListShape.new(name: 'ReplicaUpdateList')
379
+ ReplicatedWriteConflictException = Shapes::StructureShape.new(name: 'ReplicatedWriteConflictException')
378
380
  ReplicationGroupUpdate = Shapes::StructureShape.new(name: 'ReplicationGroupUpdate')
379
381
  ReplicationGroupUpdateList = Shapes::ListShape.new(name: 'ReplicationGroupUpdateList')
380
382
  RequestLimitExceeded = Shapes::StructureShape.new(name: 'RequestLimitExceeded')
@@ -1598,6 +1600,9 @@ module Aws::DynamoDB
1598
1600
 
1599
1601
  ReplicaUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaUpdate)
1600
1602
 
1603
+ ReplicatedWriteConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1604
+ ReplicatedWriteConflictException.struct_class = Types::ReplicatedWriteConflictException
1605
+
1601
1606
  ReplicationGroupUpdate.add_member(:create, Shapes::ShapeRef.new(shape: CreateReplicationGroupMemberAction, location_name: "Create"))
1602
1607
  ReplicationGroupUpdate.add_member(:update, Shapes::ShapeRef.new(shape: UpdateReplicationGroupMemberAction, location_name: "Update"))
1603
1608
  ReplicationGroupUpdate.add_member(:delete, Shapes::ShapeRef.new(shape: DeleteReplicationGroupMemberAction, location_name: "Delete"))
@@ -1765,6 +1770,7 @@ module Aws::DynamoDB
1765
1770
  TableDescription.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "DeletionProtectionEnabled"))
1766
1771
  TableDescription.add_member(:on_demand_throughput, Shapes::ShapeRef.new(shape: OnDemandThroughput, location_name: "OnDemandThroughput"))
1767
1772
  TableDescription.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: TableWarmThroughputDescription, location_name: "WarmThroughput"))
1773
+ TableDescription.add_member(:multi_region_consistency, Shapes::ShapeRef.new(shape: MultiRegionConsistency, location_name: "MultiRegionConsistency"))
1768
1774
  TableDescription.struct_class = Types::TableDescription
1769
1775
 
1770
1776
  TableInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
@@ -1948,6 +1954,7 @@ module Aws::DynamoDB
1948
1954
  UpdateTableInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicationGroupUpdateList, location_name: "ReplicaUpdates"))
1949
1955
  UpdateTableInput.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
1950
1956
  UpdateTableInput.add_member(:deletion_protection_enabled, Shapes::ShapeRef.new(shape: DeletionProtectionEnabled, location_name: "DeletionProtectionEnabled"))
1957
+ UpdateTableInput.add_member(:multi_region_consistency, Shapes::ShapeRef.new(shape: MultiRegionConsistency, location_name: "MultiRegionConsistency"))
1951
1958
  UpdateTableInput.add_member(:on_demand_throughput, Shapes::ShapeRef.new(shape: OnDemandThroughput, location_name: "OnDemandThroughput"))
1952
1959
  UpdateTableInput.add_member(:warm_throughput, Shapes::ShapeRef.new(shape: WarmThroughput, location_name: "WarmThroughput"))
1953
1960
  UpdateTableInput.struct_class = Types::UpdateTableInput
@@ -2119,6 +2126,7 @@ module Aws::DynamoDB
2119
2126
  o.errors << Shapes::ShapeRef.new(shape: TransactionConflictException)
2120
2127
  o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
2121
2128
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2129
+ o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
2122
2130
  end)
2123
2131
 
2124
2132
  api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2518,6 +2526,7 @@ module Aws::DynamoDB
2518
2526
  o.errors << Shapes::ShapeRef.new(shape: TransactionConflictException)
2519
2527
  o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
2520
2528
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2529
+ o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
2521
2530
  end)
2522
2531
 
2523
2532
  api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
@@ -2737,6 +2746,7 @@ module Aws::DynamoDB
2737
2746
  o.errors << Shapes::ShapeRef.new(shape: TransactionConflictException)
2738
2747
  o.errors << Shapes::ShapeRef.new(shape: RequestLimitExceeded)
2739
2748
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
2749
+ o.errors << Shapes::ShapeRef.new(shape: ReplicatedWriteConflictException)
2740
2750
  end)
2741
2751
 
2742
2752
  api.add_operation(:update_kinesis_streaming_destination, Seahorse::Model::Operation.new.tap do |o|
@@ -34,7 +34,7 @@ module Aws::DynamoDB
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
35
35
  raise ArgumentError, "Invalid Configuration: Dualstack and local endpoint are not supported"
36
36
  end
37
- 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 })
37
+ 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 })
38
38
  end
39
39
  if Aws::Endpoints::Matchers.set?(account_id_endpoint_mode) && Aws::Endpoints::Matchers.string_equals?(account_id_endpoint_mode, "required") && Aws::Endpoints::Matchers.not(Aws::Endpoints::Matchers.set?(account_id))
40
40
  raise ArgumentError, "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded."
@@ -50,6 +50,7 @@ module Aws::DynamoDB
50
50
  # * {ProvisionedThroughputExceededException}
51
51
  # * {ReplicaAlreadyExistsException}
52
52
  # * {ReplicaNotFoundException}
53
+ # * {ReplicatedWriteConflictException}
53
54
  # * {RequestLimitExceeded}
54
55
  # * {ResourceInUseException}
55
56
  # * {ResourceNotFoundException}
@@ -416,6 +417,21 @@ module Aws::DynamoDB
416
417
  end
417
418
  end
418
419
 
420
+ class ReplicatedWriteConflictException < ServiceError
421
+
422
+ # @param [Seahorse::Client::RequestContext] context
423
+ # @param [String] message
424
+ # @param [Aws::DynamoDB::Types::ReplicatedWriteConflictException] data
425
+ def initialize(context, message, data = Aws::EmptyStructure.new)
426
+ super(context, message, data)
427
+ end
428
+
429
+ # @return [String]
430
+ def message
431
+ @message || @data[:message]
432
+ end
433
+ end
434
+
419
435
  class RequestLimitExceeded < ServiceError
420
436
 
421
437
  # @param [Seahorse::Client::RequestContext] context
@@ -378,6 +378,31 @@ module Aws::DynamoDB
378
378
  data[:warm_throughput]
379
379
  end
380
380
 
381
+ # Indicates one of the following consistency modes for a global table:
382
+ #
383
+ # * `EVENTUAL`: Indicates that the global table is configured for
384
+ # multi-Region eventual consistency.
385
+ #
386
+ # * `STRONG`: Indicates that the global table is configured for
387
+ # multi-Region strong consistency (preview).
388
+ #
389
+ # <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
390
+ # tables capability currently available in preview mode. For more
391
+ # information, see [Global tables multi-Region strong consistency][1].
392
+ #
393
+ # </note>
394
+ #
395
+ # If you don't specify this field, the global table consistency mode
396
+ # defaults to `EVENTUAL`.
397
+ #
398
+ #
399
+ #
400
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
401
+ # @return [String]
402
+ def multi_region_consistency
403
+ data[:multi_region_consistency]
404
+ end
405
+
381
406
  # @!endgroup
382
407
 
383
408
  # @return [Client]
@@ -1913,6 +1938,7 @@ module Aws::DynamoDB
1913
1938
  # ],
1914
1939
  # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
1915
1940
  # deletion_protection_enabled: false,
1941
+ # multi_region_consistency: "EVENTUAL", # accepts EVENTUAL, STRONG
1916
1942
  # on_demand_throughput: {
1917
1943
  # max_read_request_units: 1,
1918
1944
  # max_write_request_units: 1,
@@ -1995,6 +2021,33 @@ module Aws::DynamoDB
1995
2021
  # @option options [Boolean] :deletion_protection_enabled
1996
2022
  # Indicates whether deletion protection is to be enabled (true) or
1997
2023
  # disabled (false) on the table.
2024
+ # @option options [String] :multi_region_consistency
2025
+ # Specifies the consistency mode for a new global table. This parameter
2026
+ # is only valid when you create a global table by specifying one or more
2027
+ # [Create][1] actions in the [ReplicaUpdates][2] action list.
2028
+ #
2029
+ # You can specify one of the following consistency modes:
2030
+ #
2031
+ # * `EVENTUAL`: Configures a new global table for multi-Region eventual
2032
+ # consistency. This is the default consistency mode for global tables.
2033
+ #
2034
+ # * `STRONG`: Configures a new global table for multi-Region strong
2035
+ # consistency (preview).
2036
+ #
2037
+ # <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
2038
+ # tables capability currently available in preview mode. For more
2039
+ # information, see [Global tables multi-Region strong consistency][3].
2040
+ #
2041
+ # </note>
2042
+ #
2043
+ # If you don't specify this parameter, the global table consistency
2044
+ # mode defaults to `EVENTUAL`.
2045
+ #
2046
+ #
2047
+ #
2048
+ # [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
2050
+ # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
1998
2051
  # @option options [Types::OnDemandThroughput] :on_demand_throughput
1999
2052
  # Updates the maximum number of read and write units for the specified
2000
2053
  # table in on-demand capacity mode. If you use this parameter, you must
@@ -7591,6 +7591,20 @@ module Aws::DynamoDB
7591
7591
  include Aws::Structure
7592
7592
  end
7593
7593
 
7594
+ # The request was rejected because one or more items in the request are
7595
+ # being modified by a request in another Region.
7596
+ #
7597
+ # @!attribute [rw] message
7598
+ # @return [String]
7599
+ #
7600
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicatedWriteConflictException AWS API Documentation
7601
+ #
7602
+ class ReplicatedWriteConflictException < Struct.new(
7603
+ :message)
7604
+ SENSITIVE = []
7605
+ include Aws::Structure
7606
+ end
7607
+
7594
7608
  # Represents one of the following:
7595
7609
  #
7596
7610
  # * A new replica to be added to an existing regional table or global
@@ -8977,6 +8991,30 @@ module Aws::DynamoDB
8977
8991
  # Describes the warm throughput value of the base table.
8978
8992
  # @return [Types::TableWarmThroughputDescription]
8979
8993
  #
8994
+ # @!attribute [rw] multi_region_consistency
8995
+ # Indicates one of the following consistency modes for a global table:
8996
+ #
8997
+ # * `EVENTUAL`: Indicates that the global table is configured for
8998
+ # multi-Region eventual consistency.
8999
+ #
9000
+ # * `STRONG`: Indicates that the global table is configured for
9001
+ # multi-Region strong consistency (preview).
9002
+ #
9003
+ # <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
9004
+ # tables capability currently available in preview mode. For more
9005
+ # information, see [Global tables multi-Region strong
9006
+ # consistency][1].
9007
+ #
9008
+ # </note>
9009
+ #
9010
+ # If you don't specify this field, the global table consistency mode
9011
+ # defaults to `EVENTUAL`.
9012
+ #
9013
+ #
9014
+ #
9015
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
9016
+ # @return [String]
9017
+ #
8980
9018
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
8981
9019
  #
8982
9020
  class TableDescription < Struct.new(
@@ -9004,7 +9042,8 @@ module Aws::DynamoDB
9004
9042
  :table_class_summary,
9005
9043
  :deletion_protection_enabled,
9006
9044
  :on_demand_throughput,
9007
- :warm_throughput)
9045
+ :warm_throughput,
9046
+ :multi_region_consistency)
9008
9047
  SENSITIVE = []
9009
9048
  include Aws::Structure
9010
9049
  end
@@ -10489,6 +10528,38 @@ module Aws::DynamoDB
10489
10528
  # disabled (false) on the table.
10490
10529
  # @return [Boolean]
10491
10530
  #
10531
+ # @!attribute [rw] multi_region_consistency
10532
+ # Specifies the consistency mode for a new global table. This
10533
+ # parameter is only valid when you create a global table by specifying
10534
+ # one or more [Create][1] actions in the [ReplicaUpdates][2] action
10535
+ # list.
10536
+ #
10537
+ # You can specify one of the following consistency modes:
10538
+ #
10539
+ # * `EVENTUAL`: Configures a new global table for multi-Region
10540
+ # eventual consistency. This is the default consistency mode for
10541
+ # global tables.
10542
+ #
10543
+ # * `STRONG`: Configures a new global table for multi-Region strong
10544
+ # consistency (preview).
10545
+ #
10546
+ # <note markdown="1"> Multi-Region strong consistency (MRSC) is a new DynamoDB global
10547
+ # tables capability currently available in preview mode. For more
10548
+ # information, see [Global tables multi-Region strong
10549
+ # consistency][3].
10550
+ #
10551
+ # </note>
10552
+ #
10553
+ # If you don't specify this parameter, the global table consistency
10554
+ # mode defaults to `EVENTUAL`.
10555
+ #
10556
+ #
10557
+ #
10558
+ # [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
10560
+ # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/PreviewFeatures.html#multi-region-strong-consistency-gt
10561
+ # @return [String]
10562
+ #
10492
10563
  # @!attribute [rw] on_demand_throughput
10493
10564
  # Updates the maximum number of read and write units for the specified
10494
10565
  # table in on-demand capacity mode. If you use this parameter, you
@@ -10513,6 +10584,7 @@ module Aws::DynamoDB
10513
10584
  :replica_updates,
10514
10585
  :table_class,
10515
10586
  :deletion_protection_enabled,
10587
+ :multi_region_consistency,
10516
10588
  :on_demand_throughput,
10517
10589
  :warm_throughput)
10518
10590
  SENSITIVE = []
@@ -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.130.0'
59
+ GEM_VERSION = '1.131.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -1405,6 +1405,7 @@ module Aws
1405
1405
  ],
1406
1406
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
1407
1407
  ?deletion_protection_enabled: bool,
1408
+ ?multi_region_consistency: ("EVENTUAL" | "STRONG"),
1408
1409
  ?on_demand_throughput: {
1409
1410
  max_read_request_units: ::Integer?,
1410
1411
  max_write_request_units: ::Integer?
data/sig/errors.rbs CHANGED
@@ -81,6 +81,9 @@ module Aws
81
81
  class ReplicaNotFoundException < ::Aws::Errors::ServiceError
82
82
  def message: () -> ::String
83
83
  end
84
+ class ReplicatedWriteConflictException < ::Aws::Errors::ServiceError
85
+ def message: () -> ::String
86
+ end
84
87
  class RequestLimitExceeded < ::Aws::Errors::ServiceError
85
88
  def message: () -> ::String
86
89
  end
data/sig/table.rbs CHANGED
@@ -90,6 +90,9 @@ module Aws
90
90
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#warm_throughput-instance_method
91
91
  def warm_throughput: () -> Types::TableWarmThroughputDescription
92
92
 
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#multi_region_consistency-instance_method
94
+ def multi_region_consistency: () -> ("EVENTUAL" | "STRONG")
95
+
93
96
  def client: () -> Client
94
97
 
95
98
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DynamoDB/Table.html#load-instance_method
@@ -331,6 +334,7 @@ module Aws
331
334
  ],
332
335
  ?table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS"),
333
336
  ?deletion_protection_enabled: bool,
337
+ ?multi_region_consistency: ("EVENTUAL" | "STRONG"),
334
338
  ?on_demand_throughput: {
335
339
  max_read_request_units: ::Integer?,
336
340
  max_write_request_units: ::Integer?
data/sig/types.rbs CHANGED
@@ -1347,6 +1347,11 @@ module Aws::DynamoDB
1347
1347
  SENSITIVE: []
1348
1348
  end
1349
1349
 
1350
+ class ReplicatedWriteConflictException
1351
+ attr_accessor message: ::String
1352
+ SENSITIVE: []
1353
+ end
1354
+
1350
1355
  class ReplicationGroupUpdate
1351
1356
  attr_accessor create: Types::CreateReplicationGroupMemberAction
1352
1357
  attr_accessor update: Types::UpdateReplicationGroupMemberAction
@@ -1550,6 +1555,7 @@ module Aws::DynamoDB
1550
1555
  attr_accessor deletion_protection_enabled: bool
1551
1556
  attr_accessor on_demand_throughput: Types::OnDemandThroughput
1552
1557
  attr_accessor warm_throughput: Types::TableWarmThroughputDescription
1558
+ attr_accessor multi_region_consistency: ("EVENTUAL" | "STRONG")
1553
1559
  SENSITIVE: []
1554
1560
  end
1555
1561
 
@@ -1791,6 +1797,7 @@ module Aws::DynamoDB
1791
1797
  attr_accessor replica_updates: ::Array[Types::ReplicationGroupUpdate]
1792
1798
  attr_accessor table_class: ("STANDARD" | "STANDARD_INFREQUENT_ACCESS")
1793
1799
  attr_accessor deletion_protection_enabled: bool
1800
+ attr_accessor multi_region_consistency: ("EVENTUAL" | "STRONG")
1794
1801
  attr_accessor on_demand_throughput: Types::OnDemandThroughput
1795
1802
  attr_accessor warm_throughput: Types::WarmThroughput
1796
1803
  SENSITIVE: []
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.130.0
4
+ version: 1.131.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-11-18 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core