aws-sdk-dynamodb 1.60.0 → 1.80.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,6 +37,8 @@ module Aws::DynamoDB
37
37
  # * {GlobalTableAlreadyExistsException}
38
38
  # * {GlobalTableNotFoundException}
39
39
  # * {IdempotentParameterMismatchException}
40
+ # * {ImportConflictException}
41
+ # * {ImportNotFoundException}
40
42
  # * {IndexNotFoundException}
41
43
  # * {InternalServerError}
42
44
  # * {InvalidExportTimeException}
@@ -213,6 +215,36 @@ module Aws::DynamoDB
213
215
  end
214
216
  end
215
217
 
218
+ class ImportConflictException < ServiceError
219
+
220
+ # @param [Seahorse::Client::RequestContext] context
221
+ # @param [String] message
222
+ # @param [Aws::DynamoDB::Types::ImportConflictException] data
223
+ def initialize(context, message, data = Aws::EmptyStructure.new)
224
+ super(context, message, data)
225
+ end
226
+
227
+ # @return [String]
228
+ def message
229
+ @message || @data[:message]
230
+ end
231
+ end
232
+
233
+ class ImportNotFoundException < ServiceError
234
+
235
+ # @param [Seahorse::Client::RequestContext] context
236
+ # @param [String] message
237
+ # @param [Aws::DynamoDB::Types::ImportNotFoundException] data
238
+ def initialize(context, message, data = Aws::EmptyStructure.new)
239
+ super(context, message, data)
240
+ end
241
+
242
+ # @return [String]
243
+ def message
244
+ @message || @data[:message]
245
+ end
246
+ end
247
+
216
248
  class IndexNotFoundException < ServiceError
217
249
 
218
250
  # @param [Seahorse::Client::RequestContext] context
