aws-sdk-dynamodb 1.74.0 → 1.81.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.
@@ -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", "3.14159"\}]`
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 an item with the supplied primary key and
308
- # number (or set of numbers) for the attribute value. The only data
309
- # types allowed are number and number set; no other data types can
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 resposne.
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 `BatchGetItem` operation. For more information, see
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.
@@ -1783,14 +1624,6 @@ module Aws::DynamoDB
1783
1624
  include Aws::Structure
1784
1625
  end
1785
1626
 
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
1627
  # @!attribute [rw] table_name
1795
1628
  # The name of the table.
1796
1629
  # @return [String]
@@ -1823,27 +1656,6 @@ module Aws::DynamoDB
1823
1656
  # Represents a new global secondary index to be added to an existing
1824
1657
  # table.
1825
1658
  #
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
1659
  # @!attribute [rw] index_name
1848
1660
  # The name of the global secondary index to be created.
1849
1661
  # @return [String]
@@ -1882,18 +1694,6 @@ module Aws::DynamoDB
1882
1694
  include Aws::Structure
1883
1695
  end
1884
1696
 
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
1697
  # @!attribute [rw] global_table_name
1898
1698
  # The global table name.
1899
1699
  # @return [String]
@@ -1925,13 +1725,6 @@ module Aws::DynamoDB
1925
1725
 
1926
1726
  # Represents a replica to be added.
1927
1727
  #
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
1728
  # @!attribute [rw] region_name
1936
1729
  # The Region of the replica to be added.
1937
1730
  # @return [String]
@@ -1946,26 +1739,6 @@ module Aws::DynamoDB
1946
1739
 
1947
1740
  # Represents a replica to be created.
1948
1741
  #
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
1742
  # @!attribute [rw] region_name
1970
1743
  # The Region where the new replica will be created.
1971
1744
  # @return [String]
@@ -2006,80 +1779,6 @@ module Aws::DynamoDB
2006
1779
 
2007
1780
  # Represents the input of a `CreateTable` operation.
2008
1781
  #
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
1782
  # @!attribute [rw] attribute_definitions
2084
1783
  # An array of attributes that describe the key schema for the table
2085
1784
  # and indexes.
@@ -2330,25 +2029,31 @@ module Aws::DynamoDB
2330
2029
  include Aws::Structure
2331
2030
  end
2332
2031
 
2333
- # Represents a request to perform a `DeleteItem` operation.
2032
+ # Processing options for the CSV file being imported.
2033
+ #
2034
+ # @!attribute [rw] delimiter
2035
+ # The delimiter used for separating items in the CSV file being
2036
+ # imported.
2037
+ # @return [String]
2334
2038
  #
2335
- # @note When making an API call, you may pass Delete
2336
- # data as a hash:
2337
- #
2338
- # {
2339
- # key: { # required
2340
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2341
- # },
2342
- # table_name: "TableName", # required
2343
- # condition_expression: "ConditionExpression",
2344
- # expression_attribute_names: {
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
- # }
2039
+ # @!attribute [rw] header_list
2040
+ # List of the headers used to specify a common header for all source
2041
+ # CSV files being imported. If this field is specified then the first
2042
+ # line of each CSV file is treated as data instead of the header. If
2043
+ # this field is not specified the the first line of each CSV file is
2044
+ # treated as the header.
2045
+ # @return [Array<String>]
2046
+ #
2047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CsvOptions AWS API Documentation
2048
+ #
2049
+ class CsvOptions < Struct.new(
2050
+ :delimiter,
2051
+ :header_list)
2052
+ SENSITIVE = []
2053
+ include Aws::Structure
2054
+ end
2055
+
2056
+ # Represents a request to perform a `DeleteItem` operation.
2352
2057
  #
2353
2058
  # @!attribute [rw] key
2354
2059
  # The primary key of the item to be deleted. Each element consists of
@@ -2393,13 +2098,6 @@ module Aws::DynamoDB
2393
2098
  include Aws::Structure
2394
2099
  end
2395
2100
 
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
2101
  # @!attribute [rw] backup_arn
2404
2102
  # The ARN associated with the backup.
2405
2103
  # @return [String]
@@ -2427,13 +2125,6 @@ module Aws::DynamoDB
2427
2125
  # Represents a global secondary index to be deleted from an existing
2428
2126
  # table.
2429
2127
  #
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
2128
  # @!attribute [rw] index_name
2438
2129
  # The name of the global secondary index to be deleted.
2439
2130
  # @return [String]
@@ -2448,35 +2139,6 @@ module Aws::DynamoDB
2448
2139
 
2449
2140
  # Represents the input of a `DeleteItem` operation.
2450
2141
  #
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
2142
  # @!attribute [rw] table_name
2481
2143
  # The name of the table from which to delete the item.
2482
2144
  # @return [String]
@@ -2522,6 +2184,10 @@ module Aws::DynamoDB
2522
2184
  #
2523
2185
  # * `ALL_OLD` - The content of the old item is returned.
2524
2186
  #
2187
+ # There is no additional cost associated with requesting a return
2188
+ # value aside from the small network and processing overhead of
2189
+ # receiving a larger response. No read capacity units are consumed.
2190
+ #
2525
2191
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
2526
2192
  # however, `DeleteItem` does not recognize any values other than
2527
2193
  # `NONE` or `ALL_OLD`.
@@ -2738,13 +2404,6 @@ module Aws::DynamoDB
2738
2404
 
2739
2405
  # Represents a replica to be removed.
2740
2406
  #
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
2407
  # @!attribute [rw] region_name
2749
2408
  # The Region of the replica to be removed.
2750
2409
  # @return [String]
@@ -2759,13 +2418,6 @@ module Aws::DynamoDB
2759
2418
 
2760
2419
  # Represents a replica to be deleted.
2761
2420
  #
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
2421
  # @!attribute [rw] region_name
2770
2422
  # The Region where the replica exists.
2771
2423
  # @return [String]
@@ -2780,15 +2432,6 @@ module Aws::DynamoDB
2780
2432
 
2781
2433
  # Represents a request to perform a `DeleteItem` operation on an item.
2782
2434
  #
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
2435
  # @!attribute [rw] key
2793
2436
  # A map of attribute name to attribute values, representing the
2794
2437
  # primary key of the item to delete. All of the table's primary key
@@ -2806,13 +2449,6 @@ module Aws::DynamoDB
2806
2449
 
2807
2450
  # Represents the input of a `DeleteTable` operation.
2808
2451
  #
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
2452
  # @!attribute [rw] table_name
2817
2453
  # The name of the table to delete.
2818
2454
  # @return [String]
@@ -2839,13 +2475,6 @@ module Aws::DynamoDB
2839
2475
  include Aws::Structure
2840
2476
  end
2841
2477
 
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
2478
  # @!attribute [rw] backup_arn
2850
2479
  # The Amazon Resource Name (ARN) associated with the backup.
2851
2480
  # @return [String]
@@ -2870,13 +2499,6 @@ module Aws::DynamoDB
2870
2499
  include Aws::Structure
2871
2500
  end
2872
2501
 
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
2502
  # @!attribute [rw] table_name
2881
2503
  # Name of the table for which the customer wants to check the
2882
2504
  # continuous backups and point in time recovery settings.
@@ -2903,14 +2525,6 @@ module Aws::DynamoDB
2903
2525
  include Aws::Structure
2904
2526
  end
2905
2527
 
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
2528
  # @!attribute [rw] table_name
2915
2529
  # The name of the table to describe.
2916
2530
  # @return [String]
@@ -2999,13 +2613,6 @@ module Aws::DynamoDB
2999
2613
  include Aws::Structure
3000
2614
  end
3001
2615
 
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
2616
  # @!attribute [rw] export_arn
