aws-sdk-dynamodb 1.60.0 → 1.80.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.
@@ -22,7 +22,7 @@ module Aws::DynamoDB
22
22
  # value is:
23
23
  #
24
24
  # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The table was archived due
25
- # to the table's AWS KMS key being inaccessible for more than seven
25
+ # to the table's KMS key being inaccessible for more than seven
26
26
  # days. An On-Demand backup was created at the archival time.
27
27
  #
28
28
  # ^
@@ -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
@@ -625,7 +550,7 @@ module Aws::DynamoDB
625
550
  # you to restore the deleted table to the state it was in just
626
551
  # before the point of deletion.
627
552
  #
628
- # * `AWS_BACKUP` - On-demand backup created by you from AWS Backup
553
+ # * `AWS_BACKUP` - On-demand backup created by you from Backup
629
554
  # service.
630
555
  # @return [String]
631
556
  #
@@ -731,7 +656,7 @@ module Aws::DynamoDB
731
656
  # you to restore the deleted table to the state it was in just
732
657
  # before the point of deletion.
733
658
  #
734
- # * `AWS_BACKUP` - On-demand backup created by you from AWS Backup
659
+ # * `AWS_BACKUP` - On-demand backup created by you from Backup
735
660
  # service.
736
661
  # @return [String]
737
662
  #
@@ -756,27 +681,35 @@ 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
- # }
771
- #
772
684
  # @!attribute [rw] statements
773
685
  # The list of PartiQL statements representing the batch to run.
774
686
  # @return [Array<Types::BatchStatementRequest>]
775
687
  #
688
+ # @!attribute [rw] return_consumed_capacity
689
+ # Determines the level of detail about either provisioned or on-demand
690
+ # throughput consumption that is returned in the response:
691
+ #
692
+ # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
693
+ # for the operation, together with `ConsumedCapacity` for each table
694
+ # and secondary index that was accessed.
695
+ #
696
+ # Note that some operations, such as `GetItem` and `BatchGetItem`,
697
+ # do not access any indexes at all. In these cases, specifying
698
+ # `INDEXES` will only return `ConsumedCapacity` information for
699
+ # table(s).
700
+ #
701
+ # * `TOTAL` - The response includes only the aggregate
702
+ # `ConsumedCapacity` for the operation.
703
+ #
704
+ # * `NONE` - No `ConsumedCapacity` details are included in the
705
+ # response.
706
+ # @return [String]
707
+ #
776
708
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementInput AWS API Documentation
777
709
  #
778
710
  class BatchExecuteStatementInput < Struct.new(
779
- :statements)
711
+ :statements,
712
+ :return_consumed_capacity)
780
713
  SENSITIVE = []
781
714
  include Aws::Structure
782
715
  end
@@ -785,38 +718,22 @@ module Aws::DynamoDB
785
718
  # The response to each PartiQL statement in the batch.
786
719
  # @return [Array<Types::BatchStatementResponse>]
787
720
  #
721
+ # @!attribute [rw] consumed_capacity
722
+ # The capacity units consumed by the entire operation. The values of
723
+ # the list are ordered according to the ordering of the statements.
724
+ # @return [Array<Types::ConsumedCapacity>]
725
+ #
788
726
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatementOutput AWS API Documentation
789
727
  #
790
728
  class BatchExecuteStatementOutput < Struct.new(
791
- :responses)
729
+ :responses,
730
+ :consumed_capacity)
792
731
  SENSITIVE = []
793
732
  include Aws::Structure
794
733
  end
795
734
 
796
735
  # Represents the input of a `BatchGetItem` operation.
797
736
  #
798
- # @note When making an API call, you may pass BatchGetItemInput
799
- # data as a hash:
800
- #
801
- # {
802
- # request_items: { # required
803
- # "TableName" => {
804
- # keys: [ # required
805
- # {
806
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
807
- # },
808
- # ],
809
- # attributes_to_get: ["AttributeName"],
810
- # consistent_read: false,
811
- # projection_expression: "ProjectionExpression",
812
- # expression_attribute_names: {
813
- # "ExpressionAttributeNameVariable" => "AttributeName",
814
- # },
815
- # },
816
- # },
817
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
818
- # }
819
- #
820
737
  # @!attribute [rw] request_items
821
738
  # A map of one or more table names and, for each table, a map that
822
739
  # describes one or more items to retrieve from that table. Each table
@@ -908,8 +825,8 @@ module Aws::DynamoDB
908
825
  # @return [Hash<String,Types::KeysAndAttributes>]
909
826
  #
910
827
  # @!attribute [rw] return_consumed_capacity
911
- # Determines the level of detail about provisioned throughput
912
- # consumption that is returned in the response:
828
+ # Determines the level of detail about either provisioned or on-demand
829
+ # throughput consumption that is returned in the response:
913
830
  #
914
831
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
915
832
  # for the operation, together with `ConsumedCapacity` for each table
@@ -997,7 +914,7 @@ module Aws::DynamoDB
997
914
  # @return [String]
998
915
  #
999
916
  # @!attribute [rw] message
1000
- # The error message associated with the PartiQL batch resposne.
917
+ # The error message associated with the PartiQL batch response.
1001
918
  # @return [String]
1002
919
  #
1003
920
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchStatementError AWS API Documentation
@@ -1011,15 +928,6 @@ module Aws::DynamoDB
1011
928
 
1012
929
  # A PartiQL batch statement request.
1013
930
  #
1014
- # @note When making an API call, you may pass BatchStatementRequest
1015
- # data as a hash:
1016
- #
1017
- # {
1018
- # statement: "PartiQLStatement", # required
1019
- # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1020
- # consistent_read: false,
1021
- # }
1022
- #
1023
931
  # @!attribute [rw] statement
1024
932
  # A valid PartiQL statement.
1025
933
  # @return [String]
@@ -1069,30 +977,6 @@ module Aws::DynamoDB
1069
977
 
1070
978
  # Represents the input of a `BatchWriteItem` operation.
1071
979
  #
1072
- # @note When making an API call, you may pass BatchWriteItemInput
1073
- # data as a hash:
1074
- #
1075
- # {
1076
- # request_items: { # required
1077
- # "TableName" => [
1078
- # {
1079
- # put_request: {
1080
- # item: { # required
1081
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1082
- # },
1083
- # },
1084
- # delete_request: {
1085
- # key: { # required
1086
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1087
- # },
1088
- # },
1089
- # },
1090
- # ],
1091
- # },
1092
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
1093
- # return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
1094
- # }
1095
- #
1096
980
  # @!attribute [rw] request_items
1097
981
  # A map of one or more table names and, for each table, a list of
1098
982
  # operations to be performed (`DeleteRequest` or `PutRequest`). Each
@@ -1128,8 +1012,8 @@ module Aws::DynamoDB
1128
1012
  # @return [Hash<String,Array<Types::WriteRequest>>]
1129
1013
  #
1130
1014
  # @!attribute [rw] return_consumed_capacity
1131
- # Determines the level of detail about provisioned throughput
1132
- # consumption that is returned in the response:
1015
+ # Determines the level of detail about either provisioned or on-demand
1016
+ # throughput consumption that is returned in the response:
1133
1017
  #
1134
1018
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
1135
1019
  # for the operation, together with `ConsumedCapacity` for each table
@@ -1171,7 +1055,7 @@ module Aws::DynamoDB
1171
1055
  # A map of tables and requests against those tables that were not
1172
1056
  # processed. The `UnprocessedItems` value is in the same form as
1173
1057
  # `RequestItems`, so you can provide this value directly to a
1174
- # subsequent `BatchGetItem` operation. For more information, see
1058
+ # subsequent `BatchWriteItem` operation. For more information, see
1175
1059
  # `RequestItems` in the Request Parameters section.
1176
1060
  #
1177
1061
  # Each `UnprocessedItems` entry consists of a table name and, for that
@@ -1250,7 +1134,18 @@ module Aws::DynamoDB
1250
1134
  include Aws::Structure
1251
1135
  end
1252
1136
 
1253
- # 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
1254
1149
  #
1255
1150
  # @!attribute [rw] billing_mode
1256
1151
  # Controls how you are charged for read and write throughput and how
@@ -1349,14 +1244,6 @@ module Aws::DynamoDB
1349
1244
  # * For a `Scan` operation, `Condition` is used in a `ScanFilter`, which
1350
1245
  # evaluates the scan results and returns only the desired values.
1351
1246
  #
1352
- # @note When making an API call, you may pass Condition
1353
- # data as a hash:
1354
- #
1355
- # {
1356
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1357
- # comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
1358
- # }
1359
- #
1360
1247
  # @!attribute [rw] attribute_value_list
1361
1248
  # One or more values to evaluate against the supplied attribute. The
1362
1249
  # number of values in the list depends on the `ComparisonOperator`
@@ -1564,24 +1451,6 @@ module Aws::DynamoDB
1564
1451
  # Represents a request to perform a check that an item exists or to
1565
1452
  # check the condition of specific attributes of the item.
1566
1453
  #
1567
- # @note When making an API call, you may pass ConditionCheck
1568
- # data as a hash:
1569
- #
1570
- # {
1571
- # key: { # required
1572
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1573
- # },
1574
- # table_name: "TableName", # required
1575
- # condition_expression: "ConditionExpression", # required
1576
- # expression_attribute_names: {
1577
- # "ExpressionAttributeNameVariable" => "AttributeName",
1578
- # },
1579
- # expression_attribute_values: {
1580
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
1581
- # },
1582
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
1583
- # }
1584
- #
1585
1454
  # @!attribute [rw] key
1586
1455
  # The primary key of the item to be checked. Each element consists of
1587
1456
  # an attribute name and a value for that attribute.
@@ -1755,14 +1624,6 @@ module Aws::DynamoDB
1755
1624
  include Aws::Structure
1756
1625
  end
1757
1626
 
1758
- # @note When making an API call, you may pass CreateBackupInput
1759
- # data as a hash:
1760
- #
1761
- # {
1762
- # table_name: "TableName", # required
1763
- # backup_name: "BackupName", # required
1764
- # }
1765
- #
1766
1627
  # @!attribute [rw] table_name
1767
1628
  # The name of the table.
1768
1629
  # @return [String]
@@ -1795,27 +1656,6 @@ module Aws::DynamoDB
1795
1656
  # Represents a new global secondary index to be added to an existing
1796
1657
  # table.
1797
1658
  #
1798
- # @note When making an API call, you may pass CreateGlobalSecondaryIndexAction
1799
- # data as a hash:
1800
- #
1801
- # {
1802
- # index_name: "IndexName", # required
1803
- # key_schema: [ # required
1804
- # {
1805
- # attribute_name: "KeySchemaAttributeName", # required
1806
- # key_type: "HASH", # required, accepts HASH, RANGE
1807
- # },
1808
- # ],
1809
- # projection: { # required
1810
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
1811
- # non_key_attributes: ["NonKeyAttributeName"],
1812
- # },
1813
- # provisioned_throughput: {
1814
- # read_capacity_units: 1, # required
1815
- # write_capacity_units: 1, # required
1816
- # },
1817
- # }
1818
- #
1819
1659
  # @!attribute [rw] index_name
1820
1660
  # The name of the global secondary index to be created.
1821
1661
  # @return [String]
@@ -1854,18 +1694,6 @@ module Aws::DynamoDB
1854
1694
  include Aws::Structure
1855
1695
  end
1856
1696
 
1857
- # @note When making an API call, you may pass CreateGlobalTableInput
1858
- # data as a hash:
1859
- #
1860
- # {
1861
- # global_table_name: "TableName", # required
1862
- # replication_group: [ # required
1863
- # {
1864
- # region_name: "RegionName",
1865
- # },
1866
- # ],
1867
- # }
1868
- #
1869
1697
  # @!attribute [rw] global_table_name
1870
1698
  # The global table name.
1871
1699
  # @return [String]
@@ -1897,13 +1725,6 @@ module Aws::DynamoDB
1897
1725
 
1898
1726
  # Represents a replica to be added.
1899
1727
  #
1900
- # @note When making an API call, you may pass CreateReplicaAction
1901
- # data as a hash:
1902
- #
1903
- # {
1904
- # region_name: "RegionName", # required
1905
- # }
1906
- #
1907
1728
  # @!attribute [rw] region_name
1908
1729
  # The Region of the replica to be added.
1909
1730
  # @return [String]
@@ -1918,35 +1739,16 @@ module Aws::DynamoDB
1918
1739
 
1919
1740
  # Represents a replica to be created.
1920
1741
  #
1921
- # @note When making an API call, you may pass CreateReplicationGroupMemberAction
1922
- # data as a hash:
1923
- #
1924
- # {
1925
- # region_name: "RegionName", # required
1926
- # kms_master_key_id: "KMSMasterKeyId",
1927
- # provisioned_throughput_override: {
1928
- # read_capacity_units: 1,
1929
- # },
1930
- # global_secondary_indexes: [
1931
- # {
1932
- # index_name: "IndexName", # required
1933
- # provisioned_throughput_override: {
1934
- # read_capacity_units: 1,
1935
- # },
1936
- # },
1937
- # ],
1938
- # }
1939
- #
1940
1742
  # @!attribute [rw] region_name
1941
1743
  # The Region where the new replica will be created.
1942
1744
  # @return [String]
1943
1745
  #
1944
1746
  # @!attribute [rw] kms_master_key_id
1945
- # The AWS KMS customer master key (CMK) that should be used for AWS
1946
- # KMS encryption in the new replica. To specify a CMK, use its key ID,
1947
- # Amazon Resource Name (ARN), alias name, or alias ARN. Note that you
1948
- # should only provide this parameter if the key is different from the
1949
- # default DynamoDB KMS master key alias/aws/dynamodb.
1747
+ # The KMS key that should be used for KMS encryption in the new
1748
+ # replica. To specify a key, use its key ID, Amazon Resource Name
1749
+ # (ARN), alias name, or alias ARN. Note that you should only provide
1750
+ # this parameter if the key is different from the default DynamoDB KMS
1751
+ # key `alias/aws/dynamodb`.
1950
1752
  # @return [String]
1951
1753
  #
1952
1754
  # @!attribute [rw] provisioned_throughput_override
@@ -1958,92 +1760,25 @@ module Aws::DynamoDB
1958
1760
  # Replica-specific global secondary index settings.
1959
1761
  # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
1960
1762
  #
1763
+ # @!attribute [rw] table_class_override
1764
+ # Replica-specific table class. If not specified, uses the source
1765
+ # table's table class.
1766
+ # @return [String]
1767
+ #
1961
1768
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateReplicationGroupMemberAction AWS API Documentation
1962
1769
  #
1963
1770
  class CreateReplicationGroupMemberAction < Struct.new(
1964
1771
  :region_name,
1965
1772
  :kms_master_key_id,
1966
1773
  :provisioned_throughput_override,
1967
- :global_secondary_indexes)
1774
+ :global_secondary_indexes,
1775
+ :table_class_override)
1968
1776
  SENSITIVE = []
1969
1777
  include Aws::Structure
1970
1778
  end
1971
1779
 
1972
1780
  # Represents the input of a `CreateTable` operation.
1973
1781
  #
1974
- # @note When making an API call, you may pass CreateTableInput
1975
- # data as a hash:
1976
- #
1977
- # {
1978
- # attribute_definitions: [ # required
1979
- # {
1980
- # attribute_name: "KeySchemaAttributeName", # required
1981
- # attribute_type: "S", # required, accepts S, N, B
1982
- # },
1983
- # ],
1984
- # table_name: "TableName", # required
1985
- # key_schema: [ # required
1986
- # {
1987
- # attribute_name: "KeySchemaAttributeName", # required
1988
- # key_type: "HASH", # required, accepts HASH, RANGE
1989
- # },
1990
- # ],
1991
- # local_secondary_indexes: [
1992
- # {
1993
- # index_name: "IndexName", # required
1994
- # key_schema: [ # required
1995
- # {
1996
- # attribute_name: "KeySchemaAttributeName", # required
1997
- # key_type: "HASH", # required, accepts HASH, RANGE
1998
- # },
1999
- # ],
2000
- # projection: { # required
2001
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
2002
- # non_key_attributes: ["NonKeyAttributeName"],
2003
- # },
2004
- # },
2005
- # ],
2006
- # global_secondary_indexes: [
2007
- # {
2008
- # index_name: "IndexName", # required
2009
- # key_schema: [ # required
2010
- # {
2011
- # attribute_name: "KeySchemaAttributeName", # required
2012
- # key_type: "HASH", # required, accepts HASH, RANGE
2013
- # },
2014
- # ],
2015
- # projection: { # required
2016
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
2017
- # non_key_attributes: ["NonKeyAttributeName"],
2018
- # },
2019
- # provisioned_throughput: {
2020
- # read_capacity_units: 1, # required
2021
- # write_capacity_units: 1, # required
2022
- # },
2023
- # },
2024
- # ],
2025
- # billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
2026
- # provisioned_throughput: {
2027
- # read_capacity_units: 1, # required
2028
- # write_capacity_units: 1, # required
2029
- # },
2030
- # stream_specification: {
2031
- # stream_enabled: false, # required
2032
- # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
2033
- # },
2034
- # sse_specification: {
2035
- # enabled: false,
2036
- # sse_type: "AES256", # accepts AES256, KMS
2037
- # kms_master_key_id: "KMSMasterKeyId",
2038
- # },
2039
- # tags: [
2040
- # {
2041
- # key: "TagKeyString", # required
2042
- # value: "TagValueString", # required
2043
- # },
2044
- # ],
2045
- # }
2046
- #
2047
1782
  # @!attribute [rw] attribute_definitions
2048
1783
  # An array of attributes that describe the key schema for the table
2049
1784
  # and indexes.
@@ -2257,6 +1992,11 @@ module Aws::DynamoDB
2257
1992
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
2258
1993
  # @return [Array<Types::Tag>]
2259
1994
  #
1995
+ # @!attribute [rw] table_class
1996
+ # The table class of the new table. Valid values are `STANDARD` and
1997
+ # `STANDARD_INFREQUENT_ACCESS`.
1998
+ # @return [String]
1999
+ #
2260
2000
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTableInput AWS API Documentation
2261
2001
  #
