aws-sdk-dynamodb 1.25.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dynamodb.rb +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +123 -66
- data/lib/aws-sdk-dynamodb/client_api.rb +1 -0
- data/lib/aws-sdk-dynamodb/resource.rb +19 -6
- data/lib/aws-sdk-dynamodb/table.rb +48 -48
- data/lib/aws-sdk-dynamodb/types.rb +101 -85
- metadata +3 -3
@@ -524,6 +524,7 @@ module Aws::DynamoDB
|
|
524
524
|
CreateTableInput.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedThroughput, location_name: "ProvisionedThroughput"))
|
525
525
|
CreateTableInput.add_member(:stream_specification, Shapes::ShapeRef.new(shape: StreamSpecification, location_name: "StreamSpecification"))
|
526
526
|
CreateTableInput.add_member(:sse_specification, Shapes::ShapeRef.new(shape: SSESpecification, location_name: "SSESpecification"))
|
527
|
+
CreateTableInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
527
528
|
CreateTableInput.struct_class = Types::CreateTableInput
|
528
529
|
|
529
530
|
CreateTableOutput.add_member(:table_description, Shapes::ShapeRef.new(shape: TableDescription, location_name: "TableDescription"))
|
@@ -124,9 +124,9 @@ module Aws::DynamoDB
|
|
124
124
|
#
|
125
125
|
#
|
126
126
|
#
|
127
|
-
# [1]:
|
128
|
-
# [2]:
|
129
|
-
# [3]:
|
127
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
128
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
129
|
+
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
130
130
|
# @option options [String] :return_consumed_capacity
|
131
131
|
# Determines the level of detail about provisioned throughput
|
132
132
|
# consumption that is returned in the response:
|
@@ -294,6 +294,12 @@ module Aws::DynamoDB
|
|
294
294
|
# sse_type: "AES256", # accepts AES256, KMS
|
295
295
|
# kms_master_key_id: "KMSMasterKeyId",
|
296
296
|
# },
|
297
|
+
# tags: [
|
298
|
+
# {
|
299
|
+
# key: "TagKeyString", # required
|
300
|
+
# value: "TagValueString", # required
|
301
|
+
# },
|
302
|
+
# ],
|
297
303
|
# })
|
298
304
|
# @param [Hash] options ({})
|
299
305
|
# @option options [required, Array<Types::AttributeDefinition>] :attribute_definitions
|
@@ -342,8 +348,8 @@ module Aws::DynamoDB
|
|
342
348
|
#
|
343
349
|
#
|
344
350
|
#
|
345
|
-
# [1]:
|
346
|
-
# [2]:
|
351
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html
|
352
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key
|
347
353
|
# @option options [Array<Types::LocalSecondaryIndex>] :local_secondary_indexes
|
348
354
|
# One or more local secondary indexes (the maximum is 5) to be created
|
349
355
|
# on the table. Each index is scoped to a given partition key value.
|
@@ -447,7 +453,7 @@ module Aws::DynamoDB
|
|
447
453
|
#
|
448
454
|
#
|
449
455
|
#
|
450
|
-
# [1]:
|
456
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
451
457
|
# @option options [Types::StreamSpecification] :stream_specification
|
452
458
|
# The settings for DynamoDB Streams on the table. These settings consist
|
453
459
|
# of:
|
@@ -472,6 +478,13 @@ module Aws::DynamoDB
|
|
472
478
|
# item are written to the stream.
|
473
479
|
# @option options [Types::SSESpecification] :sse_specification
|
474
480
|
# Represents the settings used to enable server-side encryption.
|
481
|
+
# @option options [Array<Types::Tag>] :tags
|
482
|
+
# A list of key-value pairs to label the table. For more information,
|
483
|
+
# see [Tagging for DynamoDB][1].
|
484
|
+
#
|
485
|
+
#
|
486
|
+
#
|
487
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
475
488
|
# @return [Table]
|
476
489
|
def create_table(options = {})
|
477
490
|
resp = @client.create_table(options)
|
@@ -72,7 +72,7 @@ module Aws::DynamoDB
|
|
72
72
|
#
|
73
73
|
#
|
74
74
|
#
|
75
|
-
# [1]:
|
75
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey
|
76
76
|
# @return [Array<Types::KeySchemaElement>]
|
77
77
|
def key_schema
|
78
78
|
data[:key_schema]
|
@@ -495,7 +495,7 @@ module Aws::DynamoDB
|
|
495
495
|
#
|
496
496
|
#
|
497
497
|
#
|
498
|
-
# [1]:
|
498
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html
|
499
499
|
# @option options [String] :conditional_operator
|
500
500
|
# This is a legacy parameter. Use `ConditionExpression` instead. For
|
501
501
|
# more information, see [ConditionalOperator][1] in the *Amazon DynamoDB
|
@@ -503,7 +503,7 @@ module Aws::DynamoDB
|
|
503
503
|
#
|
504
504
|
#
|
505
505
|
#
|
506
|
-
# [1]:
|
506
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
507
507
|
# @option options [String] :return_values
|
508
508
|
# Use `ReturnValues` if you want to get the item attributes as they
|
509
509
|
# appeared before they were deleted. For `DeleteItem`, the valid values
|
@@ -561,7 +561,7 @@ module Aws::DynamoDB
|
|
561
561
|
#
|
562
562
|
#
|
563
563
|
#
|
564
|
-
# [1]:
|
564
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
565
565
|
# @option options [Hash<String,String>] :expression_attribute_names
|
566
566
|
# One or more substitution tokens for attribute names in an expression.
|
567
567
|
# The following are some use cases for using
|
@@ -610,8 +610,8 @@ module Aws::DynamoDB
|
|
610
610
|
#
|
611
611
|
#
|
612
612
|
#
|
613
|
-
# [1]:
|
614
|
-
# [2]:
|
613
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
614
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
615
615
|
# @option options [Hash<String,Types::AttributeValue>] :expression_attribute_values
|
616
616
|
# One or more values that can be substituted in an expression.
|
617
617
|
#
|
@@ -636,7 +636,7 @@ module Aws::DynamoDB
|
|
636
636
|
#
|
637
637
|
#
|
638
638
|
#
|
639
|
-
# [1]:
|
639
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
640
640
|
# @return [Types::DeleteItemOutput]
|
641
641
|
def delete_item(options = {})
|
642
642
|
options = options.merge(table_name: @name)
|
@@ -674,7 +674,7 @@ module Aws::DynamoDB
|
|
674
674
|
#
|
675
675
|
#
|
676
676
|
#
|
677
|
-
# [1]:
|
677
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
678
678
|
# @option options [Boolean] :consistent_read
|
679
679
|
# Determines the read consistency model: If set to `true`, then the
|
680
680
|
# operation uses strongly consistent reads; otherwise, the operation
|
@@ -710,7 +710,7 @@ module Aws::DynamoDB
|
|
710
710
|
#
|
711
711
|
#
|
712
712
|
#
|
713
|
-
# [1]:
|
713
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
714
714
|
# @option options [Hash<String,String>] :expression_attribute_names
|
715
715
|
# One or more substitution tokens for attribute names in an expression.
|
716
716
|
# The following are some use cases for using
|
@@ -759,8 +759,8 @@ module Aws::DynamoDB
|
|
759
759
|
#
|
760
760
|
#
|
761
761
|
#
|
762
|
-
# [1]:
|
763
|
-
# [2]:
|
762
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
763
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
764
764
|
# @return [Types::GetItemOutput]
|
765
765
|
def get_item(options = {})
|
766
766
|
options = options.merge(table_name: @name)
|
@@ -816,7 +816,7 @@ module Aws::DynamoDB
|
|
816
816
|
#
|
817
817
|
#
|
818
818
|
#
|
819
|
-
# [1]:
|
819
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey
|
820
820
|
# @option options [Hash<String,Types::ExpectedAttributeValue>] :expected
|
821
821
|
# This is a legacy parameter. Use `ConditionExpression` instead. For
|
822
822
|
# more information, see [Expected][1] in the *Amazon DynamoDB Developer
|
@@ -824,7 +824,7 @@ module Aws::DynamoDB
|
|
824
824
|
#
|
825
825
|
#
|
826
826
|
#
|
827
|
-
# [1]:
|
827
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html
|
828
828
|
# @option options [String] :return_values
|
829
829
|
# Use `ReturnValues` if you want to get the item attributes as they
|
830
830
|
# appeared before they were updated with the `PutItem` request. For
|
@@ -870,7 +870,7 @@ module Aws::DynamoDB
|
|
870
870
|
#
|
871
871
|
#
|
872
872
|
#
|
873
|
-
# [1]:
|
873
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
874
874
|
# @option options [String] :condition_expression
|
875
875
|
# A condition that must be satisfied in order for a conditional
|
876
876
|
# `PutItem` operation to succeed.
|
@@ -891,7 +891,7 @@ module Aws::DynamoDB
|
|
891
891
|
#
|
892
892
|
#
|
893
893
|
#
|
894
|
-
# [1]:
|
894
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
895
895
|
# @option options [Hash<String,String>] :expression_attribute_names
|
896
896
|
# One or more substitution tokens for attribute names in an expression.
|
897
897
|
# The following are some use cases for using
|
@@ -940,8 +940,8 @@ module Aws::DynamoDB
|
|
940
940
|
#
|
941
941
|
#
|
942
942
|
#
|
943
|
-
# [1]:
|
944
|
-
# [2]:
|
943
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
944
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
945
945
|
# @option options [Hash<String,Types::AttributeValue>] :expression_attribute_values
|
946
946
|
# One or more values that can be substituted in an expression.
|
947
947
|
#
|
@@ -966,7 +966,7 @@ module Aws::DynamoDB
|
|
966
966
|
#
|
967
967
|
#
|
968
968
|
#
|
969
|
-
# [1]:
|
969
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
970
970
|
# @return [Types::PutItemOutput]
|
971
971
|
def put_item(options = {})
|
972
972
|
options = options.merge(table_name: @name)
|
@@ -1071,7 +1071,7 @@ module Aws::DynamoDB
|
|
1071
1071
|
#
|
1072
1072
|
#
|
1073
1073
|
#
|
1074
|
-
# [1]:
|
1074
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
1075
1075
|
# @option options [Integer] :limit
|
1076
1076
|
# The maximum number of items to evaluate (not necessarily the number of
|
1077
1077
|
# matching items). If DynamoDB processes the number of items up to the
|
@@ -1087,7 +1087,7 @@ module Aws::DynamoDB
|
|
1087
1087
|
#
|
1088
1088
|
#
|
1089
1089
|
#
|
1090
|
-
# [1]:
|
1090
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html
|
1091
1091
|
# @option options [Boolean] :consistent_read
|
1092
1092
|
# Determines the read consistency model: If set to `true`, then the
|
1093
1093
|
# operation uses strongly consistent reads; otherwise, the operation
|
@@ -1103,7 +1103,7 @@ module Aws::DynamoDB
|
|
1103
1103
|
#
|
1104
1104
|
#
|
1105
1105
|
#
|
1106
|
-
# [1]:
|
1106
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html
|
1107
1107
|
# @option options [Hash<String,Types::Condition>] :query_filter
|
1108
1108
|
# This is a legacy parameter. Use `FilterExpression` instead. For more
|
1109
1109
|
# information, see [QueryFilter][1] in the *Amazon DynamoDB Developer
|
@@ -1111,7 +1111,7 @@ module Aws::DynamoDB
|
|
1111
1111
|
#
|
1112
1112
|
#
|
1113
1113
|
#
|
1114
|
-
# [1]:
|
1114
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html
|
1115
1115
|
# @option options [String] :conditional_operator
|
1116
1116
|
# This is a legacy parameter. Use `FilterExpression` instead. For more
|
1117
1117
|
# information, see [ConditionalOperator][1] in the *Amazon DynamoDB
|
@@ -1119,7 +1119,7 @@ module Aws::DynamoDB
|
|
1119
1119
|
#
|
1120
1120
|
#
|
1121
1121
|
#
|
1122
|
-
# [1]:
|
1122
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
1123
1123
|
# @option options [Boolean] :scan_index_forward
|
1124
1124
|
# Specifies the order for index traversal: If `true` (default), the
|
1125
1125
|
# traversal is performed in ascending order; if `false`, the traversal
|
@@ -1174,7 +1174,7 @@ module Aws::DynamoDB
|
|
1174
1174
|
#
|
1175
1175
|
#
|
1176
1176
|
#
|
1177
|
-
# [1]:
|
1177
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
1178
1178
|
# @option options [String] :filter_expression
|
1179
1179
|
# A string that contains conditions that DynamoDB applies after the
|
1180
1180
|
# `Query` operation, but before the data is returned to you. Items that
|
@@ -1194,7 +1194,7 @@ module Aws::DynamoDB
|
|
1194
1194
|
#
|
1195
1195
|
#
|
1196
1196
|
#
|
1197
|
-
# [1]:
|
1197
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
|
1198
1198
|
# @option options [String] :key_condition_expression
|
1199
1199
|
# The condition that specifies the key value(s) for items to be
|
1200
1200
|
# retrieved by the `Query` action.
|
@@ -1276,8 +1276,8 @@ module Aws::DynamoDB
|
|
1276
1276
|
#
|
1277
1277
|
#
|
1278
1278
|
#
|
1279
|
-
# [1]:
|
1280
|
-
# [2]:
|
1279
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
1280
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html
|
1281
1281
|
# @option options [Hash<String,String>] :expression_attribute_names
|
1282
1282
|
# One or more substitution tokens for attribute names in an expression.
|
1283
1283
|
# The following are some use cases for using
|
@@ -1326,8 +1326,8 @@ module Aws::DynamoDB
|
|
1326
1326
|
#
|
1327
1327
|
#
|
1328
1328
|
#
|
1329
|
-
# [1]:
|
1330
|
-
# [2]:
|
1329
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
1330
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
1331
1331
|
# @option options [Hash<String,Types::AttributeValue>] :expression_attribute_values
|
1332
1332
|
# One or more values that can be substituted in an expression.
|
1333
1333
|
#
|
@@ -1352,7 +1352,7 @@ module Aws::DynamoDB
|
|
1352
1352
|
#
|
1353
1353
|
#
|
1354
1354
|
#
|
1355
|
-
# [1]:
|
1355
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
1356
1356
|
# @return [Types::QueryOutput]
|
1357
1357
|
def query(options = {})
|
1358
1358
|
options = options.merge(table_name: @name)
|
@@ -1402,7 +1402,7 @@ module Aws::DynamoDB
|
|
1402
1402
|
#
|
1403
1403
|
#
|
1404
1404
|
#
|
1405
|
-
# [1]:
|
1405
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
1406
1406
|
# @option options [Integer] :limit
|
1407
1407
|
# The maximum number of items to evaluate (not necessarily the number of
|
1408
1408
|
# matching items). If DynamoDB processes the number of items up to the
|
@@ -1418,7 +1418,7 @@ module Aws::DynamoDB
|
|
1418
1418
|
#
|
1419
1419
|
#
|
1420
1420
|
#
|
1421
|
-
# [1]:
|
1421
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html
|
1422
1422
|
# @option options [String] :select
|
1423
1423
|
# The attributes to be returned in the result. You can retrieve all item
|
1424
1424
|
# attributes, specific item attributes, the count of matching items, or
|
@@ -1475,7 +1475,7 @@ module Aws::DynamoDB
|
|
1475
1475
|
#
|
1476
1476
|
#
|
1477
1477
|
#
|
1478
|
-
# [1]:
|
1478
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ScanFilter.html
|
1479
1479
|
# @option options [String] :conditional_operator
|
1480
1480
|
# This is a legacy parameter. Use `FilterExpression` instead. For more
|
1481
1481
|
# information, see [ConditionalOperator][1] in the *Amazon DynamoDB
|
@@ -1483,7 +1483,7 @@ module Aws::DynamoDB
|
|
1483
1483
|
#
|
1484
1484
|
#
|
1485
1485
|
#
|
1486
|
-
# [1]:
|
1486
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
1487
1487
|
# @option options [Hash<String,Types::AttributeValue>] :exclusive_start_key
|
1488
1488
|
# The primary key of the first item that this operation will evaluate.
|
1489
1489
|
# Use the value that was returned for `LastEvaluatedKey` in the previous
|
@@ -1556,7 +1556,7 @@ module Aws::DynamoDB
|
|
1556
1556
|
#
|
1557
1557
|
#
|
1558
1558
|
#
|
1559
|
-
# [1]:
|
1559
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
1560
1560
|
# @option options [String] :filter_expression
|
1561
1561
|
# A string that contains conditions that DynamoDB applies after the
|
1562
1562
|
# `Scan` operation, but before the data is returned to you. Items that
|
@@ -1573,7 +1573,7 @@ module Aws::DynamoDB
|
|
1573
1573
|
#
|
1574
1574
|
#
|
1575
1575
|
#
|
1576
|
-
# [1]:
|
1576
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
|
1577
1577
|
# @option options [Hash<String,String>] :expression_attribute_names
|
1578
1578
|
# One or more substitution tokens for attribute names in an expression.
|
1579
1579
|
# The following are some use cases for using
|
@@ -1622,8 +1622,8 @@ module Aws::DynamoDB
|
|
1622
1622
|
#
|
1623
1623
|
#
|
1624
1624
|
#
|
1625
|
-
# [1]:
|
1626
|
-
# [2]:
|
1625
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
1626
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
1627
1627
|
# @option options [Hash<String,Types::AttributeValue>] :expression_attribute_values
|
1628
1628
|
# One or more values that can be substituted in an expression.
|
1629
1629
|
#
|
@@ -1648,7 +1648,7 @@ module Aws::DynamoDB
|
|
1648
1648
|
#
|
1649
1649
|
#
|
1650
1650
|
#
|
1651
|
-
# [1]:
|
1651
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
1652
1652
|
# @option options [Boolean] :consistent_read
|
1653
1653
|
# A Boolean value that determines the read consistency model during the
|
1654
1654
|
# scan:
|
@@ -1766,7 +1766,7 @@ module Aws::DynamoDB
|
|
1766
1766
|
#
|
1767
1767
|
#
|
1768
1768
|
#
|
1769
|
-
# [1]:
|
1769
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html
|
1770
1770
|
# @option options [Types::StreamSpecification] :stream_specification
|
1771
1771
|
# Represents the DynamoDB Streams configuration for the table.
|
1772
1772
|
#
|
@@ -1837,7 +1837,7 @@ module Aws::DynamoDB
|
|
1837
1837
|
#
|
1838
1838
|
#
|
1839
1839
|
#
|
1840
|
-
# [1]:
|
1840
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html
|
1841
1841
|
# @option options [Hash<String,Types::ExpectedAttributeValue>] :expected
|
1842
1842
|
# This is a legacy parameter. Use `ConditionExpression` instead. For
|
1843
1843
|
# more information, see [Expected][1] in the *Amazon DynamoDB Developer
|
@@ -1845,7 +1845,7 @@ module Aws::DynamoDB
|
|
1845
1845
|
#
|
1846
1846
|
#
|
1847
1847
|
#
|
1848
|
-
# [1]:
|
1848
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html
|
1849
1849
|
# @option options [String] :conditional_operator
|
1850
1850
|
# This is a legacy parameter. Use `ConditionExpression` instead. For
|
1851
1851
|
# more information, see [ConditionalOperator][1] in the *Amazon DynamoDB
|
@@ -1853,7 +1853,7 @@ module Aws::DynamoDB
|
|
1853
1853
|
#
|
1854
1854
|
#
|
1855
1855
|
#
|
1856
|
-
# [1]:
|
1856
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
1857
1857
|
# @option options [String] :return_values
|
1858
1858
|
# Use `ReturnValues` if you want to get the item attributes as they
|
1859
1859
|
# appear before or after they are updated. For `UpdateItem`, the valid
|
@@ -1987,7 +1987,7 @@ module Aws::DynamoDB
|
|
1987
1987
|
#
|
1988
1988
|
#
|
1989
1989
|
#
|
1990
|
-
# [1]:
|
1990
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html
|
1991
1991
|
# @option options [String] :condition_expression
|
1992
1992
|
# A condition that must be satisfied in order for a conditional update
|
1993
1993
|
# to succeed.
|
@@ -2008,7 +2008,7 @@ module Aws::DynamoDB
|
|
2008
2008
|
#
|
2009
2009
|
#
|
2010
2010
|
#
|
2011
|
-
# [1]:
|
2011
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
2012
2012
|
# @option options [Hash<String,String>] :expression_attribute_names
|
2013
2013
|
# One or more substitution tokens for attribute names in an expression.
|
2014
2014
|
# The following are some use cases for using
|
@@ -2057,8 +2057,8 @@ module Aws::DynamoDB
|
|
2057
2057
|
#
|
2058
2058
|
#
|
2059
2059
|
#
|
2060
|
-
# [1]:
|
2061
|
-
# [2]:
|
2060
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
2061
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
2062
2062
|
# @option options [Hash<String,Types::AttributeValue>] :expression_attribute_values
|
2063
2063
|
# One or more values that can be substituted in an expression.
|
2064
2064
|
#
|
@@ -2083,7 +2083,7 @@ module Aws::DynamoDB
|
|
2083
2083
|
#
|
2084
2084
|
#
|
2085
2085
|
#
|
2086
|
-
# [1]:
|
2086
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
2087
2087
|
# @return [Types::UpdateItemOutput]
|
2088
2088
|
def update_item(options = {})
|
2089
2089
|
options = options.merge(table_name: @name)
|
@@ -51,7 +51,7 @@ module Aws::DynamoDB
|
|
51
51
|
#
|
52
52
|
#
|
53
53
|
#
|
54
|
-
# [1]:
|
54
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes
|
55
55
|
#
|
56
56
|
# @note When making an API call, you may pass AttributeValue
|
57
57
|
# data as a hash:
|
@@ -190,7 +190,7 @@ module Aws::DynamoDB
|
|
190
190
|
#
|
191
191
|
#
|
192
192
|
#
|
193
|
-
# [1]:
|
193
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes
|
194
194
|
# @return [Types::AttributeValue]
|
195
195
|
#
|
196
196
|
# @!attribute [rw] action
|
@@ -787,9 +787,9 @@ module Aws::DynamoDB
|
|
787
787
|
#
|
788
788
|
#
|
789
789
|
#
|
790
|
-
# [1]:
|
791
|
-
# [2]:
|
792
|
-
# [3]:
|
790
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
791
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
792
|
+
# [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
793
793
|
# @return [Hash<String,Types::KeysAndAttributes>]
|
794
794
|
#
|
795
795
|
# @!attribute [rw] return_consumed_capacity
|
@@ -1350,7 +1350,7 @@ module Aws::DynamoDB
|
|
1350
1350
|
#
|
1351
1351
|
#
|
1352
1352
|
#
|
1353
|
-
# [1]:
|
1353
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html
|
1354
1354
|
# @return [String]
|
1355
1355
|
#
|
1356
1356
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Condition AWS API Documentation
|
@@ -1433,7 +1433,7 @@ module Aws::DynamoDB
|
|
1433
1433
|
#
|
1434
1434
|
#
|
1435
1435
|
#
|
1436
|
-
# [1]:
|
1436
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
1437
1437
|
#
|
1438
1438
|
# @!attribute [rw] table_name
|
1439
1439
|
# The name of the table that was affected by the operation.
|
@@ -1582,7 +1582,7 @@ module Aws::DynamoDB
|
|
1582
1582
|
#
|
1583
1583
|
#
|
1584
1584
|
#
|
1585
|
-
# [1]:
|
1585
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
1586
1586
|
# @return [Types::ProvisionedThroughput]
|
1587
1587
|
#
|
1588
1588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalSecondaryIndexAction AWS API Documentation
|
@@ -1721,6 +1721,12 @@ module Aws::DynamoDB
|
|
1721
1721
|
# sse_type: "AES256", # accepts AES256, KMS
|
1722
1722
|
# kms_master_key_id: "KMSMasterKeyId",
|
1723
1723
|
# },
|
1724
|
+
# tags: [
|
1725
|
+
# {
|
1726
|
+
# key: "TagKeyString", # required
|
1727
|
+
# value: "TagValueString", # required
|
1728
|
+
# },
|
1729
|
+
# ],
|
1724
1730
|
# }
|
1725
1731
|
#
|
1726
1732
|
# @!attribute [rw] attribute_definitions
|
@@ -1773,8 +1779,8 @@ module Aws::DynamoDB
|
|
1773
1779
|
#
|
1774
1780
|
#
|
1775
1781
|
#
|
1776
|
-
# [1]:
|
1777
|
-
# [2]:
|
1782
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html
|
1783
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#WorkingWithTables.primary.key
|
1778
1784
|
# @return [Array<Types::KeySchemaElement>]
|
1779
1785
|
#
|
1780
1786
|
# @!attribute [rw] local_secondary_indexes
|
@@ -1888,7 +1894,7 @@ module Aws::DynamoDB
|
|
1888
1894
|
#
|
1889
1895
|
#
|
1890
1896
|
#
|
1891
|
-
# [1]:
|
1897
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
1892
1898
|
# @return [Types::ProvisionedThroughput]
|
1893
1899
|
#
|
1894
1900
|
# @!attribute [rw] stream_specification
|
@@ -1919,6 +1925,15 @@ module Aws::DynamoDB
|
|
1919
1925
|
# Represents the settings used to enable server-side encryption.
|
1920
1926
|
# @return [Types::SSESpecification]
|
1921
1927
|
#
|
1928
|
+
# @!attribute [rw] tags
|
1929
|
+
# A list of key-value pairs to label the table. For more information,
|
1930
|
+
# see [Tagging for DynamoDB][1].
|
1931
|
+
#
|
1932
|
+
#
|
1933
|
+
#
|
1934
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
1935
|
+
# @return [Array<Types::Tag>]
|
1936
|
+
#
|
1922
1937
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput AWS API Documentation
|
1923
1938
|
#
|
1924
1939
|
class CreateTableInput < Struct.new(
|
@@ -1930,7 +1945,8 @@ module Aws::DynamoDB
|
|
1930
1945
|
:billing_mode,
|
1931
1946
|
:provisioned_throughput,
|
1932
1947
|
:stream_specification,
|
1933
|
-
:sse_specification
|
1948
|
+
:sse_specification,
|
1949
|
+
:tags)
|
1934
1950
|
include Aws::Structure
|
1935
1951
|
end
|
1936
1952
|
|
@@ -2111,7 +2127,7 @@ module Aws::DynamoDB
|
|
2111
2127
|
#
|
2112
2128
|
#
|
2113
2129
|
#
|
2114
|
-
# [1]:
|
2130
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html
|
2115
2131
|
# @return [Hash<String,Types::ExpectedAttributeValue>]
|
2116
2132
|
#
|
2117
2133
|
# @!attribute [rw] conditional_operator
|
@@ -2121,7 +2137,7 @@ module Aws::DynamoDB
|
|
2121
2137
|
#
|
2122
2138
|
#
|
2123
2139
|
#
|
2124
|
-
# [1]:
|
2140
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
2125
2141
|
# @return [String]
|
2126
2142
|
#
|
2127
2143
|
# @!attribute [rw] return_values
|
@@ -2190,7 +2206,7 @@ module Aws::DynamoDB
|
|
2190
2206
|
#
|
2191
2207
|
#
|
2192
2208
|
#
|
2193
|
-
# [1]:
|
2209
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
2194
2210
|
# @return [String]
|
2195
2211
|
#
|
2196
2212
|
# @!attribute [rw] expression_attribute_names
|
@@ -2242,8 +2258,8 @@ module Aws::DynamoDB
|
|
2242
2258
|
#
|
2243
2259
|
#
|
2244
2260
|
#
|
2245
|
-
# [1]:
|
2246
|
-
# [2]:
|
2261
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
2262
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
2247
2263
|
# @return [Hash<String,String>]
|
2248
2264
|
#
|
2249
2265
|
# @!attribute [rw] expression_attribute_values
|
@@ -2271,7 +2287,7 @@ module Aws::DynamoDB
|
|
2271
2287
|
#
|
2272
2288
|
#
|
2273
2289
|
#
|
2274
|
-
# [1]:
|
2290
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
2275
2291
|
# @return [Hash<String,Types::AttributeValue>]
|
2276
2292
|
#
|
2277
2293
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItemInput AWS API Documentation
|
@@ -2310,7 +2326,7 @@ module Aws::DynamoDB
|
|
2310
2326
|
#
|
2311
2327
|
#
|
2312
2328
|
#
|
2313
|
-
# [1]:
|
2329
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
2314
2330
|
# @return [Types::ConsumedCapacity]
|
2315
2331
|
#
|
2316
2332
|
# @!attribute [rw] item_collection_metrics
|
@@ -2732,7 +2748,7 @@ module Aws::DynamoDB
|
|
2732
2748
|
#
|
2733
2749
|
#
|
2734
2750
|
#
|
2735
|
-
# [1]:
|
2751
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes
|
2736
2752
|
# @return [Types::AttributeValue]
|
2737
2753
|
#
|
2738
2754
|
# @!attribute [rw] exists
|
@@ -2952,7 +2968,7 @@ module Aws::DynamoDB
|
|
2952
2968
|
#
|
2953
2969
|
#
|
2954
2970
|
# [1]: http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters
|
2955
|
-
# [2]:
|
2971
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataFormat.html
|
2956
2972
|
# @return [Array<Types::AttributeValue>]
|
2957
2973
|
#
|
2958
2974
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExpectedAttributeValue AWS API Documentation
|
@@ -3055,7 +3071,7 @@ module Aws::DynamoDB
|
|
3055
3071
|
#
|
3056
3072
|
#
|
3057
3073
|
#
|
3058
|
-
# [1]:
|
3074
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
3059
3075
|
# @return [Array<String>]
|
3060
3076
|
#
|
3061
3077
|
# @!attribute [rw] consistent_read
|
@@ -3099,7 +3115,7 @@ module Aws::DynamoDB
|
|
3099
3115
|
#
|
3100
3116
|
#
|
3101
3117
|
#
|
3102
|
-
# [1]:
|
3118
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
3103
3119
|
# @return [String]
|
3104
3120
|
#
|
3105
3121
|
# @!attribute [rw] expression_attribute_names
|
@@ -3151,8 +3167,8 @@ module Aws::DynamoDB
|
|
3151
3167
|
#
|
3152
3168
|
#
|
3153
3169
|
#
|
3154
|
-
# [1]:
|
3155
|
-
# [2]:
|
3170
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
3171
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
3156
3172
|
# @return [Hash<String,String>]
|
3157
3173
|
#
|
3158
3174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemInput AWS API Documentation
|
@@ -3186,7 +3202,7 @@ module Aws::DynamoDB
|
|
3186
3202
|
#
|
3187
3203
|
#
|
3188
3204
|
#
|
3189
|
-
# [1]:
|
3205
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
3190
3206
|
# @return [Types::ConsumedCapacity]
|
3191
3207
|
#
|
3192
3208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput AWS API Documentation
|
@@ -3262,7 +3278,7 @@ module Aws::DynamoDB
|
|
3262
3278
|
#
|
3263
3279
|
#
|
3264
3280
|
#
|
3265
|
-
# [1]:
|
3281
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
3266
3282
|
# @return [Types::ProvisionedThroughput]
|
3267
3283
|
#
|
3268
3284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalSecondaryIndex AWS API Documentation
|
@@ -3346,7 +3362,7 @@ module Aws::DynamoDB
|
|
3346
3362
|
#
|
3347
3363
|
#
|
3348
3364
|
#
|
3349
|
-
# [1]:
|
3365
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
3350
3366
|
# @return [Types::ProvisionedThroughputDescription]
|
3351
3367
|
#
|
3352
3368
|
# @!attribute [rw] index_size_bytes
|
@@ -3750,7 +3766,7 @@ module Aws::DynamoDB
|
|
3750
3766
|
#
|
3751
3767
|
#
|
3752
3768
|
#
|
3753
|
-
# [1]:
|
3769
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.html
|
3754
3770
|
# @return [Array<String>]
|
3755
3771
|
#
|
3756
3772
|
# @!attribute [rw] consistent_read
|
@@ -3774,7 +3790,7 @@ module Aws::DynamoDB
|
|
3774
3790
|
#
|
3775
3791
|
#
|
3776
3792
|
#
|
3777
|
-
# [1]:
|
3793
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
3778
3794
|
# @return [String]
|
3779
3795
|
#
|
3780
3796
|
# @!attribute [rw] expression_attribute_names
|
@@ -3826,8 +3842,8 @@ module Aws::DynamoDB
|
|
3826
3842
|
#
|
3827
3843
|
#
|
3828
3844
|
#
|
3829
|
-
# [1]:
|
3830
|
-
# [2]:
|
3845
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
3846
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
3831
3847
|
# @return [Hash<String,String>]
|
3832
3848
|
#
|
3833
3849
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/KeysAndAttributes AWS API Documentation
|
@@ -4351,7 +4367,7 @@ module Aws::DynamoDB
|
|
4351
4367
|
#
|
4352
4368
|
#
|
4353
4369
|
#
|
4354
|
-
# [1]:
|
4370
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
4355
4371
|
#
|
4356
4372
|
# @note When making an API call, you may pass ProvisionedThroughput
|
4357
4373
|
# data as a hash:
|
@@ -4372,7 +4388,7 @@ module Aws::DynamoDB
|
|
4372
4388
|
#
|
4373
4389
|
#
|
4374
4390
|
#
|
4375
|
-
# [1]:
|
4391
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
|
4376
4392
|
# @return [Integer]
|
4377
4393
|
#
|
4378
4394
|
# @!attribute [rw] write_capacity_units
|
@@ -4386,7 +4402,7 @@ module Aws::DynamoDB
|
|
4386
4402
|
#
|
4387
4403
|
#
|
4388
4404
|
#
|
4389
|
-
# [1]:
|
4405
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
|
4390
4406
|
# @return [Integer]
|
4391
4407
|
#
|
4392
4408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ProvisionedThroughput AWS API Documentation
|
@@ -4419,7 +4435,7 @@ module Aws::DynamoDB
|
|
4419
4435
|
#
|
4420
4436
|
#
|
4421
4437
|
#
|
4422
|
-
# [1]:
|
4438
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
4423
4439
|
# @return [Integer]
|
4424
4440
|
#
|
4425
4441
|
# @!attribute [rw] read_capacity_units
|
@@ -4568,7 +4584,7 @@ module Aws::DynamoDB
|
|
4568
4584
|
#
|
4569
4585
|
#
|
4570
4586
|
#
|
4571
|
-
# [1]:
|
4587
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey
|
4572
4588
|
# @return [Hash<String,Types::AttributeValue>]
|
4573
4589
|
#
|
4574
4590
|
# @!attribute [rw] expected
|
@@ -4578,7 +4594,7 @@ module Aws::DynamoDB
|
|
4578
4594
|
#
|
4579
4595
|
#
|
4580
4596
|
#
|
4581
|
-
# [1]:
|
4597
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html
|
4582
4598
|
# @return [Hash<String,Types::ExpectedAttributeValue>]
|
4583
4599
|
#
|
4584
4600
|
# @!attribute [rw] return_values
|
@@ -4635,7 +4651,7 @@ module Aws::DynamoDB
|
|
4635
4651
|
#
|
4636
4652
|
#
|
4637
4653
|
#
|
4638
|
-
# [1]:
|
4654
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
4639
4655
|
# @return [String]
|
4640
4656
|
#
|
4641
4657
|
# @!attribute [rw] condition_expression
|
@@ -4658,7 +4674,7 @@ module Aws::DynamoDB
|
|
4658
4674
|
#
|
4659
4675
|
#
|
4660
4676
|
#
|
4661
|
-
# [1]:
|
4677
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
4662
4678
|
# @return [String]
|
4663
4679
|
#
|
4664
4680
|
# @!attribute [rw] expression_attribute_names
|
@@ -4710,8 +4726,8 @@ module Aws::DynamoDB
|
|
4710
4726
|
#
|
4711
4727
|
#
|
4712
4728
|
#
|
4713
|
-
# [1]:
|
4714
|
-
# [2]:
|
4729
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
4730
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
4715
4731
|
# @return [Hash<String,String>]
|
4716
4732
|
#
|
4717
4733
|
# @!attribute [rw] expression_attribute_values
|
@@ -4739,7 +4755,7 @@ module Aws::DynamoDB
|
|
4739
4755
|
#
|
4740
4756
|
#
|
4741
4757
|
#
|
4742
|
-
# [1]:
|
4758
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
4743
4759
|
# @return [Hash<String,Types::AttributeValue>]
|
4744
4760
|
#
|
4745
4761
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItemInput AWS API Documentation
|
@@ -4778,7 +4794,7 @@ module Aws::DynamoDB
|
|
4778
4794
|
#
|
4779
4795
|
#
|
4780
4796
|
#
|
4781
|
-
# [1]:
|
4797
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
4782
4798
|
# @return [Types::ConsumedCapacity]
|
4783
4799
|
#
|
4784
4800
|
# @!attribute [rw] item_collection_metrics
|
@@ -4953,7 +4969,7 @@ module Aws::DynamoDB
|
|
4953
4969
|
#
|
4954
4970
|
#
|
4955
4971
|
#
|
4956
|
-
# [1]:
|
4972
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
4957
4973
|
# @return [Array<String>]
|
4958
4974
|
#
|
4959
4975
|
# @!attribute [rw] limit
|
@@ -4971,7 +4987,7 @@ module Aws::DynamoDB
|
|
4971
4987
|
#
|
4972
4988
|
#
|
4973
4989
|
#
|
4974
|
-
# [1]:
|
4990
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html
|
4975
4991
|
# @return [Integer]
|
4976
4992
|
#
|
4977
4993
|
# @!attribute [rw] consistent_read
|
@@ -4991,7 +5007,7 @@ module Aws::DynamoDB
|
|
4991
5007
|
#
|
4992
5008
|
#
|
4993
5009
|
#
|
4994
|
-
# [1]:
|
5010
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.KeyConditions.html
|
4995
5011
|
# @return [Hash<String,Types::Condition>]
|
4996
5012
|
#
|
4997
5013
|
# @!attribute [rw] query_filter
|
@@ -5001,7 +5017,7 @@ module Aws::DynamoDB
|
|
5001
5017
|
#
|
5002
5018
|
#
|
5003
5019
|
#
|
5004
|
-
# [1]:
|
5020
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.QueryFilter.html
|
5005
5021
|
# @return [Hash<String,Types::Condition>]
|
5006
5022
|
#
|
5007
5023
|
# @!attribute [rw] conditional_operator
|
@@ -5011,7 +5027,7 @@ module Aws::DynamoDB
|
|
5011
5027
|
#
|
5012
5028
|
#
|
5013
5029
|
#
|
5014
|
-
# [1]:
|
5030
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
5015
5031
|
# @return [String]
|
5016
5032
|
#
|
5017
5033
|
# @!attribute [rw] scan_index_forward
|
@@ -5076,7 +5092,7 @@ module Aws::DynamoDB
|
|
5076
5092
|
#
|
5077
5093
|
#
|
5078
5094
|
#
|
5079
|
-
# [1]:
|
5095
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
5080
5096
|
# @return [String]
|
5081
5097
|
#
|
5082
5098
|
# @!attribute [rw] filter_expression
|
@@ -5099,7 +5115,7 @@ module Aws::DynamoDB
|
|
5099
5115
|
#
|
5100
5116
|
#
|
5101
5117
|
#
|
5102
|
-
# [1]:
|
5118
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
|
5103
5119
|
# @return [String]
|
5104
5120
|
#
|
5105
5121
|
# @!attribute [rw] key_condition_expression
|
@@ -5184,8 +5200,8 @@ module Aws::DynamoDB
|
|
5184
5200
|
#
|
5185
5201
|
#
|
5186
5202
|
#
|
5187
|
-
# [1]:
|
5188
|
-
# [2]:
|
5203
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
5204
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ExpressionPlaceholders.html
|
5189
5205
|
# @return [String]
|
5190
5206
|
#
|
5191
5207
|
# @!attribute [rw] expression_attribute_names
|
@@ -5237,8 +5253,8 @@ module Aws::DynamoDB
|
|
5237
5253
|
#
|
5238
5254
|
#
|
5239
5255
|
#
|
5240
|
-
# [1]:
|
5241
|
-
# [2]:
|
5256
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
5257
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
5242
5258
|
# @return [Hash<String,String>]
|
5243
5259
|
#
|
5244
5260
|
# @!attribute [rw] expression_attribute_values
|
@@ -5266,7 +5282,7 @@ module Aws::DynamoDB
|
|
5266
5282
|
#
|
5267
5283
|
#
|
5268
5284
|
#
|
5269
|
-
# [1]:
|
5285
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
5270
5286
|
# @return [Hash<String,Types::AttributeValue>]
|
5271
5287
|
#
|
5272
5288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryInput AWS API Documentation
|
@@ -5324,7 +5340,7 @@ module Aws::DynamoDB
|
|
5324
5340
|
#
|
5325
5341
|
#
|
5326
5342
|
#
|
5327
|
-
# [1]:
|
5343
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count
|
5328
5344
|
# @return [Integer]
|
5329
5345
|
#
|
5330
5346
|
# @!attribute [rw] last_evaluated_key
|
@@ -5352,7 +5368,7 @@ module Aws::DynamoDB
|
|
5352
5368
|
#
|
5353
5369
|
#
|
5354
5370
|
#
|
5355
|
-
# [1]:
|
5371
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
5356
5372
|
# @return [Types::ConsumedCapacity]
|
5357
5373
|
#
|
5358
5374
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/QueryOutput AWS API Documentation
|
@@ -5530,7 +5546,7 @@ module Aws::DynamoDB
|
|
5530
5546
|
#
|
5531
5547
|
#
|
5532
5548
|
#
|
5533
|
-
# [1]:
|
5549
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
|
5534
5550
|
# @return [Integer]
|
5535
5551
|
#
|
5536
5552
|
# @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings
|
@@ -5546,7 +5562,7 @@ module Aws::DynamoDB
|
|
5546
5562
|
#
|
5547
5563
|
#
|
5548
5564
|
#
|
5549
|
-
# [1]:
|
5565
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
|
5550
5566
|
# @return [Integer]
|
5551
5567
|
#
|
5552
5568
|
# @!attribute [rw] replica_provisioned_write_capacity_auto_scaling_settings
|
@@ -5631,7 +5647,7 @@ module Aws::DynamoDB
|
|
5631
5647
|
#
|
5632
5648
|
#
|
5633
5649
|
#
|
5634
|
-
# [1]:
|
5650
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput
|
5635
5651
|
# @return [Integer]
|
5636
5652
|
#
|
5637
5653
|
# @!attribute [rw] replica_provisioned_read_capacity_auto_scaling_settings_update
|
@@ -5944,7 +5960,7 @@ module Aws::DynamoDB
|
|
5944
5960
|
#
|
5945
5961
|
#
|
5946
5962
|
#
|
5947
|
-
# [1]:
|
5963
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
|
5948
5964
|
# @return [Array<String>]
|
5949
5965
|
#
|
5950
5966
|
# @!attribute [rw] limit
|
@@ -5962,7 +5978,7 @@ module Aws::DynamoDB
|
|
5962
5978
|
#
|
5963
5979
|
#
|
5964
5980
|
#
|
5965
|
-
# [1]:
|
5981
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html
|
5966
5982
|
# @return [Integer]
|
5967
5983
|
#
|
5968
5984
|
# @!attribute [rw] select
|
@@ -6025,7 +6041,7 @@ module Aws::DynamoDB
|
|
6025
6041
|
#
|
6026
6042
|
#
|
6027
6043
|
#
|
6028
|
-
# [1]:
|
6044
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ScanFilter.html
|
6029
6045
|
# @return [Hash<String,Types::Condition>]
|
6030
6046
|
#
|
6031
6047
|
# @!attribute [rw] conditional_operator
|
@@ -6035,7 +6051,7 @@ module Aws::DynamoDB
|
|
6035
6051
|
#
|
6036
6052
|
#
|
6037
6053
|
#
|
6038
|
-
# [1]:
|
6054
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
6039
6055
|
# @return [String]
|
6040
6056
|
#
|
6041
6057
|
# @!attribute [rw] exclusive_start_key
|
@@ -6121,7 +6137,7 @@ module Aws::DynamoDB
|
|
6121
6137
|
#
|
6122
6138
|
#
|
6123
6139
|
#
|
6124
|
-
# [1]:
|
6140
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
6125
6141
|
# @return [String]
|
6126
6142
|
#
|
6127
6143
|
# @!attribute [rw] filter_expression
|
@@ -6140,7 +6156,7 @@ module Aws::DynamoDB
|
|
6140
6156
|
#
|
6141
6157
|
#
|
6142
6158
|
#
|
6143
|
-
# [1]:
|
6159
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
|
6144
6160
|
# @return [String]
|
6145
6161
|
#
|
6146
6162
|
# @!attribute [rw] expression_attribute_names
|
@@ -6192,8 +6208,8 @@ module Aws::DynamoDB
|
|
6192
6208
|
#
|
6193
6209
|
#
|
6194
6210
|
#
|
6195
|
-
# [1]:
|
6196
|
-
# [2]:
|
6211
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
6212
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
6197
6213
|
# @return [Hash<String,String>]
|
6198
6214
|
#
|
6199
6215
|
# @!attribute [rw] expression_attribute_values
|
@@ -6221,7 +6237,7 @@ module Aws::DynamoDB
|
|
6221
6237
|
#
|
6222
6238
|
#
|
6223
6239
|
#
|
6224
|
-
# [1]:
|
6240
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
6225
6241
|
# @return [Hash<String,Types::AttributeValue>]
|
6226
6242
|
#
|
6227
6243
|
# @!attribute [rw] consistent_read
|
@@ -6295,7 +6311,7 @@ module Aws::DynamoDB
|
|
6295
6311
|
#
|
6296
6312
|
#
|
6297
6313
|
#
|
6298
|
-
# [1]:
|
6314
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Count
|
6299
6315
|
# @return [Integer]
|
6300
6316
|
#
|
6301
6317
|
# @!attribute [rw] last_evaluated_key
|
@@ -6323,7 +6339,7 @@ module Aws::DynamoDB
|
|
6323
6339
|
#
|
6324
6340
|
#
|
6325
6341
|
#
|
6326
|
-
# [1]:
|
6342
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
6327
6343
|
# @return [Types::ConsumedCapacity]
|
6328
6344
|
#
|
6329
6345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput AWS API Documentation
|
@@ -6528,7 +6544,7 @@ module Aws::DynamoDB
|
|
6528
6544
|
#
|
6529
6545
|
#
|
6530
6546
|
#
|
6531
|
-
# [1]:
|
6547
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModelPrimaryKey
|
6532
6548
|
# @return [Array<Types::KeySchemaElement>]
|
6533
6549
|
#
|
6534
6550
|
# @!attribute [rw] table_status
|
@@ -6773,7 +6789,7 @@ module Aws::DynamoDB
|
|
6773
6789
|
#
|
6774
6790
|
#
|
6775
6791
|
#
|
6776
|
-
# [1]:
|
6792
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
6777
6793
|
#
|
6778
6794
|
# @note When making an API call, you may pass Tag
|
6779
6795
|
# data as a hash:
|
@@ -7398,7 +7414,7 @@ module Aws::DynamoDB
|
|
7398
7414
|
#
|
7399
7415
|
#
|
7400
7416
|
#
|
7401
|
-
# [1]:
|
7417
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
7402
7418
|
# @return [Types::ProvisionedThroughput]
|
7403
7419
|
#
|
7404
7420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalSecondaryIndexAction AWS API Documentation
|
@@ -7658,7 +7674,7 @@ module Aws::DynamoDB
|
|
7658
7674
|
#
|
7659
7675
|
#
|
7660
7676
|
#
|
7661
|
-
# [1]:
|
7677
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributeUpdates.html
|
7662
7678
|
# @return [Hash<String,Types::AttributeValueUpdate>]
|
7663
7679
|
#
|
7664
7680
|
# @!attribute [rw] expected
|
@@ -7668,7 +7684,7 @@ module Aws::DynamoDB
|
|
7668
7684
|
#
|
7669
7685
|
#
|
7670
7686
|
#
|
7671
|
-
# [1]:
|
7687
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.Expected.html
|
7672
7688
|
# @return [Hash<String,Types::ExpectedAttributeValue>]
|
7673
7689
|
#
|
7674
7690
|
# @!attribute [rw] conditional_operator
|
@@ -7678,7 +7694,7 @@ module Aws::DynamoDB
|
|
7678
7694
|
#
|
7679
7695
|
#
|
7680
7696
|
#
|
7681
|
-
# [1]:
|
7697
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.ConditionalOperator.html
|
7682
7698
|
# @return [String]
|
7683
7699
|
#
|
7684
7700
|
# @!attribute [rw] return_values
|
@@ -7828,7 +7844,7 @@ module Aws::DynamoDB
|
|
7828
7844
|
#
|
7829
7845
|
#
|
7830
7846
|
#
|
7831
|
-
# [1]:
|
7847
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html
|
7832
7848
|
# @return [String]
|
7833
7849
|
#
|
7834
7850
|
# @!attribute [rw] condition_expression
|
@@ -7851,7 +7867,7 @@ module Aws::DynamoDB
|
|
7851
7867
|
#
|
7852
7868
|
#
|
7853
7869
|
#
|
7854
|
-
# [1]:
|
7870
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
7855
7871
|
# @return [String]
|
7856
7872
|
#
|
7857
7873
|
# @!attribute [rw] expression_attribute_names
|
@@ -7903,8 +7919,8 @@ module Aws::DynamoDB
|
|
7903
7919
|
#
|
7904
7920
|
#
|
7905
7921
|
#
|
7906
|
-
# [1]:
|
7907
|
-
# [2]:
|
7922
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ReservedWords.html
|
7923
|
+
# [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
|
7908
7924
|
# @return [Hash<String,String>]
|
7909
7925
|
#
|
7910
7926
|
# @!attribute [rw] expression_attribute_values
|
@@ -7932,7 +7948,7 @@ module Aws::DynamoDB
|
|
7932
7948
|
#
|
7933
7949
|
#
|
7934
7950
|
#
|
7935
|
-
# [1]:
|
7951
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.SpecifyingConditions.html
|
7936
7952
|
# @return [Hash<String,Types::AttributeValue>]
|
7937
7953
|
#
|
7938
7954
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItemInput AWS API Documentation
|
@@ -7976,7 +7992,7 @@ module Aws::DynamoDB
|
|
7976
7992
|
#
|
7977
7993
|
#
|
7978
7994
|
#
|
7979
|
-
# [1]:
|
7995
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
|
7980
7996
|
# @return [Types::ConsumedCapacity]
|
7981
7997
|
#
|
7982
7998
|
# @!attribute [rw] item_collection_metrics
|
@@ -8120,7 +8136,7 @@ module Aws::DynamoDB
|
|
8120
8136
|
#
|
8121
8137
|
#
|
8122
8138
|
#
|
8123
|
-
# [1]:
|
8139
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html
|
8124
8140
|
# @return [Array<Types::GlobalSecondaryIndexUpdate>]
|
8125
8141
|
#
|
8126
8142
|
# @!attribute [rw] stream_specification
|