3010
2617
  # The Amazon Resource Name (ARN) associated with the export.
3011
2618
  # @return [String]
@@ -3030,13 +2637,6 @@ module Aws::DynamoDB
3030
2637
  include Aws::Structure
3031
2638
  end
3032
2639
 
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
2640
  # @!attribute [rw] global_table_name
3041
2641
  # The name of the global table.
3042
2642
  # @return [String]
@@ -3061,13 +2661,6 @@ module Aws::DynamoDB
3061
2661
  include Aws::Structure
3062
2662
  end
3063
2663
 
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
2664
  # @!attribute [rw] global_table_name
3072
2665
  # The name of the global table to describe.
3073
2666
  # @return [String]
@@ -3097,13 +2690,34 @@ module Aws::DynamoDB
3097
2690
  include Aws::Structure
3098
2691
  end
3099
2692
 
3100
- # @note When making an API call, you may pass DescribeKinesisStreamingDestinationInput
3101
- # data as a hash:
2693
+ # @!attribute [rw] import_arn
2694
+ # The Amazon Resource Name (ARN) associated with the table you're
2695
+ # importing to.
2696
+ # @return [String]
2697
+ #
2698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeImportInput AWS API Documentation
2699
+ #
2700
+ class DescribeImportInput < Struct.new(
2701
+ :import_arn)
2702
+ SENSITIVE = []
2703
+ include Aws::Structure
2704
+ end
2705
+
2706
+ # @!attribute [rw] import_table_description
2707
+ # Represents the properties of the table created for the import, and
2708
+ # parameters of the import. The import parameters include import
2709
+ # status, how many items were processed, and how many errors were
2710
+ # encountered.
2711
+ # @return [Types::ImportTableDescription]
3102
2712
  #
3103
- # {
3104
- # table_name: "TableName", # required
3105
- # }
2713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeImportOutput AWS API Documentation
3106
2714
  #
2715
+ class DescribeImportOutput < Struct.new(
2716
+ :import_table_description)
2717
+ SENSITIVE = []
2718
+ include Aws::Structure
2719
+ end
2720
+
3107
2721
  # @!attribute [rw] table_name
3108
2722
  # The name of the table being described.
3109
2723
  # @return [String]
@@ -3180,13 +2794,6 @@ module Aws::DynamoDB
3180
2794
 
3181
2795
  # Represents the input of a `DescribeTable` operation.
3182
2796
  #
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
2797
  # @!attribute [rw] table_name
3191
2798
  # The name of the table to describe.
3192
2799
  # @return [String]
@@ -3213,13 +2820,6 @@ module Aws::DynamoDB
3213
2820
  include Aws::Structure
3214
2821
  end
3215
2822
 
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
2823
  # @!attribute [rw] table_name
3224
2824
  # The name of the table.
3225
2825
  # @return [String]
@@ -3244,13 +2844,6 @@ module Aws::DynamoDB
3244
2844
  include Aws::Structure
3245
2845
  end
3246
2846
 
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
2847
  # @!attribute [rw] table_name
3255
2848
  # The name of the table to be described.
3256
2849
  # @return [String]
@@ -3307,18 +2900,6 @@ module Aws::DynamoDB
3307
2900
  include Aws::Structure
3308
2901
  end
3309
2902
 
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
2903
  # @!attribute [rw] statement
3323
2904
  # The PartiQL statement representing the operation to run.
3324
2905
  # @return [String]
@@ -3432,20 +3013,6 @@ module Aws::DynamoDB
3432
3013
  include Aws::Structure
3433
3014
  end
3434
3015
 
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
3016
  # @!attribute [rw] transact_statements
3450
3017
  # The list of PartiQL statements representing the transaction to run.
3451
3018
  # @return [Array<Types::ParameterizedStatement>]
@@ -3520,16 +3087,6 @@ module Aws::DynamoDB
3520
3087
  # `ComparisonOperator`. Note that if you use both sets of parameters at
3521
3088
  # once, DynamoDB will return a `ValidationException` exception.
3522
3089
  #
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
3090
  # @!attribute [rw] value
3534
3091
  # Represents the data for the expected attribute.
3535
3092
  #
@@ -3938,28 +3495,14 @@ module Aws::DynamoDB
3938
3495
  include Aws::Structure
3939
3496
  end
3940
3497
 
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
3498
  # @!attribute [rw] table_arn
3957
3499
  # The Amazon Resource Name (ARN) associated with the table to export.
3958
3500
  # @return [String]
3959
3501
  #
3960
3502
  # @!attribute [rw] export_time
3961
- # Time in the past from which to export table data. The table export
3962
- # will be a snapshot of the table's state at this point in time.
3503
+ # Time in the past from which to export table data, counted in seconds
3504
+ # from the start of the Unix epoch. The table export will be a
3505
+ # snapshot of the table's state at this point in time.
3963
3506
  # @return [Time]
3964
3507
  #
3965
3508
  # @!attribute [rw] client_token
@@ -3975,7 +3518,7 @@ module Aws::DynamoDB
3975
3518
  #
3976
3519
  # If you submit a request with the same client token but a change in
3977
3520
  # other parameters within the 8-hour idempotency window, DynamoDB
3978
- # returns an `IdempotentParameterMismatch` exception.
3521
+ # returns an `ImportConflictException`.
3979
3522
  #
3980
3523
  # **A suitable default value is auto-generated.** You should normally
3981
3524
  # not need to pass this option.
@@ -4064,20 +3607,6 @@ module Aws::DynamoDB
4064
3607
  # Specifies an item and related attribute values to retrieve in a
4065
3608
  # `TransactGetItem` object.
4066
3609
  #
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
3610
  # @!attribute [rw] key
4082
3611
  # A map of attribute names to `AttributeValue` objects that specifies
4083
3612
  # the primary key of the item to retrieve.
@@ -4114,23 +3643,6 @@ module Aws::DynamoDB
4114
3643
 
4115
3644
  # Represents the input of a `GetItem` operation.
4116
3645
  #
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
3646
  # @!attribute [rw] table_name
4135
3647
  # The name of the table containing the requested item.
4136
3648
  # @return [String]
@@ -4298,27 +3810,6 @@ module Aws::DynamoDB
4298
3810
 
4299
3811
  # Represents the properties of a global secondary index.
4300
3812
  #
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
3813
  # @!attribute [rw] index_name
4323
3814
  # The name of the global secondary index. The name must be unique
4324
3815
  # among all other indexes on this table.
@@ -4379,28 +3870,6 @@ module Aws::DynamoDB
4379
3870
  # Represents the auto scaling settings of a global secondary index for a
4380
3871
  # global table that will be modified.
4381
3872
  #
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
3873
  # @!attribute [rw] index_name
4405
3874
  # The name of the global secondary index.
4406
3875
  # @return [String]
@@ -4593,39 +4062,6 @@ module Aws::DynamoDB
4593
4062
  # * An existing global secondary index to be removed from an existing
4594
4063
  # table.
4595
4064
  #
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
4065
  # @!attribute [rw] update
4630
4066
  # The name of an existing global secondary index, along with new
4631
4067
  # provisioned throughput settings to be applied to that index.
@@ -4737,29 +4173,6 @@ module Aws::DynamoDB
4737
4173
  # Represents the settings of a global secondary index for a global table
4738
4174
  # that will be modified.
4739
4175
  #
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
4176
  # @!attribute [rw] index_name
4764
4177
  # The name of the global secondary index. The name must be unique
4765
4178
  # among all other indexes on this table.
@@ -4812,6 +4225,274 @@ module Aws::DynamoDB
4812
4225
  include Aws::Structure
4813
4226
  end
4814
4227
 