2262
2002
  class CreateTableInput < Struct.new(
@@ -2269,7 +2009,8 @@ module Aws::DynamoDB
2269
2009
  :provisioned_throughput,
2270
2010
  :stream_specification,
2271
2011
  :sse_specification,
2272
- :tags)
2012
+ :tags,
2013
+ :table_class)
2273
2014
  SENSITIVE = []
2274
2015
  include Aws::Structure
2275
2016
  end
@@ -2288,25 +2029,31 @@ module Aws::DynamoDB
2288
2029
  include Aws::Structure
2289
2030
  end
2290
2031
 
2291
- # Represents a request to perform a `DeleteItem` operation.
2032
+ # Processing options for the CSV file being imported.
2292
2033
  #
2293
- # @note When making an API call, you may pass Delete
2294
- # data as a hash:
2295
- #
2296
- # {
2297
- # key: { # required
2298
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2299
- # },
2300
- # table_name: "TableName", # required
2301
- # condition_expression: "ConditionExpression",
2302
- # expression_attribute_names: {
2303
- # "ExpressionAttributeNameVariable" => "AttributeName",
2304
- # },
2305
- # expression_attribute_values: {
2306
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2307
- # },
2308
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
2309
- # }
2034
+ # @!attribute [rw] delimiter
2035
+ # The delimiter used for separating items in the CSV file being
2036
+ # imported.
2037
+ # @return [String]
2038
+ #
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.
2310
2057
  #
2311
2058
  # @!attribute [rw] key
2312
2059
  # The primary key of the item to be deleted. Each element consists of
@@ -2351,13 +2098,6 @@ module Aws::DynamoDB
2351
2098
  include Aws::Structure
2352
2099
  end
2353
2100
 
2354
- # @note When making an API call, you may pass DeleteBackupInput
2355
- # data as a hash:
2356
- #
2357
- # {
2358
- # backup_arn: "BackupArn", # required
2359
- # }
2360
- #
2361
2101
  # @!attribute [rw] backup_arn
2362
2102
  # The ARN associated with the backup.
2363
2103
  # @return [String]
@@ -2385,13 +2125,6 @@ module Aws::DynamoDB
2385
2125
  # Represents a global secondary index to be deleted from an existing
2386
2126
  # table.
2387
2127
  #
2388
- # @note When making an API call, you may pass DeleteGlobalSecondaryIndexAction
2389
- # data as a hash:
2390
- #
2391
- # {
2392
- # index_name: "IndexName", # required
2393
- # }
2394
- #
2395
2128
  # @!attribute [rw] index_name
2396
2129
  # The name of the global secondary index to be deleted.
2397
2130
  # @return [String]
@@ -2406,35 +2139,6 @@ module Aws::DynamoDB
2406
2139
 
2407
2140
  # Represents the input of a `DeleteItem` operation.
2408
2141
  #
2409
- # @note When making an API call, you may pass DeleteItemInput
2410
- # data as a hash:
2411
- #
2412
- # {
2413
- # table_name: "TableName", # required
2414
- # key: { # required
2415
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2416
- # },
2417
- # expected: {
2418
- # "AttributeName" => {
2419
- # value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2420
- # exists: false,
2421
- # comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
2422
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2423
- # },
2424
- # },
2425
- # conditional_operator: "AND", # accepts AND, OR
2426
- # return_values: "NONE", # accepts NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW
2427
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
2428
- # return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
2429
- # condition_expression: "ConditionExpression",
2430
- # expression_attribute_names: {
2431
- # "ExpressionAttributeNameVariable" => "AttributeName",
2432
- # },
2433
- # expression_attribute_values: {
2434
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2435
- # },
2436
- # }
2437
- #
2438
2142
  # @!attribute [rw] table_name
2439
2143
  # The name of the table from which to delete the item.
2440
2144
  # @return [String]
@@ -2480,6 +2184,10 @@ module Aws::DynamoDB
2480
2184
  #
2481
2185
  # * `ALL_OLD` - The content of the old item is returned.
2482
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
+ #
2483
2191
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
2484
2192
  # however, `DeleteItem` does not recognize any values other than
2485
2193
  # `NONE` or `ALL_OLD`.
@@ -2488,8 +2196,8 @@ module Aws::DynamoDB
2488
2196
  # @return [String]
2489
2197
  #
2490
2198
  # @!attribute [rw] return_consumed_capacity
2491
- # Determines the level of detail about provisioned throughput
2492
- # consumption that is returned in the response:
2199
+ # Determines the level of detail about either provisioned or on-demand
2200
+ # throughput consumption that is returned in the response:
2493
2201
  #
2494
2202
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
2495
2203
  # for the operation, together with `ConsumedCapacity` for each table
@@ -2696,13 +2404,6 @@ module Aws::DynamoDB
2696
2404
 
2697
2405
  # Represents a replica to be removed.
2698
2406
  #
2699
- # @note When making an API call, you may pass DeleteReplicaAction
2700
- # data as a hash:
2701
- #
2702
- # {
2703
- # region_name: "RegionName", # required
2704
- # }
2705
- #
2706
2407
  # @!attribute [rw] region_name
2707
2408
  # The Region of the replica to be removed.
2708
2409
  # @return [String]
@@ -2717,13 +2418,6 @@ module Aws::DynamoDB
2717
2418
 
2718
2419
  # Represents a replica to be deleted.
2719
2420
  #
2720
- # @note When making an API call, you may pass DeleteReplicationGroupMemberAction
2721
- # data as a hash:
2722
- #
2723
- # {
2724
- # region_name: "RegionName", # required
2725
- # }
2726
- #
2727
2421
  # @!attribute [rw] region_name
2728
2422
  # The Region where the replica exists.
2729
2423
  # @return [String]
@@ -2738,15 +2432,6 @@ module Aws::DynamoDB
2738
2432
 
2739
2433
  # Represents a request to perform a `DeleteItem` operation on an item.
2740
2434
  #
2741
- # @note When making an API call, you may pass DeleteRequest
2742
- # data as a hash:
2743
- #
2744
- # {
2745
- # key: { # required
2746
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
2747
- # },
2748
- # }
2749
- #
2750
2435
  # @!attribute [rw] key
2751
2436
  # A map of attribute name to attribute values, representing the
2752
2437
  # primary key of the item to delete. All of the table's primary key
@@ -2764,13 +2449,6 @@ module Aws::DynamoDB
2764
2449
 
2765
2450
  # Represents the input of a `DeleteTable` operation.
2766
2451
  #
2767
- # @note When making an API call, you may pass DeleteTableInput
2768
- # data as a hash:
2769
- #
2770
- # {
2771
- # table_name: "TableName", # required
2772
- # }
2773
- #
2774
2452
  # @!attribute [rw] table_name
2775
2453
  # The name of the table to delete.
2776
2454
  # @return [String]
@@ -2797,13 +2475,6 @@ module Aws::DynamoDB
2797
2475
  include Aws::Structure
2798
2476
  end
2799
2477
 
2800
- # @note When making an API call, you may pass DescribeBackupInput
2801
- # data as a hash:
2802
- #
2803
- # {
2804
- # backup_arn: "BackupArn", # required
2805
- # }
2806
- #
2807
2478
  # @!attribute [rw] backup_arn
2808
2479
  # The Amazon Resource Name (ARN) associated with the backup.
2809
2480
  # @return [String]
@@ -2828,13 +2499,6 @@ module Aws::DynamoDB
2828
2499
  include Aws::Structure
2829
2500
  end
2830
2501
 
2831
- # @note When making an API call, you may pass DescribeContinuousBackupsInput
2832
- # data as a hash:
2833
- #
2834
- # {
2835
- # table_name: "TableName", # required
2836
- # }
2837
- #
2838
2502
  # @!attribute [rw] table_name
2839
2503
  # Name of the table for which the customer wants to check the
2840
2504
  # continuous backups and point in time recovery settings.
@@ -2861,14 +2525,6 @@ module Aws::DynamoDB
2861
2525
  include Aws::Structure
2862
2526
  end
2863
2527
 
2864
- # @note When making an API call, you may pass DescribeContributorInsightsInput
2865
- # data as a hash:
2866
- #
2867
- # {
2868
- # table_name: "TableName", # required
2869
- # index_name: "IndexName",
2870
- # }
2871
- #
2872
2528
  # @!attribute [rw] table_name
2873
2529
  # The name of the table to describe.
2874
2530
  # @return [String]
@@ -2895,11 +2551,11 @@ module Aws::DynamoDB
2895
2551
  # @return [String]
2896
2552
  #
2897
2553
  # @!attribute [rw] contributor_insights_rule_list
2898
- # List of names of the associated Alpine rules.
2554
+ # List of names of the associated contributor insights rules.
2899
2555
  # @return [Array<String>]
2900
2556
  #
2901
2557
  # @!attribute [rw] contributor_insights_status
2902
- # Current Status contributor insights.
2558
+ # Current status of contributor insights.
2903
2559
  # @return [String]
2904
2560
  #
2905
2561
  # @!attribute [rw] last_update_date_time
@@ -2907,7 +2563,7 @@ module Aws::DynamoDB
2907
2563
  # @return [Time]
2908
2564
  #
2909
2565
  # @!attribute [rw] failure_exception
2910
- # Returns information about the last failure that encountered.
2566
+ # Returns information about the last failure that was encountered.
2911
2567
  #
2912
2568
  # The most common exceptions for a FAILED status are:
2913
2569
  #
@@ -2957,13 +2613,6 @@ module Aws::DynamoDB
2957
2613
  include Aws::Structure
2958
2614
  end
2959
2615
 
2960
- # @note When making an API call, you may pass DescribeExportInput
2961
- # data as a hash:
2962
- #
2963
- # {
2964
- # export_arn: "ExportArn", # required
2965
- # }
2966
- #
2967
2616
  # @!attribute [rw] export_arn
2968
2617
  # The Amazon Resource Name (ARN) associated with the export.
2969
2618
  # @return [String]
@@ -2988,13 +2637,6 @@ module Aws::DynamoDB
2988
2637
  include Aws::Structure
2989
2638
  end
2990
2639
 
2991
- # @note When making an API call, you may pass DescribeGlobalTableInput
2992
- # data as a hash:
2993
- #
2994
- # {
2995
- # global_table_name: "TableName", # required
2996
- # }
2997
- #
2998
2640
  # @!attribute [rw] global_table_name
2999
2641
  # The name of the global table.
3000
2642
  # @return [String]
@@ -3019,13 +2661,6 @@ module Aws::DynamoDB
3019
2661
  include Aws::Structure
3020
2662
  end
3021
2663
 
3022
- # @note When making an API call, you may pass DescribeGlobalTableSettingsInput
3023
- # data as a hash:
3024
- #
3025
- # {
3026
- # global_table_name: "TableName", # required
3027
- # }
3028
- #
3029
2664
  # @!attribute [rw] global_table_name
3030
2665
  # The name of the global table to describe.
3031
2666
  # @return [String]
@@ -3055,13 +2690,34 @@ module Aws::DynamoDB
3055
2690
  include Aws::Structure
3056
2691
  end
3057
2692
 
3058
- # @note When making an API call, you may pass DescribeKinesisStreamingDestinationInput
3059
- # 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]
3060
2712
  #
3061
- # {
3062
- # table_name: "TableName", # required
3063
- # }
2713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeImportOutput AWS API Documentation
3064
2714
  #
2715
+ class DescribeImportOutput < Struct.new(
2716
+ :import_table_description)
2717
+ SENSITIVE = []
2718
+ include Aws::Structure
2719
+ end
2720
+
3065
2721
  # @!attribute [rw] table_name
3066
2722
  # The name of the table being described.
3067
2723
  # @return [String]
@@ -3138,13 +2794,6 @@ module Aws::DynamoDB
3138
2794
 
3139
2795
  # Represents the input of a `DescribeTable` operation.
3140
2796
  #
3141
- # @note When making an API call, you may pass DescribeTableInput
3142
- # data as a hash:
3143
- #
3144
- # {
3145
- # table_name: "TableName", # required
3146
- # }
3147
- #
3148
2797
  # @!attribute [rw] table_name
3149
2798
  # The name of the table to describe.
3150
2799
  # @return [String]
@@ -3171,13 +2820,6 @@ module Aws::DynamoDB
3171
2820
  include Aws::Structure
3172
2821
  end
3173
2822
 
3174
- # @note When making an API call, you may pass DescribeTableReplicaAutoScalingInput
3175
- # data as a hash:
3176
- #
3177
- # {
3178
- # table_name: "TableName", # required
3179
- # }
3180
- #
3181
2823
  # @!attribute [rw] table_name
3182
2824
  # The name of the table.
3183
2825
  # @return [String]
@@ -3202,13 +2844,6 @@ module Aws::DynamoDB
3202
2844
  include Aws::Structure
3203
2845
  end
3204
2846
 
3205
- # @note When making an API call, you may pass DescribeTimeToLiveInput
3206
- # data as a hash:
3207
- #
3208
- # {
3209
- # table_name: "TableName", # required
3210
- # }
3211
- #
3212
2847
  # @!attribute [rw] table_name
3213
2848
  # The name of the table to be described.
3214
2849
  # @return [String]
@@ -3265,16 +2900,6 @@ module Aws::DynamoDB
3265
2900
  include Aws::Structure
3266
2901
  end
3267
2902
 
3268
- # @note When making an API call, you may pass ExecuteStatementInput
3269
- # data as a hash:
3270
- #
3271
- # {
3272
- # statement: "PartiQLStatement", # required
3273
- # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3274
- # consistent_read: false,
3275
- # next_token: "PartiQLNextToken",
3276
- # }
3277
- #
3278
2903
  # @!attribute [rw] statement
3279
2904
  # The PartiQL statement representing the operation to run.
3280
2905
  # @return [String]
@@ -3294,20 +2919,55 @@ module Aws::DynamoDB
3294
2919
  # in the statement response.
3295
2920
  # @return [String]
3296
2921
  #
2922
+ # @!attribute [rw] return_consumed_capacity
2923
+ # Determines the level of detail about either provisioned or on-demand
2924
+ # throughput consumption that is returned in the response:
2925
+ #
2926
+ # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
2927
+ # for the operation, together with `ConsumedCapacity` for each table
2928
+ # and secondary index that was accessed.
2929
+ #
2930
+ # Note that some operations, such as `GetItem` and `BatchGetItem`,
2931
+ # do not access any indexes at all. In these cases, specifying
2932
+ # `INDEXES` will only return `ConsumedCapacity` information for
2933
+ # table(s).
2934
+ #
2935
+ # * `TOTAL` - The response includes only the aggregate
2936
+ # `ConsumedCapacity` for the operation.
2937
+ #
2938
+ # * `NONE` - No `ConsumedCapacity` details are included in the
2939
+ # response.
2940
+ # @return [String]
2941
+ #
2942
+ # @!attribute [rw] limit
2943
+ # The maximum number of items to evaluate (not necessarily the number
2944
+ # of matching items). If DynamoDB processes the number of items up to
2945
+ # the limit while processing the results, it stops the operation and
2946
+ # returns the matching values up to that point, along with a key in
2947
+ # `LastEvaluatedKey` to apply in a subsequent operation so you can
2948
+ # pick up where you left off. Also, if the processed dataset size
2949
+ # exceeds 1 MB before DynamoDB reaches this limit, it stops the
2950
+ # operation and returns the matching values up to the limit, and a key
2951
+ # in `LastEvaluatedKey` to apply in a subsequent operation to continue
2952
+ # the operation.
2953
+ # @return [Integer]
2954
+ #
3297
2955
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementInput AWS API Documentation
3298
2956
  #
3299
2957
  class ExecuteStatementInput < Struct.new(
3300
2958
  :statement,
3301
2959
  :parameters,
3302
2960
  :consistent_read,
3303
- :next_token)
2961
+ :next_token,
2962
+ :return_consumed_capacity,
2963
+ :limit)
3304
2964
  SENSITIVE = []
3305
2965
  include Aws::Structure
3306
2966
  end
3307
2967
 
3308
2968
  # @!attribute [rw] items
3309
2969
  # If a read operation was used, this property will contain the result
3310
- # of the reade operation; a map of attribute names and their values.
2970
+ # of the read operation; a map of attribute names and their values.
3311
2971
  # For the write operations this value will be empty.
3312
2972
  # @return [Array<Hash<String,Types::AttributeValue>>]
3313
2973
  #
@@ -3318,28 +2978,41 @@ module Aws::DynamoDB
3318
2978
  # results.
3319
2979
  # @return [String]
3320
2980
  #
2981
+ # @!attribute [rw] consumed_capacity
2982
+ # The capacity units consumed by an operation. The data returned
2983
+ # includes the total provisioned throughput consumed, along with
2984
+ # statistics for the table and any indexes involved in the operation.
2985
+ # `ConsumedCapacity` is only returned if the request asked for it. For
2986
+ # more information, see [Provisioned Throughput][1] in the *Amazon
2987
+ # DynamoDB Developer Guide*.
2988
+ #
2989
+ #
2990
+ #
2991
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/ProvisionedThroughputIntro.html
2992
+ # @return [Types::ConsumedCapacity]
2993
+ #
2994
+ # @!attribute [rw] last_evaluated_key
2995
+ # The primary key of the item where the operation stopped, inclusive
2996
+ # of the previous result set. Use this value to start a new operation,
2997
+ # excluding this value in the new request. If `LastEvaluatedKey` is
2998
+ # empty, then the "last page" of results has been processed and
2999
+ # there is no more data to be retrieved. If `LastEvaluatedKey` is not
3000
+ # empty, it does not necessarily mean that there is more data in the
3001
+ # result set. The only way to know when you have reached the end of
3002
+ # the result set is when `LastEvaluatedKey` is empty.
3003
+ # @return [Hash<String,Types::AttributeValue>]
3004
+ #
3321
3005
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatementOutput AWS API Documentation
3322
3006
  #