@@ -0,0 +1,174 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::DynamoDB
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::DynamoDB::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::DynamoDB::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::DynamoDB::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :batch_execute_statement
60
+ Aws::DynamoDB::Endpoints::BatchExecuteStatement.build(context)
61
+ when :batch_get_item
62
+ Aws::DynamoDB::Endpoints::BatchGetItem.build(context)
63
+ when :batch_write_item
64
+ Aws::DynamoDB::Endpoints::BatchWriteItem.build(context)
65
+ when :create_backup
66
+ Aws::DynamoDB::Endpoints::CreateBackup.build(context)
67
+ when :create_global_table
68
+ Aws::DynamoDB::Endpoints::CreateGlobalTable.build(context)
69
+ when :create_table
70
+ Aws::DynamoDB::Endpoints::CreateTable.build(context)
71
+ when :delete_backup
72
+ Aws::DynamoDB::Endpoints::DeleteBackup.build(context)
73
+ when :delete_item
74
+ Aws::DynamoDB::Endpoints::DeleteItem.build(context)
75
+ when :delete_table
76
+ Aws::DynamoDB::Endpoints::DeleteTable.build(context)
77
+ when :describe_backup
78
+ Aws::DynamoDB::Endpoints::DescribeBackup.build(context)
79
+ when :describe_continuous_backups
80
+ Aws::DynamoDB::Endpoints::DescribeContinuousBackups.build(context)
81
+ when :describe_contributor_insights
82
+ Aws::DynamoDB::Endpoints::DescribeContributorInsights.build(context)
83
+ when :describe_endpoints
84
+ Aws::DynamoDB::Endpoints::DescribeEndpoints.build(context)
85
+ when :describe_export
86
+ Aws::DynamoDB::Endpoints::DescribeExport.build(context)
87
+ when :describe_global_table
88
+ Aws::DynamoDB::Endpoints::DescribeGlobalTable.build(context)
89
+ when :describe_global_table_settings
90
+ Aws::DynamoDB::Endpoints::DescribeGlobalTableSettings.build(context)
91
+ when :describe_import
92
+ Aws::DynamoDB::Endpoints::DescribeImport.build(context)
93
+ when :describe_kinesis_streaming_destination
94
+ Aws::DynamoDB::Endpoints::DescribeKinesisStreamingDestination.build(context)
95
+ when :describe_limits
96
+ Aws::DynamoDB::Endpoints::DescribeLimits.build(context)
97
+ when :describe_table
98
+ Aws::DynamoDB::Endpoints::DescribeTable.build(context)
99
+ when :describe_table_replica_auto_scaling
100
+ Aws::DynamoDB::Endpoints::DescribeTableReplicaAutoScaling.build(context)
101
+ when :describe_time_to_live
102
+ Aws::DynamoDB::Endpoints::DescribeTimeToLive.build(context)
103
+ when :disable_kinesis_streaming_destination
104
+ Aws::DynamoDB::Endpoints::DisableKinesisStreamingDestination.build(context)
105
+ when :enable_kinesis_streaming_destination
106
+ Aws::DynamoDB::Endpoints::EnableKinesisStreamingDestination.build(context)
107
+ when :execute_statement
108
+ Aws::DynamoDB::Endpoints::ExecuteStatement.build(context)
109
+ when :execute_transaction
110
+ Aws::DynamoDB::Endpoints::ExecuteTransaction.build(context)
111
+ when :export_table_to_point_in_time
112
+ Aws::DynamoDB::Endpoints::ExportTableToPointInTime.build(context)
113
+ when :get_item
114
+ Aws::DynamoDB::Endpoints::GetItem.build(context)
115
+ when :import_table
116
+ Aws::DynamoDB::Endpoints::ImportTable.build(context)
117
+ when :list_backups
118
+ Aws::DynamoDB::Endpoints::ListBackups.build(context)
119
+ when :list_contributor_insights
120
+ Aws::DynamoDB::Endpoints::ListContributorInsights.build(context)
121
+ when :list_exports
122
+ Aws::DynamoDB::Endpoints::ListExports.build(context)
123
+ when :list_global_tables
124
+ Aws::DynamoDB::Endpoints::ListGlobalTables.build(context)
125
+ when :list_imports
126
+ Aws::DynamoDB::Endpoints::ListImports.build(context)
127
+ when :list_tables
128
+ Aws::DynamoDB::Endpoints::ListTables.build(context)
129
+ when :list_tags_of_resource
130
+ Aws::DynamoDB::Endpoints::ListTagsOfResource.build(context)
131
+ when :put_item
132
+ Aws::DynamoDB::Endpoints::PutItem.build(context)
133
+ when :query
134
+ Aws::DynamoDB::Endpoints::Query.build(context)
135
+ when :restore_table_from_backup
136
+ Aws::DynamoDB::Endpoints::RestoreTableFromBackup.build(context)
137
+ when :restore_table_to_point_in_time
138
+ Aws::DynamoDB::Endpoints::RestoreTableToPointInTime.build(context)
139
+ when :scan
140
+ Aws::DynamoDB::Endpoints::Scan.build(context)
141
+ when :tag_resource
142
+ Aws::DynamoDB::Endpoints::TagResource.build(context)
143
+ when :transact_get_items
144
+ Aws::DynamoDB::Endpoints::TransactGetItems.build(context)
145
+ when :transact_write_items
146
+ Aws::DynamoDB::Endpoints::TransactWriteItems.build(context)
147
+ when :untag_resource
148
+ Aws::DynamoDB::Endpoints::UntagResource.build(context)
149
+ when :update_continuous_backups
150
+ Aws::DynamoDB::Endpoints::UpdateContinuousBackups.build(context)
151
+ when :update_contributor_insights
152
+ Aws::DynamoDB::Endpoints::UpdateContributorInsights.build(context)
153
+ when :update_global_table
154
+ Aws::DynamoDB::Endpoints::UpdateGlobalTable.build(context)
155
+ when :update_global_table_settings
156
+ Aws::DynamoDB::Endpoints::UpdateGlobalTableSettings.build(context)
157
+ when :update_item
158
+ Aws::DynamoDB::Endpoints::UpdateItem.build(context)
159
+ when :update_table
160
+ Aws::DynamoDB::Endpoints::UpdateTable.build(context)
161
+ when :update_table_replica_auto_scaling
162
+ Aws::DynamoDB::Endpoints::UpdateTableReplicaAutoScaling.build(context)
163
+ when :update_time_to_live
164
+ Aws::DynamoDB::Endpoints::UpdateTimeToLive.build(context)
165
+ end
166
+ end
167
+ end
168
+
169
+ def add_handlers(handlers, _config)
170
+ handlers.add(Handler, step: :build, priority: 75)
171
+ end
172
+ end
173
+ end
174
+ end
@@ -143,8 +143,8 @@ module Aws::DynamoDB
143
143
  # [2]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.AccessingItemAttributes.html