4228
+ # There was a conflict when importing from the specified S3 source. This
4229
+ # can occur when the current import conflicts with a previous import
4230
+ # request that had the same client token.
4231
+ #
4232
+ # @!attribute [rw] message
4233
+ # @return [String]
4234
+ #
4235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportConflictException AWS API Documentation
4236
+ #
4237
+ class ImportConflictException < Struct.new(
4238
+ :message)
4239
+ SENSITIVE = []
4240
+ include Aws::Structure
4241
+ end
4242
+
4243
+ # The specified import was not found.
4244
+ #
4245
+ # @!attribute [rw] message
4246
+ # @return [String]
4247
+ #
4248
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportNotFoundException AWS API Documentation
4249
+ #
4250
+ class ImportNotFoundException < Struct.new(
4251
+ :message)
4252
+ SENSITIVE = []
4253
+ include Aws::Structure
4254
+ end
4255
+
4256
+ # Summary information about the source file for the import.
4257
+ #
4258
+ # @!attribute [rw] import_arn
4259
+ # The Amazon Resource Number (ARN) corresponding to the import
4260
+ # request.
4261
+ # @return [String]
4262
+ #
4263
+ # @!attribute [rw] import_status
4264
+ # The status of the import operation.
4265
+ # @return [String]
4266
+ #
4267
+ # @!attribute [rw] table_arn
4268
+ # The Amazon Resource Number (ARN) of the table being imported into.
4269
+ # @return [String]
4270
+ #
4271
+ # @!attribute [rw] s3_bucket_source
4272
+ # The path and S3 bucket of the source file that is being imported.
4273
+ # This includes the S3Bucket (required), S3KeyPrefix (optional) and
4274
+ # S3BucketOwner (optional if the bucket is owned by the requester).
4275
+ # @return [Types::S3BucketSource]
4276
+ #
4277
+ # @!attribute [rw] cloud_watch_log_group_arn
4278
+ # The Amazon Resource Number (ARN) of the Cloudwatch Log Group
4279
+ # associated with this import task.
4280
+ # @return [String]
4281
+ #
4282
+ # @!attribute [rw] input_format
4283
+ # The format of the source data. Valid values are `CSV`,
4284
+ # `DYNAMODB_JSON` or `ION`.
4285
+ # @return [String]
4286
+ #
4287
+ # @!attribute [rw] start_time
4288
+ # The time at which this import task began.
4289
+ # @return [Time]
4290
+ #
4291
+ # @!attribute [rw] end_time
4292
+ # The time at which this import task ended. (Does this include the
4293
+ # successful complete creation of the table it was imported to?)
4294
+ # @return [Time]
4295
+ #
4296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportSummary AWS API Documentation
4297
+ #
4298
+ class ImportSummary < Struct.new(
4299
+ :import_arn,
4300
+ :import_status,
4301
+ :table_arn,
4302
+ :s3_bucket_source,
4303
+ :cloud_watch_log_group_arn,
4304
+ :input_format,
4305
+ :start_time,
4306
+ :end_time)
4307
+ SENSITIVE = []
4308
+ include Aws::Structure
4309
+ end
4310
+
4311
+ # Represents the properties of the table being imported into.
4312
+ #
4313
+ # @!attribute [rw] import_arn
4314
+ # The Amazon Resource Number (ARN) corresponding to the import
4315
+ # request.
4316
+ # @return [String]
4317
+ #
4318
+ # @!attribute [rw] import_status
4319
+ # The status of the import.
4320
+ # @return [String]
4321
+ #
4322
+ # @!attribute [rw] table_arn
4323
+ # The Amazon Resource Number (ARN) of the table being imported into.
4324
+ # @return [String]
4325
+ #
4326
+ # @!attribute [rw] table_id
4327
+ # The table id corresponding to the table created by import table
4328
+ # process.
4329
+ # @return [String]
4330
+ #
4331
+ # @!attribute [rw] client_token
4332
+ # The client token that was provided for the import task. Reusing the
4333
+ # client token on retry makes a call to `ImportTable` idempotent.
4334
+ # @return [String]
4335
+ #
4336
+ # @!attribute [rw] s3_bucket_source
4337
+ # Values for the S3 bucket the source file is imported from. Includes
4338
+ # bucket name (required), key prefix (optional) and bucket account
4339
+ # owner ID (optional).
4340
+ # @return [Types::S3BucketSource]
4341
+ #
4342
+ # @!attribute [rw] error_count
4343
+ # The number of errors occurred on importing the source file into the
4344
+ # target table.
4345
+ # @return [Integer]
4346
+ #
4347
+ # @!attribute [rw] cloud_watch_log_group_arn
4348
+ # The Amazon Resource Number (ARN) of the Cloudwatch Log Group
4349
+ # associated with the target table.
4350
+ # @return [String]
4351
+ #
4352
+ # @!attribute [rw] input_format
4353
+ # The format of the source data going into the target table.
4354
+ # @return [String]
4355
+ #
4356
+ # @!attribute [rw] input_format_options
4357
+ # The format options for the data that was imported into the target
4358
+ # table. There is one value, CsvOption.
4359
+ # @return [Types::InputFormatOptions]
4360
+ #
4361
+ # @!attribute [rw] input_compression_type
4362
+ # The compression options for the data that has been imported into the
4363
+ # target table. The values are NONE, GZIP, or ZSTD.
4364
+ # @return [String]
4365
+ #
4366
+ # @!attribute [rw] table_creation_parameters
4367
+ # The parameters for the new table that is being imported into.
4368
+ # @return [Types::TableCreationParameters]
4369
+ #
4370
+ # @!attribute [rw] start_time
4371
+ # The time when this import task started.
4372
+ # @return [Time]
4373
+ #
4374
+ # @!attribute [rw] end_time
4375
+ # The time at which the creation of the table associated with this
4376
+ # import task completed.
4377
+ # @return [Time]
4378
+ #
4379
+ # @!attribute [rw] processed_size_bytes
4380
+ # The total size of data processed from the source file, in Bytes.
4381
+ # @return [Integer]
4382
+ #
4383
+ # @!attribute [rw] processed_item_count
4384
+ # The total number of items processed from the source file.
4385
+ # @return [Integer]
4386
+ #
4387
+ # @!attribute [rw] imported_item_count
4388
+ # The number of items successfully imported into the new table.
4389
+ # @return [Integer]
4390
+ #
4391
+ # @!attribute [rw] failure_code
4392
+ # The error code corresponding to the failure that the import job ran
4393
+ # into during execution.
4394
+ # @return [String]
4395
+ #
4396
+ # @!attribute [rw] failure_message
4397
+ # The error message corresponding to the failure that the import job
4398
+ # ran into during execution.
4399
+ # @return [String]
4400
+ #
4401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableDescription AWS API Documentation
4402
+ #
4403
+ class ImportTableDescription < Struct.new(
4404
+ :import_arn,
4405
+ :import_status,
4406
+ :table_arn,
4407
+ :table_id,
4408
+ :client_token,
4409
+ :s3_bucket_source,
4410
+ :error_count,
4411
+ :cloud_watch_log_group_arn,
4412
+ :input_format,
4413
+ :input_format_options,
4414
+ :input_compression_type,
4415
+ :table_creation_parameters,
4416
+ :start_time,
4417
+ :end_time,
4418
+ :processed_size_bytes,
4419
+ :processed_item_count,
4420
+ :imported_item_count,
4421
+ :failure_code,
4422
+ :failure_message)
4423
+ SENSITIVE = []
4424
+ include Aws::Structure
4425
+ end
4426
+
4427
+ # @!attribute [rw] client_token
4428
+ # Providing a `ClientToken` makes the call to `ImportTableInput`
4429
+ # idempotent, meaning that multiple identical calls have the same
4430
+ # effect as one single call.
4431
+ #
4432
+ # A client token is valid for 8 hours after the first request that
4433
+ # uses it is completed. After 8 hours, any request with the same
4434
+ # client token is treated as a new request. Do not resubmit the same
4435
+ # request with the same client token for more than 8 hours, or the
4436
+ # result might not be idempotent.
4437
+ #
4438
+ # If you submit a request with the same client token but a change in
4439
+ # other parameters within the 8-hour idempotency window, DynamoDB
4440
+ # returns an `IdempotentParameterMismatch` exception.
4441
+ #
4442
+ # **A suitable default value is auto-generated.** You should normally
4443
+ # not need to pass this option.
4444
+ # @return [String]
4445
+ #
4446
+ # @!attribute [rw] s3_bucket_source
4447
+ # The S3 bucket that provides the source for the import.
4448
+ # @return [Types::S3BucketSource]
4449
+ #
4450
+ # @!attribute [rw] input_format
4451
+ # The format of the source data. Valid values for `ImportFormat` are
4452
+ # `CSV`, `DYNAMODB_JSON` or `ION`.
4453
+ # @return [String]
4454
+ #
4455
+ # @!attribute [rw] input_format_options
4456
+ # Additional properties that specify how the input is formatted,
4457
+ # @return [Types::InputFormatOptions]
4458
+ #
4459
+ # @!attribute [rw] input_compression_type
4460
+ # Type of compression to be used on the input coming from the imported
4461
+ # table.
4462
+ # @return [String]
4463
+ #
4464
+ # @!attribute [rw] table_creation_parameters
4465
+ # Parameters for the table to import the data into.
4466
+ # @return [Types::TableCreationParameters]
4467
+ #
4468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableInput AWS API Documentation
4469
+ #
4470
+ class ImportTableInput < Struct.new(
4471
+ :client_token,
4472
+ :s3_bucket_source,
4473
+ :input_format,
4474
+ :input_format_options,
4475
+ :input_compression_type,
4476
+ :table_creation_parameters)
4477
+ SENSITIVE = []
4478
+ include Aws::Structure
4479
+ end
4480
+
4481
+ # @!attribute [rw] import_table_description
4482
+ # Represents the properties of the table created for the import, and
4483
+ # parameters of the import. The import parameters include import
4484
+ # status, how many items were processed, and how many errors were
4485
+ # encountered.
4486
+ # @return [Types::ImportTableDescription]
4487
+ #
4488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableOutput AWS API Documentation
4489
+ #
4490
+ class ImportTableOutput < Struct.new(
4491
+ :import_table_description)
4492
+ SENSITIVE = []
4493
+ include Aws::Structure
4494
+ end
4495
+
4815
4496
  # The operation tried to access a nonexistent index.