3323
3007
  class ExecuteStatementOutput < Struct.new(
3324
3008
  :items,
3325
- :next_token)
3009
+ :next_token,
3010
+ :consumed_capacity,
3011
+ :last_evaluated_key)
3326
3012
  SENSITIVE = []
3327
3013
  include Aws::Structure
3328
3014
  end
3329
3015
 
3330
- # @note When making an API call, you may pass ExecuteTransactionInput
3331
- # data as a hash:
3332
- #
3333
- # {
3334
- # transact_statements: [ # required
3335
- # {
3336
- # statement: "PartiQLStatement", # required
3337
- # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3338
- # },
3339
- # ],
3340
- # client_request_token: "ClientRequestToken",
3341
- # }
3342
- #
3343
3016
  # @!attribute [rw] transact_statements
3344
3017
  # The list of PartiQL statements representing the transaction to run.
3345
3018
  # @return [Array<Types::ParameterizedStatement>]
@@ -3352,11 +3025,23 @@ module Aws::DynamoDB
3352
3025
  # not need to pass this option.
3353
3026
  # @return [String]
3354
3027
  #
3028
+ # @!attribute [rw] return_consumed_capacity
3029
+ # Determines the level of detail about either provisioned or on-demand
3030
+ # throughput consumption that is returned in the response. For more
3031
+ # information, see [TransactGetItems][1] and [TransactWriteItems][2].
3032
+ #
3033
+ #
3034
+ #
3035
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html
3036
+ # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html
3037
+ # @return [String]
3038
+ #
3355
3039
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionInput AWS API Documentation
3356
3040
  #
3357
3041
  class ExecuteTransactionInput < Struct.new(
3358
3042
  :transact_statements,
3359
- :client_request_token)
3043
+ :client_request_token,
3044
+ :return_consumed_capacity)
3360
3045
  SENSITIVE = []
3361
3046
  include Aws::Structure
3362
3047
  end
@@ -3365,10 +3050,16 @@ module Aws::DynamoDB
3365
3050
  # The response to a PartiQL transaction.
3366
3051
  # @return [Array<Types::ItemResponse>]
3367
3052
  #
3053
+ # @!attribute [rw] consumed_capacity
3054
+ # The capacity units consumed by the entire operation. The values of
3055
+ # the list are ordered according to the ordering of the statements.
3056
+ # @return [Array<Types::ConsumedCapacity>]
3057
+ #
3368
3058
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransactionOutput AWS API Documentation
3369
3059
  #
3370
3060
  class ExecuteTransactionOutput < Struct.new(
3371
- :responses)
3061
+ :responses,
3062
+ :consumed_capacity)
3372
3063
  SENSITIVE = []
3373
3064
  include Aws::Structure
3374
3065
  end
@@ -3396,16 +3087,6 @@ module Aws::DynamoDB
3396
3087
  # `ComparisonOperator`. Note that if you use both sets of parameters at
3397
3088
  # once, DynamoDB will return a `ValidationException` exception.
3398
3089
  #
3399
- # @note When making an API call, you may pass ExpectedAttributeValue
3400
- # data as a hash:
3401
- #
3402
- # {
3403
- # value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3404
- # exists: false,
3405
- # comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
3406
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3407
- # }
3408
- #
3409
3090
  # @!attribute [rw] value
3410
3091
  # Represents the data for the expected attribute.
3411
3092
  #
@@ -3711,8 +3392,8 @@ module Aws::DynamoDB
3711
3392
  # @return [String]
3712
3393
  #
3713
3394
  # @!attribute [rw] s3_bucket_owner
3714
- # The ID of the AWS account that owns the bucket containing the
3715
- # export.
3395
+ # The ID of the Amazon Web Services account that owns the bucket
3396
+ # containing the export.
3716
3397
  # @return [String]
3717
3398
  #
3718
3399
  # @!attribute [rw] s3_prefix
@@ -3726,12 +3407,12 @@ module Aws::DynamoDB
3726
3407
  #
3727
3408
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3728
3409
  #
3729
- # * `KMS` - server-side encryption with AWS KMS managed keys
3410
+ # * `KMS` - server-side encryption with KMS managed keys
3730
3411
  # @return [String]
3731
3412
  #
3732
3413
  # @!attribute [rw] s3_sse_kms_key_id
3733
- # The ID of the AWS KMS managed key used to encrypt the S3 bucket
3734
- # where export data is stored (if applicable).
3414
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
3415
+ # export data is stored (if applicable).
3735
3416
  # @return [String]
3736
3417
  #
3737
3418
  # @!attribute [rw] failure_code
@@ -3814,28 +3495,14 @@ module Aws::DynamoDB
3814
3495
  include Aws::Structure
3815
3496
  end
3816
3497
 
3817
- # @note When making an API call, you may pass ExportTableToPointInTimeInput
3818
- # data as a hash:
3819
- #
3820
- # {
3821
- # table_arn: "TableArn", # required
3822
- # export_time: Time.now,
3823
- # client_token: "ClientToken",
3824
- # s3_bucket: "S3Bucket", # required
3825
- # s3_bucket_owner: "S3BucketOwner",
3826
- # s3_prefix: "S3Prefix",
3827
- # s3_sse_algorithm: "AES256", # accepts AES256, KMS
3828
- # s3_sse_kms_key_id: "S3SseKmsKeyId",
3829
- # export_format: "DYNAMODB_JSON", # accepts DYNAMODB_JSON, ION
3830
- # }
3831
- #
3832
3498
  # @!attribute [rw] table_arn
3833
3499
  # The Amazon Resource Name (ARN) associated with the table to export.
3834
3500
  # @return [String]
3835
3501
  #
3836
3502
  # @!attribute [rw] export_time
3837
- # Time in the past from which to export table data. The table export
3838
- # 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.
3839
3506
  # @return [Time]
3840
3507
  #
3841
3508
  # @!attribute [rw] client_token
@@ -3851,7 +3518,7 @@ module Aws::DynamoDB
3851
3518
  #
3852
3519
  # If you submit a request with the same client token but a change in
3853
3520
  # other parameters within the 8-hour idempotency window, DynamoDB
3854
- # returns an `IdempotentParameterMismatch` exception.
3521
+ # returns an `ImportConflictException`.
3855
3522
  #
3856
3523
  # **A suitable default value is auto-generated.** You should normally
3857
3524
  # not need to pass this option.
@@ -3862,8 +3529,8 @@ module Aws::DynamoDB
3862
3529
  # @return [String]
3863
3530
  #
3864
3531
  # @!attribute [rw] s3_bucket_owner
3865
- # The ID of the AWS account that owns the bucket the export will be
3866
- # stored in.
3532
+ # The ID of the Amazon Web Services account that owns the bucket the
3533
+ # export will be stored in.
3867
3534
  # @return [String]
3868
3535
  #
3869
3536
  # @!attribute [rw] s3_prefix
@@ -3877,12 +3544,12 @@ module Aws::DynamoDB
3877
3544
  #
3878
3545
  # * `AES256` - server-side encryption with Amazon S3 managed keys
3879
3546
  #
3880
- # * `KMS` - server-side encryption with AWS KMS managed keys
3547
+ # * `KMS` - server-side encryption with KMS managed keys
3881
3548
  # @return [String]
3882
3549
  #
3883
3550
  # @!attribute [rw] s3_sse_kms_key_id
3884
- # The ID of the AWS KMS managed key used to encrypt the S3 bucket
3885
- # where export data will be stored (if applicable).
3551
+ # The ID of the KMS managed key used to encrypt the S3 bucket where
3552
+ # export data will be stored (if applicable).
3886
3553
  # @return [String]
3887
3554
  #
3888
3555
  # @!attribute [rw] export_format
@@ -3940,20 +3607,6 @@ module Aws::DynamoDB
3940
3607
  # Specifies an item and related attribute values to retrieve in a
3941
3608
  # `TransactGetItem` object.
3942
3609
  #
3943
- # @note When making an API call, you may pass Get
3944
- # data as a hash:
3945
- #
3946
- # {
3947
- # key: { # required
3948
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
3949
- # },
3950
- # table_name: "TableName", # required
3951
- # projection_expression: "ProjectionExpression",
3952
- # expression_attribute_names: {
3953
- # "ExpressionAttributeNameVariable" => "AttributeName",
3954
- # },
3955
- # }
3956
- #
3957
3610
  # @!attribute [rw] key
3958
3611
  # A map of attribute names to `AttributeValue` objects that specifies
3959
3612
  # the primary key of the item to retrieve.
@@ -3990,23 +3643,6 @@ module Aws::DynamoDB
3990
3643
 
3991
3644
  # Represents the input of a `GetItem` operation.
3992
3645
  #
3993
- # @note When making an API call, you may pass GetItemInput
3994
- # data as a hash:
3995
- #
3996
- # {
3997
- # table_name: "TableName", # required
3998
- # key: { # required
3999
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
4000
- # },
4001
- # attributes_to_get: ["AttributeName"],
4002
- # consistent_read: false,
4003
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
4004
- # projection_expression: "ProjectionExpression",
4005
- # expression_attribute_names: {
4006
- # "ExpressionAttributeNameVariable" => "AttributeName",
4007
- # },
4008
- # }
4009
- #
4010
3646
  # @!attribute [rw] table_name
4011
3647
  # The name of the table containing the requested item.
4012
3648
  # @return [String]
@@ -4038,8 +3674,8 @@ module Aws::DynamoDB
4038
3674
  # @return [Boolean]
4039
3675
  #
4040
3676
  # @!attribute [rw] return_consumed_capacity
4041
- # Determines the level of detail about provisioned throughput
4042
- # consumption that is returned in the response:
3677
+ # Determines the level of detail about either provisioned or on-demand
3678
+ # throughput consumption that is returned in the response:
4043
3679
  #
4044
3680
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
4045
3681
  # for the operation, together with `ConsumedCapacity` for each table
@@ -4174,27 +3810,6 @@ module Aws::DynamoDB
4174
3810
 
4175
3811
  # Represents the properties of a global secondary index.
4176
3812
  #
4177
- # @note When making an API call, you may pass GlobalSecondaryIndex
4178
- # data as a hash:
4179
- #
4180
- # {
4181
- # index_name: "IndexName", # required
4182
- # key_schema: [ # required
4183
- # {
4184
- # attribute_name: "KeySchemaAttributeName", # required
4185
- # key_type: "HASH", # required, accepts HASH, RANGE
4186
- # },
4187
- # ],
4188
- # projection: { # required
4189
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
4190
- # non_key_attributes: ["NonKeyAttributeName"],
4191
- # },
4192
- # provisioned_throughput: {
4193
- # read_capacity_units: 1, # required
4194
- # write_capacity_units: 1, # required
4195
- # },
4196
- # }
4197
- #
4198
3813
  # @!attribute [rw] index_name
4199
3814
  # The name of the global secondary index. The name must be unique
4200
3815
  # among all other indexes on this table.
@@ -4255,28 +3870,6 @@ module Aws::DynamoDB
4255
3870
  # Represents the auto scaling settings of a global secondary index for a
4256
3871
  # global table that will be modified.
4257
3872
  #
4258
- # @note When making an API call, you may pass GlobalSecondaryIndexAutoScalingUpdate
4259
- # data as a hash:
4260
- #
4261
- # {
4262
- # index_name: "IndexName",
4263
- # provisioned_write_capacity_auto_scaling_update: {
4264
- # minimum_units: 1,
4265
- # maximum_units: 1,
4266
- # auto_scaling_disabled: false,
4267
- # auto_scaling_role_arn: "AutoScalingRoleArn",
4268
- # scaling_policy_update: {
4269
- # policy_name: "AutoScalingPolicyName",
4270
- # target_tracking_scaling_policy_configuration: { # required
4271
- # disable_scale_in: false,
4272
- # scale_in_cooldown: 1,
4273
- # scale_out_cooldown: 1,
4274
- # target_value: 1.0, # required
4275
- # },
4276
- # },
4277
- # },
4278
- # }
4279
- #
4280
3873
  # @!attribute [rw] index_name
4281
3874
  # The name of the global secondary index.
4282
3875
  # @return [String]
@@ -4469,39 +4062,6 @@ module Aws::DynamoDB
4469
4062
  # * An existing global secondary index to be removed from an existing
4470
4063
  # table.
4471
4064
  #
4472
- # @note When making an API call, you may pass GlobalSecondaryIndexUpdate
4473
- # data as a hash:
4474
- #
4475
- # {
4476
- # update: {
4477
- # index_name: "IndexName", # required
4478
- # provisioned_throughput: { # required
4479
- # read_capacity_units: 1, # required
4480
- # write_capacity_units: 1, # required
4481
- # },
4482
- # },
4483
- # create: {
4484
- # index_name: "IndexName", # required
4485
- # key_schema: [ # required
4486
- # {
4487
- # attribute_name: "KeySchemaAttributeName", # required
4488
- # key_type: "HASH", # required, accepts HASH, RANGE
4489
- # },
4490
- # ],
4491
- # projection: { # required
4492
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
4493
- # non_key_attributes: ["NonKeyAttributeName"],
4494
- # },
4495
- # provisioned_throughput: {
4496
- # read_capacity_units: 1, # required
4497
- # write_capacity_units: 1, # required
4498
- # },
4499
- # },
4500
- # delete: {
4501
- # index_name: "IndexName", # required
4502
- # },
4503
- # }
4504
- #
4505
4065
  # @!attribute [rw] update
4506
4066
  # The name of an existing global secondary index, along with new
4507
4067
  # provisioned throughput settings to be applied to that index.
@@ -4613,90 +4173,351 @@ module Aws::DynamoDB
4613
4173
  # Represents the settings of a global secondary index for a global table
4614
4174
  # that will be modified.
4615
4175
  #
4616
- # @note When making an API call, you may pass GlobalTableGlobalSecondaryIndexSettingsUpdate
4617
- # data as a hash:
4618
- #
4619
- # {
4620
- # index_name: "IndexName", # required
4621
- # provisioned_write_capacity_units: 1,
4622
- # provisioned_write_capacity_auto_scaling_settings_update: {
4623
- # minimum_units: 1,
4624
- # maximum_units: 1,
4625
- # auto_scaling_disabled: false,
4626
- # auto_scaling_role_arn: "AutoScalingRoleArn",
4627
- # scaling_policy_update: {
4628
- # policy_name: "AutoScalingPolicyName",
4629
- # target_tracking_scaling_policy_configuration: { # required
4630
- # disable_scale_in: false,
4631
- # scale_in_cooldown: 1,
4632
- # scale_out_cooldown: 1,
4633
- # target_value: 1.0, # required
4634
- # },
4635
- # },
4636
- # },
4637
- # }
4176
+ # @!attribute [rw] index_name
4177
+ # The name of the global secondary index. The name must be unique
4178
+ # among all other indexes on this table.
4179
+ # @return [String]
4180
+ #
4181
+ # @!attribute [rw] provisioned_write_capacity_units
4182
+ # The maximum number of writes consumed per second before DynamoDB
4183
+ # returns a `ThrottlingException.`
4184
+ # @return [Integer]
4185
+ #
4186
+ # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings_update
4187
+ # Auto scaling settings for managing a global secondary index's write
4188
+ # capacity units.
4189
+ # @return [Types::AutoScalingSettingsUpdate]
4190
+ #
4191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableGlobalSecondaryIndexSettingsUpdate AWS API Documentation
4192
+ #
4193
+ class GlobalTableGlobalSecondaryIndexSettingsUpdate < Struct.new(
4194
+ :index_name,
4195
+ :provisioned_write_capacity_units,
4196
+ :provisioned_write_capacity_auto_scaling_settings_update)
4197
+ SENSITIVE = []
4198
+ include Aws::Structure
4199
+ end
4200
+
4201
+ # The specified global table does not exist.
4202
+ #
4203
+ # @!attribute [rw] message
4204
+ # @return [String]
4205
+ #
4206
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableNotFoundException AWS API Documentation
4207
+ #
4208
+ class GlobalTableNotFoundException < Struct.new(
4209
+ :message)
4210
+ SENSITIVE = []
4211
+ include Aws::Structure
4212
+ end
4213
+
4214
+ # DynamoDB rejected the request because you retried a request with a
4215
+ # different payload but with an idempotent token that was already used.
4216
+ #
4217
+ # @!attribute [rw] message
4218
+ # @return [String]
4219
+ #
4220
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IdempotentParameterMismatchException AWS API Documentation
4221
+ #
4222
+ class IdempotentParameterMismatchException < Struct.new(
4223
+ :message)
4224
+ SENSITIVE = []
4225
+ include Aws::Structure
4226
+ end
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]
4638
4445
  #