144
144
  # [3]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/LegacyConditionalParameters.AttributesToGet.html
145
145
  # @option options [String] :return_consumed_capacity
146
- # Determines the level of detail about provisioned throughput
147
- # consumption that is returned in the response:
146
+ # Determines the level of detail about either provisioned or on-demand
147
+ # throughput consumption that is returned in the response:
148
148
  #
149
149
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
150
150
  # for the operation, together with `ConsumedCapacity` for each table
@@ -219,8 +219,8 @@ module Aws::DynamoDB
219
219
  # the data types for those attributes must match those of the schema
220
220
  # in the table's attribute definition.
221
221
  # @option options [String] :return_consumed_capacity
222
- # Determines the level of detail about provisioned throughput
223
- # consumption that is returned in the response:
222
+ # Determines the level of detail about either provisioned or on-demand
223
+ # throughput consumption that is returned in the response:
224
224
  #
225
225
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
226
226
  # for the operation, together with `ConsumedCapacity` for each table
@@ -315,6 +315,7 @@ module Aws::DynamoDB
315
315
  # value: "TagValueString", # required
316
316
  # },
317
317
  # ],
318
+ # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
318
319
  # })
319
320
  # @param [Hash] options ({})
320
321
  # @option options [required, Array<Types::AttributeDefinition>] :attribute_definitions
@@ -508,6 +509,9 @@ module Aws::DynamoDB
508
509
  #
509
510
  #
510
511
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html
512
+ # @option options [String] :table_class
513
+ # The table class of the new table. Valid values are `STANDARD` and
514
+ # `STANDARD_INFREQUENT_ACCESS`.
511
515
  # @return [Table]
512
516
  def create_table(options = {})
513
517
  resp = @client.create_table(options)
@@ -86,17 +86,18 @@ module Aws::DynamoDB
86
86
  #
87
87
  # * `CREATING` - The table is being created.
88
88
  #
89
- # * `UPDATING` - The table is being updated.
89
+ # * `UPDATING` - The table/index configuration is being updated. The
90
+ # table/index remains available for data operations when `UPDATING`.
90
91
  #
91
92
  # * `DELETING` - The table is being deleted.
92
93
  #
93
94
  # * `ACTIVE` - The table is ready for use.
94
95
  #
95
- # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The AWS KMS key used to
96
- # encrypt the table in inaccessible. Table operations may fail due to
97
- # failure to use the AWS KMS key. DynamoDB will initiate the table
98
- # archival process when a table's AWS KMS key remains inaccessible
99
- # for more than seven days.
96
+ # * `INACCESSIBLE_ENCRYPTION_CREDENTIALS` - The KMS key used to encrypt
97
+ # the table in inaccessible. Table operations may fail due to failure
98
+ # to use the KMS key. DynamoDB will initiate the table archival
99
+ # process when a table's KMS key remains inaccessible for more than
100
+ # seven days.
100
101
  #
101
102
  # * `ARCHIVING` - The table is being archived. Operations are not
102
103
  # allowed until archival is complete.
@@ -194,9 +195,9 @@ module Aws::DynamoDB
194
195
  # * `NonKeyAttributes` - A list of one or more non-key attribute names
195
196
  # that are projected into the secondary index. The total count of
196
197
  # attributes provided in `NonKeyAttributes`, summed across all of