4816
4497
  #
4817
4498
  # @!attribute [rw] message
@@ -4825,6 +4506,22 @@ module Aws::DynamoDB
4825
4506
  include Aws::Structure
4826
4507
  end
4827
4508
 
4509
+ # The format options for the data that was imported into the target
4510
+ # table. There is one value, CsvOption.
4511
+ #
4512
+ # @!attribute [rw] csv
4513
+ # The options for imported source files in CSV format. The values are
4514
+ # Delimiter and HeaderList.
4515
+ # @return [Types::CsvOptions]
4516
+ #
4517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InputFormatOptions AWS API Documentation
4518
+ #
4519
+ class InputFormatOptions < Struct.new(
4520
+ :csv)
4521
+ SENSITIVE = []
4522
+ include Aws::Structure
4523
+ end
4524
+
4828
4525
  # An error occurred on the server side.
4829
4526
  #
4830
4527
  # @!attribute [rw] message
@@ -4944,14 +4641,6 @@ module Aws::DynamoDB
4944
4641
  # nested attribute). The data type must be one of String, Number, or
4945
4642
  # Binary. The attribute cannot be nested within a List or a Map.
4946
4643
  #
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
4644
  # @!attribute [rw] attribute_name
4956
4645
  # The name of a key attribute.
4957
4646
  # @return [String]
@@ -4993,23 +4682,6 @@ module Aws::DynamoDB
4993
4682
  # partition key. For a composite primary key, you must provide *both*
4994
4683
  # the partition key and the sort key.
4995
4684
  #
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
4685
  # @!attribute [rw] keys
5014
4686
  # The primary key attribute values that define the items and the
5015
4687
  # attributes associated with the items.
@@ -5138,14 +4810,6 @@ module Aws::DynamoDB
5138
4810
  include Aws::Structure
5139
4811
  end
5140
4812
 
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
4813
  # @!attribute [rw] table_name
5150
4814
  # The name of the DynamoDB table.
5151
4815
  # @return [String]
@@ -5188,17 +4852,20 @@ module Aws::DynamoDB
5188
4852
  # There is no limit to the number of daily on-demand backups that can be
5189
4853
  # taken.
5190
4854
  #
5191
- # Up to 50 simultaneous table operations are allowed per account. These
5192
- # operations include `CreateTable`, `UpdateTable`,
4855
+ # For most purposes, up to 500 simultaneous table operations are allowed
4856
+ # per account. These operations include `CreateTable`, `UpdateTable`,
5193
4857
  # `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and
5194
4858
  # `RestoreTableToPointInTime`.
5195
4859
  #
5196
- # The only exception is when you are creating a table with one or more
5197
- # secondary indexes. You can have up to 25 such requests running at a
5198
- # time; however, if the table or index specifications are complex,
5199
- # DynamoDB might temporarily reduce the number of concurrent operations.
4860
+ # When you are creating a table with one or more secondary indexes, you
4861
+ # can have up to 250 such requests running at a time. However, if the
4862
+ # table or index specifications are complex, then DynamoDB might
4863
+ # temporarily reduce the number of concurrent operations.
5200
4864
  #
5201
- # There is a soft account quota of 256 tables.
4865
+ # When importing into DynamoDB, up to 50 simultaneous import table
4866
+ # operations are allowed per account.
4867
+ #
4868
+ # There is a soft account quota of 2,500 tables.
5202
4869
  #
5203
4870
  # @!attribute [rw] message
5204
4871
  # Too many operations for a given subscriber.
@@ -5212,18 +4879,6 @@ module Aws::DynamoDB
5212
4879
  include Aws::Structure
5213
4880
  end
5214
4881
 
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
4882
  # @!attribute [rw] table_name
5228
4883
  # The backups from the table specified by `TableName` are listed.
5229
4884
  # @return [String]
@@ -5255,7 +4910,8 @@ module Aws::DynamoDB
5255
4910
  #
5256
4911
  # Where `BackupType` can be:
5257
4912
  #
5258
- # * `USER` - On-demand backup created by you.
4913
+ # * `USER` - On-demand backup created by you. (The default setting if
4914
+ # no other backup types are specified.)
5259
4915
  #
5260
4916
  # * `SYSTEM` - On-demand backup automatically created by DynamoDB.
5261
4917
  #
@@ -5303,15 +4959,6 @@ module Aws::DynamoDB
5303
4959
  include Aws::Structure
5304
4960
  end
5305
4961
 
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
4962
  # @!attribute [rw] table_name
5316
4963
  # The name of the table.
5317
4964
  # @return [String]
@@ -5351,15 +4998,6 @@ module Aws::DynamoDB
5351
4998
  include Aws::Structure
5352
4999
  end
5353
5000
 
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
5001
  # @!attribute [rw] table_arn
5364
5002
  # The Amazon Resource Name (ARN) associated with the exported table.
5365
5003
  # @return [String]
@@ -5403,15 +5041,6 @@ module Aws::DynamoDB
5403
5041
  include Aws::Structure
5404
5042
  end
5405
5043
 
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
5044
  # @!attribute [rw] exclusive_start_global_table_name