4639
- # @!attribute [rw] index_name
4640
- # The name of the global secondary index. The name must be unique
4641
- # among all other indexes on this table.
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`.
4642
4453
  # @return [String]
4643
4454
  #
4644
- # @!attribute [rw] provisioned_write_capacity_units
4645
- # The maximum number of writes consumed per second before DynamoDB
4646
- # returns a `ThrottlingException.`
4647
- # @return [Integer]
4455
+ # @!attribute [rw] input_format_options
4456
+ # Additional properties that specify how the input is formatted,
4457
+ # @return [Types::InputFormatOptions]
4648
4458
  #
4649
- # @!attribute [rw] provisioned_write_capacity_auto_scaling_settings_update
4650
- # Auto scaling settings for managing a global secondary index's write
4651
- # capacity units.
4652
- # @return [Types::AutoScalingSettingsUpdate]
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]
4653
4463
  #
4654
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableGlobalSecondaryIndexSettingsUpdate AWS API Documentation
4464
+ # @!attribute [rw] table_creation_parameters
4465
+ # Parameters for the table to import the data into.
4466
+ # @return [Types::TableCreationParameters]
4655
4467
  #
4656
- class GlobalTableGlobalSecondaryIndexSettingsUpdate < Struct.new(
4657
- :index_name,
4658
- :provisioned_write_capacity_units,
4659
- :provisioned_write_capacity_auto_scaling_settings_update)
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)
4660
4477
  SENSITIVE = []
4661
4478
  include Aws::Structure
4662
4479
  end
4663
4480
 
4664
- # The specified global table does not exist.
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]
4665
4487
  #
4666
- # @!attribute [rw] message
4667
- # @return [String]
4668
- #
4669
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GlobalTableNotFoundException AWS API Documentation
4488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ImportTableOutput AWS API Documentation
4670
4489
  #
4671
- class GlobalTableNotFoundException < Struct.new(
4672
- :message)
4490
+ class ImportTableOutput < Struct.new(
4491
+ :import_table_description)
4673
4492
  SENSITIVE = []
4674
4493
  include Aws::Structure
4675
4494
  end
4676
4495
 
4677
- # DynamoDB rejected the request because you retried a request with a
4678
- # different payload but with an idempotent token that was already used.
4496
+ # The operation tried to access a nonexistent index.
4679
4497
  #
4680
4498
  # @!attribute [rw] message
4681
4499
  # @return [String]
4682
4500
  #
4683
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IdempotentParameterMismatchException AWS API Documentation
4501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IndexNotFoundException AWS API Documentation
4684
4502
  #
4685
- class IdempotentParameterMismatchException < Struct.new(
4503
+ class IndexNotFoundException < Struct.new(
4686
4504
  :message)
4687
4505
  SENSITIVE = []
4688
4506
  include Aws::Structure
4689
4507
  end
4690
4508
 
4691
- # The operation tried to access a nonexistent index.
4509
+ # The format options for the data that was imported into the target
4510
+ # table. There is one value, CsvOption.
4692
4511
  #
4693
- # @!attribute [rw] message
4694
- # @return [String]
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]
4695
4516
  #
4696
- # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/IndexNotFoundException AWS API Documentation
4517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/InputFormatOptions AWS API Documentation
4697
4518
  #
4698
- class IndexNotFoundException < Struct.new(
4699
- :message)
4519
+ class InputFormatOptions < Struct.new(
4520
+ :csv)
4700
4521
  SENSITIVE = []
4701
4522
  include Aws::Structure
4702
4523
  end
@@ -4820,14 +4641,6 @@ module Aws::DynamoDB
4820
4641
  # nested attribute). The data type must be one of String, Number, or
4821
4642
  # Binary. The attribute cannot be nested within a List or a Map.
4822
4643
  #
4823
- # @note When making an API call, you may pass KeySchemaElement
4824
- # data as a hash:
4825
- #
4826
- # {
4827
- # attribute_name: "KeySchemaAttributeName", # required
4828
- # key_type: "HASH", # required, accepts HASH, RANGE
4829
- # }
4830
- #
4831
4644
  # @!attribute [rw] attribute_name
4832
4645
  # The name of a key attribute.
4833
4646
  # @return [String]
@@ -4869,23 +4682,6 @@ module Aws::DynamoDB
4869
4682
  # partition key. For a composite primary key, you must provide *both*
4870
4683
  # the partition key and the sort key.
4871
4684
  #
4872
- # @note When making an API call, you may pass KeysAndAttributes
4873
- # data as a hash:
4874
- #
4875
- # {
4876
- # keys: [ # required
4877
- # {
4878
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
4879
- # },
4880
- # ],
4881
- # attributes_to_get: ["AttributeName"],
4882
- # consistent_read: false,
4883
- # projection_expression: "ProjectionExpression",
4884
- # expression_attribute_names: {
4885
- # "ExpressionAttributeNameVariable" => "AttributeName",
4886
- # },
4887
- # }
4888
- #
4889
4685
  # @!attribute [rw] keys
4890
4686
  # The primary key attribute values that define the items and the
4891
4687
  # attributes associated with the items.
@@ -5014,14 +4810,6 @@ module Aws::DynamoDB
5014
4810
  include Aws::Structure
5015
4811
  end
5016
4812
 
5017
- # @note When making an API call, you may pass KinesisStreamingDestinationInput
5018
- # data as a hash:
5019
- #
5020
- # {
5021
- # table_name: "TableName", # required
5022
- # stream_arn: "StreamArn", # required
5023
- # }
5024
- #
5025
4813
  # @!attribute [rw] table_name
5026
4814
  # The name of the DynamoDB table.
5027
4815
  # @return [String]
@@ -5064,17 +4852,20 @@ module Aws::DynamoDB
5064
4852
  # There is no limit to the number of daily on-demand backups that can be
5065
4853
  # taken.
5066
4854
  #
5067
- # Up to 50 simultaneous table operations are allowed per account. These
5068
- # operations include `CreateTable`, `UpdateTable`,
4855
+ # For most purposes, up to 500 simultaneous table operations are allowed
4856
+ # per account. These operations include `CreateTable`, `UpdateTable`,
5069
4857
  # `DeleteTable`,`UpdateTimeToLive`, `RestoreTableFromBackup`, and
5070
4858
  # `RestoreTableToPointInTime`.
5071
4859
  #
5072
- # The only exception is when you are creating a table with one or more
5073
- # secondary indexes. You can have up to 25 such requests running at a
5074
- # time; however, if the table or index specifications are complex,
5075
- # 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.
5076
4864
  #
5077
- # 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.
5078
4869
  #
5079
4870
  # @!attribute [rw] message
5080
4871
  # Too many operations for a given subscriber.
@@ -5088,18 +4879,6 @@ module Aws::DynamoDB
5088
4879
  include Aws::Structure
5089
4880
  end
5090
4881
 
5091
- # @note When making an API call, you may pass ListBackupsInput
5092
- # data as a hash:
5093
- #
5094
- # {
5095
- # table_name: "TableName",
5096
- # limit: 1,
5097
- # time_range_lower_bound: Time.now,
5098
- # time_range_upper_bound: Time.now,
5099
- # exclusive_start_backup_arn: "BackupArn",
5100
- # backup_type: "USER", # accepts USER, SYSTEM, AWS_BACKUP, ALL
5101
- # }
5102
- #
5103
4882
  # @!attribute [rw] table_name
5104
4883
  # The backups from the table specified by `TableName` are listed.
5105
4884
  # @return [String]
@@ -5131,7 +4910,8 @@ module Aws::DynamoDB
5131
4910
  #
5132
4911
  # Where `BackupType` can be:
5133
4912
  #
5134
- # * `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.)
5135
4915
  #
5136
4916
  # * `SYSTEM` - On-demand backup automatically created by DynamoDB.
5137
4917
  #
@@ -5179,15 +4959,6 @@ module Aws::DynamoDB
5179
4959
  include Aws::Structure
5180
4960
  end
5181
4961
 
5182
- # @note When making an API call, you may pass ListContributorInsightsInput
5183
- # data as a hash:
5184
- #
5185
- # {
5186
- # table_name: "TableName",
5187
- # next_token: "NextTokenString",
5188
- # max_results: 1,
5189
- # }
5190
- #
5191
4962
  # @!attribute [rw] table_name
5192
4963
  # The name of the table.
5193
4964
  # @return [String]
@@ -5227,15 +4998,6 @@ module Aws::DynamoDB
5227
4998
  include Aws::Structure
5228
4999
  end
5229
5000
 
5230
- # @note When making an API call, you may pass ListExportsInput
5231
- # data as a hash:
5232
- #
5233
- # {
5234
- # table_arn: "TableArn",
5235
- # max_results: 1,
5236
- # next_token: "ExportNextToken",
5237
- # }
5238
- #
5239
5001
  # @!attribute [rw] table_arn
5240
5002
  # The Amazon Resource Name (ARN) associated with the exported table.
5241
5003
  # @return [String]
@@ -5279,15 +5041,6 @@ module Aws::DynamoDB
5279
5041
  include Aws::Structure
5280
5042
  end
5281
5043
 
5282
- # @note When making an API call, you may pass ListGlobalTablesInput
5283
- # data as a hash:
5284
- #
5285
- # {
5286
- # exclusive_start_global_table_name: "TableName",
5287
- # limit: 1,
5288
- # region_name: "RegionName",
5289
- # }
5290
- #
5291
5044
  # @!attribute [rw] exclusive_start_global_table_name
5292
5045
  # The first global table name that this operation will evaluate.
5293
5046
  # @return [String]
@@ -5334,15 +5087,51 @@ module Aws::DynamoDB
5334
5087
  include Aws::Structure
5335
5088
  end
5336
5089
 
5337
- # 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]
5338
5094
  #
5339
- # @note When making an API call, you may pass ListTablesInput
5340
- # data as a hash:
5095
+ # @!attribute [rw] page_size
5096
+ # The number of `ImportSummary `objects returned in a single page.
5097
+ # @return [Integer]
5098
+ #
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
5341
5126
  #
5342
- # {
5343
- # exclusive_start_table_name: "TableName",
5344
- # limit: 1,
5345
- # }
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.
5346
5135
  #
5347
5136
  # @!attribute [rw] exclusive_start_table_name
5348
5137
  # The first table name that this operation will evaluate. Use the
@@ -5394,14 +5183,6 @@ module Aws::DynamoDB
5394
5183
  include Aws::Structure
5395
5184
  end
5396
5185
 
5397
- # @note When making an API call, you may pass ListTagsOfResourceInput
5398
- # data as a hash:
5399
- #
5400
- # {
5401
- # resource_arn: "ResourceArnString", # required
5402
- # next_token: "NextTokenString",
5403
- # }
5404
- #
5405
5186
  # @!attribute [rw] resource_arn
5406
5187
  # The Amazon DynamoDB resource with tags to be listed. This value is
5407
5188
  # an Amazon Resource Name (ARN).
@@ -5443,23 +5224,6 @@ module Aws::DynamoDB
5443
5224
 
5444
5225
  # Represents the properties of a local secondary index.
5445
5226
  #
5446
- # @note When making an API call, you may pass LocalSecondaryIndex
5447
- # data as a hash:
5448
- #
5449
- # {
5450
- # index_name: "IndexName", # required
5451
- # key_schema: [ # required
5452
- # {
5453
- # attribute_name: "KeySchemaAttributeName", # required
5454
- # key_type: "HASH", # required, accepts HASH, RANGE
5455
- # },
5456
- # ],
5457
- # projection: { # required
5458
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
5459
- # non_key_attributes: ["NonKeyAttributeName"],
5460
- # },
5461
- # }
5462
- #
5463
5227
  # @!attribute [rw] index_name
5464
5228
  # The name of the local secondary index. The name must be unique among
5465
5229
  # all other indexes on this table.
@@ -5613,14 +5377,6 @@ module Aws::DynamoDB
5613
5377
 
5614
5378
  # Represents a PartiQL statment that uses parameters.
5615
5379
  #
5616
- # @note When making an API call, you may pass ParameterizedStatement
5617
- # data as a hash:
5618
- #
5619
- # {
5620
- # statement: "PartiQLStatement", # required
5621
- # parameters: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5622
- # }
5623
- #
5624
5380
  # @!attribute [rw] statement
5625
5381
  # A PartiQL statment that uses parameters.
5626
5382
  # @return [String]
@@ -5643,8 +5399,6 @@ module Aws::DynamoDB
5643
5399
  # @!attribute [rw] point_in_time_recovery_status
5644
5400
  # The current state of point in time recovery:
5645
5401
  #
5646
- # * `ENABLING` - Point in time recovery is being enabled.
5647
- #
5648
5402
  # * `ENABLED` - Point in time recovery is enabled.
5649
5403
  #
5650
5404
  # * `DISABLED` - Point in time recovery is disabled.
@@ -5673,13 +5427,6 @@ module Aws::DynamoDB
5673
5427
 
5674
5428
  # Represents the settings used to enable point in time recovery.
5675
5429
  #
5676
- # @note When making an API call, you may pass PointInTimeRecoverySpecification
5677
- # data as a hash:
5678
- #
5679
- # {
5680
- # point_in_time_recovery_enabled: false, # required
5681
- # }
5682
- #
5683
5430
  # @!attribute [rw] point_in_time_recovery_enabled
5684
5431
  # Indicates whether point in time recovery is enabled (true) or
5685
5432
  # disabled (false) on the table.
@@ -5710,14 +5457,6 @@ module Aws::DynamoDB
5710
5457
  # an index. These are in addition to the primary key attributes and
5711
5458
  # index key attributes, which are automatically projected.
5712
5459
  #
5713
- # @note When making an API call, you may pass Projection
5714
- # data as a hash:
5715
- #
5716
- # {
5717
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
5718
- # non_key_attributes: ["NonKeyAttributeName"],
5719
- # }
5720
- #
5721
5460
  # @!attribute [rw] projection_type
5722
5461
  # The set of attributes that are projected into the index:
5723
5462
  #
@@ -5737,7 +5476,7 @@ module Aws::DynamoDB
5737
5476
  #
5738
5477
  # For local secondary indexes, the total count of `NonKeyAttributes`
5739
5478
  # summed across all of the local secondary indexes, must not exceed
5740
- # 20. If you project the same attribute into two different indexes,
5479
+ # 100. If you project the same attribute into two different indexes,
5741
5480
  # this counts as two distinct attributes when determining the total.
5742
5481
  # @return [Array<String>]
5743
5482
  #
@@ -5762,14 +5501,6 @@ module Aws::DynamoDB
5762
5501
  #
5763
5502
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html
5764
5503
  #
5765
- # @note When making an API call, you may pass ProvisionedThroughput
5766
- # data as a hash:
5767
- #
5768
- # {
5769
- # read_capacity_units: 1, # required
5770
- # write_capacity_units: 1, # required
5771
- # }
5772
- #
5773
5504
  # @!attribute [rw] read_capacity_units
5774
5505
  # The maximum number of strongly consistent reads consumed per second
5775
5506
  # before DynamoDB returns a `ThrottlingException`. For more
@@ -5857,12 +5588,12 @@ module Aws::DynamoDB
5857
5588
  include Aws::Structure
5858
5589
  end
5859
5590
 
5860
- # Your request rate is too high. The AWS SDKs for DynamoDB automatically
5861
- # retry requests that receive this exception. Your request is eventually
5862
- # successful, unless your retry queue is too large to finish. Reduce the
5863
- # frequency of requests and use exponential backoff. For more
5864
- # information, go to [Error Retries and Exponential Backoff][1] in the
5865
- # *Amazon DynamoDB Developer Guide*.
5591
+ # Your request rate is too high. The Amazon Web Services SDKs for
5592
+ # DynamoDB automatically retry requests that receive this exception.
5593
+ # Your request is eventually successful, unless your retry queue is too
5594
+ # large to finish. Reduce the frequency of requests and use exponential
5595
+ # backoff. For more information, go to [Error Retries and Exponential
5596
+ # Backoff][1] in the *Amazon DynamoDB Developer Guide*.
5866
5597
  #
5867
5598
  #
5868
5599
  #
@@ -5883,13 +5614,6 @@ module Aws::DynamoDB
5883
5614
  # Replica-specific provisioned throughput settings. If not specified,
5884
5615
  # uses the source table's provisioned throughput settings.
5885
5616
  #
5886
- # @note When making an API call, you may pass ProvisionedThroughputOverride
5887
- # data as a hash:
5888
- #
5889
- # {
5890
- # read_capacity_units: 1,
5891
- # }
5892
- #
5893
5617
  # @!attribute [rw] read_capacity_units
5894
5618
  # Replica-specific read capacity units. If not specified, uses the
5895
5619
  # source table's read capacity settings.
@@ -5905,24 +5629,6 @@ module Aws::DynamoDB
5905
5629
 
5906
5630
  # Represents a request to perform a `PutItem` operation.
5907
5631
  #
5908
- # @note When making an API call, you may pass Put
5909
- # data as a hash:
5910
- #
5911
- # {
5912
- # item: { # required
5913
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5914
- # },
5915
- # table_name: "TableName", # required
5916
- # condition_expression: "ConditionExpression",
5917
- # expression_attribute_names: {
5918
- # "ExpressionAttributeNameVariable" => "AttributeName",
5919
- # },
5920
- # expression_attribute_values: {
5921
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5922
- # },
5923
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
5924
- # }
5925
- #
5926
5632
  # @!attribute [rw] item
5927
5633
  # A map of attribute name to attribute values, representing the
5928
5634
  # primary key of the item to be written by `PutItem`. All of the
@@ -5972,35 +5678,6 @@ module Aws::DynamoDB
5972
5678
 
5973
5679
  # Represents the input of a `PutItem` operation.
5974
5680
  #
5975
- # @note When making an API call, you may pass PutItemInput
5976
- # data as a hash:
5977
- #
5978
- # {
5979
- # table_name: "TableName", # required
5980
- # item: { # required
5981
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5982
- # },
5983
- # expected: {
5984
- # "AttributeName" => {
5985
- # value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5986
- # exists: false,
5987
- # comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
5988
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
5989
- # },
5990
- # },
5991
- # return_values: "NONE", # accepts NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW
5992
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
5993
- # return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
5994
- # conditional_operator: "AND", # accepts AND, OR
5995
- # condition_expression: "ConditionExpression",
5996
- # expression_attribute_names: {
5997
- # "ExpressionAttributeNameVariable" => "AttributeName",
5998
- # },
5999
- # expression_attribute_values: {
6000
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
6001
- # },
6002
- # }
6003
- #
6004
5681
  # @!attribute [rw] table_name
6005
5682
  # The name of the table to contain the item.
6006
5683
  # @return [String]
@@ -6056,6 +5733,12 @@ module Aws::DynamoDB
6056
5733
  # * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
6057
5734
  # then the content of the old item is returned.
6058
5735
  #
5736
+ # The values returned are strongly consistent.
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
+ #
6059
5742
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
6060
5743
  # however, `PutItem` does not recognize any values other than `NONE`
6061
5744
  # or `ALL_OLD`.
@@ -6064,8 +5747,8 @@ module Aws::DynamoDB
6064
5747
  # @return [String]
6065
5748
  #
6066
5749
  # @!attribute [rw] return_consumed_capacity
6067
- # Determines the level of detail about provisioned throughput
6068
- # consumption that is returned in the response:
5750
+ # Determines the level of detail about either provisioned or on-demand
5751
+ # throughput consumption that is returned in the response:
6069
5752
  #
6070
5753
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6071
5754
  # for the operation, together with `ConsumedCapacity` for each table