197
- # the secondary indexes, must not exceed 20. If you project the same
198
- # attribute into two different indexes, this counts as two distinct
199
- # attributes when determining the total.
198
+ # the secondary indexes, must not exceed 100. If you project the
199
+ # same attribute into two different indexes, this counts as two
200
+ # distinct attributes when determining the total.
200
201
  #
201
202
  # * `IndexSizeBytes` - Represents the total size of the index, in bytes.
202
203
  # DynamoDB updates this value approximately every six hours. Recent
@@ -275,9 +276,9 @@ module Aws::DynamoDB
275
276
  # * `NonKeyAttributes` - A list of one or more non-key attribute names
276
277
  # that are projected into the secondary index. The total count of
277
278
  # attributes provided in `NonKeyAttributes`, summed across all of
278
- # the secondary indexes, must not exceed 20. If you project the same
279
- # attribute into two different indexes, this counts as two distinct
280
- # attributes when determining the total.
279
+ # the secondary indexes, must not exceed 100. If you project the
280
+ # same attribute into two different indexes, this counts as two
281
+ # distinct attributes when determining the total.
281
282
  #
282
283
  # * `ProvisionedThroughput` - The provisioned throughput settings for
283
284
  # the global secondary index, consisting of read and write capacity
@@ -303,7 +304,7 @@ module Aws::DynamoDB
303
304
  # have the same timestamp. However, the combination of the following
304
305
  # three elements is guaranteed to be unique:
305
306
  #
306
- # * AWS customer ID
307
+ # * Amazon Web Services customer ID
307
308
  #
308
309
  # * Table name
309
310
  #
@@ -321,7 +322,7 @@ module Aws::DynamoDB
321
322
  end
322
323
 
323
324
  # Represents the version of [global tables][1] in use, if the table is
324
- # replicated across AWS Regions.
325
+ # replicated across Amazon Web Services Regions.
325
326
  #
326
327
  #
327
328
  #
@@ -356,6 +357,12 @@ module Aws::DynamoDB
356
357
  data[:archival_summary]
357
358
  end
358
359
 
360
+ # Contains details of the table class.
361
+ # @return [Types::TableClassSummary]
362
+ def table_class_summary
363
+ data[:table_class_summary]
364
+ end
365
+
359
366
  # @!endgroup
360
367
 
361
368
  # @return [Client]
@@ -563,14 +570,18 @@ module Aws::DynamoDB
563
570
  #
564
571
  # * `ALL_OLD` - The content of the old item is returned.
565
572
  #
573
+ # There is no additional cost associated with requesting a return value
574
+ # aside from the small network and processing overhead of receiving a
575
+ # larger response. No read capacity units are consumed.
576
+ #
566
577
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
567
578
  # however, `DeleteItem` does not recognize any values other than `NONE`
568
579
  # or `ALL_OLD`.
569
580
  #
570
581
  # </note>
571
582
  # @option options [String] :return_consumed_capacity
572
- # Determines the level of detail about provisioned throughput
573
- # consumption that is returned in the response:
583
+ # Determines the level of detail about either provisioned or on-demand
584
+ # throughput consumption that is returned in the response:
574
585
  #
575
586
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
576
587
  # for the operation, together with `ConsumedCapacity` for each table
@@ -728,8 +739,8 @@ module Aws::DynamoDB
728
739
  # operation uses strongly consistent reads; otherwise, the operation
729
740
  # uses eventually consistent reads.
730
741
  # @option options [String] :return_consumed_capacity
731
- # Determines the level of detail about provisioned throughput
732
- # consumption that is returned in the response:
742
+ # Determines the level of detail about either provisioned or on-demand
743
+ # throughput consumption that is returned in the response:
733
744
  #
734
745
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
735
746
  # for the operation, together with `ConsumedCapacity` for each table
@@ -889,14 +900,20 @@ module Aws::DynamoDB
889
900
  # * `ALL_OLD` - If `PutItem` overwrote an attribute name-value pair,
890
901
  # then the content of the old item is returned.
891
902
  #