5416
5045
  # The first global table name that this operation will evaluate.
5417
5046
  # @return [String]
@@ -5458,15 +5087,51 @@ module Aws::DynamoDB
5458
5087
  include Aws::Structure
5459
5088
  end
5460
5089
 
5461
- # Represents the input of a `ListTables` operation.
5090
+ # @!attribute [rw] table_arn
5091
+ # The Amazon Resource Name (ARN) associated with the table that was
5092
+ # imported to.
5093
+ # @return [String]
5462
5094
  #
5463
- # @note When making an API call, you may pass ListTablesInput
5464
- # data as a hash:
5095
+ # @!attribute [rw] page_size
5096
+ # The number of `ImportSummary `objects returned in a single page.
5097
+ # @return [Integer]
5465
5098
  #
5466
- # {
5467
- # exclusive_start_table_name: "TableName",
5468
- # limit: 1,
5469
- # }
5099
+ # @!attribute [rw] next_token
5100
+ # An optional string that, if supplied, must be copied from the output
5101
+ # of a previous call to `ListImports`. When provided in this manner,
5102
+ # the API fetches the next page of results.
5103
+ # @return [String]
5104
+ #
5105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListImportsInput AWS API Documentation
5106
+ #
5107
+ class ListImportsInput < Struct.new(
5108
+ :table_arn,
5109
+ :page_size,
5110
+ :next_token)
5111
+ SENSITIVE = []
5112
+ include Aws::Structure
5113
+ end
5114
+
5115
+ # @!attribute [rw] import_summary_list
5116
+ # A list of `ImportSummary` objects.
5117
+ # @return [Array<Types::ImportSummary>]
5118
+ #
5119
+ # @!attribute [rw] next_token
5120
+ # If this value is returned, there are additional results to be
5121
+ # displayed. To retrieve them, call `ListImports` again, with
5122
+ # `NextToken` set to this value.
5123
+ # @return [String]
5124
+ #
5125
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListImportsOutput AWS API Documentation
5126
+ #
5127
+ class ListImportsOutput < Struct.new(
5128
+ :import_summary_list,
5129
+ :next_token)
5130
+ SENSITIVE = []
5131
+ include Aws::Structure
5132
+ end
5133
+
5134
+ # Represents the input of a `ListTables` operation.
5470
5135
  #
5471
5136
  # @!attribute [rw] exclusive_start_table_name
5472
5137
  # The first table name that this operation will evaluate. Use the
@@ -5518,14 +5183,6 @@ module Aws::DynamoDB
5518
5183
  include Aws::Structure
5519
5184
  end
5520
5185
 
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
5186
  # @!attribute [rw] resource_arn
5530
5187
  # The Amazon DynamoDB resource with tags to be listed. This value is
5531
5188
  # an Amazon Resource Name (ARN).
@@ -5567,23 +5224,6 @@ module Aws::DynamoDB
5567
5224
 
5568
5225
  # Represents the properties of a local secondary index.
5569
5226
  #
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
5227
  # @!attribute [rw] index_name
5588
5228
  # The name of the local secondary index. The name must be unique among
5589
5229
  # all other indexes on this table.
@@ -5737,14 +5377,6 @@ module Aws::DynamoDB
5737
5377
 
5738
5378
  # Represents a PartiQL statment that uses parameters.
5739
5379
  #
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
5380
  # @!attribute [rw] statement
5749
5381
  # A PartiQL statment that uses parameters.
5750
5382
  # @return [String]
@@ -5795,13 +5427,6 @@ module Aws::DynamoDB
5795
5427
 
5796
5428
  # Represents the settings used to enable point in time recovery.
5797
5429
  #
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
5430
  # @!attribute [rw] point_in_time_recovery_enabled
5806
5431
  # Indicates whether point in time recovery is enabled (true) or
5807
5432
  # disabled (false) on the table.
@@ -5832,14 +5457,6 @@ module Aws::DynamoDB
5832
5457
  # an index. These are in addition to the primary key attributes and
5833
5458
  # index key attributes, which are automatically projected.
5834
5459
  #
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
5460
  # @!attribute [rw] projection_type
5844
5461
  # The set of attributes that are projected into the index:
5845
5462
  #
@@ -5859,7 +5476,7 @@ module Aws::DynamoDB
5859
5476
  #
5860
5477
  # For local secondary indexes, the total count of `NonKeyAttributes`
5861
5478
  # summed across all of the local secondary indexes, must not exceed
5862
- # 20. If you project the same attribute into two different indexes,
5479
+ # 100. If you project the same attribute into two different indexes,
5863
5480
  # this counts as two distinct attributes when determining the total.
5864
5481
  # @return [Array<String>]
5865
5482
  #
@@ -5884,14 +5501,6 @@ module Aws::DynamoDB
5884
5501
  #
5885
5502
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
5886
5503
  #
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
5504
  # @!attribute [rw] read_capacity_units
5896
5505
  # The maximum number of strongly consistent reads consumed per second
5897
5506
  # before DynamoDB returns a `ThrottlingException`. For more
@@ -6005,13 +5614,6 @@ module Aws::DynamoDB
6005
5614
  # Replica-specific provisioned throughput settings. If not specified,
6006
5615
  # uses the source table's provisioned throughput settings.
6007
5616
  #
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
5617
  # @!attribute [rw] read_capacity_units
6016
5618
  # Replica-specific read capacity units. If not specified, uses the
6017
5619
  # source table's read capacity settings.
@@ -6027,24 +5629,6 @@ module Aws::DynamoDB
6027
5629
 
6028
5630
  # Represents a request to perform a `PutItem` operation.
6029
5631
  #
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
5632
  # @!attribute [rw] item
6049
5633
  # A map of attribute name to attribute values, representing the
6050
5634
  # primary key of the item to be written by `PutItem`. All of the
@@ -6094,35 +5678,6 @@ module Aws::DynamoDB
6094
5678
 
6095
5679
  # Represents the input of a `PutItem` operation.
6096
5680
  #
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
5681
  # @!attribute [rw] table_name
6127
5682
  # The name of the table to contain the item.
6128
5683
  # @return [String]
@@ -6180,6 +5735,10 @@ module Aws::DynamoDB
6180
5735
  #
6181
5736
  # The values returned are strongly consistent.
6182
5737
  #
5738
+ # There is no additional cost associated with requesting a return
5739
+ # value aside from the small network and processing overhead of
5740
+ # receiving a larger response. No read capacity units are consumed.
5741
+ #
6183
5742
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
6184
5743
  # however, `PutItem` does not recognize any values other than `NONE`
6185
5744
  # or `ALL_OLD`.
@@ -6406,15 +5965,6 @@ module Aws::DynamoDB
6406
5965
 
6407
5966
  # Represents a request to perform a `PutItem` operation on an item.
6408
5967
  #
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
5968
  # @!attribute [rw] item
6419
5969
  # A map of attribute name to attribute values, representing the
6420
5970
  # primary key of an item to be processed by `PutItem`. All of the
@@ -6434,45 +5984,6 @@ module Aws::DynamoDB
6434
5984
 
6435
5985
  # Represents the input of a `Query` operation.
6436
5986
  #
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
5987
  # @!attribute [rw] table_name
6477
5988
  # The name of the table containing the requested items.
6478
5989
  # @return [String]
@@ -6505,8 +6016,9 @@ module Aws::DynamoDB
6505
6016
  # matching items themselves.
6506
6017
  #
6507
6018
  # * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
6508
- # `AttributesToGet`. This return value is equivalent to specifying
6509
- # `AttributesToGet` without specifying any value for `Select`.
6019
+ # `ProjectionExpression`. This return value is equivalent to
6020
+ # specifying `ProjectionExpression` without specifying any value for
6021
+ # `Select`.
6510
6022
  #