@@ -6282,15 +5965,6 @@ module Aws::DynamoDB
6282
5965
 
6283
5966
  # Represents a request to perform a `PutItem` operation on an item.
6284
5967
  #
6285
- # @note When making an API call, you may pass PutRequest
6286
- # data as a hash:
6287
- #
6288
- # {
6289
- # item: { # required
6290
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
6291
- # },
6292
- # }
6293
- #
6294
5968
  # @!attribute [rw] item
6295
5969
  # A map of attribute name to attribute values, representing the
6296
5970
  # primary key of an item to be processed by `PutItem`. All of the
@@ -6310,45 +5984,6 @@ module Aws::DynamoDB
6310
5984
 
6311
5985
  # Represents the input of a `Query` operation.
6312
5986
  #
6313
- # @note When making an API call, you may pass QueryInput
6314
- # data as a hash:
6315
- #
6316
- # {
6317
- # table_name: "TableName", # required
6318
- # index_name: "IndexName",
6319
- # select: "ALL_ATTRIBUTES", # accepts ALL_ATTRIBUTES, ALL_PROJECTED_ATTRIBUTES, SPECIFIC_ATTRIBUTES, COUNT
6320
- # attributes_to_get: ["AttributeName"],
6321
- # limit: 1,
6322
- # consistent_read: false,
6323
- # key_conditions: {
6324
- # "AttributeName" => {
6325
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
6326
- # comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
6327
- # },
6328
- # },
6329
- # query_filter: {
6330
- # "AttributeName" => {
6331
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
6332
- # comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
6333
- # },
6334
- # },
6335
- # conditional_operator: "AND", # accepts AND, OR
6336
- # scan_index_forward: false,
6337
- # exclusive_start_key: {
6338
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
6339
- # },
6340
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
6341
- # projection_expression: "ProjectionExpression",
6342
- # filter_expression: "ConditionExpression",
6343
- # key_condition_expression: "KeyExpression",
6344
- # expression_attribute_names: {
6345
- # "ExpressionAttributeNameVariable" => "AttributeName",
6346
- # },
6347
- # expression_attribute_values: {
6348
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
6349
- # },
6350
- # }
6351
- #
6352
5987
  # @!attribute [rw] table_name
6353
5988
  # The name of the table containing the requested items.
6354
5989
  # @return [String]
@@ -6381,8 +6016,9 @@ module Aws::DynamoDB
6381
6016
  # matching items themselves.
6382
6017
  #
6383
6018
  # * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
6384
- # `AttributesToGet`. This return value is equivalent to specifying
6385
- # `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`.
6386
6022
  #
6387
6023
  # If you query or scan a local secondary index and request only
6388
6024
  # attributes that are projected into that index, the operation will
@@ -6396,13 +6032,13 @@ module Aws::DynamoDB
6396
6032
  # secondary index queries cannot fetch attributes from the parent
6397
6033
  # table.
6398
6034
  #
6399
- # If neither `Select` nor `AttributesToGet` are specified, DynamoDB
6400
- # 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
6401
6037
  # `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
6402
- # both `Select` and `AttributesToGet` together in a single request,
6403
- # unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage
6404
- # is equivalent to specifying `AttributesToGet` without any value for
6405
- # `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`.)
6406
6042
  #
6407
6043
  # <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
6408
6044
  # `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
@@ -6507,8 +6143,8 @@ module Aws::DynamoDB
6507
6143
  # @return [Hash<String,Types::AttributeValue>]
6508
6144
  #
6509
6145
  # @!attribute [rw] return_consumed_capacity
6510
- # Determines the level of detail about provisioned throughput
6511
- # consumption that is returned in the response:
6146
+ # Determines the level of detail about either provisioned or on-demand
6147
+ # throughput consumption that is returned in the response:
6512
6148
  #
6513
6149
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
6514
6150
  # for the operation, together with `ConsumedCapacity` for each table
@@ -6564,7 +6200,7 @@ module Aws::DynamoDB
6564
6200
  #
6565
6201
  #
6566
6202
  #
6567
- # [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
6568
6204
  # @return [String]
6569
6205
  #
6570
6206
  # @!attribute [rw] key_condition_expression
@@ -6835,13 +6471,6 @@ module Aws::DynamoDB
6835
6471
 
6836
6472
  # Represents the properties of a replica.
6837
6473
  #
6838
- # @note When making an API call, you may pass Replica
6839
- # data as a hash:
6840
- #
6841
- # {
6842
- # region_name: "RegionName",
6843
- # }
6844
- #
6845
6474
  # @!attribute [rw] region_name
6846
6475
  # The Region where the replica needs to be created.
6847
6476
  # @return [String]
@@ -6914,48 +6543,6 @@ module Aws::DynamoDB
6914
6543
  # Represents the auto scaling settings of a replica that will be
6915
6544
  # modified.
6916
6545
  #
6917
- # @note When making an API call, you may pass ReplicaAutoScalingUpdate
6918
- # data as a hash:
6919
- #
6920
- # {
6921
- # region_name: "RegionName", # required
6922
- # replica_global_secondary_index_updates: [
6923
- # {
6924
- # index_name: "IndexName",
6925
- # provisioned_read_capacity_auto_scaling_update: {
6926
- # minimum_units: 1,
6927
- # maximum_units: 1,
6928
- # auto_scaling_disabled: false,
6929
- # auto_scaling_role_arn: "AutoScalingRoleArn",
6930
- # scaling_policy_update: {
6931
- # policy_name: "AutoScalingPolicyName",
6932
- # target_tracking_scaling_policy_configuration: { # required
6933
- # disable_scale_in: false,
6934
- # scale_in_cooldown: 1,
6935
- # scale_out_cooldown: 1,
6936
- # target_value: 1.0, # required
6937
- # },
6938
- # },
6939
- # },
6940
- # },
6941
- # ],
6942
- # replica_provisioned_read_capacity_auto_scaling_update: {
6943
- # minimum_units: 1,
6944
- # maximum_units: 1,
6945
- # auto_scaling_disabled: false,
6946
- # auto_scaling_role_arn: "AutoScalingRoleArn",
6947
- # scaling_policy_update: {
6948
- # policy_name: "AutoScalingPolicyName",
6949
- # target_tracking_scaling_policy_configuration: { # required
6950
- # disable_scale_in: false,
6951
- # scale_in_cooldown: 1,
6952
- # scale_out_cooldown: 1,
6953
- # target_value: 1.0, # required
6954
- # },
6955
- # },
6956
- # },
6957
- # }
6958
- #
6959
6546
  # @!attribute [rw] region_name
6960
6547
  # The Region where the replica exists.
6961
6548
  # @return [String]
@@ -6997,20 +6584,20 @@ module Aws::DynamoDB
6997
6584
  #
6998
6585
  # * `ACTIVE` - The replica is ready for use.
6999
6586
  #
7000
- # * `REGION_DISABLED` - The replica is inaccessible because the AWS
7001
- # Region has been disabled.
6587
+ # * `REGION_DISABLED` - The replica is inaccessible because the Amazon
6588
+ # Web Services Region has been disabled.
7002
6589
  #
7003
- # <note markdown="1"> If the AWS Region remains inaccessible for more than 20 hours,
7004
- # DynamoDB will remove this replica from the replication group. The
7005
- # replica will not be deleted and replication will stop from and to
7006
- # this region.
6590
+ # <note markdown="1"> If the Amazon Web Services Region remains inaccessible for more
6591
+ # than 20 hours, DynamoDB will remove this replica from the
6592
+ # replication group. The replica will not be deleted and replication
6593
+ # will stop from and to this region.
7007
6594
  #
7008
6595
  # </note>
7009
6596
  #