903
+ # The values returned are strongly consistent.
904
+ #
905
+ # There is no additional cost associated with requesting a return value
906
+ # aside from the small network and processing overhead of receiving a
907
+ # larger response. No read capacity units are consumed.
908
+ #
892
909
  # <note markdown="1"> The `ReturnValues` parameter is used by several DynamoDB operations;
893
910
  # however, `PutItem` does not recognize any values other than `NONE` or
894
911
  # `ALL_OLD`.
895
912
  #
896
913
  # </note>
897
914
  # @option options [String] :return_consumed_capacity
898
- # Determines the level of detail about provisioned throughput
899
- # consumption that is returned in the response:
915
+ # Determines the level of detail about either provisioned or on-demand
916
+ # throughput consumption that is returned in the response:
900
917
  #
901
918
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
902
919
  # for the operation, together with `ConsumedCapacity` for each table
@@ -1089,8 +1106,9 @@ module Aws::DynamoDB
1089
1106
  # matching items themselves.
1090
1107
  #
1091
1108
  # * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
1092
- # `AttributesToGet`. This return value is equivalent to specifying
1093
- # `AttributesToGet` without specifying any value for `Select`.
1109
+ # `ProjectionExpression`. This return value is equivalent to
1110
+ # specifying `ProjectionExpression` without specifying any value for
1111
+ # `Select`.
1094
1112
  #
1095
1113
  # If you query or scan a local secondary index and request only
1096
1114
  # attributes that are projected into that index, the operation will
@@ -1103,12 +1121,12 @@ module Aws::DynamoDB
1103
1121
  # attributes that are projected into the index. Global secondary index
1104
1122
  # queries cannot fetch attributes from the parent table.
1105
1123
  #
1106
- # If neither `Select` nor `AttributesToGet` are specified, DynamoDB
1124
+ # If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
1107
1125
  # defaults to `ALL_ATTRIBUTES` when accessing a table, and
1108
1126
  # `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
1109
- # both `Select` and `AttributesToGet` together in a single request,
1127
+ # both `Select` and `ProjectionExpression` together in a single request,
1110
1128
  # unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
1111
- # equivalent to specifying `AttributesToGet` without any value for
1129
+ # equivalent to specifying `ProjectionExpression` without any value for
1112
1130
  # `Select`.)
1113
1131
  #
1114
1132
  # <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
@@ -1196,8 +1214,8 @@ module Aws::DynamoDB
1196
1214
  # The data type for `ExclusiveStartKey` must be String, Number, or
1197
1215
  # Binary. No set data types are allowed.
1198
1216
  # @option options [String] :return_consumed_capacity
1199
- # Determines the level of detail about provisioned throughput
1200
- # consumption that is returned in the response:
1217
+ # Determines the level of detail about either provisioned or on-demand
1218
+ # throughput consumption that is returned in the response:
1201
1219
  #
1202
1220
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
1203
1221
  # for the operation, together with `ConsumedCapacity` for each table
@@ -1246,7 +1264,7 @@ module Aws::DynamoDB
1246
1264
  #
1247
1265
  #
1248
1266
  #
1249
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
1267
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
1250
1268
  # @option options [String] :key_condition_expression
1251
1269
  # The condition that specifies the key values for items to be retrieved
1252
1270
  # by the `Query` action.
@@ -1493,8 +1511,9 @@ module Aws::DynamoDB
1493
1511
  # matching items themselves.
1494
1512
  #
1495
1513
  # * `SPECIFIC_ATTRIBUTES` - Returns only the attributes listed in
1496
- # `AttributesToGet`. This return value is equivalent to specifying
1497
- # `AttributesToGet` without specifying any value for `Select`.
1514
+ # `ProjectionExpression`. This return value is equivalent to
1515
+ # specifying `ProjectionExpression` without specifying any value for
1516
+ # `Select`.
1498
1517
  #
1499
1518
  # If you query or scan a local secondary index and request only
1500
1519
  # attributes that are projected into that index, the operation reads
@@ -1507,12 +1526,12 @@ module Aws::DynamoDB
1507
1526
  # attributes that are projected into the index. Global secondary index