6511
6023
  # If you query or scan a local secondary index and request only
6512
6024
  # attributes that are projected into that index, the operation will
@@ -6520,13 +6032,13 @@ module Aws::DynamoDB
6520
6032
  # secondary index queries cannot fetch attributes from the parent
6521
6033
  # table.
6522
6034
  #
6523
- # If neither `Select` nor `AttributesToGet` are specified, DynamoDB
6524
- # defaults to `ALL_ATTRIBUTES` when accessing a table, and
6035
+ # If neither `Select` nor `ProjectionExpression` are specified,
6036
+ # DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a table, and
6525
6037
  # `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
6526
- # both `Select` and `AttributesToGet` together in a single request,
6527
- # unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage
6528
- # is equivalent to specifying `AttributesToGet` without any value for
6529
- # `Select`.)
6038
+ # both `Select` and `ProjectionExpression` together in a single
6039
+ # request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
6040
+ # (This usage is equivalent to specifying `ProjectionExpression`
6041
+ # without any value for `Select`.)
6530
6042
  #
6531
6043
  # <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
6532
6044
  # `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
@@ -6688,7 +6200,7 @@ module Aws::DynamoDB
6688
6200
  #
6689
6201
  #
6690
6202
  #
6691
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
6203
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
6692
6204
  # @return [String]
6693
6205
  #
6694
6206
  # @!attribute [rw] key_condition_expression
@@ -6959,13 +6471,6 @@ module Aws::DynamoDB
6959
6471
 
6960
6472
  # Represents the properties of a replica.
6961
6473
  #
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
6474
  # @!attribute [rw] region_name
6970
6475
  # The Region where the replica needs to be created.
6971
6476
  # @return [String]
@@ -7038,48 +6543,6 @@ module Aws::DynamoDB
7038
6543
  # Represents the auto scaling settings of a replica that will be
7039
6544
  # modified.
7040
6545
  #
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
6546
  # @!attribute [rw] region_name
7084
6547
  # The Region where the replica exists.
7085
6548
  # @return [String]
@@ -7192,16 +6655,6 @@ module Aws::DynamoDB
7192
6655
 
7193
6656
  # Represents the properties of a replica global secondary index.
7194
6657
  #
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
6658
  # @!attribute [rw] index_name
7206
6659
  # The name of the global secondary index.
7207
6660
  # @return [String]
@@ -7232,7 +6685,8 @@ module Aws::DynamoDB
7232
6685
  #
7233
6686
  # * `CREATING` - The index is being created.
7234
6687
  #
7235
- # * `UPDATING` - The index is being updated.
6688
+ # * `UPDATING` - The table/index configuration is being updated. The
6689
+ # table/index remains available for data operations when `UPDATING`
7236
6690
  #
7237
6691
  # * `DELETING` - The index is being deleted.
7238
6692
  #
@@ -7263,28 +6717,6 @@ module Aws::DynamoDB
7263
6717
  # Represents the auto scaling settings of a global secondary index for a
7264
6718
  # replica that will be modified.
7265
6719
  #
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
6720
  # @!attribute [rw] index_name
7289
6721
  # The name of the global secondary index.
7290
6722
  # @return [String]
@@ -7378,29 +6810,6 @@ module Aws::DynamoDB
7378
6810
  # Represents the settings of a global secondary index for a global table
7379
6811
  # that will be modified.
7380
6812
  #
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
6813
  # @!attribute [rw] index_name
7405
6814
  # The name of the global secondary index. The name must be unique
7406
6815
  # among all other indexes on this table.
@@ -7520,51 +6929,6 @@ module Aws::DynamoDB
7520
6929
  # Represents the settings for a global table in a Region that will be
7521
6930
  # modified.
7522
6931
  #
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
6932
  # @!attribute [rw] region_name
7569
6933
  # The Region of the replica to be added.
7570
6934
  # @return [String]
@@ -7615,18 +6979,6 @@ module Aws::DynamoDB
7615
6979
  #
7616
6980
  # * An existing replica to be removed from an existing global table.
7617
6981
  #
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
6982
  # @!attribute [rw] create
7631
6983
  # The parameters required for creating a replica on an existing global
7632
6984
  # table.
@@ -7658,46 +7010,11 @@ module Aws::DynamoDB
7658
7010
  # `DeleteTableReplica` action in the destination Region, deleting the
7659
7011
  # replica and all if its items in the destination Region.
7660
7012
  #
7661
- # @note When making an API call, you may pass ReplicationGroupUpdate
7662
- # data as a hash:
7663
- #
7664
- # {
7665
- # create: {
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
- # }
7013
+ # <note markdown="1"> When you manually remove a table or global table replica, you do not
7014
+ # automatically remove any associated scalable targets, scaling
7015
+ # policies, or CloudWatch alarms.
7016
+ #
7017
+ # </note>
7701
7018
  #
7702
7019
  # @!attribute [rw] create
7703
7020
  # The parameters required for creating a replica for the table.
@@ -7802,58 +7119,6 @@ module Aws::DynamoDB
7802
7119
  include Aws::Structure
7803
7120
  end
7804
7121
 
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
7122
  # @!attribute [rw] target_table_name
7858
7123
  # The name of the new table to which the backup must be restored.
7859
7124
  # @return [String]
@@ -7912,61 +7177,6 @@ module Aws::DynamoDB
7912
7177
  include Aws::Structure
7913
7178
  end
7914
7179
 
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
7180
  # @!attribute [rw] source_table_arn
7971
7181
  # The DynamoDB table that will be restored. This value is an Amazon
7972
7182
  # Resource Name (ARN).
@@ -8043,6 +7253,31 @@ module Aws::DynamoDB
8043
7253
  include Aws::Structure
8044
7254
  end
8045
7255
 
7256
+ # The S3 bucket that is being imported from.
7257
+ #
7258
+ # @!attribute [rw] s3_bucket_owner
7259
+ # The account number of the S3 bucket that is being imported from. If
7260
+ # the bucket is owned by the requester this is optional.
7261
+ # @return [String]
7262
+ #
7263
+ # @!attribute [rw] s3_bucket
7264
+ # The S3 bucket that is being imported from.
7265
+ # @return [String]
7266
+ #
7267
+ # @!attribute [rw] s3_key_prefix
7268
+ # The key prefix shared by all S3 Objects that are being imported.
7269
+ # @return [String]
7270
+ #
7271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/S3BucketSource AWS API Documentation
7272
+ #
7273
+ class S3BucketSource < Struct.new(
7274
+ :s3_bucket_owner,
7275
+ :s3_bucket,
7276
+ :s3_key_prefix)
7277
+ SENSITIVE = []
7278
+ include Aws::Structure
7279
+ end
7280
+
8046
7281
  # The description of the server-side encryption status on the specified
8047
7282
  # table.
8048
7283
  #
@@ -8091,15 +7326,6 @@ module Aws::DynamoDB
8091
7326
 
8092
7327
  # Represents the settings used to enable server-side encryption.
8093
7328
  #
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
7329
  # @!attribute [rw] enabled
8104
7330
  # Indicates whether server-side encryption is done using an Amazon Web
8105
7331
  # Services managed key or an Amazon Web Services owned key. If enabled
@@ -8138,39 +7364,6 @@ module Aws::DynamoDB
8138
7364
 
8139
7365
  # Represents the input of a `Scan` operation.
8140
7366
  #
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
7367
  # @!attribute [rw] table_name
8175
7368
  # The name of the table containing the requested items; or, if you
8176
7369
  # provide `IndexName`, the name of the table to which that index
@@ -8233,8 +7426,9 @@ module Aws::DynamoDB
8233
7426
  # matching items themselves.
8234
7427
  #