7010
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The AWS KMS key used to
6597
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS ` - The KMS key used to
7011
6598
  # encrypt the table is inaccessible.
7012
6599
  #
7013
- # <note markdown="1"> If the AWS KMS key remains inaccessible for more than 20 hours,
6600
+ # <note markdown="1"> If the KMS key remains inaccessible for more than 20 hours,
7014
6601
  # DynamoDB will remove this replica from the replication group. The
7015
6602
  # replica will not be deleted and replication will stop from and to
7016
6603
  # this region.
@@ -7028,8 +6615,7 @@ module Aws::DynamoDB
7028
6615
  # @return [String]
7029
6616
  #
7030
6617
  # @!attribute [rw] kms_master_key_id
7031
- # The AWS KMS customer master key (CMK) of the replica that will be
7032
- # used for AWS KMS encryption.
6618
+ # The KMS key of the replica that will be used for KMS encryption.
7033
6619
  # @return [String]
7034
6620
  #
7035
6621
  # @!attribute [rw] provisioned_throughput_override
@@ -7047,6 +6633,10 @@ module Aws::DynamoDB
7047
6633
  # property.
7048
6634
  # @return [Time]
7049
6635
  #
6636
+ # @!attribute [rw] replica_table_class_summary
6637
+ # Contains details of the table class.
6638
+ # @return [Types::TableClassSummary]
6639
+ #
7050
6640
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaDescription AWS API Documentation
7051
6641
  #
7052
6642
  class ReplicaDescription < Struct.new(
@@ -7057,23 +6647,14 @@ module Aws::DynamoDB
7057
6647
  :kms_master_key_id,
7058
6648
  :provisioned_throughput_override,
7059
6649
  :global_secondary_indexes,
7060
- :replica_inaccessible_date_time)
6650
+ :replica_inaccessible_date_time,
6651
+ :replica_table_class_summary)
7061
6652
  SENSITIVE = []
7062
6653
  include Aws::Structure
7063
6654
  end
7064
6655
 
7065
6656
  # Represents the properties of a replica global secondary index.
7066
6657
  #
7067
- # @note When making an API call, you may pass ReplicaGlobalSecondaryIndex
7068
- # data as a hash:
7069
- #
7070
- # {
7071
- # index_name: "IndexName", # required
7072
- # provisioned_throughput_override: {
7073
- # read_capacity_units: 1,
7074
- # },
7075
- # }
7076
- #
7077
6658
  # @!attribute [rw] index_name
7078
6659
  # The name of the global secondary index.
7079
6660
  # @return [String]
@@ -7104,7 +6685,8 @@ module Aws::DynamoDB
7104
6685
  #
7105
6686
  # * `CREATING` - The index is being created.
7106
6687
  #
7107
- # * `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`
7108
6690
  #
7109
6691
  # * `DELETING` - The index is being deleted.
7110
6692
  #
@@ -7135,28 +6717,6 @@ module Aws::DynamoDB
7135
6717
  # Represents the auto scaling settings of a global secondary index for a
7136
6718
  # replica that will be modified.
7137
6719
  #
7138
- # @note When making an API call, you may pass ReplicaGlobalSecondaryIndexAutoScalingUpdate
7139
- # data as a hash:
7140
- #
7141
- # {
7142
- # index_name: "IndexName",
7143
- # provisioned_read_capacity_auto_scaling_update: {
7144
- # minimum_units: 1,
7145
- # maximum_units: 1,
7146
- # auto_scaling_disabled: false,
7147
- # auto_scaling_role_arn: "AutoScalingRoleArn",
7148
- # scaling_policy_update: {
7149
- # policy_name: "AutoScalingPolicyName",
7150
- # target_tracking_scaling_policy_configuration: { # required
7151
- # disable_scale_in: false,
7152
- # scale_in_cooldown: 1,
7153
- # scale_out_cooldown: 1,
7154
- # target_value: 1.0, # required
7155
- # },
7156
- # },
7157
- # },
7158
- # }
7159
- #
7160
6720
  # @!attribute [rw] index_name
7161
6721
  # The name of the global secondary index.
7162
6722
  # @return [String]
@@ -7250,29 +6810,6 @@ module Aws::DynamoDB
7250
6810
  # Represents the settings of a global secondary index for a global table
7251
6811
  # that will be modified.
7252
6812
  #
7253
- # @note When making an API call, you may pass ReplicaGlobalSecondaryIndexSettingsUpdate
7254
- # data as a hash:
7255
- #
7256
- # {
7257
- # index_name: "IndexName", # required
7258
- # provisioned_read_capacity_units: 1,
7259
- # provisioned_read_capacity_auto_scaling_settings_update: {
7260
- # minimum_units: 1,
7261
- # maximum_units: 1,
7262
- # auto_scaling_disabled: false,
7263
- # auto_scaling_role_arn: "AutoScalingRoleArn",
7264
- # scaling_policy_update: {
7265
- # policy_name: "AutoScalingPolicyName",
7266
- # target_tracking_scaling_policy_configuration: { # required
7267
- # disable_scale_in: false,
7268
- # scale_in_cooldown: 1,
7269
- # scale_out_cooldown: 1,
7270
- # target_value: 1.0, # required
7271
- # },
7272
- # },
7273
- # },
7274
- # }
7275
- #
7276
6813
  # @!attribute [rw] index_name
7277
6814
  # The name of the global secondary index. The name must be unique
7278
6815
  # among all other indexes on this table.
@@ -7369,6 +6906,10 @@ module Aws::DynamoDB
7369
6906
  # Replica global secondary index settings for the global table.
7370
6907
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsDescription>]
7371
6908
  #
6909
+ # @!attribute [rw] replica_table_class_summary
6910
+ # Contains details of the table class.
6911
+ # @return [Types::TableClassSummary]
6912
+ #
7372
6913
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsDescription AWS API Documentation
7373
6914
  #
7374
6915
  class ReplicaSettingsDescription < Struct.new(
@@ -7379,7 +6920,8 @@ module Aws::DynamoDB
7379
6920
  :replica_provisioned_read_capacity_auto_scaling_settings,
7380
6921
  :replica_provisioned_write_capacity_units,
7381
6922
  :replica_provisioned_write_capacity_auto_scaling_settings,
7382
- :replica_global_secondary_index_settings)
6923
+ :replica_global_secondary_index_settings,
6924
+ :replica_table_class_summary)
7383
6925
  SENSITIVE = []
7384
6926
  include Aws::Structure
7385
6927
  end
@@ -7387,50 +6929,6 @@ module Aws::DynamoDB
7387
6929
  # Represents the settings for a global table in a Region that will be
7388
6930
  # modified.
7389
6931
  #
7390
- # @note When making an API call, you may pass ReplicaSettingsUpdate
7391
- # data as a hash:
7392
- #
7393
- # {
7394
- # region_name: "RegionName", # required
7395
- # replica_provisioned_read_capacity_units: 1,
7396
- # replica_provisioned_read_capacity_auto_scaling_settings_update: {
7397
- # minimum_units: 1,
7398
- # maximum_units: 1,
7399
- # auto_scaling_disabled: false,
7400
- # auto_scaling_role_arn: "AutoScalingRoleArn",
7401
- # scaling_policy_update: {
7402
- # policy_name: "AutoScalingPolicyName",
7403
- # target_tracking_scaling_policy_configuration: { # required
7404
- # disable_scale_in: false,
7405
- # scale_in_cooldown: 1,
7406
- # scale_out_cooldown: 1,
7407
- # target_value: 1.0, # required
7408
- # },
7409
- # },
7410
- # },
7411
- # replica_global_secondary_index_settings_update: [
7412
- # {
7413
- # index_name: "IndexName", # required
7414
- # provisioned_read_capacity_units: 1,
7415
- # provisioned_read_capacity_auto_scaling_settings_update: {
7416
- # minimum_units: 1,
7417
- # maximum_units: 1,
7418
- # auto_scaling_disabled: false,
7419
- # auto_scaling_role_arn: "AutoScalingRoleArn",
7420
- # scaling_policy_update: {
7421
- # policy_name: "AutoScalingPolicyName",
7422
- # target_tracking_scaling_policy_configuration: { # required
7423
- # disable_scale_in: false,
7424
- # scale_in_cooldown: 1,
7425
- # scale_out_cooldown: 1,
7426
- # target_value: 1.0, # required
7427
- # },
7428
- # },
7429
- # },
7430
- # },
7431
- # ],
7432
- # }
7433
- #
7434
6932
  # @!attribute [rw] region_name
7435
6933
  # The Region of the replica to be added.
7436
6934
  # @return [String]
@@ -7456,13 +6954,19 @@ module Aws::DynamoDB
7456
6954
  # table that will be modified.
7457
6955
  # @return [Array<Types::ReplicaGlobalSecondaryIndexSettingsUpdate>]
7458
6956
  #
6957
+ # @!attribute [rw] replica_table_class
6958
+ # Replica-specific table class. If not specified, uses the source
6959
+ # table's table class.
6960
+ # @return [String]
6961
+ #
7459
6962
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ReplicaSettingsUpdate AWS API Documentation
7460
6963
  #
7461
6964
  class ReplicaSettingsUpdate < Struct.new(
7462
6965
  :region_name,
7463
6966
  :replica_provisioned_read_capacity_units,
7464
6967
  :replica_provisioned_read_capacity_auto_scaling_settings_update,
7465
- :replica_global_secondary_index_settings_update)
6968
+ :replica_global_secondary_index_settings_update,
6969
+ :replica_table_class)
7466
6970
  SENSITIVE = []
7467
6971
  include Aws::Structure
7468
6972
  end
@@ -7475,18 +6979,6 @@ module Aws::DynamoDB
7475
6979
  #
7476
6980
  # * An existing replica to be removed from an existing global table.
7477
6981
  #
7478
- # @note When making an API call, you may pass ReplicaUpdate
7479
- # data as a hash:
7480
- #
7481
- # {
7482
- # create: {
7483
- # region_name: "RegionName", # required
7484
- # },
7485
- # delete: {
7486
- # region_name: "RegionName", # required
7487
- # },
7488
- # }
7489
- #
7490
6982
  # @!attribute [rw] create
7491
6983
  # The parameters required for creating a replica on an existing global
7492
6984
  # table.
@@ -7518,44 +7010,11 @@ module Aws::DynamoDB
7518
7010
  # `DeleteTableReplica` action in the destination Region, deleting the
7519
7011
  # replica and all if its items in the destination Region.
7520
7012
  #
7521
- # @note When making an API call, you may pass ReplicationGroupUpdate
7522
- # data as a hash:
7523
- #
7524
- # {
7525
- # create: {
7526
- # region_name: "RegionName", # required
7527
- # kms_master_key_id: "KMSMasterKeyId",
7528
- # provisioned_throughput_override: {
7529
- # read_capacity_units: 1,
7530
- # },
7531
- # global_secondary_indexes: [
7532
- # {
7533
- # index_name: "IndexName", # required
7534
- # provisioned_throughput_override: {
7535
- # read_capacity_units: 1,
7536
- # },
7537
- # },
7538
- # ],
7539
- # },
7540
- # update: {
7541
- # region_name: "RegionName", # required
7542
- # kms_master_key_id: "KMSMasterKeyId",
7543
- # provisioned_throughput_override: {
7544
- # read_capacity_units: 1,
7545
- # },
7546
- # global_secondary_indexes: [
7547
- # {
7548
- # index_name: "IndexName", # required
7549
- # provisioned_throughput_override: {
7550
- # read_capacity_units: 1,
7551
- # },
7552
- # },
7553
- # ],
7554
- # },
7555
- # delete: {
7556
- # region_name: "RegionName", # required
7557
- # },
7558
- # }
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>
7559
7018
  #
7560
7019
  # @!attribute [rw] create
7561
7020
  # The parameters required for creating a replica for the table.
@@ -7580,7 +7039,7 @@ module Aws::DynamoDB
7580
7039
  end
7581
7040
 
7582
7041
  # Throughput exceeds the current throughput quota for your account.
7583
- # Please contact AWS Support at [AWS Support][1] to request a quota
7042
+ # Please contact [Amazon Web Services Support][1] to request a quota
7584
7043
  # increase.
7585
7044
  #
7586
7045
  #
@@ -7660,58 +7119,6 @@ module Aws::DynamoDB
7660
7119
  include Aws::Structure
7661
7120
  end
7662
7121
 
7663
- # @note When making an API call, you may pass RestoreTableFromBackupInput
7664
- # data as a hash:
7665
- #
7666
- # {
7667
- # target_table_name: "TableName", # required
7668
- # backup_arn: "BackupArn", # required
7669
- # billing_mode_override: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
7670
- # global_secondary_index_override: [
7671
- # {
7672
- # index_name: "IndexName", # required
7673
- # key_schema: [ # required
7674
- # {
7675
- # attribute_name: "KeySchemaAttributeName", # required
7676
- # key_type: "HASH", # required, accepts HASH, RANGE
7677
- # },
7678
- # ],
7679
- # projection: { # required
7680
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
7681
- # non_key_attributes: ["NonKeyAttributeName"],
7682
- # },
7683
- # provisioned_throughput: {
7684
- # read_capacity_units: 1, # required
7685
- # write_capacity_units: 1, # required
7686
- # },
7687
- # },
7688
- # ],
7689
- # local_secondary_index_override: [
7690
- # {
7691
- # index_name: "IndexName", # required
7692
- # key_schema: [ # required
7693
- # {
7694
- # attribute_name: "KeySchemaAttributeName", # required
7695
- # key_type: "HASH", # required, accepts HASH, RANGE
7696
- # },
7697
- # ],
7698
- # projection: { # required
7699
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
7700
- # non_key_attributes: ["NonKeyAttributeName"],
7701
- # },
7702
- # },
7703
- # ],
7704
- # provisioned_throughput_override: {
7705
- # read_capacity_units: 1, # required
7706
- # write_capacity_units: 1, # required
7707
- # },
7708
- # sse_specification_override: {
7709
- # enabled: false,
7710
- # sse_type: "AES256", # accepts AES256, KMS
7711
- # kms_master_key_id: "KMSMasterKeyId",
7712
- # },
7713
- # }
7714
- #
7715
7122
  # @!attribute [rw] target_table_name
7716
7123
  # The name of the new table to which the backup must be restored.
7717
7124
  # @return [String]
@@ -7770,61 +7177,6 @@ module Aws::DynamoDB
7770
7177
  include Aws::Structure
7771
7178
  end
7772
7179
 
7773
- # @note When making an API call, you may pass RestoreTableToPointInTimeInput
7774
- # data as a hash:
7775
- #
7776
- # {
7777
- # source_table_arn: "TableArn",
7778
- # source_table_name: "TableName",
7779
- # target_table_name: "TableName", # required
7780
- # use_latest_restorable_time: false,
7781
- # restore_date_time: Time.now,
7782
- # billing_mode_override: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
7783
- # global_secondary_index_override: [
7784
- # {
7785
- # index_name: "IndexName", # required
7786
- # key_schema: [ # required
7787
- # {
7788
- # attribute_name: "KeySchemaAttributeName", # required
7789
- # key_type: "HASH", # required, accepts HASH, RANGE
7790
- # },
7791
- # ],
7792
- # projection: { # required
7793
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
7794
- # non_key_attributes: ["NonKeyAttributeName"],
7795
- # },
7796
- # provisioned_throughput: {
7797
- # read_capacity_units: 1, # required
7798
- # write_capacity_units: 1, # required
7799
- # },
7800
- # },
7801
- # ],
7802
- # local_secondary_index_override: [
7803
- # {
7804
- # index_name: "IndexName", # required
7805
- # key_schema: [ # required
7806
- # {
7807
- # attribute_name: "KeySchemaAttributeName", # required
7808
- # key_type: "HASH", # required, accepts HASH, RANGE
7809
- # },
7810
- # ],
7811
- # projection: { # required
7812
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
7813
- # non_key_attributes: ["NonKeyAttributeName"],
7814
- # },
7815
- # },
7816
- # ],
7817
- # provisioned_throughput_override: {
7818
- # read_capacity_units: 1, # required
7819
- # write_capacity_units: 1, # required
7820
- # },
7821
- # sse_specification_override: {
7822
- # enabled: false,
7823
- # sse_type: "AES256", # accepts AES256, KMS
7824
- # kms_master_key_id: "KMSMasterKeyId",
7825
- # },
7826
- # }
7827
- #
7828
7180
  # @!attribute [rw] source_table_arn
7829
7181
  # The DynamoDB table that will be restored. This value is an Amazon
7830
7182
  # Resource Name (ARN).
@@ -7901,6 +7253,31 @@ module Aws::DynamoDB
7901
7253
  include Aws::Structure
7902
7254
  end
7903
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
+
7904
7281
  # The description of the server-side encryption status on the specified
7905
7282
  # table.
7906
7283
  #
@@ -7916,25 +7293,24 @@ module Aws::DynamoDB
7916
7293
  # @!attribute [rw] sse_type
7917
7294
  # Server-side encryption type. The only supported value is:
7918
7295
  #
7919
- # * `KMS` - Server-side encryption that uses AWS Key Management
7920
- # Service. The key is stored in your account and is managed by AWS
7921
- # KMS (AWS KMS charges apply).
7296
+ # * `KMS` - Server-side encryption that uses Key Management Service.
7297
+ # The key is stored in your account and is managed by KMS (KMS
7298
+ # charges apply).
7922
7299
  #
7923
7300
  # ^
7924
7301
  # @return [String]
7925
7302
  #
7926
7303
  # @!attribute [rw] kms_master_key_arn
7927
- # The AWS KMS customer master key (CMK) ARN used for the AWS KMS
7928
- # encryption.
7304
+ # The KMS key ARN used for the KMS encryption.
7929
7305
  # @return [String]
7930
7306
  #
7931
7307
  # @!attribute [rw] inaccessible_encryption_date_time
7932
7308
  # Indicates the time, in UNIX epoch date format, when DynamoDB
7933
- # detected that the table's AWS KMS key was inaccessible. This
7934
- # attribute will automatically be cleared when DynamoDB detects that
7935
- # the table's AWS KMS key is accessible again. DynamoDB will initiate
7936
- # the table archival process when table's AWS KMS key remains
7937
- # inaccessible for more than seven days from this date.
7309
+ # detected that the table's KMS key was inaccessible. This attribute
7310
+ # will automatically be cleared when DynamoDB detects that the
7311
+ # table's KMS key is accessible again. DynamoDB will initiate the
7312
+ # table archival process when table's KMS key remains inaccessible
7313
+ # for more than seven days from this date.
7938
7314
  # @return [Time]
7939
7315
  #
7940
7316
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSEDescription AWS API Documentation
@@ -7950,39 +7326,30 @@ module Aws::DynamoDB
7950
7326
 
7951
7327
  # Represents the settings used to enable server-side encryption.
7952
7328
  #
7953
- # @note When making an API call, you may pass SSESpecification
7954
- # data as a hash:
7955
- #
7956
- # {
7957
- # enabled: false,
7958
- # sse_type: "AES256", # accepts AES256, KMS
7959
- # kms_master_key_id: "KMSMasterKeyId",
7960
- # }
7961
- #
7962
7329
  # @!attribute [rw] enabled
7963
- # Indicates whether server-side encryption is done using an AWS
7964
- # managed CMK or an AWS owned CMK. If enabled (true), server-side
7965
- # encryption type is set to `KMS` and an AWS managed CMK is used (AWS
7966
- # KMS charges apply). If disabled (false) or not specified,
7967
- # server-side encryption is set to AWS owned CMK.
7330
+ # Indicates whether server-side encryption is done using an Amazon Web
7331
+ # Services managed key or an Amazon Web Services owned key. If enabled
7332
+ # (true), server-side encryption type is set to `KMS` and an Amazon
7333
+ # Web Services managed key is used (KMS charges apply). If disabled
7334
+ # (false) or not specified, server-side encryption is set to Amazon
7335
+ # Web Services owned key.
7968
7336
  # @return [Boolean]
7969
7337
  #
7970
7338
  # @!attribute [rw] sse_type
7971
7339
  # Server-side encryption type. The only supported value is:
7972
7340
  #
7973
- # * `KMS` - Server-side encryption that uses AWS Key Management
7974
- # Service. The key is stored in your account and is managed by AWS
7975
- # KMS (AWS KMS charges apply).
7341
+ # * `KMS` - Server-side encryption that uses Key Management Service.
7342
+ # The key is stored in your account and is managed by KMS (KMS
7343
+ # charges apply).
7976
7344
  #
7977
7345
  # ^
7978
7346
  # @return [String]
7979
7347
  #
7980
7348
  # @!attribute [rw] kms_master_key_id
7981
- # The AWS KMS customer master key (CMK) that should be used for the
7982
- # AWS KMS encryption. To specify a CMK, use its key ID, Amazon
7983
- # Resource Name (ARN), alias name, or alias ARN. Note that you should
7984
- # only provide this parameter if the key is different from the default
7985
- # DynamoDB customer master key alias/aws/dynamodb.
7349
+ # The KMS key that should be used for the KMS encryption. To specify a
7350
+ # key, use its key ID, Amazon Resource Name (ARN), alias name, or
7351
+ # alias ARN. Note that you should only provide this parameter if the
7352
+ # key is different from the default DynamoDB key `alias/aws/dynamodb`.
7986
7353
  # @return [String]
7987
7354
  #
7988
7355
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/SSESpecification AWS API Documentation
@@ -7997,39 +7364,6 @@ module Aws::DynamoDB
7997
7364
 
7998
7365
  # Represents the input of a `Scan` operation.
7999
7366
  #
8000
- # @note When making an API call, you may pass ScanInput
8001
- # data as a hash:
8002
- #
8003
- # {
8004
- # table_name: "TableName", # required
8005
- # index_name: "IndexName",
8006
- # attributes_to_get: ["AttributeName"],
8007
- # limit: 1,
8008
- # select: "ALL_ATTRIBUTES", # accepts ALL_ATTRIBUTES, ALL_PROJECTED_ATTRIBUTES, SPECIFIC_ATTRIBUTES, COUNT
8009
- # scan_filter: {
8010
- # "AttributeName" => {
8011
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
8012
- # comparison_operator: "EQ", # required, accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
8013
- # },
8014
- # },
8015
- # conditional_operator: "AND", # accepts AND, OR
8016
- # exclusive_start_key: {
8017
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
8018
- # },
8019
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
8020
- # total_segments: 1,
8021
- # segment: 1,
8022
- # projection_expression: "ProjectionExpression",
8023
- # filter_expression: "ConditionExpression",
8024
- # expression_attribute_names: {
8025
- # "ExpressionAttributeNameVariable" => "AttributeName",
8026
- # },
8027
- # expression_attribute_values: {
8028
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
8029
- # },
8030
- # consistent_read: false,
8031
- # }
8032
- #
8033
7367
  # @!attribute [rw] table_name
8034
7368
  # The name of the table containing the requested items; or, if you
8035
7369
  # provide `IndexName`, the name of the table to which that index
@@ -8092,8 +7426,9 @@ module Aws::DynamoDB
8092
7426
  # matching items themselves.
8093
7427
  #
8094
7428
  # * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
8095
- # `AttributesToGet`. This return value is equivalent to specifying
8096
- # `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`.
8097
7432
  #
8098
7433
  # If you query or scan a local secondary index and request only
8099
7434
  # attributes that are projected into that index, the operation reads
@@ -8107,13 +7442,13 @@ module Aws::DynamoDB
8107
7442
  # secondary index queries cannot fetch attributes from the parent
8108
7443
  # table.
8109
7444
  #
8110
- # If neither `Select` nor `AttributesToGet` are specified, DynamoDB
8111
- # 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
8112
7447
  # `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
8113
- # both `Select` and `AttributesToGet` together in a single request,
8114
- # unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage
8115
- # is equivalent to specifying `AttributesToGet` without any value for
8116
- # `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`.)
8117
7452
  #
8118
7453
  # <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
8119
7454
  # `Select` can only be `SPECIFIC_ATTRIBUTES`. Any other value for
@@ -8156,8 +7491,8 @@ module Aws::DynamoDB
8156
7491
  # @return [Hash<String,Types::AttributeValue>]
8157
7492
  #
8158
7493
  # @!attribute [rw] return_consumed_capacity
8159
- # Determines the level of detail about provisioned throughput
8160
- # consumption that is returned in the response:
7494
+ # Determines the level of detail about either provisioned or on-demand
7495
+ # throughput consumption that is returned in the response:
8161
7496
  #
8162
7497
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
8163
7498
  # for the operation, together with `ConsumedCapacity` for each table
@@ -8244,7 +7579,7 @@ module Aws::DynamoDB
8244
7579
  #
8245
7580
  #
8246
7581
  #
8247
- # [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
8248
7583
  # @return [String]
8249
7584
  #
8250
7585
  # @!attribute [rw] expression_attribute_names
@@ -8550,14 +7885,6 @@ module Aws::DynamoDB
8550
7885
 
8551
7886
  # Represents the DynamoDB Streams configuration for a table in DynamoDB.
8552
7887
  #
8553
- # @note When making an API call, you may pass StreamSpecification
8554
- # data as a hash:
8555
- #
8556
- # {
8557
- # stream_enabled: false, # required
8558
- # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
8559
- # }
8560
- #
8561
7888
  # @!attribute [rw] stream_enabled
8562
7889
  # Indicates whether DynamoDB Streams is enabled (true) or disabled
8563
7890
  # (false) on the table.
@@ -8635,6 +7962,83 @@ module Aws::DynamoDB
8635
7962
  include Aws::Structure
8636
7963
  end
8637
7964
 
7965
+ # Contains details of the table class.
7966
+ #
7967
+ # @!attribute [rw] table_class
7968
+ # The table class of the specified table. Valid values are `STANDARD`
7969
+ # and `STANDARD_INFREQUENT_ACCESS`.
7970
+ # @return [String]
7971
+ #
7972
+ # @!attribute [rw] last_update_date_time
7973
+ # The date and time at which the table class was last updated.
7974
+ # @return [Time]
7975
+ #
7976
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableClassSummary AWS API Documentation
7977
+ #
7978
+ class TableClassSummary < Struct.new(
7979
+ :table_class,
7980
+ :last_update_date_time)
7981
+ SENSITIVE = []
7982
+ include Aws::Structure
7983
+ end
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
+
8638
8042
  # Represents the properties of a table.
8639
8043
  #
8640
8044
  # @!attribute [rw] attribute_definitions
@@ -8689,17 +8093,18 @@ module Aws::DynamoDB
8689
8093
  #
8690
8094
  # * `CREATING` - The table is being created.
8691
8095
  #
8692
- # * `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`.
8693
8098
  #
8694
8099
  # * `DELETING` - The table is being deleted.
8695
8100
  #
8696
8101
  # * `ACTIVE` - The table is ready for use.
8697
8102
  #
8698
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to
8103
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to
8699
8104
  # encrypt the table in inaccessible. Table operations may fail due
8700
- # to failure to use the AWS KMS key. DynamoDB will initiate the
8701
- # table archival process when a table's AWS KMS key remains
8702
- # inaccessible for more than seven days.
8105
+ # to failure to use the KMS key. DynamoDB will initiate the table
8106
+ # archival process when a table's KMS key remains inaccessible for
8107
+ # more than seven days.
8703
8108
  #
8704
8109
  # * `ARCHIVING` - The table is being archived. Operations are not
8705
8110
  # allowed until archival is complete.
@@ -8782,7 +8187,7 @@ module Aws::DynamoDB
8782
8187
  # * `NonKeyAttributes` - A list of one or more non-key attribute
8783
8188
  # names that are projected into the secondary index. The total
8784
8189
  # count of attributes provided in `NonKeyAttributes`, summed
8785
- # 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
8786
8191
  # project the same attribute into two different indexes, this
8787
8192
  # counts as two distinct attributes when determining the total.
8788
8193
  #
@@ -8862,7 +8267,7 @@ module Aws::DynamoDB
8862
8267
  # * `NonKeyAttributes` - A list of one or more non-key attribute
8863
8268
  # names that are projected into the secondary index. The total
8864
8269
  # count of attributes provided in `NonKeyAttributes`, summed
8865
- # 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
8866
8271
  # project the same attribute into two different indexes, this
8867
8272
  # counts as two distinct attributes when determining the total.
8868
8273
  #
@@ -8886,7 +8291,7 @@ module Aws::DynamoDB
8886
8291
  # might have the same timestamp. However, the combination of the
8887
8292
  # following three elements is guaranteed to be unique:
