aws-sdk-dynamodb 1.74.0 → 1.82.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 +43 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-dynamodb/client.rb +490 -103
- data/lib/aws-sdk-dynamodb/client_api.rb +153 -0
- data/lib/aws-sdk-dynamodb/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-dynamodb/endpoint_provider.rb +60 -0
- data/lib/aws-sdk-dynamodb/endpoints.rb +757 -0
- data/lib/aws-sdk-dynamodb/errors.rb +32 -0
- data/lib/aws-sdk-dynamodb/plugins/endpoints.rb +174 -0
- data/lib/aws-sdk-dynamodb/table.rb +41 -26
- data/lib/aws-sdk-dynamodb/types.rb +634 -1945
- data/lib/aws-sdk-dynamodb.rb +5 -1
- metadata +8 -4
@@ -48,14 +48,6 @@ module Aws::DynamoDB
|
|
48
48
|
# Represents an attribute for describing the key schema for the table
|
49
49
|
# and indexes.
|
50
50
|
#
|
51
|
-
# @note When making an API call, you may pass AttributeDefinition
|
52
|
-
# data as a hash:
|
53
|
-
#
|
54
|
-
# {
|
55
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
56
|
-
# attribute_type: "S", # required, accepts S, N, B
|
57
|
-
# }
|
58
|
-
#
|
59
51
|
# @!attribute [rw] attribute_name
|
60
52
|
# A name for the attribute.
|
61
53
|
# @return [String]
|
@@ -91,24 +83,6 @@ module Aws::DynamoDB
|
|
91
83
|
#
|
92
84
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes
|
93
85
|
#
|
94
|
-
# @note When making an API call, you may pass AttributeValue
|
95
|
-
# data as a hash:
|
96
|
-
#
|
97
|
-
# {
|
98
|
-
# s: "StringAttributeValue",
|
99
|
-
# n: "NumberAttributeValue",
|
100
|
-
# b: "data",
|
101
|
-
# ss: ["StringAttributeValue"],
|
102
|
-
# ns: ["NumberAttributeValue"],
|
103
|
-
# bs: ["data"],
|
104
|
-
# m: {
|
105
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
106
|
-
# },
|
107
|
-
# l: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
108
|
-
# null: false,
|
109
|
-
# bool: false,
|
110
|
-
# }
|
111
|
-
#
|
112
86
|
# @!attribute [rw] s
|
113
87
|
# An attribute of type String. For example:
|
114
88
|
#
|
@@ -164,7 +138,7 @@ module Aws::DynamoDB
|
|
164
138
|
# @!attribute [rw] l
|
165
139
|
# An attribute of type List. For example:
|
166
140
|
#
|
167
|
-
# `"L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N"
|
141
|
+
# `"L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N": "3.14159"\}]`
|
168
142
|
# @return [Array<Types::AttributeValue>]
|
169
143
|
#
|
170
144
|
# @!attribute [rw] null
|
@@ -210,14 +184,6 @@ module Aws::DynamoDB
|
|
210
184
|
# be empty. Requests with empty values will be rejected with a
|
211
185
|
# `ValidationException` exception.
|
212
186
|
#
|
213
|
-
# @note When making an API call, you may pass AttributeValueUpdate
|
214
|
-
# data as a hash:
|
215
|
-
#
|
216
|
-
# {
|
217
|
-
# value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
218
|
-
# action: "ADD", # accepts ADD, PUT, DELETE
|
219
|
-
# }
|
220
|
-
#
|
221
187
|
# @!attribute [rw] value
|
222
188
|
# Represents the data for an attribute.
|
223
189
|
#
|
@@ -304,10 +270,9 @@ module Aws::DynamoDB
|
|
304
270
|
#
|
305
271
|
# * `DELETE` - Nothing happens; there is no attribute to delete.
|
306
272
|
#
|
307
|
-
# * `ADD` - DynamoDB creates
|
308
|
-
# number (or set
|
309
|
-
#
|
310
|
-
# be specified.
|
273
|
+
# * `ADD` - DynamoDB creates a new item with the supplied primary key
|
274
|
+
# and number (or set) for the attribute value. The only data types
|
275
|
+
# allowed are number, number set, string set or binary set.
|
311
276
|
# @return [String]
|
312
277
|
#
|
313
278
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/AttributeValueUpdate AWS API Documentation
|
@@ -340,19 +305,6 @@ module Aws::DynamoDB
|
|
340
305
|
|
341
306
|
# Represents the auto scaling policy to be modified.
|
342
307
|
#
|
343
|
-
# @note When making an API call, you may pass AutoScalingPolicyUpdate
|
344
|
-
# data as a hash:
|
345
|
-
#
|
346
|
-
# {
|
347
|
-
# policy_name: "AutoScalingPolicyName",
|
348
|
-
# target_tracking_scaling_policy_configuration: { # required
|
349
|
-
# disable_scale_in: false,
|
350
|
-
# scale_in_cooldown: 1,
|
351
|
-
# scale_out_cooldown: 1,
|
352
|
-
# target_value: 1.0, # required
|
353
|
-
# },
|
354
|
-
# }
|
355
|
-
#
|
356
308
|
# @!attribute [rw] policy_name
|
357
309
|
# The name of the scaling policy.
|
358
310
|
# @return [String]
|
@@ -411,25 +363,6 @@ module Aws::DynamoDB
|
|
411
363
|
# Represents the auto scaling settings to be modified for a global table
|
412
364
|
# or global secondary index.
|
413
365
|
#
|
414
|
-
# @note When making an API call, you may pass AutoScalingSettingsUpdate
|
415
|
-
# data as a hash:
|
416
|
-
#
|
417
|
-
# {
|
418
|
-
# minimum_units: 1,
|
419
|
-
# maximum_units: 1,
|
420
|
-
# auto_scaling_disabled: false,
|
421
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
422
|
-
# scaling_policy_update: {
|
423
|
-
# policy_name: "AutoScalingPolicyName",
|
424
|
-
# target_tracking_scaling_policy_configuration: { # required
|
425
|
-
# disable_scale_in: false,
|
426
|
-
# scale_in_cooldown: 1,
|
427
|
-
# scale_out_cooldown: 1,
|
428
|
-
# target_value: 1.0, # required
|
429
|
-
# },
|
430
|
-
# },
|
431
|
-
# }
|
432
|
-
#
|
433
366
|
# @!attribute [rw] minimum_units
|
434
367
|
# The minimum capacity units that a global table or global secondary
|
435
368
|
# index should be scaled down to.
|
@@ -515,16 +448,6 @@ module Aws::DynamoDB
|
|
515
448
|
# Represents the settings of a target tracking scaling policy that will
|
516
449
|
# be modified.
|
517
450
|
#
|
518
|
-
# @note When making an API call, you may pass AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
|
519
|
-
# data as a hash:
|
520
|
-
#
|
521
|
-
# {
|
522
|
-
# disable_scale_in: false,
|
523
|
-
# scale_in_cooldown: 1,
|
524
|
-
# scale_out_cooldown: 1,
|
525
|
-
# target_value: 1.0, # required
|
526
|
-
# }
|
527
|
-
#
|
528
451
|
# @!attribute [rw] disable_scale_in
|
529
452
|
# Indicates whether scale in by the target tracking policy is
|
530
453
|
# disabled. If the value is true, scale in is disabled and the target
|
@@ -605,7 +528,9 @@ module Aws::DynamoDB
|
|
605
528
|
# @return [String]
|
606
529
|
#
|
607
530
|
# @!attribute [rw] backup_size_bytes
|
608
|
-
# Size of the backup in bytes.
|
531
|
+
# Size of the backup in bytes. DynamoDB updates this value
|
532
|
+
# approximately every six hours. Recent changes might not be reflected
|
533
|
+
# in this value.
|
609
534
|
# @return [Integer]
|
610
535
|
#
|
611
536
|
# @!attribute [rw] backup_status
|
@@ -756,20 +681,6 @@ module Aws::DynamoDB
|
|
756
681
|
include Aws::Structure
|
757
682
|
end
|
758
683
|
|
759
|
-
# @note When making an API call, you may pass BatchExecuteStatementInput
|
760
|
-
# data as a hash:
|
761
|
-
#
|
762
|
-
# {
|
763
|
-
# statements: [ # required
|
764
|
-
# {
|
765
|
-
# statement: "PartiQLStatement", # required
|
766
|
-
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
767
|
-
# consistent_read: false,
|
768
|
-
# },
|
769
|
-
# ],
|
770
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
771
|
-
# }
|
772
|
-
#
|
773
684
|
# @!attribute [rw] statements
|
774
685
|
# The list of PartiQL statements representing the batch to run.
|
775
686
|
# @return [Array<Types::BatchStatementRequest>]
|
@@ -823,28 +734,6 @@ module Aws::DynamoDB
|
|
823
734
|
|
824
735
|
# Represents the input of a `BatchGetItem` operation.
|
825
736
|
#
|
826
|
-
# @note When making an API call, you may pass BatchGetItemInput
|
827
|
-
# data as a hash:
|
828
|
-
#
|
829
|
-
# {
|
830
|
-
# request_items: { # required
|
831
|
-
# "TableName" => {
|
832
|
-
# keys: [ # required
|
833
|
-
# {
|
834
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
835
|
-
# },
|
836
|
-
# ],
|
837
|
-
# attributes_to_get: ["AttributeName"],
|
838
|
-
# consistent_read: false,
|
839
|
-
# projection_expression: "ProjectionExpression",
|
840
|
-
# expression_attribute_names: {
|
841
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
842
|
-
# },
|
843
|
-
# },
|
844
|
-
# },
|
845
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
846
|
-
# }
|
847
|
-
#
|
848
737
|
# @!attribute [rw] request_items
|
849
738
|
# A map of one or more table names and, for each table, a map that
|
850
739
|
# describes one or more items to retrieve from that table. Each table
|
@@ -1025,7 +914,7 @@ module Aws::DynamoDB
|
|
1025
914
|
# @return [String]
|
1026
915
|
#
|
1027
916
|
# @!attribute [rw] message
|
1028
|
-
# The error message associated with the PartiQL batch
|
917
|
+
# The error message associated with the PartiQL batch response.
|
1029
918
|
# @return [String]
|
1030
919
|
#
|
1031
920
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementError AWS API Documentation
|
@@ -1039,15 +928,6 @@ module Aws::DynamoDB
|
|
1039
928
|
|
1040
929
|
# A PartiQL batch statement request.
|
1041
930
|
#
|
1042
|
-
# @note When making an API call, you may pass BatchStatementRequest
|
1043
|
-
# data as a hash:
|
1044
|
-
#
|
1045
|
-
# {
|
1046
|
-
# statement: "PartiQLStatement", # required
|
1047
|
-
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1048
|
-
# consistent_read: false,
|
1049
|
-
# }
|
1050
|
-
#
|
1051
931
|
# @!attribute [rw] statement
|
1052
932
|
# A valid PartiQL statement.
|
1053
933
|
# @return [String]
|
@@ -1097,30 +977,6 @@ module Aws::DynamoDB
|
|
1097
977
|
|
1098
978
|
# Represents the input of a `BatchWriteItem` operation.
|
1099
979
|
#
|
1100
|
-
# @note When making an API call, you may pass BatchWriteItemInput
|
1101
|
-
# data as a hash:
|
1102
|
-
#
|
1103
|
-
# {
|
1104
|
-
# request_items: { # required
|
1105
|
-
# "TableName" => [
|
1106
|
-
# {
|
1107
|
-
# put_request: {
|
1108
|
-
# item: { # required
|
1109
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1110
|
-
# },
|
1111
|
-
# },
|
1112
|
-
# delete_request: {
|
1113
|
-
# key: { # required
|
1114
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1115
|
-
# },
|
1116
|
-
# },
|
1117
|
-
# },
|
1118
|
-
# ],
|
1119
|
-
# },
|
1120
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
1121
|
-
# return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
|
1122
|
-
# }
|
1123
|
-
#
|
1124
980
|
# @!attribute [rw] request_items
|
1125
981
|
# A map of one or more table names and, for each table, a list of
|
1126
982
|
# operations to be performed (`DeleteRequest` or `PutRequest`). Each
|
@@ -1199,7 +1055,7 @@ module Aws::DynamoDB
|
|
1199
1055
|
# A map of tables and requests against those tables that were not
|
1200
1056
|
# processed. The `UnprocessedItems` value is in the same form as
|
1201
1057
|
# `RequestItems`, so you can provide this value directly to a
|
1202
|
-
# subsequent `
|
1058
|
+
# subsequent `BatchWriteItem` operation. For more information, see
|
1203
1059
|
# `RequestItems` in the Request Parameters section.
|
1204
1060
|
#
|
1205
1061
|
# Each `UnprocessedItems` entry consists of a table name and, for that
|
@@ -1278,7 +1134,18 @@ module Aws::DynamoDB
|
|
1278
1134
|
include Aws::Structure
|
1279
1135
|
end
|
1280
1136
|
|
1281
|
-
# Contains the details for the read/write capacity mode.
|
1137
|
+
# Contains the details for the read/write capacity mode. This page talks
|
1138
|
+
# about `PROVISIONED` and `PAY_PER_REQUEST` billing modes. For more
|
1139
|
+
# information about these modes, see [Read/write capacity mode][1].
|
1140
|
+
#
|
1141
|
+
# <note markdown="1"> You may need to switch to on-demand mode at least once in order to
|
1142
|
+
# return a `BillingModeSummary` response.
|
1143
|
+
#
|
1144
|
+
# </note>
|
1145
|
+
#
|
1146
|
+
#
|
1147
|
+
#
|
1148
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadWriteCapacityMode.html
|
1282
1149
|
#
|
1283
1150
|
# @!attribute [rw] billing_mode
|
1284
1151
|
# Controls how you are charged for read and write throughput and how
|
@@ -1377,14 +1244,6 @@ module Aws::DynamoDB
|
|
1377
1244
|
# * For a `Scan` operation, `Condition` is used in a `ScanFilter`, which
|
1378
1245
|
# evaluates the scan results and returns only the desired values.
|
1379
1246
|
#
|
1380
|
-
# @note When making an API call, you may pass Condition
|
1381
|
-
# data as a hash:
|
1382
|
-
#
|
1383
|
-
# {
|
1384
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1385
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
1386
|
-
# }
|
1387
|
-
#
|
1388
1247
|
# @!attribute [rw] attribute_value_list
|
1389
1248
|
# One or more values to evaluate against the supplied attribute. The
|
1390
1249
|
# number of values in the list depends on the `ComparisonOperator`
|
@@ -1592,24 +1451,6 @@ module Aws::DynamoDB
|
|
1592
1451
|
# Represents a request to perform a check that an item exists or to
|
1593
1452
|
# check the condition of specific attributes of the item.
|
1594
1453
|
#
|
1595
|
-
# @note When making an API call, you may pass ConditionCheck
|
1596
|
-
# data as a hash:
|
1597
|
-
#
|
1598
|
-
# {
|
1599
|
-
# key: { # required
|
1600
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1601
|
-
# },
|
1602
|
-
# table_name: "TableName", # required
|
1603
|
-
# condition_expression: "ConditionExpression", # required
|
1604
|
-
# expression_attribute_names: {
|
1605
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
1606
|
-
# },
|
1607
|
-
# expression_attribute_values: {
|
1608
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
1609
|
-
# },
|
1610
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
1611
|
-
# }
|
1612
|
-
#
|
1613
1454
|
# @!attribute [rw] key
|
1614
1455
|
# The primary key of the item to be checked. Each element consists of
|
1615
1456
|
# an attribute name and a value for that attribute.
|
@@ -1621,16 +1462,32 @@ module Aws::DynamoDB
|
|
1621
1462
|
#
|
1622
1463
|
# @!attribute [rw] condition_expression
|
1623
1464
|
# A condition that must be satisfied in order for a conditional update
|
1624
|
-
# to succeed.
|
1465
|
+
# to succeed. For more information, see [Condition expressions][1] in
|
1466
|
+
# the *Amazon DynamoDB Developer Guide*.
|
1467
|
+
#
|
1468
|
+
#
|
1469
|
+
#
|
1470
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html
|
1625
1471
|
# @return [String]
|
1626
1472
|
#
|
1627
1473
|
# @!attribute [rw] expression_attribute_names
|
1628
1474
|
# One or more substitution tokens for attribute names in an
|
1629
|
-
# expression.
|
1475
|
+
# expression. For more information, see [Expression attribute
|
1476
|
+
# names][1] in the *Amazon DynamoDB Developer Guide*.
|
1477
|
+
#
|
1478
|
+
#
|
1479
|
+
#
|
1480
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ExpressionAttributeNames.html
|
1630
1481
|
# @return [Hash<String,String>]
|
1631
1482
|
#
|
1632
1483
|
# @!attribute [rw] expression_attribute_values
|
1633
|
-
# One or more values that can be substituted in an expression.
|
1484
|
+
# One or more values that can be substituted in an expression. For
|
1485
|
+
# more information, see [Condition expressions][1] in the *Amazon
|
1486
|
+
# DynamoDB Developer Guide*.
|
1487
|
+
#
|
1488
|
+
#
|
1489
|
+
#
|
1490
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html
|
1634
1491
|
# @return [Hash<String,Types::AttributeValue>]
|
1635
1492
|
#
|
1636
1493
|
# @!attribute [rw] return_values_on_condition_check_failure
|
@@ -1783,14 +1640,6 @@ module Aws::DynamoDB
|
|
1783
1640
|
include Aws::Structure
|
1784
1641
|
end
|
1785
1642
|
|
1786
|
-
# @note When making an API call, you may pass CreateBackupInput
|
1787
|
-
# data as a hash:
|
1788
|
-
#
|
1789
|
-
# {
|
1790
|
-
# table_name: "TableName", # required
|
1791
|
-
# backup_name: "BackupName", # required
|
1792
|
-
# }
|
1793
|
-
#
|
1794
1643
|
# @!attribute [rw] table_name
|
1795
1644
|
# The name of the table.
|
1796
1645
|
# @return [String]
|
@@ -1823,27 +1672,6 @@ module Aws::DynamoDB
|
|
1823
1672
|
# Represents a new global secondary index to be added to an existing
|
1824
1673
|
# table.
|
1825
1674
|
#
|
1826
|
-
# @note When making an API call, you may pass CreateGlobalSecondaryIndexAction
|
1827
|
-
# data as a hash:
|
1828
|
-
#
|
1829
|
-
# {
|
1830
|
-
# index_name: "IndexName", # required
|
1831
|
-
# key_schema: [ # required
|
1832
|
-
# {
|
1833
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
1834
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
1835
|
-
# },
|
1836
|
-
# ],
|
1837
|
-
# projection: { # required
|
1838
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
1839
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
1840
|
-
# },
|
1841
|
-
# provisioned_throughput: {
|
1842
|
-
# read_capacity_units: 1, # required
|
1843
|
-
# write_capacity_units: 1, # required
|
1844
|
-
# },
|
1845
|
-
# }
|
1846
|
-
#
|
1847
1675
|
# @!attribute [rw] index_name
|
1848
1676
|
# The name of the global secondary index to be created.
|
1849
1677
|
# @return [String]
|
@@ -1882,18 +1710,6 @@ module Aws::DynamoDB
|
|
1882
1710
|
include Aws::Structure
|
1883
1711
|
end
|
1884
1712
|
|
1885
|
-
# @note When making an API call, you may pass CreateGlobalTableInput
|
1886
|
-
# data as a hash:
|
1887
|
-
#
|
1888
|
-
# {
|
1889
|
-
# global_table_name: "TableName", # required
|
1890
|
-
# replication_group: [ # required
|
1891
|
-
# {
|
1892
|
-
# region_name: "RegionName",
|
1893
|
-
# },
|
1894
|
-
# ],
|
1895
|
-
# }
|
1896
|
-
#
|
1897
1713
|
# @!attribute [rw] global_table_name
|
1898
1714
|
# The global table name.
|
1899
1715
|
# @return [String]
|
@@ -1925,13 +1741,6 @@ module Aws::DynamoDB
|
|
1925
1741
|
|
1926
1742
|
# Represents a replica to be added.
|
1927
1743
|
#
|
1928
|
-
# @note When making an API call, you may pass CreateReplicaAction
|
1929
|
-
# data as a hash:
|
1930
|
-
#
|
1931
|
-
# {
|
1932
|
-
# region_name: "RegionName", # required
|
1933
|
-
# }
|
1934
|
-
#
|
1935
1744
|
# @!attribute [rw] region_name
|
1936
1745
|
# The Region of the replica to be added.
|
1937
1746
|
# @return [String]
|
@@ -1946,26 +1755,6 @@ module Aws::DynamoDB
|
|
1946
1755
|
|
1947
1756
|
# Represents a replica to be created.
|
1948
1757
|
#
|
1949
|
-
# @note When making an API call, you may pass CreateReplicationGroupMemberAction
|
1950
|
-
# data as a hash:
|
1951
|
-
#
|
1952
|
-
# {
|
1953
|
-
# region_name: "RegionName", # required
|
1954
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
1955
|
-
# provisioned_throughput_override: {
|
1956
|
-
# read_capacity_units: 1,
|
1957
|
-
# },
|
1958
|
-
# global_secondary_indexes: [
|
1959
|
-
# {
|
1960
|
-
# index_name: "IndexName", # required
|
1961
|
-
# provisioned_throughput_override: {
|
1962
|
-
# read_capacity_units: 1,
|
1963
|
-
# },
|
1964
|
-
# },
|
1965
|
-
# ],
|
1966
|
-
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
1967
|
-
# }
|
1968
|
-
#
|
1969
1758
|
# @!attribute [rw] region_name
|
1970
1759
|
# The Region where the new replica will be created.
|
1971
1760
|
# @return [String]
|
@@ -2006,80 +1795,6 @@ module Aws::DynamoDB
|
|
2006
1795
|
|
2007
1796
|
# Represents the input of a `CreateTable` operation.
|
2008
1797
|
#
|
2009
|
-
# @note When making an API call, you may pass CreateTableInput
|
2010
|
-
# data as a hash:
|
2011
|
-
#
|
2012
|
-
# {
|
2013
|
-
# attribute_definitions: [ # required
|
2014
|
-
# {
|
2015
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
2016
|
-
# attribute_type: "S", # required, accepts S, N, B
|
2017
|
-
# },
|
2018
|
-
# ],
|
2019
|
-
# table_name: "TableName", # required
|
2020
|
-
# key_schema: [ # required
|
2021
|
-
# {
|
2022
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
2023
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
2024
|
-
# },
|
2025
|
-
# ],
|
2026
|
-
# local_secondary_indexes: [
|
2027
|
-
# {
|
2028
|
-
# index_name: "IndexName", # required
|
2029
|
-
# key_schema: [ # required
|
2030
|
-
# {
|
2031
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
2032
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
2033
|
-
# },
|
2034
|
-
# ],
|
2035
|
-
# projection: { # required
|
2036
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
2037
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
2038
|
-
# },
|
2039
|
-
# },
|
2040
|
-
# ],
|
2041
|
-
# global_secondary_indexes: [
|
2042
|
-
# {
|
2043
|
-
# index_name: "IndexName", # required
|
2044
|
-
# key_schema: [ # required
|
2045
|
-
# {
|
2046
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
2047
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
2048
|
-
# },
|
2049
|
-
# ],
|
2050
|
-
# projection: { # required
|
2051
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
2052
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
2053
|
-
# },
|
2054
|
-
# provisioned_throughput: {
|
2055
|
-
# read_capacity_units: 1, # required
|
2056
|
-
# write_capacity_units: 1, # required
|
2057
|
-
# },
|
2058
|
-
# },
|
2059
|
-
# ],
|
2060
|
-
# billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
|
2061
|
-
# provisioned_throughput: {
|
2062
|
-
# read_capacity_units: 1, # required
|
2063
|
-
# write_capacity_units: 1, # required
|
2064
|
-
# },
|
2065
|
-
# stream_specification: {
|
2066
|
-
# stream_enabled: false, # required
|
2067
|
-
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
2068
|
-
# },
|
2069
|
-
# sse_specification: {
|
2070
|
-
# enabled: false,
|
2071
|
-
# sse_type: "AES256", # accepts AES256, KMS
|
2072
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
2073
|
-
# },
|
2074
|
-
# tags: [
|
2075
|
-
# {
|
2076
|
-
# key: "TagKeyString", # required
|
2077
|
-
# value: "TagValueString", # required
|
2078
|
-
# },
|
2079
|
-
# ],
|
2080
|
-
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
2081
|
-
# }
|
2082
|
-
#
|
2083
1798
|
# @!attribute [rw] attribute_definitions
|
2084
1799
|
# An array of attributes that describe the key schema for the table
|
2085
1800
|
# and indexes.
|
@@ -2330,25 +2045,31 @@ module Aws::DynamoDB
|
|
2330
2045
|
include Aws::Structure
|
2331
2046
|
end
|
2332
2047
|
|
2333
|
-
#
|
2048
|
+
# Processing options for the CSV file being imported.
|
2049
|
+
#
|
2050
|
+
# @!attribute [rw] delimiter
|
2051
|
+
# The delimiter used for separating items in the CSV file being
|
2052
|
+
# imported.
|
2053
|
+
# @return [String]
|
2054
|
+
#
|
2055
|
+
# @!attribute [rw] header_list
|
2056
|
+
# List of the headers used to specify a common header for all source
|
2057
|
+
# CSV files being imported. If this field is specified then the first
|
2058
|
+
# line of each CSV file is treated as data instead of the header. If
|
2059
|
+
# this field is not specified the the first line of each CSV file is
|
2060
|
+
# treated as the header.
|
2061
|
+
# @return [Array<String>]
|
2334
2062
|
#
|
2335
|
-
# @
|
2336
|
-
#
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2344
|
-
#
|
2345
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
2346
|
-
# },
|
2347
|
-
# expression_attribute_values: {
|
2348
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2349
|
-
# },
|
2350
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
2351
|
-
# }
|
2063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CsvOptions AWS API Documentation
|
2064
|
+
#
|
2065
|
+
class CsvOptions < Struct.new(
|
2066
|
+
:delimiter,
|
2067
|
+
:header_list)
|
2068
|
+
SENSITIVE = []
|
2069
|
+
include Aws::Structure
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
# Represents a request to perform a `DeleteItem` operation.
|
2352
2073
|
#
|
2353
2074
|
# @!attribute [rw] key
|
2354
2075
|
# The primary key of the item to be deleted. Each element consists of
|
@@ -2393,13 +2114,6 @@ module Aws::DynamoDB
|
|
2393
2114
|
include Aws::Structure
|
2394
2115
|
end
|
2395
2116
|
|
2396
|
-
# @note When making an API call, you may pass DeleteBackupInput
|
2397
|
-
# data as a hash:
|
2398
|
-
#
|
2399
|
-
# {
|
2400
|
-
# backup_arn: "BackupArn", # required
|
2401
|
-
# }
|
2402
|
-
#
|
2403
2117
|
# @!attribute [rw] backup_arn
|
2404
2118
|
# The ARN associated with the backup.
|
2405
2119
|
# @return [String]
|
@@ -2427,13 +2141,6 @@ module Aws::DynamoDB
|
|
2427
2141
|
# Represents a global secondary index to be deleted from an existing
|
2428
2142
|
# table.
|
2429
2143
|
#
|
2430
|
-
# @note When making an API call, you may pass DeleteGlobalSecondaryIndexAction
|
2431
|
-
# data as a hash:
|
2432
|
-
#
|
2433
|
-
# {
|
2434
|
-
# index_name: "IndexName", # required
|
2435
|
-
# }
|
2436
|
-
#
|
2437
2144
|
# @!attribute [rw] index_name
|
2438
2145
|
# The name of the global secondary index to be deleted.
|
2439
2146
|
# @return [String]
|
@@ -2448,35 +2155,6 @@ module Aws::DynamoDB
|
|
2448
2155
|
|
2449
2156
|
# Represents the input of a `DeleteItem` operation.
|
2450
2157
|
#
|
2451
|
-
# @note When making an API call, you may pass DeleteItemInput
|
2452
|
-
# data as a hash:
|
2453
|
-
#
|
2454
|
-
# {
|
2455
|
-
# table_name: "TableName", # required
|
2456
|
-
# key: { # required
|
2457
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2458
|
-
# },
|
2459
|
-
# expected: {
|
2460
|
-
# "AttributeName" => {
|
2461
|
-
# value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2462
|
-
# exists: false,
|
2463
|
-
# comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
2464
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2465
|
-
# },
|
2466
|
-
# },
|
2467
|
-
# conditional_operator: "AND", # accepts AND, OR
|
2468
|
-
# return_values: "NONE", # accepts NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW
|
2469
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
2470
|
-
# return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
|
2471
|
-
# condition_expression: "ConditionExpression",
|
2472
|
-
# expression_attribute_names: {
|
2473
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
2474
|
-
# },
|
2475
|
-
# expression_attribute_values: {
|
2476
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2477
|
-
# },
|
2478
|
-
# }
|
2479
|
-
#
|
2480
2158
|
# @!attribute [rw] table_name
|
2481
2159
|
# The name of the table from which to delete the item.
|
2482
2160
|
# @return [String]
|
@@ -2485,7 +2163,7 @@ module Aws::DynamoDB
|
|
2485
2163
|
# A map of attribute names to `AttributeValue` objects, representing
|
2486
2164
|
# the primary key of the item to delete.
|
2487
2165
|
#
|
2488
|
-
# For the primary key, you must provide all of the attributes. For
|
2166
|
+
# For the primary key, you must provide all of the key attributes. For
|
2489
2167
|
# example, with a simple primary key, you only need to provide a value
|
2490
2168
|
# for the partition key. For a composite primary key, you must provide
|
2491
2169
|
# values for both the partition key and the sort key.
|
@@ -2522,6 +2200,10 @@ module Aws::DynamoDB
|
|
2522
2200
|
#
|
2523
2201
|
# * `ALL_OLD` - The content of the old item is returned.
|
2524
2202
|
#
|
2203
|
+
# There is no additional cost associated with requesting a return
|
2204
|
+
# value aside from the small network and processing overhead of
|
2205
|
+
# receiving a larger response. No read capacity units are consumed.
|
2206
|
+
#
|
2525
2207
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
2526
2208
|
# however, `DeleteItem` does not recognize any values other than
|
2527
2209
|
# `NONE` or `ALL_OLD`.
|
@@ -2693,7 +2375,7 @@ module Aws::DynamoDB
|
|
2693
2375
|
# with statistics for the table and any indexes involved in the
|
2694
2376
|
# operation. `ConsumedCapacity` is only returned if the
|
2695
2377
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
2696
|
-
# information, see [Provisioned
|
2378
|
+
# information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
|
2697
2379
|
# Developer Guide*.
|
2698
2380
|
#
|
2699
2381
|
#
|
@@ -2738,13 +2420,6 @@ module Aws::DynamoDB
|
|
2738
2420
|
|
2739
2421
|
# Represents a replica to be removed.
|
2740
2422
|
#
|
2741
|
-
# @note When making an API call, you may pass DeleteReplicaAction
|
2742
|
-
# data as a hash:
|
2743
|
-
#
|
2744
|
-
# {
|
2745
|
-
# region_name: "RegionName", # required
|
2746
|
-
# }
|
2747
|
-
#
|
2748
2423
|
# @!attribute [rw] region_name
|
2749
2424
|
# The Region of the replica to be removed.
|
2750
2425
|
# @return [String]
|
@@ -2759,13 +2434,6 @@ module Aws::DynamoDB
|
|
2759
2434
|
|
2760
2435
|
# Represents a replica to be deleted.
|
2761
2436
|
#
|
2762
|
-
# @note When making an API call, you may pass DeleteReplicationGroupMemberAction
|
2763
|
-
# data as a hash:
|
2764
|
-
#
|
2765
|
-
# {
|
2766
|
-
# region_name: "RegionName", # required
|
2767
|
-
# }
|
2768
|
-
#
|
2769
2437
|
# @!attribute [rw] region_name
|
2770
2438
|
# The Region where the replica exists.
|
2771
2439
|
# @return [String]
|
@@ -2780,15 +2448,6 @@ module Aws::DynamoDB
|
|
2780
2448
|
|
2781
2449
|
# Represents a request to perform a `DeleteItem` operation on an item.
|
2782
2450
|
#
|
2783
|
-
# @note When making an API call, you may pass DeleteRequest
|
2784
|
-
# data as a hash:
|
2785
|
-
#
|
2786
|
-
# {
|
2787
|
-
# key: { # required
|
2788
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
2789
|
-
# },
|
2790
|
-
# }
|
2791
|
-
#
|
2792
2451
|
# @!attribute [rw] key
|
2793
2452
|
# A map of attribute name to attribute values, representing the
|
2794
2453
|
# primary key of the item to delete. All of the table's primary key
|
@@ -2806,13 +2465,6 @@ module Aws::DynamoDB
|
|
2806
2465
|
|
2807
2466
|
# Represents the input of a `DeleteTable` operation.
|
2808
2467
|
#
|
2809
|
-
# @note When making an API call, you may pass DeleteTableInput
|
2810
|
-
# data as a hash:
|
2811
|
-
#
|
2812
|
-
# {
|
2813
|
-
# table_name: "TableName", # required
|
2814
|
-
# }
|
2815
|
-
#
|
2816
2468
|
# @!attribute [rw] table_name
|
2817
2469
|
# The name of the table to delete.
|
2818
2470
|
# @return [String]
|
@@ -2839,13 +2491,6 @@ module Aws::DynamoDB
|
|
2839
2491
|
include Aws::Structure
|
2840
2492
|
end
|
2841
2493
|
|
2842
|
-
# @note When making an API call, you may pass DescribeBackupInput
|
2843
|
-
# data as a hash:
|
2844
|
-
#
|
2845
|
-
# {
|
2846
|
-
# backup_arn: "BackupArn", # required
|
2847
|
-
# }
|
2848
|
-
#
|
2849
2494
|
# @!attribute [rw] backup_arn
|
2850
2495
|
# The Amazon Resource Name (ARN) associated with the backup.
|
2851
2496
|
# @return [String]
|
@@ -2870,13 +2515,6 @@ module Aws::DynamoDB
|
|
2870
2515
|
include Aws::Structure
|
2871
2516
|
end
|
2872
2517
|
|
2873
|
-
# @note When making an API call, you may pass DescribeContinuousBackupsInput
|
2874
|
-
# data as a hash:
|
2875
|
-
#
|
2876
|
-
# {
|
2877
|
-
# table_name: "TableName", # required
|
2878
|
-
# }
|
2879
|
-
#
|
2880
2518
|
# @!attribute [rw] table_name
|
2881
2519
|
# Name of the table for which the customer wants to check the
|
2882
2520
|
# continuous backups and point in time recovery settings.
|
@@ -2903,14 +2541,6 @@ module Aws::DynamoDB
|
|
2903
2541
|
include Aws::Structure
|
2904
2542
|
end
|
2905
2543
|
|
2906
|
-
# @note When making an API call, you may pass DescribeContributorInsightsInput
|
2907
|
-
# data as a hash:
|
2908
|
-
#
|
2909
|
-
# {
|
2910
|
-
# table_name: "TableName", # required
|
2911
|
-
# index_name: "IndexName",
|
2912
|
-
# }
|
2913
|
-
#
|
2914
2544
|
# @!attribute [rw] table_name
|
2915
2545
|
# The name of the table to describe.
|
2916
2546
|
# @return [String]
|
@@ -2999,13 +2629,6 @@ module Aws::DynamoDB
|
|
2999
2629
|
include Aws::Structure
|
3000
2630
|
end
|
3001
2631
|
|
3002
|
-
# @note When making an API call, you may pass DescribeExportInput
|
3003
|
-
# data as a hash:
|
3004
|
-
#
|
3005
|
-
# {
|
3006
|
-
# export_arn: "ExportArn", # required
|
3007
|
-
# }
|
3008
|
-
#
|
3009
2632
|
# @!attribute [rw] export_arn
|
3010
2633
|
# The Amazon Resource Name (ARN) associated with the export.
|
3011
2634
|
# @return [String]
|
@@ -3030,13 +2653,6 @@ module Aws::DynamoDB
|
|
3030
2653
|
include Aws::Structure
|
3031
2654
|
end
|
3032
2655
|
|
3033
|
-
# @note When making an API call, you may pass DescribeGlobalTableInput
|
3034
|
-
# data as a hash:
|
3035
|
-
#
|
3036
|
-
# {
|
3037
|
-
# global_table_name: "TableName", # required
|
3038
|
-
# }
|
3039
|
-
#
|
3040
2656
|
# @!attribute [rw] global_table_name
|
3041
2657
|
# The name of the global table.
|
3042
2658
|
# @return [String]
|
@@ -3061,13 +2677,6 @@ module Aws::DynamoDB
|
|
3061
2677
|
include Aws::Structure
|
3062
2678
|
end
|
3063
2679
|
|
3064
|
-
# @note When making an API call, you may pass DescribeGlobalTableSettingsInput
|
3065
|
-
# data as a hash:
|
3066
|
-
#
|
3067
|
-
# {
|
3068
|
-
# global_table_name: "TableName", # required
|
3069
|
-
# }
|
3070
|
-
#
|
3071
2680
|
# @!attribute [rw] global_table_name
|
3072
2681
|
# The name of the global table to describe.
|
3073
2682
|
# @return [String]
|
@@ -3097,13 +2706,34 @@ module Aws::DynamoDB
|
|
3097
2706
|
include Aws::Structure
|
3098
2707
|
end
|
3099
2708
|
|
3100
|
-
#
|
3101
|
-
#
|
2709
|
+
# @!attribute [rw] import_arn
|
2710
|
+
# The Amazon Resource Name (ARN) associated with the table you're
|
2711
|
+
# importing to.
|
2712
|
+
# @return [String]
|
2713
|
+
#
|
2714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeImportInput AWS API Documentation
|
2715
|
+
#
|
2716
|
+
class DescribeImportInput < Struct.new(
|
2717
|
+
:import_arn)
|
2718
|
+
SENSITIVE = []
|
2719
|
+
include Aws::Structure
|
2720
|
+
end
|
2721
|
+
|
2722
|
+
# @!attribute [rw] import_table_description
|
2723
|
+
# Represents the properties of the table created for the import, and
|
2724
|
+
# parameters of the import. The import parameters include import
|
2725
|
+
# status, how many items were processed, and how many errors were
|
2726
|
+
# encountered.
|
2727
|
+
# @return [Types::ImportTableDescription]
|
3102
2728
|
#
|
3103
|
-
#
|
3104
|
-
# table_name: "TableName", # required
|
3105
|
-
# }
|
2729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeImportOutput AWS API Documentation
|
3106
2730
|
#
|
2731
|
+
class DescribeImportOutput < Struct.new(
|
2732
|
+
:import_table_description)
|
2733
|
+
SENSITIVE = []
|
2734
|
+
include Aws::Structure
|
2735
|
+
end
|
2736
|
+
|
3107
2737
|
# @!attribute [rw] table_name
|
3108
2738
|
# The name of the table being described.
|
3109
2739
|
# @return [String]
|
@@ -3180,13 +2810,6 @@ module Aws::DynamoDB
|
|
3180
2810
|
|
3181
2811
|
# Represents the input of a `DescribeTable` operation.
|
3182
2812
|
#
|
3183
|
-
# @note When making an API call, you may pass DescribeTableInput
|
3184
|
-
# data as a hash:
|
3185
|
-
#
|
3186
|
-
# {
|
3187
|
-
# table_name: "TableName", # required
|
3188
|
-
# }
|
3189
|
-
#
|
3190
2813
|
# @!attribute [rw] table_name
|
3191
2814
|
# The name of the table to describe.
|
3192
2815
|
# @return [String]
|
@@ -3213,13 +2836,6 @@ module Aws::DynamoDB
|
|
3213
2836
|
include Aws::Structure
|
3214
2837
|
end
|
3215
2838
|
|
3216
|
-
# @note When making an API call, you may pass DescribeTableReplicaAutoScalingInput
|
3217
|
-
# data as a hash:
|
3218
|
-
#
|
3219
|
-
# {
|
3220
|
-
# table_name: "TableName", # required
|
3221
|
-
# }
|
3222
|
-
#
|
3223
2839
|
# @!attribute [rw] table_name
|
3224
2840
|
# The name of the table.
|
3225
2841
|
# @return [String]
|
@@ -3244,13 +2860,6 @@ module Aws::DynamoDB
|
|
3244
2860
|
include Aws::Structure
|
3245
2861
|
end
|
3246
2862
|
|
3247
|
-
# @note When making an API call, you may pass DescribeTimeToLiveInput
|
3248
|
-
# data as a hash:
|
3249
|
-
#
|
3250
|
-
# {
|
3251
|
-
# table_name: "TableName", # required
|
3252
|
-
# }
|
3253
|
-
#
|
3254
2863
|
# @!attribute [rw] table_name
|
3255
2864
|
# The name of the table to be described.
|
3256
2865
|
# @return [String]
|
@@ -3307,18 +2916,6 @@ module Aws::DynamoDB
|
|
3307
2916
|
include Aws::Structure
|
3308
2917
|
end
|
3309
2918
|
|
3310
|
-
# @note When making an API call, you may pass ExecuteStatementInput
|
3311
|
-
# data as a hash:
|
3312
|
-
#
|
3313
|
-
# {
|
3314
|
-
# statement: "PartiQLStatement", # required
|
3315
|
-
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3316
|
-
# consistent_read: false,
|
3317
|
-
# next_token: "PartiQLNextToken",
|
3318
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3319
|
-
# limit: 1,
|
3320
|
-
# }
|
3321
|
-
#
|
3322
2919
|
# @!attribute [rw] statement
|
3323
2920
|
# The PartiQL statement representing the operation to run.
|
3324
2921
|
# @return [String]
|
@@ -3432,20 +3029,6 @@ module Aws::DynamoDB
|
|
3432
3029
|
include Aws::Structure
|
3433
3030
|
end
|
3434
3031
|
|
3435
|
-
# @note When making an API call, you may pass ExecuteTransactionInput
|
3436
|
-
# data as a hash:
|
3437
|
-
#
|
3438
|
-
# {
|
3439
|
-
# transact_statements: [ # required
|
3440
|
-
# {
|
3441
|
-
# statement: "PartiQLStatement", # required
|
3442
|
-
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3443
|
-
# },
|
3444
|
-
# ],
|
3445
|
-
# client_request_token: "ClientRequestToken",
|
3446
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
3447
|
-
# }
|
3448
|
-
#
|
3449
3032
|
# @!attribute [rw] transact_statements
|
3450
3033
|
# The list of PartiQL statements representing the transaction to run.
|
3451
3034
|
# @return [Array<Types::ParameterizedStatement>]
|
@@ -3520,16 +3103,6 @@ module Aws::DynamoDB
|
|
3520
3103
|
# `ComparisonOperator`. Note that if you use both sets of parameters at
|
3521
3104
|
# once, DynamoDB will return a `ValidationException` exception.
|
3522
3105
|
#
|
3523
|
-
# @note When making an API call, you may pass ExpectedAttributeValue
|
3524
|
-
# data as a hash:
|
3525
|
-
#
|
3526
|
-
# {
|
3527
|
-
# value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3528
|
-
# exists: false,
|
3529
|
-
# comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
3530
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
3531
|
-
# }
|
3532
|
-
#
|
3533
3106
|
# @!attribute [rw] value
|
3534
3107
|
# Represents the data for the expected attribute.
|
3535
3108
|
#
|
@@ -3938,28 +3511,14 @@ module Aws::DynamoDB
|
|
3938
3511
|
include Aws::Structure
|
3939
3512
|
end
|
3940
3513
|
|
3941
|
-
# @note When making an API call, you may pass ExportTableToPointInTimeInput
|
3942
|
-
# data as a hash:
|
3943
|
-
#
|
3944
|
-
# {
|
3945
|
-
# table_arn: "TableArn", # required
|
3946
|
-
# export_time: Time.now,
|
3947
|
-
# client_token: "ClientToken",
|
3948
|
-
# s3_bucket: "S3Bucket", # required
|
3949
|
-
# s3_bucket_owner: "S3BucketOwner",
|
3950
|
-
# s3_prefix: "S3Prefix",
|
3951
|
-
# s3_sse_algorithm: "AES256", # accepts AES256, KMS
|
3952
|
-
# s3_sse_kms_key_id: "S3SseKmsKeyId",
|
3953
|
-
# export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
|
3954
|
-
# }
|
3955
|
-
#
|
3956
3514
|
# @!attribute [rw] table_arn
|
3957
3515
|
# The Amazon Resource Name (ARN) associated with the table to export.
|
3958
3516
|
# @return [String]
|
3959
3517
|
#
|
3960
3518
|
# @!attribute [rw] export_time
|
3961
|
-
# Time in the past from which to export table data
|
3962
|
-
#
|
3519
|
+
# Time in the past from which to export table data, counted in seconds
|
3520
|
+
# from the start of the Unix epoch. The table export will be a
|
3521
|
+
# snapshot of the table's state at this point in time.
|
3963
3522
|
# @return [Time]
|
3964
3523
|
#
|
3965
3524
|
# @!attribute [rw] client_token
|
@@ -3975,7 +3534,7 @@ module Aws::DynamoDB
|
|
3975
3534
|
#
|
3976
3535
|
# If you submit a request with the same client token but a change in
|
3977
3536
|
# other parameters within the 8-hour idempotency window, DynamoDB
|
3978
|
-
# returns an `
|
3537
|
+
# returns an `ImportConflictException`.
|
3979
3538
|
#
|
3980
3539
|
# **A suitable default value is auto-generated.** You should normally
|
3981
3540
|
# not need to pass this option.
|
@@ -4064,20 +3623,6 @@ module Aws::DynamoDB
|
|
4064
3623
|
# Specifies an item and related attribute values to retrieve in a
|
4065
3624
|
# `TransactGetItem` object.
|
4066
3625
|
#
|
4067
|
-
# @note When making an API call, you may pass Get
|
4068
|
-
# data as a hash:
|
4069
|
-
#
|
4070
|
-
# {
|
4071
|
-
# key: { # required
|
4072
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
4073
|
-
# },
|
4074
|
-
# table_name: "TableName", # required
|
4075
|
-
# projection_expression: "ProjectionExpression",
|
4076
|
-
# expression_attribute_names: {
|
4077
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
4078
|
-
# },
|
4079
|
-
# }
|
4080
|
-
#
|
4081
3626
|
# @!attribute [rw] key
|
4082
3627
|
# A map of attribute names to `AttributeValue` objects that specifies
|
4083
3628
|
# the primary key of the item to retrieve.
|
@@ -4114,23 +3659,6 @@ module Aws::DynamoDB
|
|
4114
3659
|
|
4115
3660
|
# Represents the input of a `GetItem` operation.
|
4116
3661
|
#
|
4117
|
-
# @note When making an API call, you may pass GetItemInput
|
4118
|
-
# data as a hash:
|
4119
|
-
#
|
4120
|
-
# {
|
4121
|
-
# table_name: "TableName", # required
|
4122
|
-
# key: { # required
|
4123
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
4124
|
-
# },
|
4125
|
-
# attributes_to_get: ["AttributeName"],
|
4126
|
-
# consistent_read: false,
|
4127
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
4128
|
-
# projection_expression: "ProjectionExpression",
|
4129
|
-
# expression_attribute_names: {
|
4130
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
4131
|
-
# },
|
4132
|
-
# }
|
4133
|
-
#
|
4134
3662
|
# @!attribute [rw] table_name
|
4135
3663
|
# The name of the table containing the requested item.
|
4136
3664
|
# @return [String]
|
@@ -4279,12 +3807,12 @@ module Aws::DynamoDB
|
|
4279
3807
|
# with statistics for the table and any indexes involved in the
|
4280
3808
|
# operation. `ConsumedCapacity` is only returned if the
|
4281
3809
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
4282
|
-
# information, see [
|
4283
|
-
#
|
3810
|
+
# information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
|
3811
|
+
# Developer Guide*.
|
4284
3812
|
#
|
4285
3813
|
#
|
4286
3814
|
#
|
4287
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
3815
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads
|
4288
3816
|
# @return [Types::ConsumedCapacity]
|
4289
3817
|
#
|
4290
3818
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItemOutput AWS API Documentation
|
@@ -4298,27 +3826,6 @@ module Aws::DynamoDB
|
|
4298
3826
|
|
4299
3827
|
# Represents the properties of a global secondary index.
|
4300
3828
|
#
|
4301
|
-
# @note When making an API call, you may pass GlobalSecondaryIndex
|
4302
|
-
# data as a hash:
|
4303
|
-
#
|
4304
|
-
# {
|
4305
|
-
# index_name: "IndexName", # required
|
4306
|
-
# key_schema: [ # required
|
4307
|
-
# {
|
4308
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
4309
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
4310
|
-
# },
|
4311
|
-
# ],
|
4312
|
-
# projection: { # required
|
4313
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
4314
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
4315
|
-
# },
|
4316
|
-
# provisioned_throughput: {
|
4317
|
-
# read_capacity_units: 1, # required
|
4318
|
-
# write_capacity_units: 1, # required
|
4319
|
-
# },
|
4320
|
-
# }
|
4321
|
-
#
|
4322
3829
|
# @!attribute [rw] index_name
|
4323
3830
|
# The name of the global secondary index. The name must be unique
|
4324
3831
|
# among all other indexes on this table.
|
@@ -4379,28 +3886,6 @@ module Aws::DynamoDB
|
|
4379
3886
|
# Represents the auto scaling settings of a global secondary index for a
|
4380
3887
|
# global table that will be modified.
|
4381
3888
|
#
|
4382
|
-
# @note When making an API call, you may pass GlobalSecondaryIndexAutoScalingUpdate
|
4383
|
-
# data as a hash:
|
4384
|
-
#
|
4385
|
-
# {
|
4386
|
-
# index_name: "IndexName",
|
4387
|
-
# provisioned_write_capacity_auto_scaling_update: {
|
4388
|
-
# minimum_units: 1,
|
4389
|
-
# maximum_units: 1,
|
4390
|
-
# auto_scaling_disabled: false,
|
4391
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
4392
|
-
# scaling_policy_update: {
|
4393
|
-
# policy_name: "AutoScalingPolicyName",
|
4394
|
-
# target_tracking_scaling_policy_configuration: { # required
|
4395
|
-
# disable_scale_in: false,
|
4396
|
-
# scale_in_cooldown: 1,
|
4397
|
-
# scale_out_cooldown: 1,
|
4398
|
-
# target_value: 1.0, # required
|
4399
|
-
# },
|
4400
|
-
# },
|
4401
|
-
# },
|
4402
|
-
# }
|
4403
|
-
#
|
4404
3889
|
# @!attribute [rw] index_name
|
4405
3890
|
# The name of the global secondary index.
|
4406
3891
|
# @return [String]
|
@@ -4593,39 +4078,6 @@ module Aws::DynamoDB
|
|
4593
4078
|
# * An existing global secondary index to be removed from an existing
|
4594
4079
|
# table.
|
4595
4080
|
#
|
4596
|
-
# @note When making an API call, you may pass GlobalSecondaryIndexUpdate
|
4597
|
-
# data as a hash:
|
4598
|
-
#
|
4599
|
-
# {
|
4600
|
-
# update: {
|
4601
|
-
# index_name: "IndexName", # required
|
4602
|
-
# provisioned_throughput: { # required
|
4603
|
-
# read_capacity_units: 1, # required
|
4604
|
-
# write_capacity_units: 1, # required
|
4605
|
-
# },
|
4606
|
-
# },
|
4607
|
-
# create: {
|
4608
|
-
# index_name: "IndexName", # required
|
4609
|
-
# key_schema: [ # required
|
4610
|
-
# {
|
4611
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
4612
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
4613
|
-
# },
|
4614
|
-
# ],
|
4615
|
-
# projection: { # required
|
4616
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
4617
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
4618
|
-
# },
|
4619
|
-
# provisioned_throughput: {
|
4620
|
-
# read_capacity_units: 1, # required
|
4621
|
-
# write_capacity_units: 1, # required
|
4622
|
-
# },
|
4623
|
-
# },
|
4624
|
-
# delete: {
|
4625
|
-
# index_name: "IndexName", # required
|
4626
|
-
# },
|
4627
|
-
# }
|
4628
|
-
#
|
4629
4081
|
# @!attribute [rw] update
|
4630
4082
|
# The name of an existing global secondary index, along with new
|
4631
4083
|
# provisioned throughput settings to be applied to that index.
|
@@ -4737,29 +4189,6 @@ module Aws::DynamoDB
|
|
4737
4189
|
# Represents the settings of a global secondary index for a global table
|
4738
4190
|
# that will be modified.
|
4739
4191
|
#
|
4740
|
-
# @note When making an API call, you may pass GlobalTableGlobalSecondaryIndexSettingsUpdate
|
4741
|
-
# data as a hash:
|
4742
|
-
#
|
4743
|
-
# {
|
4744
|
-
# index_name: "IndexName", # required
|
4745
|
-
# provisioned_write_capacity_units: 1,
|
4746
|
-
# provisioned_write_capacity_auto_scaling_settings_update: {
|
4747
|
-
# minimum_units: 1,
|
4748
|
-
# maximum_units: 1,
|
4749
|
-
# auto_scaling_disabled: false,
|
4750
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
4751
|
-
# scaling_policy_update: {
|
4752
|
-
# policy_name: "AutoScalingPolicyName",
|
4753
|
-
# target_tracking_scaling_policy_configuration: { # required
|
4754
|
-
# disable_scale_in: false,
|
4755
|
-
# scale_in_cooldown: 1,
|
4756
|
-
# scale_out_cooldown: 1,
|
4757
|
-
# target_value: 1.0, # required
|
4758
|
-
# },
|
4759
|
-
# },
|
4760
|
-
# },
|
4761
|
-
# }
|
4762
|
-
#
|
4763
4192
|
# @!attribute [rw] index_name
|
4764
4193
|
# The name of the global secondary index. The name must be unique
|
4765
4194
|
# among all other indexes on this table.
|
@@ -4812,6 +4241,274 @@ module Aws::DynamoDB
|
|
4812
4241
|
include Aws::Structure
|
4813
4242
|
end
|
4814
4243
|
|
4244
|
+
# There was a conflict when importing from the specified S3 source. This
|
4245
|
+
# can occur when the current import conflicts with a previous import
|
4246
|
+
# request that had the same client token.
|
4247
|
+
#
|
4248
|
+
# @!attribute [rw] message
|
4249
|
+
# @return [String]
|
4250
|
+
#
|
4251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportConflictException AWS API Documentation
|
4252
|
+
#
|
4253
|
+
class ImportConflictException < Struct.new(
|
4254
|
+
:message)
|
4255
|
+
SENSITIVE = []
|
4256
|
+
include Aws::Structure
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# The specified import was not found.
|
4260
|
+
#
|
4261
|
+
# @!attribute [rw] message
|
4262
|
+
# @return [String]
|
4263
|
+
#
|
4264
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportNotFoundException AWS API Documentation
|
4265
|
+
#
|
4266
|
+
class ImportNotFoundException < Struct.new(
|
4267
|
+
:message)
|
4268
|
+
SENSITIVE = []
|
4269
|
+
include Aws::Structure
|
4270
|
+
end
|
4271
|
+
|
4272
|
+
# Summary information about the source file for the import.
|
4273
|
+
#
|
4274
|
+
# @!attribute [rw] import_arn
|
4275
|
+
# The Amazon Resource Number (ARN) corresponding to the import
|
4276
|
+
# request.
|
4277
|
+
# @return [String]
|
4278
|
+
#
|
4279
|
+
# @!attribute [rw] import_status
|
4280
|
+
# The status of the import operation.
|
4281
|
+
# @return [String]
|
4282
|
+
#
|
4283
|
+
# @!attribute [rw] table_arn
|
4284
|
+
# The Amazon Resource Number (ARN) of the table being imported into.
|
4285
|
+
# @return [String]
|
4286
|
+
#
|
4287
|
+
# @!attribute [rw] s3_bucket_source
|
4288
|
+
# The path and S3 bucket of the source file that is being imported.
|
4289
|
+
# This includes the S3Bucket (required), S3KeyPrefix (optional) and
|
4290
|
+
# S3BucketOwner (optional if the bucket is owned by the requester).
|
4291
|
+
# @return [Types::S3BucketSource]
|
4292
|
+
#
|
4293
|
+
# @!attribute [rw] cloud_watch_log_group_arn
|
4294
|
+
# The Amazon Resource Number (ARN) of the Cloudwatch Log Group
|
4295
|
+
# associated with this import task.
|
4296
|
+
# @return [String]
|
4297
|
+
#
|
4298
|
+
# @!attribute [rw] input_format
|
4299
|
+
# The format of the source data. Valid values are `CSV`,
|
4300
|
+
# `DYNAMODB_JSON` or `ION`.
|
4301
|
+
# @return [String]
|
4302
|
+
#
|
4303
|
+
# @!attribute [rw] start_time
|
4304
|
+
# The time at which this import task began.
|
4305
|
+
# @return [Time]
|
4306
|
+
#
|
4307
|
+
# @!attribute [rw] end_time
|
4308
|
+
# The time at which this import task ended. (Does this include the
|
4309
|
+
# successful complete creation of the table it was imported to?)
|
4310
|
+
# @return [Time]
|
4311
|
+
#
|
4312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportSummary AWS API Documentation
|
4313
|
+
#
|
4314
|
+
class ImportSummary < Struct.new(
|
4315
|
+
:import_arn,
|
4316
|
+
:import_status,
|
4317
|
+
:table_arn,
|
4318
|
+
:s3_bucket_source,
|
4319
|
+
:cloud_watch_log_group_arn,
|
4320
|
+
:input_format,
|
4321
|
+
:start_time,
|
4322
|
+
:end_time)
|
4323
|
+
SENSITIVE = []
|
4324
|
+
include Aws::Structure
|
4325
|
+
end
|
4326
|
+
|
4327
|
+
# Represents the properties of the table being imported into.
|
4328
|
+
#
|
4329
|
+
# @!attribute [rw] import_arn
|
4330
|
+
# The Amazon Resource Number (ARN) corresponding to the import
|
4331
|
+
# request.
|
4332
|
+
# @return [String]
|
4333
|
+
#
|
4334
|
+
# @!attribute [rw] import_status
|
4335
|
+
# The status of the import.
|
4336
|
+
# @return [String]
|
4337
|
+
#
|
4338
|
+
# @!attribute [rw] table_arn
|
4339
|
+
# The Amazon Resource Number (ARN) of the table being imported into.
|
4340
|
+
# @return [String]
|
4341
|
+
#
|
4342
|
+
# @!attribute [rw] table_id
|
4343
|
+
# The table id corresponding to the table created by import table
|
4344
|
+
# process.
|
4345
|
+
# @return [String]
|
4346
|
+
#
|
4347
|
+
# @!attribute [rw] client_token
|
4348
|
+
# The client token that was provided for the import task. Reusing the
|
4349
|
+
# client token on retry makes a call to `ImportTable` idempotent.
|
4350
|
+
# @return [String]
|
4351
|
+
#
|
4352
|
+
# @!attribute [rw] s3_bucket_source
|
4353
|
+
# Values for the S3 bucket the source file is imported from. Includes
|
4354
|
+
# bucket name (required), key prefix (optional) and bucket account
|
4355
|
+
# owner ID (optional).
|
4356
|
+
# @return [Types::S3BucketSource]
|
4357
|
+
#
|
4358
|
+
# @!attribute [rw] error_count
|
4359
|
+
# The number of errors occurred on importing the source file into the
|
4360
|
+
# target table.
|
4361
|
+
# @return [Integer]
|
4362
|
+
#
|
4363
|
+
# @!attribute [rw] cloud_watch_log_group_arn
|
4364
|
+
# The Amazon Resource Number (ARN) of the Cloudwatch Log Group
|
4365
|
+
# associated with the target table.
|
4366
|
+
# @return [String]
|
4367
|
+
#
|
4368
|
+
# @!attribute [rw] input_format
|
4369
|
+
# The format of the source data going into the target table.
|
4370
|
+
# @return [String]
|
4371
|
+
#
|
4372
|
+
# @!attribute [rw] input_format_options
|
4373
|
+
# The format options for the data that was imported into the target
|
4374
|
+
# table. There is one value, CsvOption.
|
4375
|
+
# @return [Types::InputFormatOptions]
|
4376
|
+
#
|
4377
|
+
# @!attribute [rw] input_compression_type
|
4378
|
+
# The compression options for the data that has been imported into the
|
4379
|
+
# target table. The values are NONE, GZIP, or ZSTD.
|
4380
|
+
# @return [String]
|
4381
|
+
#
|
4382
|
+
# @!attribute [rw] table_creation_parameters
|
4383
|
+
# The parameters for the new table that is being imported into.
|
4384
|
+
# @return [Types::TableCreationParameters]
|
4385
|
+
#
|
4386
|
+
# @!attribute [rw] start_time
|
4387
|
+
# The time when this import task started.
|
4388
|
+
# @return [Time]
|
4389
|
+
#
|
4390
|
+
# @!attribute [rw] end_time
|
4391
|
+
# The time at which the creation of the table associated with this
|
4392
|
+
# import task completed.
|
4393
|
+
# @return [Time]
|
4394
|
+
#
|
4395
|
+
# @!attribute [rw] processed_size_bytes
|
4396
|
+
# The total size of data processed from the source file, in Bytes.
|
4397
|
+
# @return [Integer]
|
4398
|
+
#
|
4399
|
+
# @!attribute [rw] processed_item_count
|
4400
|
+
# The total number of items processed from the source file.
|
4401
|
+
# @return [Integer]
|
4402
|
+
#
|
4403
|
+
# @!attribute [rw] imported_item_count
|
4404
|
+
# The number of items successfully imported into the new table.
|
4405
|
+
# @return [Integer]
|
4406
|
+
#
|
4407
|
+
# @!attribute [rw] failure_code
|
4408
|
+
# The error code corresponding to the failure that the import job ran
|
4409
|
+
# into during execution.
|
4410
|
+
# @return [String]
|
4411
|
+
#
|
4412
|
+
# @!attribute [rw] failure_message
|
4413
|
+
# The error message corresponding to the failure that the import job
|
4414
|
+
# ran into during execution.
|
4415
|
+
# @return [String]
|
4416
|
+
#
|
4417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableDescription AWS API Documentation
|
4418
|
+
#
|
4419
|
+
class ImportTableDescription < Struct.new(
|
4420
|
+
:import_arn,
|
4421
|
+
:import_status,
|
4422
|
+
:table_arn,
|
4423
|
+
:table_id,
|
4424
|
+
:client_token,
|
4425
|
+
:s3_bucket_source,
|
4426
|
+
:error_count,
|
4427
|
+
:cloud_watch_log_group_arn,
|
4428
|
+
:input_format,
|
4429
|
+
:input_format_options,
|
4430
|
+
:input_compression_type,
|
4431
|
+
:table_creation_parameters,
|
4432
|
+
:start_time,
|
4433
|
+
:end_time,
|
4434
|
+
:processed_size_bytes,
|
4435
|
+
:processed_item_count,
|
4436
|
+
:imported_item_count,
|
4437
|
+
:failure_code,
|
4438
|
+
:failure_message)
|
4439
|
+
SENSITIVE = []
|
4440
|
+
include Aws::Structure
|
4441
|
+
end
|
4442
|
+
|
4443
|
+
# @!attribute [rw] client_token
|
4444
|
+
# Providing a `ClientToken` makes the call to `ImportTableInput`
|
4445
|
+
# idempotent, meaning that multiple identical calls have the same
|
4446
|
+
# effect as one single call.
|
4447
|
+
#
|
4448
|
+
# A client token is valid for 8 hours after the first request that
|
4449
|
+
# uses it is completed. After 8 hours, any request with the same
|
4450
|
+
# client token is treated as a new request. Do not resubmit the same
|
4451
|
+
# request with the same client token for more than 8 hours, or the
|
4452
|
+
# result might not be idempotent.
|
4453
|
+
#
|
4454
|
+
# If you submit a request with the same client token but a change in
|
4455
|
+
# other parameters within the 8-hour idempotency window, DynamoDB
|
4456
|
+
# returns an `IdempotentParameterMismatch` exception.
|
4457
|
+
#
|
4458
|
+
# **A suitable default value is auto-generated.** You should normally
|
4459
|
+
# not need to pass this option.
|
4460
|
+
# @return [String]
|
4461
|
+
#
|
4462
|
+
# @!attribute [rw] s3_bucket_source
|
4463
|
+
# The S3 bucket that provides the source for the import.
|
4464
|
+
# @return [Types::S3BucketSource]
|
4465
|
+
#
|
4466
|
+
# @!attribute [rw] input_format
|
4467
|
+
# The format of the source data. Valid values for `ImportFormat` are
|
4468
|
+
# `CSV`, `DYNAMODB_JSON` or `ION`.
|
4469
|
+
# @return [String]
|
4470
|
+
#
|
4471
|
+
# @!attribute [rw] input_format_options
|
4472
|
+
# Additional properties that specify how the input is formatted,
|
4473
|
+
# @return [Types::InputFormatOptions]
|
4474
|
+
#
|
4475
|
+
# @!attribute [rw] input_compression_type
|
4476
|
+
# Type of compression to be used on the input coming from the imported
|
4477
|
+
# table.
|
4478
|
+
# @return [String]
|
4479
|
+
#
|
4480
|
+
# @!attribute [rw] table_creation_parameters
|
4481
|
+
# Parameters for the table to import the data into.
|
4482
|
+
# @return [Types::TableCreationParameters]
|
4483
|
+
#
|
4484
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableInput AWS API Documentation
|
4485
|
+
#
|
4486
|
+
class ImportTableInput < Struct.new(
|
4487
|
+
:client_token,
|
4488
|
+
:s3_bucket_source,
|
4489
|
+
:input_format,
|
4490
|
+
:input_format_options,
|
4491
|
+
:input_compression_type,
|
4492
|
+
:table_creation_parameters)
|
4493
|
+
SENSITIVE = []
|
4494
|
+
include Aws::Structure
|
4495
|
+
end
|
4496
|
+
|
4497
|
+
# @!attribute [rw] import_table_description
|
4498
|
+
# Represents the properties of the table created for the import, and
|
4499
|
+
# parameters of the import. The import parameters include import
|
4500
|
+
# status, how many items were processed, and how many errors were
|
4501
|
+
# encountered.
|
4502
|
+
# @return [Types::ImportTableDescription]
|
4503
|
+
#
|
4504
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableOutput AWS API Documentation
|
4505
|
+
#
|
4506
|
+
class ImportTableOutput < Struct.new(
|
4507
|
+
:import_table_description)
|
4508
|
+
SENSITIVE = []
|
4509
|
+
include Aws::Structure
|
4510
|
+
end
|
4511
|
+
|
4815
4512
|
# The operation tried to access a nonexistent index.
|
4816
4513
|
#
|
4817
4514
|
# @!attribute [rw] message
|
@@ -4825,6 +4522,22 @@ module Aws::DynamoDB
|
|
4825
4522
|
include Aws::Structure
|
4826
4523
|
end
|
4827
4524
|
|
4525
|
+
# The format options for the data that was imported into the target
|
4526
|
+
# table. There is one value, CsvOption.
|
4527
|
+
#
|
4528
|
+
# @!attribute [rw] csv
|
4529
|
+
# The options for imported source files in CSV format. The values are
|
4530
|
+
# Delimiter and HeaderList.
|
4531
|
+
# @return [Types::CsvOptions]
|
4532
|
+
#
|
4533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InputFormatOptions AWS API Documentation
|
4534
|
+
#
|
4535
|
+
class InputFormatOptions < Struct.new(
|
4536
|
+
:csv)
|
4537
|
+
SENSITIVE = []
|
4538
|
+
include Aws::Structure
|
4539
|
+
end
|
4540
|
+
|
4828
4541
|
# An error occurred on the server side.
|
4829
4542
|
#
|
4830
4543
|
# @!attribute [rw] message
|
@@ -4944,14 +4657,6 @@ module Aws::DynamoDB
|
|
4944
4657
|
# nested attribute). The data type must be one of String, Number, or
|
4945
4658
|
# Binary. The attribute cannot be nested within a List or a Map.
|
4946
4659
|
#
|
4947
|
-
# @note When making an API call, you may pass KeySchemaElement
|
4948
|
-
# data as a hash:
|
4949
|
-
#
|
4950
|
-
# {
|
4951
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
4952
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
4953
|
-
# }
|
4954
|
-
#
|
4955
4660
|
# @!attribute [rw] attribute_name
|
4956
4661
|
# The name of a key attribute.
|
4957
4662
|
# @return [String]
|
@@ -4993,23 +4698,6 @@ module Aws::DynamoDB
|
|
4993
4698
|
# partition key. For a composite primary key, you must provide *both*
|
4994
4699
|
# the partition key and the sort key.
|
4995
4700
|
#
|
4996
|
-
# @note When making an API call, you may pass KeysAndAttributes
|
4997
|
-
# data as a hash:
|
4998
|
-
#
|
4999
|
-
# {
|
5000
|
-
# keys: [ # required
|
5001
|
-
# {
|
5002
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
5003
|
-
# },
|
5004
|
-
# ],
|
5005
|
-
# attributes_to_get: ["AttributeName"],
|
5006
|
-
# consistent_read: false,
|
5007
|
-
# projection_expression: "ProjectionExpression",
|
5008
|
-
# expression_attribute_names: {
|
5009
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
5010
|
-
# },
|
5011
|
-
# }
|
5012
|
-
#
|
5013
4701
|
# @!attribute [rw] keys
|
5014
4702
|
# The primary key attribute values that define the items and the
|
5015
4703
|
# attributes associated with the items.
|
@@ -5138,14 +4826,6 @@ module Aws::DynamoDB
|
|
5138
4826
|
include Aws::Structure
|
5139
4827
|
end
|
5140
4828
|
|
5141
|
-
# @note When making an API call, you may pass KinesisStreamingDestinationInput
|
5142
|
-
# data as a hash:
|
5143
|
-
#
|
5144
|
-
# {
|
5145
|
-
# table_name: "TableName", # required
|
5146
|
-
# stream_arn: "StreamArn", # required
|
5147
|
-
# }
|
5148
|
-
#
|
5149
4829
|
# @!attribute [rw] table_name
|
5150
4830
|
# The name of the DynamoDB table.
|
5151
4831
|
# @return [String]
|
@@ -5188,17 +4868,20 @@ module Aws::DynamoDB
|
|
5188
4868
|
# There is no limit to the number of daily on-demand backups that can be
|
5189
4869
|
# taken.
|
5190
4870
|
#
|
5191
|
-
#
|
5192
|
-
# operations include `CreateTable`, `UpdateTable`,
|
4871
|
+
# For most purposes, up to 500 simultaneous table operations are allowed
|
4872
|
+
# per account. These operations include `CreateTable`, `UpdateTable`,
|
5193
4873
|
# `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and
|
5194
4874
|
# `RestoreTableToPointInTime`.
|
5195
4875
|
#
|
5196
|
-
#
|
5197
|
-
#
|
5198
|
-
#
|
5199
|
-
#
|
4876
|
+
# When you are creating a table with one or more secondary indexes, you
|
4877
|
+
# can have up to 250 such requests running at a time. However, if the
|
4878
|
+
# table or index specifications are complex, then DynamoDB might
|
4879
|
+
# temporarily reduce the number of concurrent operations.
|
5200
4880
|
#
|
5201
|
-
#
|
4881
|
+
# When importing into DynamoDB, up to 50 simultaneous import table
|
4882
|
+
# operations are allowed per account.
|
4883
|
+
#
|
4884
|
+
# There is a soft account quota of 2,500 tables.
|
5202
4885
|
#
|
5203
4886
|
# @!attribute [rw] message
|
5204
4887
|
# Too many operations for a given subscriber.
|
@@ -5212,18 +4895,6 @@ module Aws::DynamoDB
|
|
5212
4895
|
include Aws::Structure
|
5213
4896
|
end
|
5214
4897
|
|
5215
|
-
# @note When making an API call, you may pass ListBackupsInput
|
5216
|
-
# data as a hash:
|
5217
|
-
#
|
5218
|
-
# {
|
5219
|
-
# table_name: "TableName",
|
5220
|
-
# limit: 1,
|
5221
|
-
# time_range_lower_bound: Time.now,
|
5222
|
-
# time_range_upper_bound: Time.now,
|
5223
|
-
# exclusive_start_backup_arn: "BackupArn",
|
5224
|
-
# backup_type: "USER", # accepts USER, SYSTEM, AWS_BACKUP, ALL
|
5225
|
-
# }
|
5226
|
-
#
|
5227
4898
|
# @!attribute [rw] table_name
|
5228
4899
|
# The backups from the table specified by `TableName` are listed.
|
5229
4900
|
# @return [String]
|
@@ -5255,7 +4926,8 @@ module Aws::DynamoDB
|
|
5255
4926
|
#
|
5256
4927
|
# Where `BackupType` can be:
|
5257
4928
|
#
|
5258
|
-
# * `USER` - On-demand backup created by you.
|
4929
|
+
# * `USER` - On-demand backup created by you. (The default setting if
|
4930
|
+
# no other backup types are specified.)
|
5259
4931
|
#
|
5260
4932
|
# * `SYSTEM` - On-demand backup automatically created by DynamoDB.
|
5261
4933
|
#
|
@@ -5303,15 +4975,6 @@ module Aws::DynamoDB
|
|
5303
4975
|
include Aws::Structure
|
5304
4976
|
end
|
5305
4977
|
|
5306
|
-
# @note When making an API call, you may pass ListContributorInsightsInput
|
5307
|
-
# data as a hash:
|
5308
|
-
#
|
5309
|
-
# {
|
5310
|
-
# table_name: "TableName",
|
5311
|
-
# next_token: "NextTokenString",
|
5312
|
-
# max_results: 1,
|
5313
|
-
# }
|
5314
|
-
#
|
5315
4978
|
# @!attribute [rw] table_name
|
5316
4979
|
# The name of the table.
|
5317
4980
|
# @return [String]
|
@@ -5351,15 +5014,6 @@ module Aws::DynamoDB
|
|
5351
5014
|
include Aws::Structure
|
5352
5015
|
end
|
5353
5016
|
|
5354
|
-
# @note When making an API call, you may pass ListExportsInput
|
5355
|
-
# data as a hash:
|
5356
|
-
#
|
5357
|
-
# {
|
5358
|
-
# table_arn: "TableArn",
|
5359
|
-
# max_results: 1,
|
5360
|
-
# next_token: "ExportNextToken",
|
5361
|
-
# }
|
5362
|
-
#
|
5363
5017
|
# @!attribute [rw] table_arn
|
5364
5018
|
# The Amazon Resource Name (ARN) associated with the exported table.
|
5365
5019
|
# @return [String]
|
@@ -5403,15 +5057,6 @@ module Aws::DynamoDB
|
|
5403
5057
|
include Aws::Structure
|
5404
5058
|
end
|
5405
5059
|
|
5406
|
-
# @note When making an API call, you may pass ListGlobalTablesInput
|
5407
|
-
# data as a hash:
|
5408
|
-
#
|
5409
|
-
# {
|
5410
|
-
# exclusive_start_global_table_name: "TableName",
|
5411
|
-
# limit: 1,
|
5412
|
-
# region_name: "RegionName",
|
5413
|
-
# }
|
5414
|
-
#
|
5415
5060
|
# @!attribute [rw] exclusive_start_global_table_name
|
5416
5061
|
# The first global table name that this operation will evaluate.
|
5417
5062
|
# @return [String]
|
@@ -5458,15 +5103,51 @@ module Aws::DynamoDB
|
|
5458
5103
|
include Aws::Structure
|
5459
5104
|
end
|
5460
5105
|
|
5461
|
-
#
|
5106
|
+
# @!attribute [rw] table_arn
|
5107
|
+
# The Amazon Resource Name (ARN) associated with the table that was
|
5108
|
+
# imported to.
|
5109
|
+
# @return [String]
|
5110
|
+
#
|
5111
|
+
# @!attribute [rw] page_size
|
5112
|
+
# The number of `ImportSummary `objects returned in a single page.
|
5113
|
+
# @return [Integer]
|
5114
|
+
#
|
5115
|
+
# @!attribute [rw] next_token
|
5116
|
+
# An optional string that, if supplied, must be copied from the output
|
5117
|
+
# of a previous call to `ListImports`. When provided in this manner,
|
5118
|
+
# the API fetches the next page of results.
|
5119
|
+
# @return [String]
|
5120
|
+
#
|
5121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListImportsInput AWS API Documentation
|
5122
|
+
#
|
5123
|
+
class ListImportsInput < Struct.new(
|
5124
|
+
:table_arn,
|
5125
|
+
:page_size,
|
5126
|
+
:next_token)
|
5127
|
+
SENSITIVE = []
|
5128
|
+
include Aws::Structure
|
5129
|
+
end
|
5130
|
+
|
5131
|
+
# @!attribute [rw] import_summary_list
|
5132
|
+
# A list of `ImportSummary` objects.
|
5133
|
+
# @return [Array<Types::ImportSummary>]
|
5462
5134
|
#
|
5463
|
-
#
|
5464
|
-
#
|
5135
|
+
# @!attribute [rw] next_token
|
5136
|
+
# If this value is returned, there are additional results to be
|
5137
|
+
# displayed. To retrieve them, call `ListImports` again, with
|
5138
|
+
# `NextToken` set to this value.
|
5139
|
+
# @return [String]
|
5140
|
+
#
|
5141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListImportsOutput AWS API Documentation
|
5465
5142
|
#
|
5466
|
-
|
5467
|
-
|
5468
|
-
|
5469
|
-
|
5143
|
+
class ListImportsOutput < Struct.new(
|
5144
|
+
:import_summary_list,
|
5145
|
+
:next_token)
|
5146
|
+
SENSITIVE = []
|
5147
|
+
include Aws::Structure
|
5148
|
+
end
|
5149
|
+
|
5150
|
+
# Represents the input of a `ListTables` operation.
|
5470
5151
|
#
|
5471
5152
|
# @!attribute [rw] exclusive_start_table_name
|
5472
5153
|
# The first table name that this operation will evaluate. Use the
|
@@ -5518,14 +5199,6 @@ module Aws::DynamoDB
|
|
5518
5199
|
include Aws::Structure
|
5519
5200
|
end
|
5520
5201
|
|
5521
|
-
# @note When making an API call, you may pass ListTagsOfResourceInput
|
5522
|
-
# data as a hash:
|
5523
|
-
#
|
5524
|
-
# {
|
5525
|
-
# resource_arn: "ResourceArnString", # required
|
5526
|
-
# next_token: "NextTokenString",
|
5527
|
-
# }
|
5528
|
-
#
|
5529
5202
|
# @!attribute [rw] resource_arn
|
5530
5203
|
# The Amazon DynamoDB resource with tags to be listed. This value is
|
5531
5204
|
# an Amazon Resource Name (ARN).
|
@@ -5567,23 +5240,6 @@ module Aws::DynamoDB
|
|
5567
5240
|
|
5568
5241
|
# Represents the properties of a local secondary index.
|
5569
5242
|
#
|
5570
|
-
# @note When making an API call, you may pass LocalSecondaryIndex
|
5571
|
-
# data as a hash:
|
5572
|
-
#
|
5573
|
-
# {
|
5574
|
-
# index_name: "IndexName", # required
|
5575
|
-
# key_schema: [ # required
|
5576
|
-
# {
|
5577
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
5578
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
5579
|
-
# },
|
5580
|
-
# ],
|
5581
|
-
# projection: { # required
|
5582
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
5583
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
5584
|
-
# },
|
5585
|
-
# }
|
5586
|
-
#
|
5587
5243
|
# @!attribute [rw] index_name
|
5588
5244
|
# The name of the local secondary index. The name must be unique among
|
5589
5245
|
# all other indexes on this table.
|
@@ -5737,14 +5393,6 @@ module Aws::DynamoDB
|
|
5737
5393
|
|
5738
5394
|
# Represents a PartiQL statment that uses parameters.
|
5739
5395
|
#
|
5740
|
-
# @note When making an API call, you may pass ParameterizedStatement
|
5741
|
-
# data as a hash:
|
5742
|
-
#
|
5743
|
-
# {
|
5744
|
-
# statement: "PartiQLStatement", # required
|
5745
|
-
# parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
5746
|
-
# }
|
5747
|
-
#
|
5748
5396
|
# @!attribute [rw] statement
|
5749
5397
|
# A PartiQL statment that uses parameters.
|
5750
5398
|
# @return [String]
|
@@ -5795,13 +5443,6 @@ module Aws::DynamoDB
|
|
5795
5443
|
|
5796
5444
|
# Represents the settings used to enable point in time recovery.
|
5797
5445
|
#
|
5798
|
-
# @note When making an API call, you may pass PointInTimeRecoverySpecification
|
5799
|
-
# data as a hash:
|
5800
|
-
#
|
5801
|
-
# {
|
5802
|
-
# point_in_time_recovery_enabled: false, # required
|
5803
|
-
# }
|
5804
|
-
#
|
5805
5446
|
# @!attribute [rw] point_in_time_recovery_enabled
|
5806
5447
|
# Indicates whether point in time recovery is enabled (true) or
|
5807
5448
|
# disabled (false) on the table.
|
@@ -5832,14 +5473,6 @@ module Aws::DynamoDB
|
|
5832
5473
|
# an index. These are in addition to the primary key attributes and
|
5833
5474
|
# index key attributes, which are automatically projected.
|
5834
5475
|
#
|
5835
|
-
# @note When making an API call, you may pass Projection
|
5836
|
-
# data as a hash:
|
5837
|
-
#
|
5838
|
-
# {
|
5839
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
5840
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
5841
|
-
# }
|
5842
|
-
#
|
5843
5476
|
# @!attribute [rw] projection_type
|
5844
5477
|
# The set of attributes that are projected into the index:
|
5845
5478
|
#
|
@@ -5859,7 +5492,7 @@ module Aws::DynamoDB
|
|
5859
5492
|
#
|
5860
5493
|
# For local secondary indexes, the total count of `NonKeyAttributes`
|
5861
5494
|
# summed across all of the local secondary indexes, must not exceed
|
5862
|
-
#
|
5495
|
+
# 100. If you project the same attribute into two different indexes,
|
5863
5496
|
# this counts as two distinct attributes when determining the total.
|
5864
5497
|
# @return [Array<String>]
|
5865
5498
|
#
|
@@ -5884,14 +5517,6 @@ module Aws::DynamoDB
|
|
5884
5517
|
#
|
5885
5518
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
5886
5519
|
#
|
5887
|
-
# @note When making an API call, you may pass ProvisionedThroughput
|
5888
|
-
# data as a hash:
|
5889
|
-
#
|
5890
|
-
# {
|
5891
|
-
# read_capacity_units: 1, # required
|
5892
|
-
# write_capacity_units: 1, # required
|
5893
|
-
# }
|
5894
|
-
#
|
5895
5520
|
# @!attribute [rw] read_capacity_units
|
5896
5521
|
# The maximum number of strongly consistent reads consumed per second
|
5897
5522
|
# before DynamoDB returns a `ThrottlingException`. For more
|
@@ -6005,13 +5630,6 @@ module Aws::DynamoDB
|
|
6005
5630
|
# Replica-specific provisioned throughput settings. If not specified,
|
6006
5631
|
# uses the source table's provisioned throughput settings.
|
6007
5632
|
#
|
6008
|
-
# @note When making an API call, you may pass ProvisionedThroughputOverride
|
6009
|
-
# data as a hash:
|
6010
|
-
#
|
6011
|
-
# {
|
6012
|
-
# read_capacity_units: 1,
|
6013
|
-
# }
|
6014
|
-
#
|
6015
5633
|
# @!attribute [rw] read_capacity_units
|
6016
5634
|
# Replica-specific read capacity units. If not specified, uses the
|
6017
5635
|
# source table's read capacity settings.
|
@@ -6027,24 +5645,6 @@ module Aws::DynamoDB
|
|
6027
5645
|
|
6028
5646
|
# Represents a request to perform a `PutItem` operation.
|
6029
5647
|
#
|
6030
|
-
# @note When making an API call, you may pass Put
|
6031
|
-
# data as a hash:
|
6032
|
-
#
|
6033
|
-
# {
|
6034
|
-
# item: { # required
|
6035
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6036
|
-
# },
|
6037
|
-
# table_name: "TableName", # required
|
6038
|
-
# condition_expression: "ConditionExpression",
|
6039
|
-
# expression_attribute_names: {
|
6040
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
6041
|
-
# },
|
6042
|
-
# expression_attribute_values: {
|
6043
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6044
|
-
# },
|
6045
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
6046
|
-
# }
|
6047
|
-
#
|
6048
5648
|
# @!attribute [rw] item
|
6049
5649
|
# A map of attribute name to attribute values, representing the
|
6050
5650
|
# primary key of the item to be written by `PutItem`. All of the
|
@@ -6094,35 +5694,6 @@ module Aws::DynamoDB
|
|
6094
5694
|
|
6095
5695
|
# Represents the input of a `PutItem` operation.
|
6096
5696
|
#
|
6097
|
-
# @note When making an API call, you may pass PutItemInput
|
6098
|
-
# data as a hash:
|
6099
|
-
#
|
6100
|
-
# {
|
6101
|
-
# table_name: "TableName", # required
|
6102
|
-
# item: { # required
|
6103
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6104
|
-
# },
|
6105
|
-
# expected: {
|
6106
|
-
# "AttributeName" => {
|
6107
|
-
# value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6108
|
-
# exists: false,
|
6109
|
-
# comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
6110
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6111
|
-
# },
|
6112
|
-
# },
|
6113
|
-
# return_values: "NONE", # accepts NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW
|
6114
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
6115
|
-
# return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
|
6116
|
-
# conditional_operator: "AND", # accepts AND, OR
|
6117
|
-
# condition_expression: "ConditionExpression",
|
6118
|
-
# expression_attribute_names: {
|
6119
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
6120
|
-
# },
|
6121
|
-
# expression_attribute_values: {
|
6122
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6123
|
-
# },
|
6124
|
-
# }
|
6125
|
-
#
|
6126
5697
|
# @!attribute [rw] table_name
|
6127
5698
|
# The name of the table to contain the item.
|
6128
5699
|
# @return [String]
|
@@ -6180,6 +5751,10 @@ module Aws::DynamoDB
|
|
6180
5751
|
#
|
6181
5752
|
# The values returned are strongly consistent.
|
6182
5753
|
#
|
5754
|
+
# There is no additional cost associated with requesting a return
|
5755
|
+
# value aside from the small network and processing overhead of
|
5756
|
+
# receiving a larger response. No read capacity units are consumed.
|
5757
|
+
#
|
6183
5758
|
# <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
|
6184
5759
|
# however, `PutItem` does not recognize any values other than `NONE`
|
6185
5760
|
# or `ALL_OLD`.
|
@@ -6361,8 +5936,8 @@ module Aws::DynamoDB
|
|
6361
5936
|
# with statistics for the table and any indexes involved in the
|
6362
5937
|
# operation. `ConsumedCapacity` is only returned if the
|
6363
5938
|
# `ReturnConsumedCapacity` parameter was specified. For more
|
6364
|
-
# information, see [
|
6365
|
-
#
|
5939
|
+
# information, see [Provisioned Throughput][1] in the *Amazon DynamoDB
|
5940
|
+
# Developer Guide*.
|
6366
5941
|
#
|
6367
5942
|
#
|
6368
5943
|
#
|
@@ -6406,15 +5981,6 @@ module Aws::DynamoDB
|
|
6406
5981
|
|
6407
5982
|
# Represents a request to perform a `PutItem` operation on an item.
|
6408
5983
|
#
|
6409
|
-
# @note When making an API call, you may pass PutRequest
|
6410
|
-
# data as a hash:
|
6411
|
-
#
|
6412
|
-
# {
|
6413
|
-
# item: { # required
|
6414
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6415
|
-
# },
|
6416
|
-
# }
|
6417
|
-
#
|
6418
5984
|
# @!attribute [rw] item
|
6419
5985
|
# A map of attribute name to attribute values, representing the
|
6420
5986
|
# primary key of an item to be processed by `PutItem`. All of the
|
@@ -6434,45 +6000,6 @@ module Aws::DynamoDB
|
|
6434
6000
|
|
6435
6001
|
# Represents the input of a `Query` operation.
|
6436
6002
|
#
|
6437
|
-
# @note When making an API call, you may pass QueryInput
|
6438
|
-
# data as a hash:
|
6439
|
-
#
|
6440
|
-
# {
|
6441
|
-
# table_name: "TableName", # required
|
6442
|
-
# index_name: "IndexName",
|
6443
|
-
# select: "ALL_ATTRIBUTES", # accepts ALL_ATTRIBUTES, ALL_PROJECTED_ATTRIBUTES, SPECIFIC_ATTRIBUTES, COUNT
|
6444
|
-
# attributes_to_get: ["AttributeName"],
|
6445
|
-
# limit: 1,
|
6446
|
-
# consistent_read: false,
|
6447
|
-
# key_conditions: {
|
6448
|
-
# "AttributeName" => {
|
6449
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6450
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
6451
|
-
# },
|
6452
|
-
# },
|
6453
|
-
# query_filter: {
|
6454
|
-
# "AttributeName" => {
|
6455
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6456
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
6457
|
-
# },
|
6458
|
-
# },
|
6459
|
-
# conditional_operator: "AND", # accepts AND, OR
|
6460
|
-
# scan_index_forward: false,
|
6461
|
-
# exclusive_start_key: {
|
6462
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6463
|
-
# },
|
6464
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
6465
|
-
# projection_expression: "ProjectionExpression",
|
6466
|
-
# filter_expression: "ConditionExpression",
|
6467
|
-
# key_condition_expression: "KeyExpression",
|
6468
|
-
# expression_attribute_names: {
|
6469
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
6470
|
-
# },
|
6471
|
-
# expression_attribute_values: {
|
6472
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
6473
|
-
# },
|
6474
|
-
# }
|
6475
|
-
#
|
6476
6003
|
# @!attribute [rw] table_name
|
6477
6004
|
# The name of the table containing the requested items.
|
6478
6005
|
# @return [String]
|
@@ -6502,11 +6029,14 @@ module Aws::DynamoDB
|
|
6502
6029
|
# value is equivalent to specifying `ALL_ATTRIBUTES`.
|
6503
6030
|
#
|
6504
6031
|
# * `COUNT` - Returns the number of matching items, rather than the
|
6505
|
-
# matching items themselves.
|
6032
|
+
# matching items themselves. Note that this uses the same quantity
|
6033
|
+
# of read capacity units as getting the items, and is subject to the
|
6034
|
+
# same item size calculations.
|
6506
6035
|
#
|
6507
6036
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
6508
|
-
# `
|
6509
|
-
# `
|
6037
|
+
# `ProjectionExpression`. This return value is equivalent to
|
6038
|
+
# specifying `ProjectionExpression` without specifying any value for
|
6039
|
+
# `Select`.
|
6510
6040
|
#
|
6511
6041
|
# If you query or scan a local secondary index and request only
|
6512
6042
|
# attributes that are projected into that index, the operation will
|
@@ -6520,13 +6050,13 @@ module Aws::DynamoDB
|
|
6520
6050
|
# secondary index queries cannot fetch attributes from the parent
|
6521
6051
|
# table.
|
6522
6052
|
#
|
6523
|
-
# If neither `Select` nor `
|
6524
|
-
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
6053
|
+
# If neither `Select` nor `ProjectionExpression` are specified,
|
6054
|
+
# DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
6525
6055
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
6526
|
-
# both `Select` and `
|
6527
|
-
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
6528
|
-
# is equivalent to specifying `
|
6529
|
-
# `Select`.)
|
6056
|
+
# both `Select` and `ProjectionExpression` together in a single
|
6057
|
+
# request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
6058
|
+
# (This usage is equivalent to specifying `ProjectionExpression`
|
6059
|
+
# without any value for `Select`.)
|
6530
6060
|
#
|
6531
6061
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
6532
6062
|
# `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
|
@@ -6688,7 +6218,7 @@ module Aws::DynamoDB
|
|
6688
6218
|
#
|
6689
6219
|
#
|
6690
6220
|
#
|
6691
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
6221
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
6692
6222
|
# @return [String]
|
6693
6223
|
#
|
6694
6224
|
# @!attribute [rw] key_condition_expression
|
@@ -6959,13 +6489,6 @@ module Aws::DynamoDB
|
|
6959
6489
|
|
6960
6490
|
# Represents the properties of a replica.
|
6961
6491
|
#
|
6962
|
-
# @note When making an API call, you may pass Replica
|
6963
|
-
# data as a hash:
|
6964
|
-
#
|
6965
|
-
# {
|
6966
|
-
# region_name: "RegionName",
|
6967
|
-
# }
|
6968
|
-
#
|
6969
6492
|
# @!attribute [rw] region_name
|
6970
6493
|
# The Region where the replica needs to be created.
|
6971
6494
|
# @return [String]
|
@@ -7038,48 +6561,6 @@ module Aws::DynamoDB
|
|
7038
6561
|
# Represents the auto scaling settings of a replica that will be
|
7039
6562
|
# modified.
|
7040
6563
|
#
|
7041
|
-
# @note When making an API call, you may pass ReplicaAutoScalingUpdate
|
7042
|
-
# data as a hash:
|
7043
|
-
#
|
7044
|
-
# {
|
7045
|
-
# region_name: "RegionName", # required
|
7046
|
-
# replica_global_secondary_index_updates: [
|
7047
|
-
# {
|
7048
|
-
# index_name: "IndexName",
|
7049
|
-
# provisioned_read_capacity_auto_scaling_update: {
|
7050
|
-
# minimum_units: 1,
|
7051
|
-
# maximum_units: 1,
|
7052
|
-
# auto_scaling_disabled: false,
|
7053
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
7054
|
-
# scaling_policy_update: {
|
7055
|
-
# policy_name: "AutoScalingPolicyName",
|
7056
|
-
# target_tracking_scaling_policy_configuration: { # required
|
7057
|
-
# disable_scale_in: false,
|
7058
|
-
# scale_in_cooldown: 1,
|
7059
|
-
# scale_out_cooldown: 1,
|
7060
|
-
# target_value: 1.0, # required
|
7061
|
-
# },
|
7062
|
-
# },
|
7063
|
-
# },
|
7064
|
-
# },
|
7065
|
-
# ],
|
7066
|
-
# replica_provisioned_read_capacity_auto_scaling_update: {
|
7067
|
-
# minimum_units: 1,
|
7068
|
-
# maximum_units: 1,
|
7069
|
-
# auto_scaling_disabled: false,
|
7070
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
7071
|
-
# scaling_policy_update: {
|
7072
|
-
# policy_name: "AutoScalingPolicyName",
|
7073
|
-
# target_tracking_scaling_policy_configuration: { # required
|
7074
|
-
# disable_scale_in: false,
|
7075
|
-
# scale_in_cooldown: 1,
|
7076
|
-
# scale_out_cooldown: 1,
|
7077
|
-
# target_value: 1.0, # required
|
7078
|
-
# },
|
7079
|
-
# },
|
7080
|
-
# },
|
7081
|
-
# }
|
7082
|
-
#
|
7083
6564
|
# @!attribute [rw] region_name
|
7084
6565
|
# The Region where the replica exists.
|
7085
6566
|
# @return [String]
|
@@ -7192,16 +6673,6 @@ module Aws::DynamoDB
|
|
7192
6673
|
|
7193
6674
|
# Represents the properties of a replica global secondary index.
|
7194
6675
|
#
|
7195
|
-
# @note When making an API call, you may pass ReplicaGlobalSecondaryIndex
|
7196
|
-
# data as a hash:
|
7197
|
-
#
|
7198
|
-
# {
|
7199
|
-
# index_name: "IndexName", # required
|
7200
|
-
# provisioned_throughput_override: {
|
7201
|
-
# read_capacity_units: 1,
|
7202
|
-
# },
|
7203
|
-
# }
|
7204
|
-
#
|
7205
6676
|
# @!attribute [rw] index_name
|
7206
6677
|
# The name of the global secondary index.
|
7207
6678
|
# @return [String]
|
@@ -7232,7 +6703,8 @@ module Aws::DynamoDB
|
|
7232
6703
|
#
|
7233
6704
|
# * `CREATING` - The index is being created.
|
7234
6705
|
#
|
7235
|
-
# * `UPDATING` - The index is being updated.
|
6706
|
+
# * `UPDATING` - The table/index configuration is being updated. The
|
6707
|
+
# table/index remains available for data operations when `UPDATING`
|
7236
6708
|
#
|
7237
6709
|
# * `DELETING` - The index is being deleted.
|
7238
6710
|
#
|
@@ -7263,28 +6735,6 @@ module Aws::DynamoDB
|
|
7263
6735
|
# Represents the auto scaling settings of a global secondary index for a
|
7264
6736
|
# replica that will be modified.
|
7265
6737
|
#
|
7266
|
-
# @note When making an API call, you may pass ReplicaGlobalSecondaryIndexAutoScalingUpdate
|
7267
|
-
# data as a hash:
|
7268
|
-
#
|
7269
|
-
# {
|
7270
|
-
# index_name: "IndexName",
|
7271
|
-
# provisioned_read_capacity_auto_scaling_update: {
|
7272
|
-
# minimum_units: 1,
|
7273
|
-
# maximum_units: 1,
|
7274
|
-
# auto_scaling_disabled: false,
|
7275
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
7276
|
-
# scaling_policy_update: {
|
7277
|
-
# policy_name: "AutoScalingPolicyName",
|
7278
|
-
# target_tracking_scaling_policy_configuration: { # required
|
7279
|
-
# disable_scale_in: false,
|
7280
|
-
# scale_in_cooldown: 1,
|
7281
|
-
# scale_out_cooldown: 1,
|
7282
|
-
# target_value: 1.0, # required
|
7283
|
-
# },
|
7284
|
-
# },
|
7285
|
-
# },
|
7286
|
-
# }
|
7287
|
-
#
|
7288
6738
|
# @!attribute [rw] index_name
|
7289
6739
|
# The name of the global secondary index.
|
7290
6740
|
# @return [String]
|
@@ -7378,29 +6828,6 @@ module Aws::DynamoDB
|
|
7378
6828
|
# Represents the settings of a global secondary index for a global table
|
7379
6829
|
# that will be modified.
|
7380
6830
|
#
|
7381
|
-
# @note When making an API call, you may pass ReplicaGlobalSecondaryIndexSettingsUpdate
|
7382
|
-
# data as a hash:
|
7383
|
-
#
|
7384
|
-
# {
|
7385
|
-
# index_name: "IndexName", # required
|
7386
|
-
# provisioned_read_capacity_units: 1,
|
7387
|
-
# provisioned_read_capacity_auto_scaling_settings_update: {
|
7388
|
-
# minimum_units: 1,
|
7389
|
-
# maximum_units: 1,
|
7390
|
-
# auto_scaling_disabled: false,
|
7391
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
7392
|
-
# scaling_policy_update: {
|
7393
|
-
# policy_name: "AutoScalingPolicyName",
|
7394
|
-
# target_tracking_scaling_policy_configuration: { # required
|
7395
|
-
# disable_scale_in: false,
|
7396
|
-
# scale_in_cooldown: 1,
|
7397
|
-
# scale_out_cooldown: 1,
|
7398
|
-
# target_value: 1.0, # required
|
7399
|
-
# },
|
7400
|
-
# },
|
7401
|
-
# },
|
7402
|
-
# }
|
7403
|
-
#
|
7404
6831
|
# @!attribute [rw] index_name
|
7405
6832
|
# The name of the global secondary index. The name must be unique
|
7406
6833
|
# among all other indexes on this table.
|
@@ -7520,51 +6947,6 @@ module Aws::DynamoDB
|
|
7520
6947
|
# Represents the settings for a global table in a Region that will be
|
7521
6948
|
# modified.
|
7522
6949
|
#
|
7523
|
-
# @note When making an API call, you may pass ReplicaSettingsUpdate
|
7524
|
-
# data as a hash:
|
7525
|
-
#
|
7526
|
-
# {
|
7527
|
-
# region_name: "RegionName", # required
|
7528
|
-
# replica_provisioned_read_capacity_units: 1,
|
7529
|
-
# replica_provisioned_read_capacity_auto_scaling_settings_update: {
|
7530
|
-
# minimum_units: 1,
|
7531
|
-
# maximum_units: 1,
|
7532
|
-
# auto_scaling_disabled: false,
|
7533
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
7534
|
-
# scaling_policy_update: {
|
7535
|
-
# policy_name: "AutoScalingPolicyName",
|
7536
|
-
# target_tracking_scaling_policy_configuration: { # required
|
7537
|
-
# disable_scale_in: false,
|
7538
|
-
# scale_in_cooldown: 1,
|
7539
|
-
# scale_out_cooldown: 1,
|
7540
|
-
# target_value: 1.0, # required
|
7541
|
-
# },
|
7542
|
-
# },
|
7543
|
-
# },
|
7544
|
-
# replica_global_secondary_index_settings_update: [
|
7545
|
-
# {
|
7546
|
-
# index_name: "IndexName", # required
|
7547
|
-
# provisioned_read_capacity_units: 1,
|
7548
|
-
# provisioned_read_capacity_auto_scaling_settings_update: {
|
7549
|
-
# minimum_units: 1,
|
7550
|
-
# maximum_units: 1,
|
7551
|
-
# auto_scaling_disabled: false,
|
7552
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
7553
|
-
# scaling_policy_update: {
|
7554
|
-
# policy_name: "AutoScalingPolicyName",
|
7555
|
-
# target_tracking_scaling_policy_configuration: { # required
|
7556
|
-
# disable_scale_in: false,
|
7557
|
-
# scale_in_cooldown: 1,
|
7558
|
-
# scale_out_cooldown: 1,
|
7559
|
-
# target_value: 1.0, # required
|
7560
|
-
# },
|
7561
|
-
# },
|
7562
|
-
# },
|
7563
|
-
# },
|
7564
|
-
# ],
|
7565
|
-
# replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7566
|
-
# }
|
7567
|
-
#
|
7568
6950
|
# @!attribute [rw] region_name
|
7569
6951
|
# The Region of the replica to be added.
|
7570
6952
|
# @return [String]
|
@@ -7615,18 +6997,6 @@ module Aws::DynamoDB
|
|
7615
6997
|
#
|
7616
6998
|
# * An existing replica to be removed from an existing global table.
|
7617
6999
|
#
|
7618
|
-
# @note When making an API call, you may pass ReplicaUpdate
|
7619
|
-
# data as a hash:
|
7620
|
-
#
|
7621
|
-
# {
|
7622
|
-
# create: {
|
7623
|
-
# region_name: "RegionName", # required
|
7624
|
-
# },
|
7625
|
-
# delete: {
|
7626
|
-
# region_name: "RegionName", # required
|
7627
|
-
# },
|
7628
|
-
# }
|
7629
|
-
#
|
7630
7000
|
# @!attribute [rw] create
|
7631
7001
|
# The parameters required for creating a replica on an existing global
|
7632
7002
|
# table.
|
@@ -7658,46 +7028,11 @@ module Aws::DynamoDB
|
|
7658
7028
|
# `DeleteTableReplica` action in the destination Region, deleting the
|
7659
7029
|
# replica and all if its items in the destination Region.
|
7660
7030
|
#
|
7661
|
-
#
|
7662
|
-
#
|
7663
|
-
#
|
7664
|
-
#
|
7665
|
-
#
|
7666
|
-
# region_name: "RegionName", # required
|
7667
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
7668
|
-
# provisioned_throughput_override: {
|
7669
|
-
# read_capacity_units: 1,
|
7670
|
-
# },
|
7671
|
-
# global_secondary_indexes: [
|
7672
|
-
# {
|
7673
|
-
# index_name: "IndexName", # required
|
7674
|
-
# provisioned_throughput_override: {
|
7675
|
-
# read_capacity_units: 1,
|
7676
|
-
# },
|
7677
|
-
# },
|
7678
|
-
# ],
|
7679
|
-
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7680
|
-
# },
|
7681
|
-
# update: {
|
7682
|
-
# region_name: "RegionName", # required
|
7683
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
7684
|
-
# provisioned_throughput_override: {
|
7685
|
-
# read_capacity_units: 1,
|
7686
|
-
# },
|
7687
|
-
# global_secondary_indexes: [
|
7688
|
-
# {
|
7689
|
-
# index_name: "IndexName", # required
|
7690
|
-
# provisioned_throughput_override: {
|
7691
|
-
# read_capacity_units: 1,
|
7692
|
-
# },
|
7693
|
-
# },
|
7694
|
-
# ],
|
7695
|
-
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
7696
|
-
# },
|
7697
|
-
# delete: {
|
7698
|
-
# region_name: "RegionName", # required
|
7699
|
-
# },
|
7700
|
-
# }
|
7031
|
+
# <note markdown="1"> When you manually remove a table or global table replica, you do not
|
7032
|
+
# automatically remove any associated scalable targets, scaling
|
7033
|
+
# policies, or CloudWatch alarms.
|
7034
|
+
#
|
7035
|
+
# </note>
|
7701
7036
|
#
|
7702
7037
|
# @!attribute [rw] create
|
7703
7038
|
# The parameters required for creating a replica for the table.
|
@@ -7802,58 +7137,6 @@ module Aws::DynamoDB
|
|
7802
7137
|
include Aws::Structure
|
7803
7138
|
end
|
7804
7139
|
|
7805
|
-
# @note When making an API call, you may pass RestoreTableFromBackupInput
|
7806
|
-
# data as a hash:
|
7807
|
-
#
|
7808
|
-
# {
|
7809
|
-
# target_table_name: "TableName", # required
|
7810
|
-
# backup_arn: "BackupArn", # required
|
7811
|
-
# billing_mode_override: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
|
7812
|
-
# global_secondary_index_override: [
|
7813
|
-
# {
|
7814
|
-
# index_name: "IndexName", # required
|
7815
|
-
# key_schema: [ # required
|
7816
|
-
# {
|
7817
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
7818
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
7819
|
-
# },
|
7820
|
-
# ],
|
7821
|
-
# projection: { # required
|
7822
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
7823
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
7824
|
-
# },
|
7825
|
-
# provisioned_throughput: {
|
7826
|
-
# read_capacity_units: 1, # required
|
7827
|
-
# write_capacity_units: 1, # required
|
7828
|
-
# },
|
7829
|
-
# },
|
7830
|
-
# ],
|
7831
|
-
# local_secondary_index_override: [
|
7832
|
-
# {
|
7833
|
-
# index_name: "IndexName", # required
|
7834
|
-
# key_schema: [ # required
|
7835
|
-
# {
|
7836
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
7837
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
7838
|
-
# },
|
7839
|
-
# ],
|
7840
|
-
# projection: { # required
|
7841
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
7842
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
7843
|
-
# },
|
7844
|
-
# },
|
7845
|
-
# ],
|
7846
|
-
# provisioned_throughput_override: {
|
7847
|
-
# read_capacity_units: 1, # required
|
7848
|
-
# write_capacity_units: 1, # required
|
7849
|
-
# },
|
7850
|
-
# sse_specification_override: {
|
7851
|
-
# enabled: false,
|
7852
|
-
# sse_type: "AES256", # accepts AES256, KMS
|
7853
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
7854
|
-
# },
|
7855
|
-
# }
|
7856
|
-
#
|
7857
7140
|
# @!attribute [rw] target_table_name
|
7858
7141
|
# The name of the new table to which the backup must be restored.
|
7859
7142
|
# @return [String]
|
@@ -7912,61 +7195,6 @@ module Aws::DynamoDB
|
|
7912
7195
|
include Aws::Structure
|
7913
7196
|
end
|
7914
7197
|
|
7915
|
-
# @note When making an API call, you may pass RestoreTableToPointInTimeInput
|
7916
|
-
# data as a hash:
|
7917
|
-
#
|
7918
|
-
# {
|
7919
|
-
# source_table_arn: "TableArn",
|
7920
|
-
# source_table_name: "TableName",
|
7921
|
-
# target_table_name: "TableName", # required
|
7922
|
-
# use_latest_restorable_time: false,
|
7923
|
-
# restore_date_time: Time.now,
|
7924
|
-
# billing_mode_override: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
|
7925
|
-
# global_secondary_index_override: [
|
7926
|
-
# {
|
7927
|
-
# index_name: "IndexName", # required
|
7928
|
-
# key_schema: [ # required
|
7929
|
-
# {
|
7930
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
7931
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
7932
|
-
# },
|
7933
|
-
# ],
|
7934
|
-
# projection: { # required
|
7935
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
7936
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
7937
|
-
# },
|
7938
|
-
# provisioned_throughput: {
|
7939
|
-
# read_capacity_units: 1, # required
|
7940
|
-
# write_capacity_units: 1, # required
|
7941
|
-
# },
|
7942
|
-
# },
|
7943
|
-
# ],
|
7944
|
-
# local_secondary_index_override: [
|
7945
|
-
# {
|
7946
|
-
# index_name: "IndexName", # required
|
7947
|
-
# key_schema: [ # required
|
7948
|
-
# {
|
7949
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
7950
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
7951
|
-
# },
|
7952
|
-
# ],
|
7953
|
-
# projection: { # required
|
7954
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
7955
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
7956
|
-
# },
|
7957
|
-
# },
|
7958
|
-
# ],
|
7959
|
-
# provisioned_throughput_override: {
|
7960
|
-
# read_capacity_units: 1, # required
|
7961
|
-
# write_capacity_units: 1, # required
|
7962
|
-
# },
|
7963
|
-
# sse_specification_override: {
|
7964
|
-
# enabled: false,
|
7965
|
-
# sse_type: "AES256", # accepts AES256, KMS
|
7966
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
7967
|
-
# },
|
7968
|
-
# }
|
7969
|
-
#
|
7970
7198
|
# @!attribute [rw] source_table_arn
|
7971
7199
|
# The DynamoDB table that will be restored. This value is an Amazon
|
7972
7200
|
# Resource Name (ARN).
|
@@ -8043,6 +7271,31 @@ module Aws::DynamoDB
|
|
8043
7271
|
include Aws::Structure
|
8044
7272
|
end
|
8045
7273
|
|
7274
|
+
# The S3 bucket that is being imported from.
|
7275
|
+
#
|
7276
|
+
# @!attribute [rw] s3_bucket_owner
|
7277
|
+
# The account number of the S3 bucket that is being imported from. If
|
7278
|
+
# the bucket is owned by the requester this is optional.
|
7279
|
+
# @return [String]
|
7280
|
+
#
|
7281
|
+
# @!attribute [rw] s3_bucket
|
7282
|
+
# The S3 bucket that is being imported from.
|
7283
|
+
# @return [String]
|
7284
|
+
#
|
7285
|
+
# @!attribute [rw] s3_key_prefix
|
7286
|
+
# The key prefix shared by all S3 Objects that are being imported.
|
7287
|
+
# @return [String]
|
7288
|
+
#
|
7289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/S3BucketSource AWS API Documentation
|
7290
|
+
#
|
7291
|
+
class S3BucketSource < Struct.new(
|
7292
|
+
:s3_bucket_owner,
|
7293
|
+
:s3_bucket,
|
7294
|
+
:s3_key_prefix)
|
7295
|
+
SENSITIVE = []
|
7296
|
+
include Aws::Structure
|
7297
|
+
end
|
7298
|
+
|
8046
7299
|
# The description of the server-side encryption status on the specified
|
8047
7300
|
# table.
|
8048
7301
|
#
|
@@ -8091,15 +7344,6 @@ module Aws::DynamoDB
|
|
8091
7344
|
|
8092
7345
|
# Represents the settings used to enable server-side encryption.
|
8093
7346
|
#
|
8094
|
-
# @note When making an API call, you may pass SSESpecification
|
8095
|
-
# data as a hash:
|
8096
|
-
#
|
8097
|
-
# {
|
8098
|
-
# enabled: false,
|
8099
|
-
# sse_type: "AES256", # accepts AES256, KMS
|
8100
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
8101
|
-
# }
|
8102
|
-
#
|
8103
7347
|
# @!attribute [rw] enabled
|
8104
7348
|
# Indicates whether server-side encryption is done using an Amazon Web
|
8105
7349
|
# Services managed key or an Amazon Web Services owned key. If enabled
|
@@ -8138,39 +7382,6 @@ module Aws::DynamoDB
|
|
8138
7382
|
|
8139
7383
|
# Represents the input of a `Scan` operation.
|
8140
7384
|
#
|
8141
|
-
# @note When making an API call, you may pass ScanInput
|
8142
|
-
# data as a hash:
|
8143
|
-
#
|
8144
|
-
# {
|
8145
|
-
# table_name: "TableName", # required
|
8146
|
-
# index_name: "IndexName",
|
8147
|
-
# attributes_to_get: ["AttributeName"],
|
8148
|
-
# limit: 1,
|
8149
|
-
# select: "ALL_ATTRIBUTES", # accepts ALL_ATTRIBUTES, ALL_PROJECTED_ATTRIBUTES, SPECIFIC_ATTRIBUTES, COUNT
|
8150
|
-
# scan_filter: {
|
8151
|
-
# "AttributeName" => {
|
8152
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
8153
|
-
# comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
8154
|
-
# },
|
8155
|
-
# },
|
8156
|
-
# conditional_operator: "AND", # accepts AND, OR
|
8157
|
-
# exclusive_start_key: {
|
8158
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
8159
|
-
# },
|
8160
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
8161
|
-
# total_segments: 1,
|
8162
|
-
# segment: 1,
|
8163
|
-
# projection_expression: "ProjectionExpression",
|
8164
|
-
# filter_expression: "ConditionExpression",
|
8165
|
-
# expression_attribute_names: {
|
8166
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
8167
|
-
# },
|
8168
|
-
# expression_attribute_values: {
|
8169
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
8170
|
-
# },
|
8171
|
-
# consistent_read: false,
|
8172
|
-
# }
|
8173
|
-
#
|
8174
7385
|
# @!attribute [rw] table_name
|
8175
7386
|
# The name of the table containing the requested items; or, if you
|
8176
7387
|
# provide `IndexName`, the name of the table to which that index
|
@@ -8230,11 +7441,14 @@ module Aws::DynamoDB
|
|
8230
7441
|
# value is equivalent to specifying `ALL_ATTRIBUTES`.
|
8231
7442
|
#
|
8232
7443
|
# * `COUNT` - Returns the number of matching items, rather than the
|
8233
|
-
# matching items themselves.
|
7444
|
+
# matching items themselves. Note that this uses the same quantity
|
7445
|
+
# of read capacity units as getting the items, and is subject to the
|
7446
|
+
# same item size calculations.
|
8234
7447
|
#
|
8235
7448
|
# * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
|
8236
|
-
# `
|
8237
|
-
# `
|
7449
|
+
# `ProjectionExpression`. This return value is equivalent to
|
7450
|
+
# specifying `ProjectionExpression` without specifying any value for
|
7451
|
+
# `Select`.
|
8238
7452
|
#
|
8239
7453
|
# If you query or scan a local secondary index and request only
|
8240
7454
|
# attributes that are projected into that index, the operation reads
|
@@ -8248,13 +7462,13 @@ module Aws::DynamoDB
|
|
8248
7462
|
# secondary index queries cannot fetch attributes from the parent
|
8249
7463
|
# table.
|
8250
7464
|
#
|
8251
|
-
# If neither `Select` nor `
|
8252
|
-
# defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
7465
|
+
# If neither `Select` nor `ProjectionExpression` are specified,
|
7466
|
+
# DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a table, and
|
8253
7467
|
# `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
|
8254
|
-
# both `Select` and `
|
8255
|
-
# unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
8256
|
-
# is equivalent to specifying `
|
8257
|
-
# `Select`.)
|
7468
|
+
# both `Select` and `ProjectionExpression` together in a single
|
7469
|
+
# request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
|
7470
|
+
# (This usage is equivalent to specifying `ProjectionExpression`
|
7471
|
+
# without any value for `Select`.)
|
8258
7472
|
#
|
8259
7473
|
# <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
|
8260
7474
|
# `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
|
@@ -8385,7 +7599,7 @@ module Aws::DynamoDB
|
|
8385
7599
|
#
|
8386
7600
|
#
|
8387
7601
|
#
|
8388
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
7602
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
|
8389
7603
|
# @return [String]
|
8390
7604
|
#
|
8391
7605
|
# @!attribute [rw] expression_attribute_names
|
@@ -8569,7 +7783,7 @@ module Aws::DynamoDB
|
|
8569
7783
|
#
|
8570
7784
|
#
|
8571
7785
|
#
|
8572
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
7786
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads
|
8573
7787
|
# @return [Types::ConsumedCapacity]
|
8574
7788
|
#
|
8575
7789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ScanOutput AWS API Documentation
|
@@ -8691,14 +7905,6 @@ module Aws::DynamoDB
|
|
8691
7905
|
|
8692
7906
|
# Represents the DynamoDB Streams configuration for a table in DynamoDB.
|
8693
7907
|
#
|
8694
|
-
# @note When making an API call, you may pass StreamSpecification
|
8695
|
-
# data as a hash:
|
8696
|
-
#
|
8697
|
-
# {
|
8698
|
-
# stream_enabled: false, # required
|
8699
|
-
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
8700
|
-
# }
|
8701
|
-
#
|
8702
7908
|
# @!attribute [rw] stream_enabled
|
8703
7909
|
# Indicates whether DynamoDB Streams is enabled (true) or disabled
|
8704
7910
|
# (false) on the table.
|
@@ -8796,6 +8002,63 @@ module Aws::DynamoDB
|
|
8796
8002
|
include Aws::Structure
|
8797
8003
|
end
|
8798
8004
|
|
8005
|
+
# The parameters for the table created as part of the import operation.
|
8006
|
+
#
|
8007
|
+
# @!attribute [rw] table_name
|
8008
|
+
# The name of the table created as part of the import operation.
|
8009
|
+
# @return [String]
|
8010
|
+
#
|
8011
|
+
# @!attribute [rw] attribute_definitions
|
8012
|
+
# The attributes of the table created as part of the import operation.
|
8013
|
+
# @return [Array<Types::AttributeDefinition>]
|
8014
|
+
#
|
8015
|
+
# @!attribute [rw] key_schema
|
8016
|
+
# The primary key and option sort key of the table created as part of
|
8017
|
+
# the import operation.
|
8018
|
+
# @return [Array<Types::KeySchemaElement>]
|
8019
|
+
#
|
8020
|
+
# @!attribute [rw] billing_mode
|
8021
|
+
# The billing mode for provisioning the table created as part of the
|
8022
|
+
# import operation.
|
8023
|
+
# @return [String]
|
8024
|
+
#
|
8025
|
+
# @!attribute [rw] provisioned_throughput
|
8026
|
+
# Represents the provisioned throughput settings for a specified table
|
8027
|
+
# or index. The settings can be modified using the `UpdateTable`
|
8028
|
+
# operation.
|
8029
|
+
#
|
8030
|
+
# For current minimum and maximum provisioned throughput values, see
|
8031
|
+
# [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
|
8032
|
+
# Developer Guide*.
|
8033
|
+
#
|
8034
|
+
#
|
8035
|
+
#
|
8036
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
|
8037
|
+
# @return [Types::ProvisionedThroughput]
|
8038
|
+
#
|
8039
|
+
# @!attribute [rw] sse_specification
|
8040
|
+
# Represents the settings used to enable server-side encryption.
|
8041
|
+
# @return [Types::SSESpecification]
|
8042
|
+
#
|
8043
|
+
# @!attribute [rw] global_secondary_indexes
|
8044
|
+
# The Global Secondary Indexes (GSI) of the table to be created as
|
8045
|
+
# part of the import operation.
|
8046
|
+
# @return [Array<Types::GlobalSecondaryIndex>]
|
8047
|
+
#
|
8048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableCreationParameters AWS API Documentation
|
8049
|
+
#
|
8050
|
+
class TableCreationParameters < Struct.new(
|
8051
|
+
:table_name,
|
8052
|
+
:attribute_definitions,
|
8053
|
+
:key_schema,
|
8054
|
+
:billing_mode,
|
8055
|
+
:provisioned_throughput,
|
8056
|
+
:sse_specification,
|
8057
|
+
:global_secondary_indexes)
|
8058
|
+
SENSITIVE = []
|
8059
|
+
include Aws::Structure
|
8060
|
+
end
|
8061
|
+
|
8799
8062
|
# Represents the properties of a table.
|
8800
8063
|
#
|
8801
8064
|
# @!attribute [rw] attribute_definitions
|
@@ -8850,7 +8113,8 @@ module Aws::DynamoDB
|
|
8850
8113
|
#
|
8851
8114
|
# * `CREATING` - The table is being created.
|
8852
8115
|
#
|
8853
|
-
# * `UPDATING` - The table is being updated.
|
8116
|
+
# * `UPDATING` - The table/index configuration is being updated. The
|
8117
|
+
# table/index remains available for data operations when `UPDATING`.
|
8854
8118
|
#
|
8855
8119
|
# * `DELETING` - The table is being deleted.
|
8856
8120
|
#
|
@@ -8943,7 +8207,7 @@ module Aws::DynamoDB
|
|
8943
8207
|
# * `NonKeyAttributes` - A list of one or more non-key attribute
|
8944
8208
|
# names that are projected into the secondary index. The total
|
8945
8209
|
# count of attributes provided in `NonKeyAttributes`, summed
|
8946
|
-
# across all of the secondary indexes, must not exceed
|
8210
|
+
# across all of the secondary indexes, must not exceed 100. If you
|
8947
8211
|
# project the same attribute into two different indexes, this
|
8948
8212
|
# counts as two distinct attributes when determining the total.
|
8949
8213
|
#
|
@@ -9023,7 +8287,7 @@ module Aws::DynamoDB
|
|
9023
8287
|
# * `NonKeyAttributes` - A list of one or more non-key attribute
|
9024
8288
|
# names that are projected into the secondary index. The total
|
9025
8289
|
# count of attributes provided in `NonKeyAttributes`, summed
|
9026
|
-
# across all of the secondary indexes, must not exceed
|
8290
|
+
# across all of the secondary indexes, must not exceed 100. If you
|
9027
8291
|
# project the same attribute into two different indexes, this
|
9028
8292
|
# counts as two distinct attributes when determining the total.
|
9029
8293
|
#
|
@@ -9133,7 +8397,8 @@ module Aws::DynamoDB
|
|
9133
8397
|
end
|
9134
8398
|
|
9135
8399
|
# A source table with the name `TableName` does not currently exist
|
9136
|
-
# within the subscriber's account
|
8400
|
+
# within the subscriber's account or the subscriber is operating in the
|
8401
|
+
# wrong Amazon Web Services Region.
|
9137
8402
|
#
|
9138
8403
|
# @!attribute [rw] message
|
9139
8404
|
# @return [String]
|
@@ -9162,14 +8427,6 @@ module Aws::DynamoDB
|
|
9162
8427
|
#
|
9163
8428
|
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
|
9164
8429
|
#
|
9165
|
-
# @note When making an API call, you may pass Tag
|
9166
|
-
# data as a hash:
|
9167
|
-
#
|
9168
|
-
# {
|
9169
|
-
# key: "TagKeyString", # required
|
9170
|
-
# value: "TagValueString", # required
|
9171
|
-
# }
|
9172
|
-
#
|
9173
8430
|
# @!attribute [rw] key
|
9174
8431
|
# The key of the tag. Tag keys are case sensitive. Each DynamoDB table
|
9175
8432
|
# can only have up to one tag with the same key. If you try to add an
|
@@ -9190,19 +8447,6 @@ module Aws::DynamoDB
|
|
9190
8447
|
include Aws::Structure
|
9191
8448
|
end
|
9192
8449
|
|
9193
|
-
# @note When making an API call, you may pass TagResourceInput
|
9194
|
-
# data as a hash:
|
9195
|
-
#
|
9196
|
-
# {
|
9197
|
-
# resource_arn: "ResourceArnString", # required
|
9198
|
-
# tags: [ # required
|
9199
|
-
# {
|
9200
|
-
# key: "TagKeyString", # required
|
9201
|
-
# value: "TagValueString", # required
|
9202
|
-
# },
|
9203
|
-
# ],
|
9204
|
-
# }
|
9205
|
-
#
|
9206
8450
|
# @!attribute [rw] resource_arn
|
9207
8451
|
# Identifies the Amazon DynamoDB resource to which tags should be
|
9208
8452
|
# added. This value is an Amazon Resource Name (ARN).
|
@@ -9244,14 +8488,6 @@ module Aws::DynamoDB
|
|
9244
8488
|
# Represents the settings used to enable or disable Time to Live (TTL)
|
9245
8489
|
# for the specified table.
|
9246
8490
|
#
|
9247
|
-
# @note When making an API call, you may pass TimeToLiveSpecification
|
9248
|
-
# data as a hash:
|
9249
|
-
#
|
9250
|
-
# {
|
9251
|
-
# enabled: false, # required
|
9252
|
-
# attribute_name: "TimeToLiveAttributeName", # required
|
9253
|
-
# }
|
9254
|
-
#
|
9255
8491
|
# @!attribute [rw] enabled
|
9256
8492
|
# Indicates whether TTL is to be enabled (true) or disabled (false) on
|
9257
8493
|
# the table.
|
@@ -9273,22 +8509,6 @@ module Aws::DynamoDB
|
|
9273
8509
|
|
9274
8510
|
# Specifies an item to be retrieved as part of the transaction.
|
9275
8511
|
#
|
9276
|
-
# @note When making an API call, you may pass TransactGetItem
|
9277
|
-
# data as a hash:
|
9278
|
-
#
|
9279
|
-
# {
|
9280
|
-
# get: { # required
|
9281
|
-
# key: { # required
|
9282
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9283
|
-
# },
|
9284
|
-
# table_name: "TableName", # required
|
9285
|
-
# projection_expression: "ProjectionExpression",
|
9286
|
-
# expression_attribute_names: {
|
9287
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9288
|
-
# },
|
9289
|
-
# },
|
9290
|
-
# }
|
9291
|
-
#
|
9292
8512
|
# @!attribute [rw] get
|
9293
8513
|
# Contains the primary key that identifies the item to get, together
|
9294
8514
|
# with the name of the table that contains the item, and optionally
|
@@ -9303,29 +8523,8 @@ module Aws::DynamoDB
|
|
9303
8523
|
include Aws::Structure
|
9304
8524
|
end
|
9305
8525
|
|
9306
|
-
# @note When making an API call, you may pass TransactGetItemsInput
|
9307
|
-
# data as a hash:
|
9308
|
-
#
|
9309
|
-
# {
|
9310
|
-
# transact_items: [ # required
|
9311
|
-
# {
|
9312
|
-
# get: { # required
|
9313
|
-
# key: { # required
|
9314
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9315
|
-
# },
|
9316
|
-
# table_name: "TableName", # required
|
9317
|
-
# projection_expression: "ProjectionExpression",
|
9318
|
-
# expression_attribute_names: {
|
9319
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9320
|
-
# },
|
9321
|
-
# },
|
9322
|
-
# },
|
9323
|
-
# ],
|
9324
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
9325
|
-
# }
|
9326
|
-
#
|
9327
8526
|
# @!attribute [rw] transact_items
|
9328
|
-
# An ordered array of up to
|
8527
|
+
# An ordered array of up to 100 `TransactGetItem` objects, each of
|
9329
8528
|
# which contains a `Get` structure.
|
9330
8529
|
# @return [Array<Types::TransactGetItem>]
|
9331
8530
|
#
|
@@ -9353,7 +8552,7 @@ module Aws::DynamoDB
|
|
9353
8552
|
# @return [Array<Types::ConsumedCapacity>]
|
9354
8553
|
#
|
9355
8554
|
# @!attribute [rw] responses
|
9356
|
-
# An ordered array of up to
|
8555
|
+
# An ordered array of up to 100 `ItemResponse` objects, each of which
|
9357
8556
|
# corresponds to the `TransactGetItem` object in the same position in
|
9358
8557
|
# the *TransactItems* array. Each `ItemResponse` object contains a Map
|
9359
8558
|
# of the name-value pairs that are the projected attributes of the
|
@@ -9377,69 +8576,6 @@ module Aws::DynamoDB
|
|
9377
8576
|
# A list of requests that can perform update, put, delete, or check
|
9378
8577
|
# operations on multiple items in one or more tables atomically.
|
9379
8578
|
#
|
9380
|
-
# @note When making an API call, you may pass TransactWriteItem
|
9381
|
-
# data as a hash:
|
9382
|
-
#
|
9383
|
-
# {
|
9384
|
-
# condition_check: {
|
9385
|
-
# key: { # required
|
9386
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9387
|
-
# },
|
9388
|
-
# table_name: "TableName", # required
|
9389
|
-
# condition_expression: "ConditionExpression", # required
|
9390
|
-
# expression_attribute_names: {
|
9391
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9392
|
-
# },
|
9393
|
-
# expression_attribute_values: {
|
9394
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9395
|
-
# },
|
9396
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9397
|
-
# },
|
9398
|
-
# put: {
|
9399
|
-
# item: { # required
|
9400
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9401
|
-
# },
|
9402
|
-
# table_name: "TableName", # required
|
9403
|
-
# condition_expression: "ConditionExpression",
|
9404
|
-
# expression_attribute_names: {
|
9405
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9406
|
-
# },
|
9407
|
-
# expression_attribute_values: {
|
9408
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9409
|
-
# },
|
9410
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9411
|
-
# },
|
9412
|
-
# delete: {
|
9413
|
-
# key: { # required
|
9414
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9415
|
-
# },
|
9416
|
-
# table_name: "TableName", # required
|
9417
|
-
# condition_expression: "ConditionExpression",
|
9418
|
-
# expression_attribute_names: {
|
9419
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9420
|
-
# },
|
9421
|
-
# expression_attribute_values: {
|
9422
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9423
|
-
# },
|
9424
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9425
|
-
# },
|
9426
|
-
# update: {
|
9427
|
-
# key: { # required
|
9428
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9429
|
-
# },
|
9430
|
-
# update_expression: "UpdateExpression", # required
|
9431
|
-
# table_name: "TableName", # required
|
9432
|
-
# condition_expression: "ConditionExpression",
|
9433
|
-
# expression_attribute_names: {
|
9434
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9435
|
-
# },
|
9436
|
-
# expression_attribute_values: {
|
9437
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9438
|
-
# },
|
9439
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9440
|
-
# },
|
9441
|
-
# }
|
9442
|
-
#
|
9443
8579
|
# @!attribute [rw] condition_check
|
9444
8580
|
# A request to perform a check item operation.
|
9445
8581
|
# @return [Types::ConditionCheck]
|
@@ -9467,78 +8603,8 @@ module Aws::DynamoDB
|
|
9467
8603
|
include Aws::Structure
|
9468
8604
|
end
|
9469
8605
|
|
9470
|
-
# @note When making an API call, you may pass TransactWriteItemsInput
|
9471
|
-
# data as a hash:
|
9472
|
-
#
|
9473
|
-
# {
|
9474
|
-
# transact_items: [ # required
|
9475
|
-
# {
|
9476
|
-
# condition_check: {
|
9477
|
-
# key: { # required
|
9478
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9479
|
-
# },
|
9480
|
-
# table_name: "TableName", # required
|
9481
|
-
# condition_expression: "ConditionExpression", # required
|
9482
|
-
# expression_attribute_names: {
|
9483
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9484
|
-
# },
|
9485
|
-
# expression_attribute_values: {
|
9486
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9487
|
-
# },
|
9488
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9489
|
-
# },
|
9490
|
-
# put: {
|
9491
|
-
# item: { # required
|
9492
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9493
|
-
# },
|
9494
|
-
# table_name: "TableName", # required
|
9495
|
-
# condition_expression: "ConditionExpression",
|
9496
|
-
# expression_attribute_names: {
|
9497
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9498
|
-
# },
|
9499
|
-
# expression_attribute_values: {
|
9500
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9501
|
-
# },
|
9502
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9503
|
-
# },
|
9504
|
-
# delete: {
|
9505
|
-
# key: { # required
|
9506
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9507
|
-
# },
|
9508
|
-
# table_name: "TableName", # required
|
9509
|
-
# condition_expression: "ConditionExpression",
|
9510
|
-
# expression_attribute_names: {
|
9511
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9512
|
-
# },
|
9513
|
-
# expression_attribute_values: {
|
9514
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9515
|
-
# },
|
9516
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9517
|
-
# },
|
9518
|
-
# update: {
|
9519
|
-
# key: { # required
|
9520
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9521
|
-
# },
|
9522
|
-
# update_expression: "UpdateExpression", # required
|
9523
|
-
# table_name: "TableName", # required
|
9524
|
-
# condition_expression: "ConditionExpression",
|
9525
|
-
# expression_attribute_names: {
|
9526
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9527
|
-
# },
|
9528
|
-
# expression_attribute_values: {
|
9529
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9530
|
-
# },
|
9531
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9532
|
-
# },
|
9533
|
-
# },
|
9534
|
-
# ],
|
9535
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
9536
|
-
# return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
|
9537
|
-
# client_request_token: "ClientRequestToken",
|
9538
|
-
# }
|
9539
|
-
#
|
9540
8606
|
# @!attribute [rw] transact_items
|
9541
|
-
# An ordered array of up to
|
8607
|
+
# An ordered array of up to 100 `TransactWriteItem` objects, each of
|
9542
8608
|
# which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
|
9543
8609
|
# object. These can operate on items in different tables, but the
|
9544
8610
|
# tables must reside in the same Amazon Web Services account and
|
@@ -9581,7 +8647,7 @@ module Aws::DynamoDB
|
|
9581
8647
|
# Although multiple identical calls using the same client request
|
9582
8648
|
# token produce the same result on the server (no side effects), the
|
9583
8649
|
# responses to the calls might not be the same. If the
|
9584
|
-
# `ReturnConsumedCapacity
|
8650
|
+
# `ReturnConsumedCapacity` parameter is set, then the initial
|
9585
8651
|
# `TransactWriteItems` call returns the amount of write capacity units
|
9586
8652
|
# consumed in making the changes. Subsequent `TransactWriteItems`
|
9587
8653
|
# calls with the same client token return the number of read capacity
|
@@ -9675,7 +8741,7 @@ module Aws::DynamoDB
|
|
9675
8741
|
# <note markdown="1"> If using Java, DynamoDB lists the cancellation reasons on the
|
9676
8742
|
# `CancellationReasons` property. This property is not set for other
|
9677
8743
|
# languages. Transaction cancellation reasons are ordered in the order
|
9678
|
-
# of requested items, if an item has no error it will have `
|
8744
|
+
# of requested items, if an item has no error it will have `None` code
|
9679
8745
|
# and `Null` message.
|
9680
8746
|
#
|
9681
8747
|
# </note>
|
@@ -9684,7 +8750,7 @@ module Aws::DynamoDB
|
|
9684
8750
|
#
|
9685
8751
|
# * No Errors:
|
9686
8752
|
#
|
9687
|
-
# * Code: `
|
8753
|
+
# * Code: `None`
|
9688
8754
|
#
|
9689
8755
|
# * Message: `null`
|
9690
8756
|
#
|
@@ -9752,7 +8818,7 @@ module Aws::DynamoDB
|
|
9752
8818
|
# secondary indexes. DynamoDB is automatically scaling your index
|
9753
8819
|
# so please try again shortly.
|
9754
8820
|
#
|
9755
|
-
# <note markdown="1"> This message is returned when
|
8821
|
+
# <note markdown="1"> This message is returned when writes get throttled on an
|
9756
8822
|
# On-Demand GSI as DynamoDB is automatically scaling the GSI.
|
9757
8823
|
#
|
9758
8824
|
# </note>
|
@@ -9820,6 +8886,54 @@ module Aws::DynamoDB
|
|
9820
8886
|
|
9821
8887
|
# The transaction with the given request token is already in progress.
|
9822
8888
|
#
|
8889
|
+
# Recommended Settings
|
8890
|
+
#
|
8891
|
+
# <note markdown="1"> This is a general recommendation for handling the
|
8892
|
+
# `TransactionInProgressException`. These settings help ensure that the
|
8893
|
+
# client retries will trigger completion of the ongoing
|
8894
|
+
# `TransactWriteItems` request.
|
8895
|
+
#
|
8896
|
+
# </note>
|
8897
|
+
#
|
8898
|
+
# * Set `clientExecutionTimeout` to a value that allows at least one
|
8899
|
+
# retry to be processed after 5 seconds have elapsed since the first
|
8900
|
+
# attempt for the `TransactWriteItems` operation.
|
8901
|
+
#
|
8902
|
+
# * Set `socketTimeout` to a value a little lower than the
|
8903
|
+
# `requestTimeout` setting.
|
8904
|
+
#
|
8905
|
+
# * `requestTimeout` should be set based on the time taken for the
|
8906
|
+
# individual retries of a single HTTP request for your use case, but
|
8907
|
+
# setting it to 1 second or higher should work well to reduce chances
|
8908
|
+
# of retries and `TransactionInProgressException` errors.
|
8909
|
+
#
|
8910
|
+
# * Use exponential backoff when retrying and tune backoff if needed.
|
8911
|
+
#
|
8912
|
+
# Assuming [default retry policy][1], example timeout settings based on
|
8913
|
+
# the guidelines above are as follows:
|
8914
|
+
#
|
8915
|
+
# Example timeline:
|
8916
|
+
#
|
8917
|
+
# * 0-1000 first attempt
|
8918
|
+
#
|
8919
|
+
# * 1000-1500 first sleep/delay (default retry policy uses 500 ms as
|
8920
|
+
# base delay for 4xx errors)
|
8921
|
+
#
|
8922
|
+
# * 1500-2500 second attempt
|
8923
|
+
#
|
8924
|
+
# * 2500-3500 second sleep/delay (500 * 2, exponential backoff)
|
8925
|
+
#
|
8926
|
+
# * 3500-4500 third attempt
|
8927
|
+
#
|
8928
|
+
# * 4500-6500 third sleep/delay (500 * 2^2)
|
8929
|
+
#
|
8930
|
+
# * 6500-7500 fourth attempt (this can trigger inline recovery since 5
|
8931
|
+
# seconds have elapsed since the first attempt reached TC)
|
8932
|
+
#
|
8933
|
+
#
|
8934
|
+
#
|
8935
|
+
# [1]: https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97
|
8936
|
+
#
|
9823
8937
|
# @!attribute [rw] message
|
9824
8938
|
# @return [String]
|
9825
8939
|
#
|
@@ -9831,14 +8945,6 @@ module Aws::DynamoDB
|
|
9831
8945
|
include Aws::Structure
|
9832
8946
|
end
|
9833
8947
|
|
9834
|
-
# @note When making an API call, you may pass UntagResourceInput
|
9835
|
-
# data as a hash:
|
9836
|
-
#
|
9837
|
-
# {
|
9838
|
-
# resource_arn: "ResourceArnString", # required
|
9839
|
-
# tag_keys: ["TagKeyString"], # required
|
9840
|
-
# }
|
9841
|
-
#
|
9842
8948
|
# @!attribute [rw] resource_arn
|
9843
8949
|
# The DynamoDB resource that the tags will be removed from. This value
|
9844
8950
|
# is an Amazon Resource Name (ARN).
|
@@ -9860,25 +8966,6 @@ module Aws::DynamoDB
|
|
9860
8966
|
|
9861
8967
|
# Represents a request to perform an `UpdateItem` operation.
|
9862
8968
|
#
|
9863
|
-
# @note When making an API call, you may pass Update
|
9864
|
-
# data as a hash:
|
9865
|
-
#
|
9866
|
-
# {
|
9867
|
-
# key: { # required
|
9868
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9869
|
-
# },
|
9870
|
-
# update_expression: "UpdateExpression", # required
|
9871
|
-
# table_name: "TableName", # required
|
9872
|
-
# condition_expression: "ConditionExpression",
|
9873
|
-
# expression_attribute_names: {
|
9874
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
9875
|
-
# },
|
9876
|
-
# expression_attribute_values: {
|
9877
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
9878
|
-
# },
|
9879
|
-
# return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
|
9880
|
-
# }
|
9881
|
-
#
|
9882
8969
|
# @!attribute [rw] key
|
9883
8970
|
# The primary key of the item to be updated. Each element consists of
|
9884
8971
|
# an attribute name and a value for that attribute.
|
@@ -9928,16 +9015,6 @@ module Aws::DynamoDB
|
|
9928
9015
|
include Aws::Structure
|
9929
9016
|
end
|
9930
9017
|
|
9931
|
-
# @note When making an API call, you may pass UpdateContinuousBackupsInput
|
9932
|
-
# data as a hash:
|
9933
|
-
#
|
9934
|
-
# {
|
9935
|
-
# table_name: "TableName", # required
|
9936
|
-
# point_in_time_recovery_specification: { # required
|
9937
|
-
# point_in_time_recovery_enabled: false, # required
|
9938
|
-
# },
|
9939
|
-
# }
|
9940
|
-
#
|
9941
9018
|
# @!attribute [rw] table_name
|
9942
9019
|
# The name of the table.
|
9943
9020
|
# @return [String]
|
@@ -9968,15 +9045,6 @@ module Aws::DynamoDB
|
|
9968
9045
|
include Aws::Structure
|
9969
9046
|
end
|
9970
9047
|
|
9971
|
-
# @note When making an API call, you may pass UpdateContributorInsightsInput
|
9972
|
-
# data as a hash:
|
9973
|
-
#
|
9974
|
-
# {
|
9975
|
-
# table_name: "TableName", # required
|
9976
|
-
# index_name: "IndexName",
|
9977
|
-
# contributor_insights_action: "ENABLE", # required, accepts ENABLE, DISABLE
|
9978
|
-
# }
|
9979
|
-
#
|
9980
9048
|
# @!attribute [rw] table_name
|
9981
9049
|
# The name of the table.
|
9982
9050
|
# @return [String]
|
@@ -10024,17 +9092,6 @@ module Aws::DynamoDB
|
|
10024
9092
|
# Represents the new provisioned throughput settings to be applied to a
|
10025
9093
|
# global secondary index.
|
10026
9094
|
#
|
10027
|
-
# @note When making an API call, you may pass UpdateGlobalSecondaryIndexAction
|
10028
|
-
# data as a hash:
|
10029
|
-
#
|
10030
|
-
# {
|
10031
|
-
# index_name: "IndexName", # required
|
10032
|
-
# provisioned_throughput: { # required
|
10033
|
-
# read_capacity_units: 1, # required
|
10034
|
-
# write_capacity_units: 1, # required
|
10035
|
-
# },
|
10036
|
-
# }
|
10037
|
-
#
|
10038
9095
|
# @!attribute [rw] index_name
|
10039
9096
|
# The name of the global secondary index to be updated.
|
10040
9097
|
# @return [String]
|
@@ -10061,23 +9118,6 @@ module Aws::DynamoDB
|
|
10061
9118
|
include Aws::Structure
|
10062
9119
|
end
|
10063
9120
|
|
10064
|
-
# @note When making an API call, you may pass UpdateGlobalTableInput
|
10065
|
-
# data as a hash:
|
10066
|
-
#
|
10067
|
-
# {
|
10068
|
-
# global_table_name: "TableName", # required
|
10069
|
-
# replica_updates: [ # required
|
10070
|
-
# {
|
10071
|
-
# create: {
|
10072
|
-
# region_name: "RegionName", # required
|
10073
|
-
# },
|
10074
|
-
# delete: {
|
10075
|
-
# region_name: "RegionName", # required
|
10076
|
-
# },
|
10077
|
-
# },
|
10078
|
-
# ],
|
10079
|
-
# }
|
10080
|
-
#
|
10081
9121
|
# @!attribute [rw] global_table_name
|
10082
9122
|
# The global table name.
|
10083
9123
|
# @return [String]
|
@@ -10108,94 +9148,6 @@ module Aws::DynamoDB
|
|
10108
9148
|
include Aws::Structure
|
10109
9149
|
end
|
10110
9150
|
|
10111
|
-
# @note When making an API call, you may pass UpdateGlobalTableSettingsInput
|
10112
|
-
# data as a hash:
|
10113
|
-
#
|
10114
|
-
# {
|
10115
|
-
# global_table_name: "TableName", # required
|
10116
|
-
# global_table_billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
|
10117
|
-
# global_table_provisioned_write_capacity_units: 1,
|
10118
|
-
# global_table_provisioned_write_capacity_auto_scaling_settings_update: {
|
10119
|
-
# minimum_units: 1,
|
10120
|
-
# maximum_units: 1,
|
10121
|
-
# auto_scaling_disabled: false,
|
10122
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
10123
|
-
# scaling_policy_update: {
|
10124
|
-
# policy_name: "AutoScalingPolicyName",
|
10125
|
-
# target_tracking_scaling_policy_configuration: { # required
|
10126
|
-
# disable_scale_in: false,
|
10127
|
-
# scale_in_cooldown: 1,
|
10128
|
-
# scale_out_cooldown: 1,
|
10129
|
-
# target_value: 1.0, # required
|
10130
|
-
# },
|
10131
|
-
# },
|
10132
|
-
# },
|
10133
|
-
# global_table_global_secondary_index_settings_update: [
|
10134
|
-
# {
|
10135
|
-
# index_name: "IndexName", # required
|
10136
|
-
# provisioned_write_capacity_units: 1,
|
10137
|
-
# provisioned_write_capacity_auto_scaling_settings_update: {
|
10138
|
-
# minimum_units: 1,
|
10139
|
-
# maximum_units: 1,
|
10140
|
-
# auto_scaling_disabled: false,
|
10141
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
10142
|
-
# scaling_policy_update: {
|
10143
|
-
# policy_name: "AutoScalingPolicyName",
|
10144
|
-
# target_tracking_scaling_policy_configuration: { # required
|
10145
|
-
# disable_scale_in: false,
|
10146
|
-
# scale_in_cooldown: 1,
|
10147
|
-
# scale_out_cooldown: 1,
|
10148
|
-
# target_value: 1.0, # required
|
10149
|
-
# },
|
10150
|
-
# },
|
10151
|
-
# },
|
10152
|
-
# },
|
10153
|
-
# ],
|
10154
|
-
# replica_settings_update: [
|
10155
|
-
# {
|
10156
|
-
# region_name: "RegionName", # required
|
10157
|
-
# replica_provisioned_read_capacity_units: 1,
|
10158
|
-
# replica_provisioned_read_capacity_auto_scaling_settings_update: {
|
10159
|
-
# minimum_units: 1,
|
10160
|
-
# maximum_units: 1,
|
10161
|
-
# auto_scaling_disabled: false,
|
10162
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
10163
|
-
# scaling_policy_update: {
|
10164
|
-
# policy_name: "AutoScalingPolicyName",
|
10165
|
-
# target_tracking_scaling_policy_configuration: { # required
|
10166
|
-
# disable_scale_in: false,
|
10167
|
-
# scale_in_cooldown: 1,
|
10168
|
-
# scale_out_cooldown: 1,
|
10169
|
-
# target_value: 1.0, # required
|
10170
|
-
# },
|
10171
|
-
# },
|
10172
|
-
# },
|
10173
|
-
# replica_global_secondary_index_settings_update: [
|
10174
|
-
# {
|
10175
|
-
# index_name: "IndexName", # required
|
10176
|
-
# provisioned_read_capacity_units: 1,
|
10177
|
-
# provisioned_read_capacity_auto_scaling_settings_update: {
|
10178
|
-
# minimum_units: 1,
|
10179
|
-
# maximum_units: 1,
|
10180
|
-
# auto_scaling_disabled: false,
|
10181
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
10182
|
-
# scaling_policy_update: {
|
10183
|
-
# policy_name: "AutoScalingPolicyName",
|
10184
|
-
# target_tracking_scaling_policy_configuration: { # required
|
10185
|
-
# disable_scale_in: false,
|
10186
|
-
# scale_in_cooldown: 1,
|
10187
|
-
# scale_out_cooldown: 1,
|
10188
|
-
# target_value: 1.0, # required
|
10189
|
-
# },
|
10190
|
-
# },
|
10191
|
-
# },
|
10192
|
-
# },
|
10193
|
-
# ],
|
10194
|
-
# replica_table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10195
|
-
# },
|
10196
|
-
# ],
|
10197
|
-
# }
|
10198
|
-
#
|
10199
9151
|
# @!attribute [rw] global_table_name
|
10200
9152
|
# The name of the global table
|
10201
9153
|
# @return [String]
|
@@ -10271,42 +9223,6 @@ module Aws::DynamoDB
|
|
10271
9223
|
|
10272
9224
|
# Represents the input of an `UpdateItem` operation.
|
10273
9225
|
#
|
10274
|
-
# @note When making an API call, you may pass UpdateItemInput
|
10275
|
-
# data as a hash:
|
10276
|
-
#
|
10277
|
-
# {
|
10278
|
-
# table_name: "TableName", # required
|
10279
|
-
# key: { # required
|
10280
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
10281
|
-
# },
|
10282
|
-
# attribute_updates: {
|
10283
|
-
# "AttributeName" => {
|
10284
|
-
# value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
10285
|
-
# action: "ADD", # accepts ADD, PUT, DELETE
|
10286
|
-
# },
|
10287
|
-
# },
|
10288
|
-
# expected: {
|
10289
|
-
# "AttributeName" => {
|
10290
|
-
# value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
10291
|
-
# exists: false,
|
10292
|
-
# comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
|
10293
|
-
# attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
10294
|
-
# },
|
10295
|
-
# },
|
10296
|
-
# conditional_operator: "AND", # accepts AND, OR
|
10297
|
-
# return_values: "NONE", # accepts NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW
|
10298
|
-
# return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
|
10299
|
-
# return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
|
10300
|
-
# update_expression: "UpdateExpression",
|
10301
|
-
# condition_expression: "ConditionExpression",
|
10302
|
-
# expression_attribute_names: {
|
10303
|
-
# "ExpressionAttributeNameVariable" => "AttributeName",
|
10304
|
-
# },
|
10305
|
-
# expression_attribute_values: {
|
10306
|
-
# "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
10307
|
-
# },
|
10308
|
-
# }
|
10309
|
-
#
|
10310
9226
|
# @!attribute [rw] table_name
|
10311
9227
|
# The name of the table containing the item to update.
|
10312
9228
|
# @return [String]
|
@@ -10353,8 +9269,8 @@ module Aws::DynamoDB
|
|
10353
9269
|
#
|
10354
9270
|
# @!attribute [rw] return_values
|
10355
9271
|
# Use `ReturnValues` if you want to get the item attributes as they
|
10356
|
-
# appear before or after they are updated. For
|
10357
|
-
# values are:
|
9272
|
+
# appear before or after they are successfully updated. For
|
9273
|
+
# `UpdateItem`, the valid values are:
|
10358
9274
|
#
|
10359
9275
|
# * `NONE` - If `ReturnValues` is not specified, or if its value is
|
10360
9276
|
# `NONE`, then nothing is returned. (This setting is the default for
|
@@ -10632,9 +9548,9 @@ module Aws::DynamoDB
|
|
10632
9548
|
# `UpdateItem` operation, as determined by the `ReturnValues`
|
10633
9549
|
# parameter.
|
10634
9550
|
#
|
10635
|
-
# The `Attributes` map is only present if
|
10636
|
-
# as something other than `NONE` in
|
10637
|
-
# represents one attribute.
|
9551
|
+
# The `Attributes` map is only present if the update was successful
|
9552
|
+
# and `ReturnValues` was specified as something other than `NONE` in
|
9553
|
+
# the request. Each element represents one attribute.
|
10638
9554
|
# @return [Hash<String,Types::AttributeValue>]
|
10639
9555
|
#
|
10640
9556
|
# @!attribute [rw] consumed_capacity
|
@@ -10648,7 +9564,7 @@ module Aws::DynamoDB
|
|
10648
9564
|
#
|
10649
9565
|
#
|
10650
9566
|
#
|
10651
|
-
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/
|
9567
|
+
# [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughput.html#ItemSizeCalculations.Reads
|
10652
9568
|
# @return [Types::ConsumedCapacity]
|
10653
9569
|
#
|
10654
9570
|
# @!attribute [rw] item_collection_metrics
|
@@ -10688,26 +9604,6 @@ module Aws::DynamoDB
|
|
10688
9604
|
|
10689
9605
|
# Represents a replica to be modified.
|
10690
9606
|
#
|
10691
|
-
# @note When making an API call, you may pass UpdateReplicationGroupMemberAction
|
10692
|
-
# data as a hash:
|
10693
|
-
#
|
10694
|
-
# {
|
10695
|
-
# region_name: "RegionName", # required
|
10696
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
10697
|
-
# provisioned_throughput_override: {
|
10698
|
-
# read_capacity_units: 1,
|
10699
|
-
# },
|
10700
|
-
# global_secondary_indexes: [
|
10701
|
-
# {
|
10702
|
-
# index_name: "IndexName", # required
|
10703
|
-
# provisioned_throughput_override: {
|
10704
|
-
# read_capacity_units: 1,
|
10705
|
-
# },
|
10706
|
-
# },
|
10707
|
-
# ],
|
10708
|
-
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10709
|
-
# }
|
10710
|
-
#
|
10711
9607
|
# @!attribute [rw] region_name
|
10712
9608
|
# The Region where the replica exists.
|
10713
9609
|
# @return [String]
|
@@ -10748,104 +9644,6 @@ module Aws::DynamoDB
|
|
10748
9644
|
|
10749
9645
|
# Represents the input of an `UpdateTable` operation.
|
10750
9646
|
#
|
10751
|
-
# @note When making an API call, you may pass UpdateTableInput
|
10752
|
-
# data as a hash:
|
10753
|
-
#
|
10754
|
-
# {
|
10755
|
-
# attribute_definitions: [
|
10756
|
-
# {
|
10757
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
10758
|
-
# attribute_type: "S", # required, accepts S, N, B
|
10759
|
-
# },
|
10760
|
-
# ],
|
10761
|
-
# table_name: "TableName", # required
|
10762
|
-
# billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
|
10763
|
-
# provisioned_throughput: {
|
10764
|
-
# read_capacity_units: 1, # required
|
10765
|
-
# write_capacity_units: 1, # required
|
10766
|
-
# },
|
10767
|
-
# global_secondary_index_updates: [
|
10768
|
-
# {
|
10769
|
-
# update: {
|
10770
|
-
# index_name: "IndexName", # required
|
10771
|
-
# provisioned_throughput: { # required
|
10772
|
-
# read_capacity_units: 1, # required
|
10773
|
-
# write_capacity_units: 1, # required
|
10774
|
-
# },
|
10775
|
-
# },
|
10776
|
-
# create: {
|
10777
|
-
# index_name: "IndexName", # required
|
10778
|
-
# key_schema: [ # required
|
10779
|
-
# {
|
10780
|
-
# attribute_name: "KeySchemaAttributeName", # required
|
10781
|
-
# key_type: "HASH", # required, accepts HASH, RANGE
|
10782
|
-
# },
|
10783
|
-
# ],
|
10784
|
-
# projection: { # required
|
10785
|
-
# projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
|
10786
|
-
# non_key_attributes: ["NonKeyAttributeName"],
|
10787
|
-
# },
|
10788
|
-
# provisioned_throughput: {
|
10789
|
-
# read_capacity_units: 1, # required
|
10790
|
-
# write_capacity_units: 1, # required
|
10791
|
-
# },
|
10792
|
-
# },
|
10793
|
-
# delete: {
|
10794
|
-
# index_name: "IndexName", # required
|
10795
|
-
# },
|
10796
|
-
# },
|
10797
|
-
# ],
|
10798
|
-
# stream_specification: {
|
10799
|
-
# stream_enabled: false, # required
|
10800
|
-
# stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
|
10801
|
-
# },
|
10802
|
-
# sse_specification: {
|
10803
|
-
# enabled: false,
|
10804
|
-
# sse_type: "AES256", # accepts AES256, KMS
|
10805
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
10806
|
-
# },
|
10807
|
-
# replica_updates: [
|
10808
|
-
# {
|
10809
|
-
# create: {
|
10810
|
-
# region_name: "RegionName", # required
|
10811
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
10812
|
-
# provisioned_throughput_override: {
|
10813
|
-
# read_capacity_units: 1,
|
10814
|
-
# },
|
10815
|
-
# global_secondary_indexes: [
|
10816
|
-
# {
|
10817
|
-
# index_name: "IndexName", # required
|
10818
|
-
# provisioned_throughput_override: {
|
10819
|
-
# read_capacity_units: 1,
|
10820
|
-
# },
|
10821
|
-
# },
|
10822
|
-
# ],
|
10823
|
-
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10824
|
-
# },
|
10825
|
-
# update: {
|
10826
|
-
# region_name: "RegionName", # required
|
10827
|
-
# kms_master_key_id: "KMSMasterKeyId",
|
10828
|
-
# provisioned_throughput_override: {
|
10829
|
-
# read_capacity_units: 1,
|
10830
|
-
# },
|
10831
|
-
# global_secondary_indexes: [
|
10832
|
-
# {
|
10833
|
-
# index_name: "IndexName", # required
|
10834
|
-
# provisioned_throughput_override: {
|
10835
|
-
# read_capacity_units: 1,
|
10836
|
-
# },
|
10837
|
-
# },
|
10838
|
-
# ],
|
10839
|
-
# table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10840
|
-
# },
|
10841
|
-
# delete: {
|
10842
|
-
# region_name: "RegionName", # required
|
10843
|
-
# },
|
10844
|
-
# },
|
10845
|
-
# ],
|
10846
|
-
# table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
|
10847
|
-
# }
|
10848
|
-
#
|
10849
9647
|
# @!attribute [rw] attribute_definitions
|
10850
9648
|
# An array of attributes that describe the key schema for the table
|
10851
9649
|
# and indexes. If you are adding a new global secondary index to the
|
@@ -10924,8 +9722,8 @@ module Aws::DynamoDB
|
|
10924
9722
|
# A list of replica update actions (create, delete, or update) for the
|
10925
9723
|
# table.
|
10926
9724
|
#
|
10927
|
-
# <note markdown="1"> This property only applies to [Version 2019.11.21][1] of
|
10928
|
-
# tables.
|
9725
|
+
# <note markdown="1"> This property only applies to [Version 2019.11.21 (Current)][1] of
|
9726
|
+
# global tables.
|
10929
9727
|
#
|
10930
9728
|
# </note>
|
10931
9729
|
#
|
@@ -10969,88 +9767,6 @@ module Aws::DynamoDB
|
|
10969
9767
|
include Aws::Structure
|
10970
9768
|
end
|
10971
9769
|
|
10972
|
-
# @note When making an API call, you may pass UpdateTableReplicaAutoScalingInput
|
10973
|
-
# data as a hash:
|
10974
|
-
#
|
10975
|
-
# {
|
10976
|
-
# global_secondary_index_updates: [
|
10977
|
-
# {
|
10978
|
-
# index_name: "IndexName",
|
10979
|
-
# provisioned_write_capacity_auto_scaling_update: {
|
10980
|
-
# minimum_units: 1,
|
10981
|
-
# maximum_units: 1,
|
10982
|
-
# auto_scaling_disabled: false,
|
10983
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
10984
|
-
# scaling_policy_update: {
|
10985
|
-
# policy_name: "AutoScalingPolicyName",
|
10986
|
-
# target_tracking_scaling_policy_configuration: { # required
|
10987
|
-
# disable_scale_in: false,
|
10988
|
-
# scale_in_cooldown: 1,
|
10989
|
-
# scale_out_cooldown: 1,
|
10990
|
-
# target_value: 1.0, # required
|
10991
|
-
# },
|
10992
|
-
# },
|
10993
|
-
# },
|
10994
|
-
# },
|
10995
|
-
# ],
|
10996
|
-
# table_name: "TableName", # required
|
10997
|
-
# provisioned_write_capacity_auto_scaling_update: {
|
10998
|
-
# minimum_units: 1,
|
10999
|
-
# maximum_units: 1,
|
11000
|
-
# auto_scaling_disabled: false,
|
11001
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
11002
|
-
# scaling_policy_update: {
|
11003
|
-
# policy_name: "AutoScalingPolicyName",
|
11004
|
-
# target_tracking_scaling_policy_configuration: { # required
|
11005
|
-
# disable_scale_in: false,
|
11006
|
-
# scale_in_cooldown: 1,
|
11007
|
-
# scale_out_cooldown: 1,
|
11008
|
-
# target_value: 1.0, # required
|
11009
|
-
# },
|
11010
|
-
# },
|
11011
|
-
# },
|
11012
|
-
# replica_updates: [
|
11013
|
-
# {
|
11014
|
-
# region_name: "RegionName", # required
|
11015
|
-
# replica_global_secondary_index_updates: [
|
11016
|
-
# {
|
11017
|
-
# index_name: "IndexName",
|
11018
|
-
# provisioned_read_capacity_auto_scaling_update: {
|
11019
|
-
# minimum_units: 1,
|
11020
|
-
# maximum_units: 1,
|
11021
|
-
# auto_scaling_disabled: false,
|
11022
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
11023
|
-
# scaling_policy_update: {
|
11024
|
-
# policy_name: "AutoScalingPolicyName",
|
11025
|
-
# target_tracking_scaling_policy_configuration: { # required
|
11026
|
-
# disable_scale_in: false,
|
11027
|
-
# scale_in_cooldown: 1,
|
11028
|
-
# scale_out_cooldown: 1,
|
11029
|
-
# target_value: 1.0, # required
|
11030
|
-
# },
|
11031
|
-
# },
|
11032
|
-
# },
|
11033
|
-
# },
|
11034
|
-
# ],
|
11035
|
-
# replica_provisioned_read_capacity_auto_scaling_update: {
|
11036
|
-
# minimum_units: 1,
|
11037
|
-
# maximum_units: 1,
|
11038
|
-
# auto_scaling_disabled: false,
|
11039
|
-
# auto_scaling_role_arn: "AutoScalingRoleArn",
|
11040
|
-
# scaling_policy_update: {
|
11041
|
-
# policy_name: "AutoScalingPolicyName",
|
11042
|
-
# target_tracking_scaling_policy_configuration: { # required
|
11043
|
-
# disable_scale_in: false,
|
11044
|
-
# scale_in_cooldown: 1,
|
11045
|
-
# scale_out_cooldown: 1,
|
11046
|
-
# target_value: 1.0, # required
|
11047
|
-
# },
|
11048
|
-
# },
|
11049
|
-
# },
|
11050
|
-
# },
|
11051
|
-
# ],
|
11052
|
-
# }
|
11053
|
-
#
|
11054
9770
|
# @!attribute [rw] global_secondary_index_updates
|
11055
9771
|
# Represents the auto scaling settings of the global secondary indexes
|
11056
9772
|
# of the replica to be updated.
|
@@ -11096,17 +9812,6 @@ module Aws::DynamoDB
|
|
11096
9812
|
|
11097
9813
|
# Represents the input of an `UpdateTimeToLive` operation.
|
11098
9814
|
#
|
11099
|
-
# @note When making an API call, you may pass UpdateTimeToLiveInput
|
11100
|
-
# data as a hash:
|
11101
|
-
#
|
11102
|
-
# {
|
11103
|
-
# table_name: "TableName", # required
|
11104
|
-
# time_to_live_specification: { # required
|
11105
|
-
# enabled: false, # required
|
11106
|
-
# attribute_name: "TimeToLiveAttributeName", # required
|
11107
|
-
# },
|
11108
|
-
# }
|
11109
|
-
#
|
11110
9815
|
# @!attribute [rw] table_name
|
11111
9816
|
# The name of the table to be configured.
|
11112
9817
|
# @return [String]
|
@@ -11142,22 +9847,6 @@ module Aws::DynamoDB
|
|
11142
9847
|
# `WriteRequest`. If you do need to perform both of these operations,
|
11143
9848
|
# you need to provide two separate `WriteRequest` objects.
|
11144
9849
|
#
|
11145
|
-
# @note When making an API call, you may pass WriteRequest
|
11146
|
-
# data as a hash:
|
11147
|
-
#
|
11148
|
-
# {
|
11149
|
-
# put_request: {
|
11150
|
-
# item: { # required
|
11151
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
11152
|
-
# },
|
11153
|
-
# },
|
11154
|
-
# delete_request: {
|
11155
|
-
# key: { # required
|
11156
|
-
# "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
11157
|
-
# },
|
11158
|
-
# },
|
11159
|
-
# }
|
11160
|
-
#
|
11161
9850
|
# @!attribute [rw] put_request
|
11162
9851
|
# A request to perform a `PutItem` operation.
|
11163
9852
|
# @return [Types::PutRequest]
|