8235
7428
  # * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
8236
- # `AttributesToGet`. This return value is equivalent to specifying
8237
- # `AttributesToGet` without specifying any value for `Select`.
7429
+ # `ProjectionExpression`. This return value is equivalent to
7430
+ # specifying `ProjectionExpression` without specifying any value for
7431
+ # `Select`.
8238
7432
  #
8239
7433
  # If you query or scan a local secondary index and request only
8240
7434
  # attributes that are projected into that index, the operation reads
@@ -8248,13 +7442,13 @@ module Aws::DynamoDB
8248
7442
  # secondary index queries cannot fetch attributes from the parent
8249
7443
  # table.
8250
7444
  #
8251
- # If neither `Select` nor `AttributesToGet` are specified, DynamoDB
8252
- # defaults to `ALL_ATTRIBUTES` when accessing a table, and
7445
+ # If neither `Select` nor `ProjectionExpression` are specified,
7446
+ # DynamoDB defaults to `ALL_ATTRIBUTES` when accessing a table, and
8253
7447
  # `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
8254
- # both `Select` and `AttributesToGet` together in a single request,
8255
- # unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage
8256
- # is equivalent to specifying `AttributesToGet` without any value for
8257
- # `Select`.)
7448
+ # both `Select` and `ProjectionExpression` together in a single
7449
+ # request, unless the value for `Select` is `SPECIFIC_ATTRIBUTES`.
7450
+ # (This usage is equivalent to specifying `ProjectionExpression`
7451
+ # without any value for `Select`.)
8258
7452
  #
8259
7453
  # <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
8260
7454
  # `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
@@ -8385,7 +7579,7 @@ module Aws::DynamoDB
8385
7579
  #
8386
7580
  #
8387
7581
  #
8388
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
7582
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
8389
7583
  # @return [String]
8390
7584
  #
8391
7585
  # @!attribute [rw] expression_attribute_names
@@ -8691,14 +7885,6 @@ module Aws::DynamoDB
8691
7885
 
8692
7886
  # Represents the DynamoDB Streams configuration for a table in DynamoDB.
8693
7887
  #
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
7888
  # @!attribute [rw] stream_enabled
8703
7889
  # Indicates whether DynamoDB Streams is enabled (true) or disabled
8704
7890
  # (false) on the table.
@@ -8796,6 +7982,63 @@ module Aws::DynamoDB
8796
7982
  include Aws::Structure
8797
7983
  end
8798
7984
 
7985
+ # The parameters for the table created as part of the import operation.
7986
+ #
7987
+ # @!attribute [rw] table_name
7988
+ # The name of the table created as part of the import operation.
7989
+ # @return [String]
7990
+ #
7991
+ # @!attribute [rw] attribute_definitions
7992
+ # The attributes of the table created as part of the import operation.
7993
+ # @return [Array<Types::AttributeDefinition>]
7994
+ #
7995
+ # @!attribute [rw] key_schema
7996
+ # The primary key and option sort key of the table created as part of
7997
+ # the import operation.
7998
+ # @return [Array<Types::KeySchemaElement>]
7999
+ #
8000
+ # @!attribute [rw] billing_mode
8001
+ # The billing mode for provisioning the table created as part of the
8002
+ # import operation.
8003
+ # @return [String]
8004
+ #
8005
+ # @!attribute [rw] provisioned_throughput
8006
+ # Represents the provisioned throughput settings for a specified table
8007
+ # or index. The settings can be modified using the `UpdateTable`
8008
+ # operation.
8009
+ #
8010
+ # For current minimum and maximum provisioned throughput values, see
8011
+ # [Service, Account, and Table Quotas][1] in the *Amazon DynamoDB
8012
+ # Developer Guide*.
8013
+ #
8014
+ #
8015
+ #
8016
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
8017
+ # @return [Types::ProvisionedThroughput]
8018
+ #
8019
+ # @!attribute [rw] sse_specification
8020
+ # Represents the settings used to enable server-side encryption.
8021
+ # @return [Types::SSESpecification]
8022
+ #
8023
+ # @!attribute [rw] global_secondary_indexes
8024
+ # The Global Secondary Indexes (GSI) of the table to be created as
8025
+ # part of the import operation.
8026
+ # @return [Array<Types::GlobalSecondaryIndex>]
8027
+ #
8028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableCreationParameters AWS API Documentation
8029
+ #
8030
+ class TableCreationParameters < Struct.new(
8031
+ :table_name,
8032
+ :attribute_definitions,
8033
+ :key_schema,
8034
+ :billing_mode,
8035
+ :provisioned_throughput,
8036
+ :sse_specification,
8037
+ :global_secondary_indexes)
8038
+ SENSITIVE = []
8039
+ include Aws::Structure
8040
+ end
8041
+
8799
8042
  # Represents the properties of a table.
8800
8043
  #
8801
8044
  # @!attribute [rw] attribute_definitions
@@ -8850,7 +8093,8 @@ module Aws::DynamoDB
8850
8093
  #
8851
8094
  # * `CREATING` - The table is being created.
8852
8095
  #
8853
- # * `UPDATING` - The table is being updated.
8096
+ # * `UPDATING` - The table/index configuration is being updated. The
8097
+ # table/index remains available for data operations when `UPDATING`.
8854
8098
  #
8855
8099
  # * `DELETING` - The table is being deleted.
8856
8100
  #
@@ -8943,7 +8187,7 @@ module Aws::DynamoDB
8943
8187
  # * `NonKeyAttributes` - A list of one or more non-key attribute
8944
8188
  # names that are projected into the secondary index. The total
8945
8189
  # count of attributes provided in `NonKeyAttributes`, summed
8946
- # across all of the secondary indexes, must not exceed 20. If you
8190
+ # across all of the secondary indexes, must not exceed 100. If you
8947
8191
  # project the same attribute into two different indexes, this
8948
8192
  # counts as two distinct attributes when determining the total.
8949
8193
  #
@@ -9023,7 +8267,7 @@ module Aws::DynamoDB
9023
8267
  # * `NonKeyAttributes` - A list of one or more non-key attribute
9024
8268
  # names that are projected into the secondary index. The total
9025
8269
  # count of attributes provided in `NonKeyAttributes`, summed
9026
- # across all of the secondary indexes, must not exceed 20. If you
8270
+ # across all of the secondary indexes, must not exceed 100. If you
9027
8271
  # project the same attribute into two different indexes, this
9028
8272
  # counts as two distinct attributes when determining the total.
9029
8273
  #
@@ -9133,7 +8377,8 @@ module Aws::DynamoDB
9133
8377
  end
9134
8378
 
9135
8379
  # A source table with the name `TableName` does not currently exist
9136
- # within the subscriber's account.
8380
+ # within the subscriber's account or the subscriber is operating in the
8381
+ # wrong Amazon Web Services Region.
9137
8382
  #
9138
8383
  # @!attribute [rw] message
9139
8384
  # @return [String]
@@ -9162,14 +8407,6 @@ module Aws::DynamoDB
9162
8407
  #
9163
8408
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
9164
8409
  #
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
8410
  # @!attribute [rw] key
9174
8411
  # The key of the tag. Tag keys are case sensitive. Each DynamoDB table
9175
8412
  # can only have up to one tag with the same key. If you try to add an
@@ -9190,19 +8427,6 @@ module Aws::DynamoDB
9190
8427
  include Aws::Structure
9191
8428
  end
9192
8429
 
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
8430
  # @!attribute [rw] resource_arn
9207
8431
  # Identifies the Amazon DynamoDB resource to which tags should be
9208
8432
  # added. This value is an Amazon Resource Name (ARN).
@@ -9244,14 +8468,6 @@ module Aws::DynamoDB
9244
8468
  # Represents the settings used to enable or disable Time to Live (TTL)