8888
8293
  #
8889
- # * AWS customer ID
8294
+ # * Amazon Web Services customer ID
8890
8295
  #
8891
8296
  # * Table name
8892
8297
  #
@@ -8900,7 +8305,7 @@ module Aws::DynamoDB
8900
8305
  #
8901
8306
  # @!attribute [rw] global_table_version
8902
8307
  # Represents the version of [global tables][1] in use, if the table is
8903
- # replicated across AWS Regions.
8308
+ # replicated across Amazon Web Services Regions.
8904
8309
  #
8905
8310
  #
8906
8311
  #
@@ -8924,6 +8329,10 @@ module Aws::DynamoDB
8924
8329
  # Contains information about the table archive.
8925
8330
  # @return [Types::ArchivalSummary]
8926
8331
  #
8332
+ # @!attribute [rw] table_class_summary
8333
+ # Contains details of the table class.
8334
+ # @return [Types::TableClassSummary]
8335
+ #
8927
8336
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TableDescription AWS API Documentation
8928
8337
  #
8929
8338
  class TableDescription < Struct.new(
@@ -8947,7 +8356,8 @@ module Aws::DynamoDB
8947
8356
  :replicas,
8948
8357
  :restore_summary,
8949
8358
  :sse_description,
8950
- :archival_summary)
8359
+ :archival_summary,
8360
+ :table_class_summary)
8951
8361
  SENSITIVE = []
8952
8362
  include Aws::Structure
8953
8363
  end
@@ -8967,7 +8377,8 @@ module Aws::DynamoDB
8967
8377
  end
8968
8378
 
8969
8379
  # A source table with the name `TableName` does not currently exist
8970
- # within the subscriber's account.
8380
+ # within the subscriber's account or the subscriber is operating in the
8381
+ # wrong Amazon Web Services Region.
8971
8382
  #
8972
8383
  # @!attribute [rw] message
8973
8384
  # @return [String]
@@ -8983,11 +8394,11 @@ module Aws::DynamoDB
8983
8394
  # Describes a tag. A tag is a key-value pair. You can add up to 50 tags
8984
8395
  # to a single DynamoDB table.
8985
8396
  #
8986
- # AWS-assigned tag names and values are automatically assigned the
8987
- # `aws:` prefix, which the user cannot assign. AWS-assigned tag names do
8988
- # not count towards the tag limit of 50. User-assigned tag names have
8989
- # the prefix `user:` in the Cost Allocation Report. You cannot backdate
8990
- # the application of a tag.
8397
+ # Amazon Web Services-assigned tag names and values are automatically
8398
+ # assigned the `aws:` prefix, which the user cannot assign. Amazon Web
8399
+ # Services-assigned tag names do not count towards the tag limit of 50.
8400
+ # User-assigned tag names have the prefix `user:` in the Cost Allocation
8401
+ # Report. You cannot backdate the application of a tag.
8991
8402
  #
8992
8403
  # For an overview on tagging DynamoDB resources, see [Tagging for
8993
8404
  # DynamoDB][1] in the *Amazon DynamoDB Developer Guide*.
@@ -8996,14 +8407,6 @@ module Aws::DynamoDB
8996
8407
  #
8997
8408
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
8998
8409
  #
8999
- # @note When making an API call, you may pass Tag
9000
- # data as a hash:
9001
- #
9002
- # {
9003
- # key: "TagKeyString", # required
9004
- # value: "TagValueString", # required
9005
- # }
9006
- #
9007
8410
  # @!attribute [rw] key
9008
8411
  # The key of the tag. Tag keys are case sensitive. Each DynamoDB table
9009
8412
  # can only have up to one tag with the same key. If you try to add an
@@ -9024,19 +8427,6 @@ module Aws::DynamoDB
9024
8427
  include Aws::Structure
9025
8428
  end
9026
8429
 
9027
- # @note When making an API call, you may pass TagResourceInput
9028
- # data as a hash:
9029
- #
9030
- # {
9031
- # resource_arn: "ResourceArnString", # required
9032
- # tags: [ # required
9033
- # {
9034
- # key: "TagKeyString", # required
9035
- # value: "TagValueString", # required
9036
- # },
9037
- # ],
9038
- # }
9039
- #
9040
8430
  # @!attribute [rw] resource_arn
9041
8431
  # Identifies the Amazon DynamoDB resource to which tags should be
9042
8432
  # added. This value is an Amazon Resource Name (ARN).
@@ -9078,14 +8468,6 @@ module Aws::DynamoDB
9078
8468
  # Represents the settings used to enable or disable Time to Live (TTL)
9079
8469
  # for the specified table.
9080
8470
  #
9081
- # @note When making an API call, you may pass TimeToLiveSpecification
9082
- # data as a hash:
9083
- #
9084
- # {
9085
- # enabled: false, # required
9086
- # attribute_name: "TimeToLiveAttributeName", # required
9087
- # }
9088
- #
9089
8471
  # @!attribute [rw] enabled
9090
8472
  # Indicates whether TTL is to be enabled (true) or disabled (false) on
9091
8473
  # the table.
@@ -9107,22 +8489,6 @@ module Aws::DynamoDB
9107
8489
 
9108
8490
  # Specifies an item to be retrieved as part of the transaction.
9109
8491
  #
9110
- # @note When making an API call, you may pass TransactGetItem
9111
- # data as a hash:
9112
- #
9113
- # {
9114
- # get: { # required
9115
- # key: { # required
9116
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9117
- # },
9118
- # table_name: "TableName", # required
9119
- # projection_expression: "ProjectionExpression",
9120
- # expression_attribute_names: {
9121
- # "ExpressionAttributeNameVariable" => "AttributeName",
9122
- # },
9123
- # },
9124
- # }
9125
- #
9126
8492
  # @!attribute [rw] get
9127
8493
  # Contains the primary key that identifies the item to get, together
9128
8494
  # with the name of the table that contains the item, and optionally
@@ -9137,29 +8503,8 @@ module Aws::DynamoDB
9137
8503
  include Aws::Structure
9138
8504
  end
9139
8505
 
9140
- # @note When making an API call, you may pass TransactGetItemsInput
9141
- # data as a hash:
9142
- #
9143
- # {
9144
- # transact_items: [ # required
9145
- # {
9146
- # get: { # required
9147
- # key: { # required
9148
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9149
- # },
9150
- # table_name: "TableName", # required
9151
- # projection_expression: "ProjectionExpression",
9152
- # expression_attribute_names: {
9153
- # "ExpressionAttributeNameVariable" => "AttributeName",
9154
- # },
9155
- # },
9156
- # },
9157
- # ],
9158
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
9159
- # }
9160
- #
9161
8506
  # @!attribute [rw] transact_items
9162
- # An ordered array of up to 25 `TransactGetItem` objects, each of
8507
+ # An ordered array of up to 100 `TransactGetItem` objects, each of
9163
8508
  # which contains a `Get` structure.
9164
8509
  # @return [Array<Types::TransactGetItem>]
9165
8510
  #
@@ -9187,7 +8532,7 @@ module Aws::DynamoDB
9187
8532
  # @return [Array<Types::ConsumedCapacity>]
9188
8533
  #
9189
8534
  # @!attribute [rw] responses
9190
- # 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
9191
8536
  # corresponds to the `TransactGetItem` object in the same position in
9192
8537
  # the *TransactItems* array. Each `ItemResponse` object contains a Map
9193
8538
  # of the name-value pairs that are the projected attributes of the
@@ -9211,69 +8556,6 @@ module Aws::DynamoDB
9211
8556
  # A list of requests that can perform update, put, delete, or check
9212
8557
  # operations on multiple items in one or more tables atomically.
9213
8558
  #
9214
- # @note When making an API call, you may pass TransactWriteItem
9215
- # data as a hash:
9216
- #
9217
- # {
9218
- # condition_check: {
9219
- # key: { # required
9220
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9221
- # },
9222
- # table_name: "TableName", # required
9223
- # condition_expression: "ConditionExpression", # required
9224
- # expression_attribute_names: {
9225
- # "ExpressionAttributeNameVariable" => "AttributeName",
9226
- # },
9227
- # expression_attribute_values: {
9228
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9229
- # },
9230
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9231
- # },
9232
- # put: {
9233
- # item: { # required
9234
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9235
- # },
9236
- # table_name: "TableName", # required
9237
- # condition_expression: "ConditionExpression",
9238
- # expression_attribute_names: {
9239
- # "ExpressionAttributeNameVariable" => "AttributeName",
9240
- # },
9241
- # expression_attribute_values: {
9242
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9243
- # },
9244
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9245
- # },
9246
- # delete: {
9247
- # key: { # required
9248
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9249
- # },
9250
- # table_name: "TableName", # required
9251
- # condition_expression: "ConditionExpression",
9252
- # expression_attribute_names: {
9253
- # "ExpressionAttributeNameVariable" => "AttributeName",
9254
- # },
9255
- # expression_attribute_values: {
9256
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9257
- # },
9258
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9259
- # },
9260
- # update: {
9261
- # key: { # required
9262
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9263
- # },
9264
- # update_expression: "UpdateExpression", # required
9265
- # table_name: "TableName", # required
9266
- # condition_expression: "ConditionExpression",
9267
- # expression_attribute_names: {
9268
- # "ExpressionAttributeNameVariable" => "AttributeName",
9269
- # },
9270
- # expression_attribute_values: {
9271
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9272
- # },
9273
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9274
- # },
9275
- # }
9276
- #
9277
8559
  # @!attribute [rw] condition_check
9278
8560
  # A request to perform a check item operation.
9279
8561
  # @return [Types::ConditionCheck]
@@ -9301,87 +8583,17 @@ module Aws::DynamoDB
9301
8583
  include Aws::Structure
9302
8584
  end
9303
8585
 
9304
- # @note When making an API call, you may pass TransactWriteItemsInput
9305
- # data as a hash:
9306
- #
9307
- # {
9308
- # transact_items: [ # required
9309
- # {
9310
- # condition_check: {
9311
- # key: { # required
9312
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9313
- # },
9314
- # table_name: "TableName", # required
9315
- # condition_expression: "ConditionExpression", # required
9316
- # expression_attribute_names: {
9317
- # "ExpressionAttributeNameVariable" => "AttributeName",
9318
- # },
9319
- # expression_attribute_values: {
9320
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9321
- # },
9322
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9323
- # },
9324
- # put: {
9325
- # item: { # required
9326
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9327
- # },
9328
- # table_name: "TableName", # required
9329
- # condition_expression: "ConditionExpression",
9330
- # expression_attribute_names: {
9331
- # "ExpressionAttributeNameVariable" => "AttributeName",
9332
- # },
9333
- # expression_attribute_values: {
9334
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9335
- # },
9336
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9337
- # },
9338
- # delete: {
9339
- # key: { # required
9340
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9341
- # },
9342
- # table_name: "TableName", # required
9343
- # condition_expression: "ConditionExpression",
9344
- # expression_attribute_names: {
9345
- # "ExpressionAttributeNameVariable" => "AttributeName",
9346
- # },
9347
- # expression_attribute_values: {
9348
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9349
- # },
9350
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9351
- # },
9352
- # update: {
9353
- # key: { # required
9354
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9355
- # },
9356
- # update_expression: "UpdateExpression", # required
9357
- # table_name: "TableName", # required
9358
- # condition_expression: "ConditionExpression",
9359
- # expression_attribute_names: {
9360
- # "ExpressionAttributeNameVariable" => "AttributeName",
9361
- # },
9362
- # expression_attribute_values: {
9363
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9364
- # },
9365
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9366
- # },
9367
- # },
9368
- # ],
9369
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
9370
- # return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
9371
- # client_request_token: "ClientRequestToken",
9372
- # }
9373
- #
9374
8586
  # @!attribute [rw] transact_items
9375
- # An ordered array of up to 25 `TransactWriteItem` objects, each of
8587
+ # An ordered array of up to 100 `TransactWriteItem` objects, each of
9376
8588
  # which contains a `ConditionCheck`, `Put`, `Update`, or `Delete`
9377
8589
  # object. These can operate on items in different tables, but the
9378
- # tables must reside in the same AWS account and Region, and no two of
9379
- # them can operate on the same item.
8590
+ # tables must reside in the same Amazon Web Services account and
8591
+ # Region, and no two of them can operate on the same item.
9380
8592
  # @return [Array<Types::TransactWriteItem>]
9381
8593
  #
9382
8594
  # @!attribute [rw] return_consumed_capacity
9383
- # Determines the level of detail about provisioned throughput
9384
- # consumption that is returned in the response:
8595
+ # Determines the level of detail about either provisioned or on-demand
8596
+ # throughput consumption that is returned in the response:
9385
8597
  #
9386
8598
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
9387
8599
  # for the operation, together with `ConsumedCapacity` for each table
@@ -9509,7 +8721,7 @@ module Aws::DynamoDB
9509
8721
  # <note markdown="1"> If using Java, DynamoDB lists the cancellation reasons on the
9510
8722
  # `CancellationReasons` property. This property is not set for other
9511
8723
  # languages. Transaction cancellation reasons are ordered in the order
9512
- # 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
9513
8725
  # and `Null` message.
9514
8726
  #
9515
8727
  # </note>
@@ -9518,7 +8730,7 @@ module Aws::DynamoDB
9518
8730
  #
9519
8731
  # * No Errors:
9520
8732
  #
9521
- # * Code: `NONE`
8733
+ # * Code: `None`
9522
8734
  #
9523
8735
  # * Message: `null`
9524
8736
  #
@@ -9665,14 +8877,6 @@ module Aws::DynamoDB
9665
8877
  include Aws::Structure
9666
8878
  end
9667
8879
 
9668
- # @note When making an API call, you may pass UntagResourceInput
9669
- # data as a hash:
9670
- #
9671
- # {
9672
- # resource_arn: "ResourceArnString", # required
9673
- # tag_keys: ["TagKeyString"], # required
9674
- # }
9675
- #
9676
8880
  # @!attribute [rw] resource_arn
9677
8881
  # The DynamoDB resource that the tags will be removed from. This value
9678
8882
  # is an Amazon Resource Name (ARN).
@@ -9694,25 +8898,6 @@ module Aws::DynamoDB
9694
8898
 
9695
8899
  # Represents a request to perform an `UpdateItem` operation.
9696
8900
  #
9697
- # @note When making an API call, you may pass Update
9698
- # data as a hash:
9699
- #
9700
- # {
9701
- # key: { # required
9702
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9703
- # },
9704
- # update_expression: "UpdateExpression", # required
9705
- # table_name: "TableName", # required
9706
- # condition_expression: "ConditionExpression",
9707
- # expression_attribute_names: {
9708
- # "ExpressionAttributeNameVariable" => "AttributeName",
9709
- # },
9710
- # expression_attribute_values: {
9711
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
9712
- # },
9713
- # return_values_on_condition_check_failure: "ALL_OLD", # accepts ALL_OLD, NONE
9714
- # }
9715
- #
9716
8901
  # @!attribute [rw] key
9717
8902
  # The primary key of the item to be updated. Each element consists of
9718
8903
  # an attribute name and a value for that attribute.
@@ -9762,16 +8947,6 @@ module Aws::DynamoDB
9762
8947
  include Aws::Structure
9763
8948
  end
9764
8949
 
9765
- # @note When making an API call, you may pass UpdateContinuousBackupsInput
9766
- # data as a hash:
9767
- #
9768
- # {
9769
- # table_name: "TableName", # required
9770
- # point_in_time_recovery_specification: { # required
9771
- # point_in_time_recovery_enabled: false, # required
9772
- # },
9773
- # }
9774
- #
9775
8950
  # @!attribute [rw] table_name
9776
8951
  # The name of the table.
9777
8952
  # @return [String]
@@ -9802,15 +8977,6 @@ module Aws::DynamoDB
9802
8977
  include Aws::Structure
9803
8978
  end
9804
8979
 
9805
- # @note When making an API call, you may pass UpdateContributorInsightsInput
9806
- # data as a hash:
9807
- #
9808
- # {
9809
- # table_name: "TableName", # required
9810
- # index_name: "IndexName",
9811
- # contributor_insights_action: "ENABLE", # required, accepts ENABLE, DISABLE
9812
- # }
9813
- #
9814
8980
  # @!attribute [rw] table_name
9815
8981
  # The name of the table.
9816
8982
  # @return [String]
@@ -9858,17 +9024,6 @@ module Aws::DynamoDB
9858
9024
  # Represents the new provisioned throughput settings to be applied to a
9859
9025
  # global secondary index.
9860
9026
  #
9861
- # @note When making an API call, you may pass UpdateGlobalSecondaryIndexAction
9862
- # data as a hash:
9863
- #
9864
- # {
9865
- # index_name: "IndexName", # required
9866
- # provisioned_throughput: { # required
9867
- # read_capacity_units: 1, # required
9868
- # write_capacity_units: 1, # required
9869
- # },
9870
- # }
9871
- #
9872
9027
  # @!attribute [rw] index_name
9873
9028
  # The name of the global secondary index to be updated.
9874
9029
  # @return [String]
@@ -9895,23 +9050,6 @@ module Aws::DynamoDB
9895
9050
  include Aws::Structure
9896
9051
  end
9897
9052
 
9898
- # @note When making an API call, you may pass UpdateGlobalTableInput
9899
- # data as a hash:
9900
- #
9901
- # {
9902
- # global_table_name: "TableName", # required
9903
- # replica_updates: [ # required
9904
- # {
9905
- # create: {
9906
- # region_name: "RegionName", # required
9907
- # },
9908
- # delete: {
9909
- # region_name: "RegionName", # required
9910
- # },
9911
- # },
9912
- # ],
9913
- # }
9914
- #
9915
9053
  # @!attribute [rw] global_table_name
9916
9054
  # The global table name.
9917
9055
  # @return [String]
@@ -9942,93 +9080,6 @@ module Aws::DynamoDB
9942
9080
  include Aws::Structure
9943
9081
  end
9944
9082
 