1508
1527
  # queries cannot fetch attributes from the parent table.
1509
1528
  #
1510
- # If neither `Select` nor `AttributesToGet` are specified, DynamoDB
1529
+ # If neither `Select` nor `ProjectionExpression` are specified, DynamoDB
1511
1530
  # defaults to `ALL_ATTRIBUTES` when accessing a table, and
1512
1531
  # `ALL_PROJECTED_ATTRIBUTES` when accessing an index. You cannot use
1513
- # both `Select` and `AttributesToGet` together in a single request,
1532
+ # both `Select` and `ProjectionExpression` together in a single request,
1514
1533
  # unless the value for `Select` is `SPECIFIC_ATTRIBUTES`. (This usage is
1515
- # equivalent to specifying `AttributesToGet` without any value for
1534
+ # equivalent to specifying `ProjectionExpression` without any value for
1516
1535
  # `Select`.)
1517
1536
  #
1518
1537
  # <note markdown="1"> If you use the `ProjectionExpression` parameter, then the value for
@@ -1548,8 +1567,8 @@ module Aws::DynamoDB
1548
1567
  # must specify the same segment whose previous `Scan` returned the
1549
1568
  # corresponding value of `LastEvaluatedKey`.
1550
1569
  # @option options [String] :return_consumed_capacity
1551
- # Determines the level of detail about provisioned throughput
1552
- # consumption that is returned in the response:
1570
+ # Determines the level of detail about either provisioned or on-demand
1571
+ # throughput consumption that is returned in the response:
1553
1572
  #
1554
1573
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
1555
1574
  # for the operation, together with `ConsumedCapacity` for each table
@@ -1625,7 +1644,7 @@ module Aws::DynamoDB
1625
1644
  #
1626
1645
  #
1627
1646
  #
1628
- # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#FilteringResults
1647
+ # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression
1629
1648
  # @option options [Hash<String,String>] :expression_attribute_names
1630
1649
  # One or more substitution tokens for attribute names in an expression.
1631
1650
  # The following are some use cases for using
@@ -1795,6 +1814,7 @@ module Aws::DynamoDB
1795
1814
  # },
1796
1815
  # },
1797
1816
  # ],
1817
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
1798
1818
  # },
1799
1819
  # update: {
1800
1820
  # region_name: "RegionName", # required
@@ -1810,12 +1830,14 @@ module Aws::DynamoDB
1810
1830
  # },
1811
1831
  # },
1812
1832
  # ],
1833
+ # table_class_override: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
1813
1834
  # },
1814
1835
  # delete: {
1815
1836
  # region_name: "RegionName", # required
1816
1837
  # },
1817
1838
  # },
1818
1839
  # ],
1840
+ # table_class: "STANDARD", # accepts STANDARD, STANDARD_INFREQUENT_ACCESS
1819
1841
  # })
1820
1842
  # @param [Hash] options ({})
1821
1843
  # @option options [Array<Types::AttributeDefinition>] :attribute_definitions
@@ -1888,6 +1910,9 @@ module Aws::DynamoDB
1888
1910
  #
1889
1911
  #
1890
1912
  # [1]: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html
1913
+ # @option options [String] :table_class
1914
+ # The table class of the table to be updated. Valid values are
1915
+ # `STANDARD` and `STANDARD_INFREQUENT_ACCESS`.
1891
1916
  # @return [Table]
1892
1917
  def update(options = {})
1893
1918
  options = options.merge(table_name: @name)
@@ -1992,8 +2017,8 @@ module Aws::DynamoDB
1992
2017
  #
1993
2018
  # The values returned are strongly consistent.
1994
2019
  # @option options [String] :return_consumed_capacity
1995
- # Determines the level of detail about provisioned throughput
1996
- # consumption that is returned in the response:
2020
+ # Determines the level of detail about either provisioned or on-demand
2021
+ # throughput consumption that is returned in the response:
1997
2022
  #
1998
2023
  # * `INDEXES` - The response includes the aggregate `ConsumedCapacity`
1999
2024
  # for the operation, together with `ConsumedCapacity` for each table