9245
8469
  # for the specified table.
9246
8470
  #
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
8471
  # @!attribute [rw] enabled
9256
8472
  # Indicates whether TTL is to be enabled (true) or disabled (false) on
9257
8473
  # the table.
@@ -9273,22 +8489,6 @@ module Aws::DynamoDB
9273
8489
 
9274
8490
  # Specifies an item to be retrieved as part of the transaction.
9275
8491
  #
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
8492
  # @!attribute [rw] get
9293
8493
  # Contains the primary key that identifies the item to get, together
9294
8494
  # with the name of the table that contains the item, and optionally
@@ -9303,29 +8503,8 @@ module Aws::DynamoDB
9303
8503
  include Aws::Structure
9304
8504
  end
9305
8505
 
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
8506
  # @!attribute [rw] transact_items
9328
- # An ordered array of up to 25 `TransactGetItem` objects, each of
8507
+ # An ordered array of up to 100 `TransactGetItem` objects, each of
9329
8508
  # which contains a `Get` structure.
9330
8509
  # @return [Array<Types::TransactGetItem>]
9331
8510
  #
@@ -9353,7 +8532,7 @@ module Aws::DynamoDB
9353
8532
  # @return [Array<Types::ConsumedCapacity>]
9354
8533
  #
9355
8534
  # @!attribute [rw] responses
9356
- # An ordered array of up to 25 `ItemResponse` objects, each of which
8535
+ # An ordered array of up to 100 `ItemResponse` objects, each of which
9357
8536
  # corresponds to the `TransactGetItem` object in the same position in
9358
8537
  # the *TransactItems* array. Each `ItemResponse` object contains a Map
9359
8538
  # of the name-value pairs that are the projected attributes of the
@@ -9377,69 +8556,6 @@ module Aws::DynamoDB
9377
8556
  # A list of requests that can perform update, put, delete, or check
9378
8557
  # operations on multiple items in one or more tables atomically.
9379
8558
  #
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
8559
  # @!attribute [rw] condition_check
9444
8560
  # A request to perform a check item operation.
9445
8561
  # @return [Types::ConditionCheck]
@@ -9467,78 +8583,8 @@ module Aws::DynamoDB
9467
8583
  include Aws::Structure
9468
8584
  end
9469
8585
 
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
8586
  # @!attribute [rw] transact_items
9541
- # An ordered array of up to 25 `TransactWriteItem` objects, each of
8587
+ # An ordered array of up to 100 `TransactWriteItem` objects, each of
9542
8588
  # which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
9543
8589
  # object. These can operate on items in different tables, but the
9544
8590
  # tables must reside in the same Amazon Web Services account and
@@ -9675,7 +8721,7 @@ module Aws::DynamoDB
9675
8721
  # <note markdown="1"> If using Java, DynamoDB lists the cancellation reasons on the
9676
8722
  # `CancellationReasons` property. This property is not set for other
9677
8723
  # languages. Transaction cancellation reasons are ordered in the order
9678
- # of requested items, if an item has no error it will have `NONE` code
8724
+ # of requested items, if an item has no error it will have `None` code
9679
8725
  # and `Null` message.
9680
8726
  #
9681
8727
  # </note>
@@ -9684,7 +8730,7 @@ module Aws::DynamoDB
9684
8730
  #
9685
8731
  # * No Errors:
9686
8732
  #
9687
- # * Code: `NONE`
8733
+ # * Code: `None`
9688
8734
  #
9689
8735
  # * Message: `null`
9690
8736
  #
@@ -9831,14 +8877,6 @@ module Aws::DynamoDB
9831
8877
  include Aws::Structure
9832
8878
  end
9833
8879
 
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
8880
  # @!attribute [rw] resource_arn
9843
8881
  # The DynamoDB resource that the tags will be removed from. This value
9844
8882
  # is an Amazon Resource Name (ARN).
@@ -9860,25 +8898,6 @@ module Aws::DynamoDB
9860
8898
 
9861
8899
  # Represents a request to perform an `UpdateItem` operation.
9862
8900
  #
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
8901
  # @!attribute [rw] key
9883
8902
  # The primary key of the item to be updated. Each element consists of
9884
8903
  # an attribute name and a value for that attribute.
@@ -9928,16 +8947,6 @@ module Aws::DynamoDB
9928
8947
  include Aws::Structure
9929
8948
  end
9930
8949
 
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
8950
  # @!attribute [rw] table_name
9942
8951
  # The name of the table.
9943
8952
  # @return [String]
@@ -9968,15 +8977,6 @@ module Aws::DynamoDB
9968
8977
  include Aws::Structure
9969
8978
  end
9970
8979
 
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
8980
  # @!attribute [rw] table_name
9981
8981
  # The name of the table.
9982
8982
  # @return [String]
@@ -10024,17 +9024,6 @@ module Aws::DynamoDB
10024
9024
  # Represents the new provisioned throughput settings to be applied to a
10025
9025
  # global secondary index.
10026
9026
  #
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
9027
  # @!attribute [rw] index_name
10039
9028
  # The name of the global secondary index to be updated.
10040
9029
  # @return [String]
@@ -10061,23 +9050,6 @@ module Aws::DynamoDB
10061
9050
  include Aws::Structure
10062
9051
  end
10063
9052
 
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
9053
  # @!attribute [rw] global_table_name
10082
9054
  # The global table name.
10083
9055
  # @return [String]
@@ -10108,94 +9080,6 @@ module Aws::DynamoDB
10108
9080
  include Aws::Structure
10109
9081
  end
10110
9082
 
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
9083
  # @!attribute [rw] global_table_name
10200
9084
  # The name of the global table
10201
9085
  # @return [String]
@@ -10271,42 +9155,6 @@ module Aws::DynamoDB
10271
9155
 
10272
9156
  # Represents the input of an `UpdateItem` operation.
10273
9157
  #
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
9158
  # @!attribute [rw] table_name
10311
9159
  # The name of the table containing the item to update.
10312
9160
  # @return [String]
@@ -10688,26 +9536,6 @@ module Aws::DynamoDB
10688
9536
 
10689
9537
  # Represents a replica to be modified.
10690
9538
  #
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
9539
  # @!attribute [rw] region_name
10712
9540
  # The Region where the replica exists.
10713
9541
  # @return [String]
@@ -10748,104 +9576,6 @@ module Aws::DynamoDB
10748
9576
 
10749
9577
  # Represents the input of an `UpdateTable` operation.
10750
9578
  #
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
9579
  # @!attribute [rw] attribute_definitions
10850
9580
  # An array of attributes that describe the key schema for the table
10851
9581
  # and indexes. If you are adding a new global secondary index to the
@@ -10969,88 +9699,6 @@ module Aws::DynamoDB
10969
9699
  include Aws::Structure
10970
9700
  end
10971
9701
 
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
9702
  # @!attribute [rw] global_secondary_index_updates
11055
9703
  # Represents the auto scaling settings of the global secondary indexes
11056
9704
  # of the replica to be updated.
@@ -11096,17 +9744,6 @@ module Aws::DynamoDB
11096
9744
 
11097
9745
  # Represents the input of an `UpdateTimeToLive` operation.
11098
9746
  #
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
9747
  # @!attribute [rw] table_name
11111
9748
  # The name of the table to be configured.
11112
9749
  # @return [String]
@@ -11142,22 +9779,6 @@ module Aws::DynamoDB
11142
9779
  # `WriteRequest`. If you do need to perform both of these operations,
11143
9780
  # you need to provide two separate `WriteRequest` objects.
11144
9781
  #
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
9782
  # @!attribute [rw] put_request
11162
9783
  # A request to perform a `PutItem` operation.
11163
9784
  # @return [Types::PutRequest]