aws-sdk-dynamodb 1.65.0 → 1.69.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +248 -74
- data/lib/aws-sdk-dynamodb/client_api.rb +20 -0
- data/lib/aws-sdk-dynamodb/resource.rb +8 -4
- data/lib/aws-sdk-dynamodb/table.rb +33 -19
- data/lib/aws-sdk-dynamodb/types.rb +270 -112
- data/lib/aws-sdk-dynamodb.rb +1 -1
- metadata +2 -2
@@ -370,6 +370,8 @@ module Aws::DynamoDB
|
|
370
370
|
TableAlreadyExistsException = Shapes::StructureShape.new(name: 'TableAlreadyExistsException')
|
371
371
|
TableArn = Shapes::StringShape.new(name: 'TableArn')
|
372
372
|
TableAutoScalingDescription = Shapes::StructureShape.new(name: 'TableAutoScalingDescription')
|
373
|
+
TableClass = Shapes::StringShape.new(name: 'TableClass')
|
374
|
+
TableClassSummary = Shapes::StructureShape.new(name: 'TableClassSummary')
|
373
375
|
TableCreationDateTime = Shapes::TimestampShape.new(name: 'TableCreationDateTime')
|
374
376
|
TableDescription = Shapes::StructureShape.new(name: 'TableDescription')
|
375
377
|
TableId = Shapes::StringShape.new(name: 'TableId')
|
@@ -534,9 +536,11 @@ module Aws::DynamoDB
|
|
534
536
|
BackupSummary.struct_class = Types::BackupSummary
|
535
537
|
|
536
538
|
BatchExecuteStatementInput.add_member(:statements, Shapes::ShapeRef.new(shape: PartiQLBatchRequest, required: true, location_name: "Statements"))
|
539
|
+
BatchExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
537
540
|
BatchExecuteStatementInput.struct_class = Types::BatchExecuteStatementInput
|
538
541
|
|
539
542
|
BatchExecuteStatementOutput.add_member(:responses, Shapes::ShapeRef.new(shape: PartiQLBatchResponse, location_name: "Responses"))
|
543
|
+
BatchExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
|
540
544
|
BatchExecuteStatementOutput.struct_class = Types::BatchExecuteStatementOutput
|
541
545
|
|
542
546
|
BatchGetItemInput.add_member(:request_items, Shapes::ShapeRef.new(shape: BatchGetRequestMap, required: true, location_name: "RequestItems"))
|
@@ -668,6 +672,7 @@ module Aws::DynamoDB
|
|
668
672
|
CreateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
|
669
673
|
CreateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
|
670
674
|
CreateReplicationGroupMemberAction.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
|
675
|
+
CreateReplicationGroupMemberAction.add_member(:table_class_override, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClassOverride"))
|
671
676
|
CreateReplicationGroupMemberAction.struct_class = Types::CreateReplicationGroupMemberAction
|
672
677
|
|
673
678
|
CreateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, required: true, location_name: "AttributeDefinitions"))
|
@@ -680,6 +685,7 @@ module Aws::DynamoDB
|
|
680
685
|
CreateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
681
686
|
CreateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
682
687
|
CreateTableInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
688
|
+
CreateTableInput.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
683
689
|
CreateTableInput.struct_class = Types::CreateTableInput
|
684
690
|
|
685
691
|
CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
@@ -828,17 +834,21 @@ module Aws::DynamoDB
|
|
828
834
|
ExecuteStatementInput.add_member(:parameters, Shapes::ShapeRef.new(shape: PreparedStatementParameters, location_name: "Parameters"))
|
829
835
|
ExecuteStatementInput.add_member(:consistent_read, Shapes::ShapeRef.new(shape: ConsistentRead, location_name: "ConsistentRead"))
|
830
836
|
ExecuteStatementInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
837
|
+
ExecuteStatementInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
831
838
|
ExecuteStatementInput.struct_class = Types::ExecuteStatementInput
|
832
839
|
|
833
840
|
ExecuteStatementOutput.add_member(:items, Shapes::ShapeRef.new(shape: ItemList, location_name: "Items"))
|
834
841
|
ExecuteStatementOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PartiQLNextToken, location_name: "NextToken"))
|
842
|
+
ExecuteStatementOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacity, location_name: "ConsumedCapacity"))
|
835
843
|
ExecuteStatementOutput.struct_class = Types::ExecuteStatementOutput
|
836
844
|
|
837
845
|
ExecuteTransactionInput.add_member(:transact_statements, Shapes::ShapeRef.new(shape: ParameterizedStatements, required: true, location_name: "TransactStatements"))
|
838
846
|
ExecuteTransactionInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken"=>true}))
|
847
|
+
ExecuteTransactionInput.add_member(:return_consumed_capacity, Shapes::ShapeRef.new(shape: ReturnConsumedCapacity, location_name: "ReturnConsumedCapacity"))
|
839
848
|
ExecuteTransactionInput.struct_class = Types::ExecuteTransactionInput
|
840
849
|
|
841
850
|
ExecuteTransactionOutput.add_member(:responses, Shapes::ShapeRef.new(shape: ItemResponseList, location_name: "Responses"))
|
851
|
+
ExecuteTransactionOutput.add_member(:consumed_capacity, Shapes::ShapeRef.new(shape: ConsumedCapacityMultiple, location_name: "ConsumedCapacity"))
|
842
852
|
ExecuteTransactionOutput.struct_class = Types::ExecuteTransactionOutput
|
843
853
|
|
844
854
|
ExpectedAttributeMap.key = Shapes::ShapeRef.new(shape: AttributeName)
|
@@ -1295,6 +1305,7 @@ module Aws::DynamoDB
|
|
1295
1305
|
ReplicaDescription.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
|
1296
1306
|
ReplicaDescription.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexDescriptionList, location_name: "GlobalSecondaryIndexes"))
|
1297
1307
|
ReplicaDescription.add_member(:replica_inaccessible_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "ReplicaInaccessibleDateTime"))
|
1308
|
+
ReplicaDescription.add_member(:replica_table_class_summary, Shapes::ShapeRef.new(shape: TableClassSummary, location_name: "ReplicaTableClassSummary"))
|
1298
1309
|
ReplicaDescription.struct_class = Types::ReplicaDescription
|
1299
1310
|
|
1300
1311
|
ReplicaDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaDescription)
|
@@ -1355,6 +1366,7 @@ module Aws::DynamoDB
|
|
1355
1366
|
ReplicaSettingsDescription.add_member(:replica_provisioned_write_capacity_units, Shapes::ShapeRef.new(shape: NonNegativeLongObject, location_name: "ReplicaProvisionedWriteCapacityUnits"))
|
1356
1367
|
ReplicaSettingsDescription.add_member(:replica_provisioned_write_capacity_auto_scaling_settings, Shapes::ShapeRef.new(shape: AutoScalingSettingsDescription, location_name: "ReplicaProvisionedWriteCapacityAutoScalingSettings"))
|
1357
1368
|
ReplicaSettingsDescription.add_member(:replica_global_secondary_index_settings, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsDescriptionList, location_name: "ReplicaGlobalSecondaryIndexSettings"))
|
1369
|
+
ReplicaSettingsDescription.add_member(:replica_table_class_summary, Shapes::ShapeRef.new(shape: TableClassSummary, location_name: "ReplicaTableClassSummary"))
|
1358
1370
|
ReplicaSettingsDescription.struct_class = Types::ReplicaSettingsDescription
|
1359
1371
|
|
1360
1372
|
ReplicaSettingsDescriptionList.member = Shapes::ShapeRef.new(shape: ReplicaSettingsDescription)
|
@@ -1363,6 +1375,7 @@ module Aws::DynamoDB
|
|
1363
1375
|
ReplicaSettingsUpdate.add_member(:replica_provisioned_read_capacity_units, Shapes::ShapeRef.new(shape: PositiveLongObject, location_name: "ReplicaProvisionedReadCapacityUnits"))
|
1364
1376
|
ReplicaSettingsUpdate.add_member(:replica_provisioned_read_capacity_auto_scaling_settings_update, Shapes::ShapeRef.new(shape: AutoScalingSettingsUpdate, location_name: "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate"))
|
1365
1377
|
ReplicaSettingsUpdate.add_member(:replica_global_secondary_index_settings_update, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexSettingsUpdateList, location_name: "ReplicaGlobalSecondaryIndexSettingsUpdate"))
|
1378
|
+
ReplicaSettingsUpdate.add_member(:replica_table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "ReplicaTableClass"))
|
1366
1379
|
ReplicaSettingsUpdate.struct_class = Types::ReplicaSettingsUpdate
|
1367
1380
|
|
1368
1381
|
ReplicaSettingsUpdateList.member = Shapes::ShapeRef.new(shape: ReplicaSettingsUpdate)
|
@@ -1493,6 +1506,10 @@ module Aws::DynamoDB
|
|
1493
1506
|
TableAutoScalingDescription.add_member(:replicas, Shapes::ShapeRef.new(shape: ReplicaAutoScalingDescriptionList, location_name: "Replicas"))
|
1494
1507
|
TableAutoScalingDescription.struct_class = Types::TableAutoScalingDescription
|
1495
1508
|
|
1509
|
+
TableClassSummary.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
1510
|
+
TableClassSummary.add_member(:last_update_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdateDateTime"))
|
1511
|
+
TableClassSummary.struct_class = Types::TableClassSummary
|
1512
|
+
|
1496
1513
|
TableDescription.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
|
1497
1514
|
TableDescription.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, location_name: "TableName"))
|
1498
1515
|
TableDescription.add_member(:key_schema, Shapes::ShapeRef.new(shape: KeySchema, location_name: "KeySchema"))
|
@@ -1514,6 +1531,7 @@ module Aws::DynamoDB
|
|
1514
1531
|
TableDescription.add_member(:restore_summary, Shapes::ShapeRef.new(shape: RestoreSummary, location_name: "RestoreSummary"))
|
1515
1532
|
TableDescription.add_member(:sse_description, Shapes::ShapeRef.new(shape: SSEDescription, location_name: "SSEDescription"))
|
1516
1533
|
TableDescription.add_member(:archival_summary, Shapes::ShapeRef.new(shape: ArchivalSummary, location_name: "ArchivalSummary"))
|
1534
|
+
TableDescription.add_member(:table_class_summary, Shapes::ShapeRef.new(shape: TableClassSummary, location_name: "TableClassSummary"))
|
1517
1535
|
TableDescription.struct_class = Types::TableDescription
|
1518
1536
|
|
1519
1537
|
TableInUseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -1661,6 +1679,7 @@ module Aws::DynamoDB
|
|
1661
1679
|
UpdateReplicationGroupMemberAction.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: KMSMasterKeyId, location_name: "KMSMasterKeyId"))
|
1662
1680
|
UpdateReplicationGroupMemberAction.add_member(:provisioned_throughput_override, Shapes::ShapeRef.new(shape: ProvisionedThroughputOverride, location_name: "ProvisionedThroughputOverride"))
|
1663
1681
|
UpdateReplicationGroupMemberAction.add_member(:global_secondary_indexes, Shapes::ShapeRef.new(shape: ReplicaGlobalSecondaryIndexList, location_name: "GlobalSecondaryIndexes"))
|
1682
|
+
UpdateReplicationGroupMemberAction.add_member(:table_class_override, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClassOverride"))
|
1664
1683
|
UpdateReplicationGroupMemberAction.struct_class = Types::UpdateReplicationGroupMemberAction
|
1665
1684
|
|
1666
1685
|
UpdateTableInput.add_member(:attribute_definitions, Shapes::ShapeRef.new(shape: AttributeDefinitions, location_name: "AttributeDefinitions"))
|
@@ -1671,6 +1690,7 @@ module Aws::DynamoDB
|
|
1671
1690
|
UpdateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
1672
1691
|
UpdateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
1673
1692
|
UpdateTableInput.add_member(:replica_updates, Shapes::ShapeRef.new(shape: ReplicationGroupUpdateList, location_name: "ReplicaUpdates"))
|
1693
|
+
UpdateTableInput.add_member(:table_class, Shapes::ShapeRef.new(shape: TableClass, location_name: "TableClass"))
|
1674
1694
|
UpdateTableInput.struct_class = Types::UpdateTableInput
|
1675
1695
|
|
1676
1696
|
UpdateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
@@ -143,8 +143,8 @@ module Aws::DynamoDB
|
|
143
143
|
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
144
144
|
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
145
145
|
# @option options [String] :return_consumed_capacity
|
146
|
-
# Determines the level of detail about provisioned
|
147
|
-
# consumption that is returned in the response:
|
146
|
+
# Determines the level of detail about either provisioned or on-demand
|
147
|
+
# throughput consumption that is returned in the response:
|
148
148
|
#
|
149
149
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
150
150
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -219,8 +219,8 @@ module Aws::DynamoDB
|
|
219
219
|
# the data types for those attributes must match those of the schema
|
220
220
|
# in the table's attribute definition.
|
221
221
|
# @option options [String] :return_consumed_capacity
|
222
|
-
# Determines the level of detail about provisioned
|
223
|
-
# consumption that is returned in the response:
|
222
|
+
# Determines the level of detail about either provisioned or on-demand
|
223
|
+
# throughput consumption that is returned in the response:
|
224
224
|
#
|
225
225
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
226
226
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -315,6 +315,7 @@ module Aws::DynamoDB
|
|
315
315
|
# value: "TagValueString", # required
|
316
316
|
# },
|
317
317
|
# ],
|
318
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
318
319
|
# })
|
319
320
|
# @param [Hash] options ({})
|
320
321
|
# @option options [required, Array<Types::AttributeDefinition>] :attribute_definitions
|
@@ -508,6 +509,9 @@ module Aws::DynamoDB
|
|
508
509
|
#
|
509
510
|
#
|
510
511
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
512
|
+
# @option options [String] :table_class
|
513
|
+
# The table class of the new table. Valid values are `STANDARD` and
|
514
|
+
# `STANDARD_INFREQUENT_ACCESS`.
|
511
515
|
# @return [Table]
|
512
516
|
def create_table(options = {})
|
513
517
|
resp = @client.create_table(options)
|
@@ -92,11 +92,11 @@ module Aws::DynamoDB
|
|
92
92
|
#
|
93
93
|
# * `ACTIVE` - The table is ready for use.
|
94
94
|
#
|
95
|
-
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
95
|
+
# * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to encrypt
|
96
|
+
# the table in inaccessible. Table operations may fail due to failure
|
97
|
+
# to use the KMS key. DynamoDB will initiate the table archival
|
98
|
+
# process when a table's KMS key remains inaccessible for more than
|
99
|
+
# seven days.
|
100
100
|
#
|
101
101
|
# * `ARCHIVING` - The table is being archived. Operations are not
|
102
102
|
# allowed until archival is complete.
|
@@ -303,7 +303,7 @@ module Aws::DynamoDB
|
|
303
303
|
# have the same timestamp. However, the combination of the following
|
304
304
|
# three elements is guaranteed to be unique:
|
305
305
|
#
|
306
|
-
# *
|
306
|
+
# * Amazon Web Services customer ID
|
307
307
|
#
|
308
308
|
# * Table name
|
309
309
|
#
|
@@ -321,7 +321,7 @@ module Aws::DynamoDB
|
|
321
321
|
end
|
322
322
|
|
323
323
|
# Represents the version of [global tables][1] in use, if the table is
|
324
|
-
# replicated across
|
324
|
+
# replicated across Amazon Web Services Regions.
|
325
325
|
#
|
326
326
|
#
|
327
327
|
#
|
@@ -356,6 +356,12 @@ module Aws::DynamoDB
|
|
356
356
|
data[:archival_summary]
|
357
357
|
end
|
358
358
|
|
359
|
+
# Contains details of the table class.
|
360
|
+
# @return [Types::TableClassSummary]
|
361
|
+
def table_class_summary
|
362
|
+
data[:table_class_summary]
|
363
|
+
end
|
364
|
+
|
359
365
|
# @!endgroup
|
360
366
|
|
361
367
|
# @return [Client]
|
@@ -569,8 +575,8 @@ module Aws::DynamoDB
|
|
569
575
|
#
|
570
576
|
# </note>
|
571
577
|
# @option options [String] :return_consumed_capacity
|
572
|
-
# Determines the level of detail about provisioned
|
573
|
-
# consumption that is returned in the response:
|
578
|
+
# Determines the level of detail about either provisioned or on-demand
|
579
|
+
# throughput consumption that is returned in the response:
|
574
580
|
#
|
575
581
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
576
582
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -728,8 +734,8 @@ module Aws::DynamoDB
|
|
728
734
|
# operation uses strongly consistent reads; otherwise, the operation
|
729
735
|
# uses eventually consistent reads.
|
730
736
|
# @option options [String] :return_consumed_capacity
|
731
|
-
# Determines the level of detail about provisioned
|
732
|
-
# consumption that is returned in the response:
|
737
|
+
# Determines the level of detail about either provisioned or on-demand
|
738
|
+
# throughput consumption that is returned in the response:
|
733
739
|
#
|
734
740
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
735
741
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -889,14 +895,16 @@ module Aws::DynamoDB
|
|
889
895
|
# * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
|
890
896
|
# then the content of the old item is returned.
|
891
897
|
#
|
898
|
+
# The values returned are strongly consistent.
|
899
|
+
#
|
892
900
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
893
901
|
# however, `PutItem` does not recognize any values other than `NONE` or
|
894
902
|
# `ALL_OLD`.
|
895
903
|
#
|
896
904
|
# </note>
|
897
905
|
# @option options [String] :return_consumed_capacity
|
898
|
-
# Determines the level of detail about provisioned
|
899
|
-
# consumption that is returned in the response:
|
906
|
+
# Determines the level of detail about either provisioned or on-demand
|
907
|
+
# throughput consumption that is returned in the response:
|
900
908
|
#
|
901
909
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
902
910
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1196,8 +1204,8 @@ module Aws::DynamoDB
|
|
1196
1204
|
# The data type for `ExclusiveStartKey` must be String, Number, or
|
1197
1205
|
# Binary. No set data types are allowed.
|
1198
1206
|
# @option options [String] :return_consumed_capacity
|
1199
|
-
# Determines the level of detail about provisioned
|
1200
|
-
# consumption that is returned in the response:
|
1207
|
+
# Determines the level of detail about either provisioned or on-demand
|
1208
|
+
# throughput consumption that is returned in the response:
|
1201
1209
|
#
|
1202
1210
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
1203
1211
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1548,8 +1556,8 @@ module Aws::DynamoDB
|
|
1548
1556
|
# must specify the same segment whose previous `Scan` returned the
|
1549
1557
|
# corresponding value of `LastEvaluatedKey`.
|
1550
1558
|
# @option options [String] :return_consumed_capacity
|
1551
|
-
# Determines the level of detail about provisioned
|
1552
|
-
# consumption that is returned in the response:
|
1559
|
+
# Determines the level of detail about either provisioned or on-demand
|
1560
|
+
# throughput consumption that is returned in the response:
|
1553
1561
|
#
|
1554
1562
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
1555
1563
|
# for the operation, together with `ConsumedCapacity` for each table
|
@@ -1795,6 +1803,7 @@ module Aws::DynamoDB
|
|
1795
1803
|
# },
|
1796
1804
|
# },
|
1797
1805
|
# ],
|
1806
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1798
1807
|
# },
|
1799
1808
|
# update: {
|
1800
1809
|
# region_name: "RegionName", # required
|
@@ -1810,12 +1819,14 @@ module Aws::DynamoDB
|
|
1810
1819
|
# },
|
1811
1820
|
# },
|
1812
1821
|
# ],
|
1822
|
+
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1813
1823
|
# },
|
1814
1824
|
# delete: {
|
1815
1825
|
# region_name: "RegionName", # required
|
1816
1826
|
# },
|
1817
1827
|
# },
|
1818
1828
|
# ],
|
1829
|
+
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1819
1830
|
# })
|
1820
1831
|
# @param [Hash] options ({})
|
1821
1832
|
# @option options [Array<Types::AttributeDefinition>] :attribute_definitions
|
@@ -1888,6 +1899,9 @@ module Aws::DynamoDB
|
|
1888
1899
|
#
|
1889
1900
|
#
|
1890
1901
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
|
1902
|
+
# @option options [String] :table_class
|
1903
|
+
# The table class of the table to be updated. Valid values are
|
1904
|
+
# `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
|
1891
1905
|
# @return [Table]
|
1892
1906
|
def update(options = {})
|
1893
1907
|
options = options.merge(table_name: @name)
|
@@ -1992,8 +2006,8 @@ module Aws::DynamoDB
|
|
1992
2006
|
#
|
1993
2007
|
# The values returned are strongly consistent.
|
1994
2008
|
# @option options [String] :return_consumed_capacity
|
1995
|
-
# Determines the level of detail about provisioned
|
1996
|
-
# consumption that is returned in the response:
|
2009
|
+
# Determines the level of detail about either provisioned or on-demand
|
2010
|
+
# throughput consumption that is returned in the response:
|
1997
2011
|
#
|
1998
2012
|
# * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
|
1999
2013
|
# for the operation, together with `ConsumedCapacity` for each table
|