9945
- # @note When making an API call, you may pass UpdateGlobalTableSettingsInput
9946
- # data as a hash:
9947
- #
9948
- # {
9949
- # global_table_name: "TableName", # required
9950
- # global_table_billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
9951
- # global_table_provisioned_write_capacity_units: 1,
9952
- # global_table_provisioned_write_capacity_auto_scaling_settings_update: {
9953
- # minimum_units: 1,
9954
- # maximum_units: 1,
9955
- # auto_scaling_disabled: false,
9956
- # auto_scaling_role_arn: "AutoScalingRoleArn",
9957
- # scaling_policy_update: {
9958
- # policy_name: "AutoScalingPolicyName",
9959
- # target_tracking_scaling_policy_configuration: { # required
9960
- # disable_scale_in: false,
9961
- # scale_in_cooldown: 1,
9962
- # scale_out_cooldown: 1,
9963
- # target_value: 1.0, # required
9964
- # },
9965
- # },
9966
- # },
9967
- # global_table_global_secondary_index_settings_update: [
9968
- # {
9969
- # index_name: "IndexName", # required
9970
- # provisioned_write_capacity_units: 1,
9971
- # provisioned_write_capacity_auto_scaling_settings_update: {
9972
- # minimum_units: 1,
9973
- # maximum_units: 1,
9974
- # auto_scaling_disabled: false,
9975
- # auto_scaling_role_arn: "AutoScalingRoleArn",
9976
- # scaling_policy_update: {
9977
- # policy_name: "AutoScalingPolicyName",
9978
- # target_tracking_scaling_policy_configuration: { # required
9979
- # disable_scale_in: false,
9980
- # scale_in_cooldown: 1,
9981
- # scale_out_cooldown: 1,
9982
- # target_value: 1.0, # required
9983
- # },
9984
- # },
9985
- # },
9986
- # },
9987
- # ],
9988
- # replica_settings_update: [
9989
- # {
9990
- # region_name: "RegionName", # required
9991
- # replica_provisioned_read_capacity_units: 1,
9992
- # replica_provisioned_read_capacity_auto_scaling_settings_update: {
9993
- # minimum_units: 1,
9994
- # maximum_units: 1,
9995
- # auto_scaling_disabled: false,
9996
- # auto_scaling_role_arn: "AutoScalingRoleArn",
9997
- # scaling_policy_update: {
9998
- # policy_name: "AutoScalingPolicyName",
9999
- # target_tracking_scaling_policy_configuration: { # required
10000
- # disable_scale_in: false,
10001
- # scale_in_cooldown: 1,
10002
- # scale_out_cooldown: 1,
10003
- # target_value: 1.0, # required
10004
- # },
10005
- # },
10006
- # },
10007
- # replica_global_secondary_index_settings_update: [
10008
- # {
10009
- # index_name: "IndexName", # required
10010
- # provisioned_read_capacity_units: 1,
10011
- # provisioned_read_capacity_auto_scaling_settings_update: {
10012
- # minimum_units: 1,
10013
- # maximum_units: 1,
10014
- # auto_scaling_disabled: false,
10015
- # auto_scaling_role_arn: "AutoScalingRoleArn",
10016
- # scaling_policy_update: {
10017
- # policy_name: "AutoScalingPolicyName",
10018
- # target_tracking_scaling_policy_configuration: { # required
10019
- # disable_scale_in: false,
10020
- # scale_in_cooldown: 1,
10021
- # scale_out_cooldown: 1,
10022
- # target_value: 1.0, # required
10023
- # },
10024
- # },
10025
- # },
10026
- # },
10027
- # ],
10028
- # },
10029
- # ],
10030
- # }
10031
- #
10032
9083
  # @!attribute [rw] global_table_name
10033
9084
  # The name of the global table
10034
9085
  # @return [String]
@@ -10104,42 +9155,6 @@ module Aws::DynamoDB
10104
9155
 
10105
9156
  # Represents the input of an `UpdateItem` operation.
10106
9157
  #
10107
- # @note When making an API call, you may pass UpdateItemInput
10108
- # data as a hash:
10109
- #
10110
- # {
10111
- # table_name: "TableName", # required
10112
- # key: { # required
10113
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10114
- # },
10115
- # attribute_updates: {
10116
- # "AttributeName" => {
10117
- # value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10118
- # action: "ADD", # accepts ADD, PUT, DELETE
10119
- # },
10120
- # },
10121
- # expected: {
10122
- # "AttributeName" => {
10123
- # value: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10124
- # exists: false,
10125
- # comparison_operator: "EQ", # accepts EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
10126
- # attribute_value_list: ["value"], # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10127
- # },
10128
- # },
10129
- # conditional_operator: "AND", # accepts AND, OR
10130
- # return_values: "NONE", # accepts NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW
10131
- # return_consumed_capacity: "INDEXES", # accepts INDEXES, TOTAL, NONE
10132
- # return_item_collection_metrics: "SIZE", # accepts SIZE, NONE
10133
- # update_expression: "UpdateExpression",
10134
- # condition_expression: "ConditionExpression",
10135
- # expression_attribute_names: {
10136
- # "ExpressionAttributeNameVariable" => "AttributeName",
10137
- # },
10138
- # expression_attribute_values: {
10139
- # "ExpressionAttributeValueVariable" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10140
- # },
10141
- # }
10142
- #
10143
9158
  # @!attribute [rw] table_name
10144
9159
  # The name of the table containing the item to update.
10145
9160
  # @return [String]
@@ -10213,8 +9228,8 @@ module Aws::DynamoDB
10213
9228
  # @return [String]
10214
9229
  #
10215
9230
  # @!attribute [rw] return_consumed_capacity
10216
- # Determines the level of detail about provisioned throughput
10217
- # consumption that is returned in the response:
9231
+ # Determines the level of detail about either provisioned or on-demand
9232
+ # throughput consumption that is returned in the response:
10218
9233
  #
10219
9234
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
10220
9235
  # for the operation, together with `ConsumedCapacity` for each table
@@ -10521,35 +9536,16 @@ module Aws::DynamoDB
10521
9536
 
10522
9537
  # Represents a replica to be modified.
10523
9538
  #
10524
- # @note When making an API call, you may pass UpdateReplicationGroupMemberAction
10525
- # data as a hash:
10526
- #
10527
- # {
10528
- # region_name: "RegionName", # required
10529
- # kms_master_key_id: "KMSMasterKeyId",
10530
- # provisioned_throughput_override: {
10531
- # read_capacity_units: 1,
10532
- # },
10533
- # global_secondary_indexes: [
10534
- # {
10535
- # index_name: "IndexName", # required
10536
- # provisioned_throughput_override: {
10537
- # read_capacity_units: 1,
10538
- # },
10539
- # },
10540
- # ],
10541
- # }
10542
- #
10543
9539
  # @!attribute [rw] region_name
10544
9540
  # The Region where the replica exists.
10545
9541
  # @return [String]
10546
9542
  #
10547
9543
  # @!attribute [rw] kms_master_key_id
10548
- # The AWS KMS customer master key (CMK) of the replica that should be
10549
- # used for AWS KMS encryption. To specify a CMK, use its key ID,
10550
- # Amazon Resource Name (ARN), alias name, or alias ARN. Note that you
10551
- # should only provide this parameter if the key is different from the
10552
- # default DynamoDB KMS master key alias/aws/dynamodb.
9544
+ # The KMS key of the replica that should be used for KMS encryption.
9545
+ # To specify a key, use its key ID, Amazon Resource Name (ARN), alias
9546
+ # name, or alias ARN. Note that you should only provide this parameter
9547
+ # if the key is different from the default DynamoDB KMS key
9548
+ # `alias/aws/dynamodb`.
10553
9549
  # @return [String]
10554
9550
  #
10555
9551
  # @!attribute [rw] provisioned_throughput_override
@@ -10561,114 +9557,25 @@ module Aws::DynamoDB
10561
9557
  # Replica-specific global secondary index settings.
10562
9558
  # @return [Array<Types::ReplicaGlobalSecondaryIndex>]
10563
9559
  #
9560
+ # @!attribute [rw] table_class_override
9561
+ # Replica-specific table class. If not specified, uses the source
9562
+ # table's table class.
9563
+ # @return [String]
9564
+ #
10564
9565
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateReplicationGroupMemberAction AWS API Documentation
10565
9566
  #
10566
9567
  class UpdateReplicationGroupMemberAction < Struct.new(
10567
9568
  :region_name,
10568
9569
  :kms_master_key_id,
10569
9570
  :provisioned_throughput_override,
10570
- :global_secondary_indexes)
9571
+ :global_secondary_indexes,
9572
+ :table_class_override)
10571
9573
  SENSITIVE = []
10572
9574
  include Aws::Structure
10573
9575
  end
10574
9576
 
10575
9577
  # Represents the input of an `UpdateTable` operation.
10576
9578
  #
10577
- # @note When making an API call, you may pass UpdateTableInput
10578
- # data as a hash:
10579
- #
10580
- # {
10581
- # attribute_definitions: [
10582
- # {
10583
- # attribute_name: "KeySchemaAttributeName", # required
10584
- # attribute_type: "S", # required, accepts S, N, B
10585
- # },
10586
- # ],
10587
- # table_name: "TableName", # required
10588
- # billing_mode: "PROVISIONED", # accepts PROVISIONED, PAY_PER_REQUEST
10589
- # provisioned_throughput: {
10590
- # read_capacity_units: 1, # required
10591
- # write_capacity_units: 1, # required
10592
- # },
10593
- # global_secondary_index_updates: [
10594
- # {
10595
- # update: {
10596
- # index_name: "IndexName", # required
10597
- # provisioned_throughput: { # required
10598
- # read_capacity_units: 1, # required
10599
- # write_capacity_units: 1, # required
10600
- # },
10601
- # },
10602
- # create: {
10603
- # index_name: "IndexName", # required
10604
- # key_schema: [ # required
10605
- # {
10606
- # attribute_name: "KeySchemaAttributeName", # required
10607
- # key_type: "HASH", # required, accepts HASH, RANGE
10608
- # },
10609
- # ],
10610
- # projection: { # required
10611
- # projection_type: "ALL", # accepts ALL, KEYS_ONLY, INCLUDE
10612
- # non_key_attributes: ["NonKeyAttributeName"],
10613
- # },
10614
- # provisioned_throughput: {
10615
- # read_capacity_units: 1, # required
10616
- # write_capacity_units: 1, # required
10617
- # },
10618
- # },
10619
- # delete: {
10620
- # index_name: "IndexName", # required
10621
- # },
10622
- # },
10623
- # ],
10624
- # stream_specification: {
10625
- # stream_enabled: false, # required
10626
- # stream_view_type: "NEW_IMAGE", # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
10627
- # },
10628
- # sse_specification: {
10629
- # enabled: false,
10630
- # sse_type: "AES256", # accepts AES256, KMS
10631
- # kms_master_key_id: "KMSMasterKeyId",
10632
- # },
10633
- # replica_updates: [
10634
- # {
10635
- # create: {
10636
- # region_name: "RegionName", # required
10637
- # kms_master_key_id: "KMSMasterKeyId",
10638
- # provisioned_throughput_override: {
10639
- # read_capacity_units: 1,
10640
- # },
10641
- # global_secondary_indexes: [
10642
- # {
10643
- # index_name: "IndexName", # required
10644
- # provisioned_throughput_override: {
10645
- # read_capacity_units: 1,
10646
- # },
10647
- # },
10648
- # ],
10649
- # },
10650
- # update: {
10651
- # region_name: "RegionName", # required
10652
- # kms_master_key_id: "KMSMasterKeyId",
10653
- # provisioned_throughput_override: {
10654
- # read_capacity_units: 1,
10655
- # },
10656
- # global_secondary_indexes: [
10657
- # {
10658
- # index_name: "IndexName", # required
10659
- # provisioned_throughput_override: {
10660
- # read_capacity_units: 1,
10661
- # },
10662
- # },
10663
- # ],
10664
- # },
10665
- # delete: {
10666
- # region_name: "RegionName", # required
10667
- # },
10668
- # },
10669
- # ],
10670
- # }
10671
- #
10672
9579
  # @!attribute [rw] attribute_definitions
10673
9580
  # An array of attributes that describe the key schema for the table
10674
9581
  # and indexes. If you are adding a new global secondary index to the
@@ -10757,6 +9664,11 @@ module Aws::DynamoDB
10757
9664
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
10758
9665
  # @return [Array<Types::ReplicationGroupUpdate>]
10759
9666
  #
9667
+ # @!attribute [rw] table_class
9668
+ # The table class of the table to be updated. Valid values are
9669
+ # `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
9670
+ # @return [String]
9671
+ #
10760
9672
  # @see http://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
10761
9673
  #
10762
9674
  class UpdateTableInput < Struct.new(
@@ -10767,7 +9679,8 @@ module Aws::DynamoDB
10767
9679
  :global_secondary_index_updates,
10768
9680
  :stream_specification,
10769
9681
  :sse_specification,
10770
- :replica_updates)
9682
+ :replica_updates,
9683
+ :table_class)
10771
9684
  SENSITIVE = []
10772
9685
  include Aws::Structure
10773
9686
  end
@@ -10786,88 +9699,6 @@ module Aws::DynamoDB
10786
9699
  include Aws::Structure
10787
9700
  end
10788
9701
 
10789
- # @note When making an API call, you may pass UpdateTableReplicaAutoScalingInput
10790
- # data as a hash:
10791
- #
10792
- # {
10793
- # global_secondary_index_updates: [
10794
- # {
10795
- # index_name: "IndexName",
10796
- # provisioned_write_capacity_auto_scaling_update: {
10797
- # minimum_units: 1,
10798
- # maximum_units: 1,
10799
- # auto_scaling_disabled: false,
10800
- # auto_scaling_role_arn: "AutoScalingRoleArn",
10801
- # scaling_policy_update: {
10802
- # policy_name: "AutoScalingPolicyName",
10803
- # target_tracking_scaling_policy_configuration: { # required
10804
- # disable_scale_in: false,
10805
- # scale_in_cooldown: 1,
10806
- # scale_out_cooldown: 1,
10807
- # target_value: 1.0, # required
10808
- # },
10809
- # },
10810
- # },
10811
- # },
10812
- # ],
10813
- # table_name: "TableName", # required
10814
- # provisioned_write_capacity_auto_scaling_update: {
10815
- # minimum_units: 1,
10816
- # maximum_units: 1,
10817
- # auto_scaling_disabled: false,
10818
- # auto_scaling_role_arn: "AutoScalingRoleArn",
10819
- # scaling_policy_update: {
10820
- # policy_name: "AutoScalingPolicyName",
10821
- # target_tracking_scaling_policy_configuration: { # required
10822
- # disable_scale_in: false,
10823
- # scale_in_cooldown: 1,
10824
- # scale_out_cooldown: 1,
10825
- # target_value: 1.0, # required
10826
- # },
10827
- # },
10828
- # },
10829
- # replica_updates: [
10830
- # {
10831
- # region_name: "RegionName", # required
10832
- # replica_global_secondary_index_updates: [
10833
- # {
10834
- # index_name: "IndexName",
10835
- # provisioned_read_capacity_auto_scaling_update: {
10836
- # minimum_units: 1,
10837
- # maximum_units: 1,
10838
- # auto_scaling_disabled: false,
10839
- # auto_scaling_role_arn: "AutoScalingRoleArn",
10840
- # scaling_policy_update: {
10841
- # policy_name: "AutoScalingPolicyName",
10842
- # target_tracking_scaling_policy_configuration: { # required
10843
- # disable_scale_in: false,
10844
- # scale_in_cooldown: 1,
10845
- # scale_out_cooldown: 1,
10846
- # target_value: 1.0, # required
10847
- # },
10848
- # },
10849
- # },
10850
- # },
10851
- # ],
10852
- # replica_provisioned_read_capacity_auto_scaling_update: {
10853
- # minimum_units: 1,
10854
- # maximum_units: 1,
10855
- # auto_scaling_disabled: false,
10856
- # auto_scaling_role_arn: "AutoScalingRoleArn",
10857
- # scaling_policy_update: {
10858
- # policy_name: "AutoScalingPolicyName",
10859
- # target_tracking_scaling_policy_configuration: { # required
10860
- # disable_scale_in: false,
10861
- # scale_in_cooldown: 1,
10862
- # scale_out_cooldown: 1,
10863
- # target_value: 1.0, # required
10864
- # },
10865
- # },
10866
- # },
10867
- # },
10868
- # ],
10869
- # }
10870
- #
10871
9702
  # @!attribute [rw] global_secondary_index_updates
10872
9703
  # Represents the auto scaling settings of the global secondary indexes
10873
9704
  # of the replica to be updated.
@@ -10913,17 +9744,6 @@ module Aws::DynamoDB
10913
9744
 
10914
9745
  # Represents the input of an `UpdateTimeToLive` operation.
10915
9746
  #
10916
- # @note When making an API call, you may pass UpdateTimeToLiveInput
10917
- # data as a hash:
10918
- #
10919
- # {
10920
- # table_name: "TableName", # required
10921
- # time_to_live_specification: { # required
10922
- # enabled: false, # required
10923
- # attribute_name: "TimeToLiveAttributeName", # required
10924
- # },
10925
- # }
10926
- #
10927
9747
  # @!attribute [rw] table_name
10928
9748
  # The name of the table to be configured.
10929
9749
  # @return [String]
@@ -10959,22 +9779,6 @@ module Aws::DynamoDB
10959
9779
  # `WriteRequest`. If you do need to perform both of these operations,
10960
9780
  # you need to provide two separate `WriteRequest` objects.
10961
9781
  #
10962
- # @note When making an API call, you may pass WriteRequest
10963
- # data as a hash:
10964
- #
10965
- # {
10966
- # put_request: {
10967
- # item: { # required
10968
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10969
- # },
10970
- # },
10971
- # delete_request: {
10972
- # key: { # required
10973
- # "AttributeName" => "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
10974
- # },
10975
- # },
10976
- # }
10977
- #
10978
9782
  # @!attribute [rw] put_request
10979
9783
  # A request to perform a `PutItem` operation.
10980
9784
  # @return [Types::PutRequest]