mypy-boto3-dynamodb 1.35.15__py3-none-any.whl → 1.35.54__py3-none-any.whl

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.
@@ -62,323 +62,320 @@ from .literals import (
62
62
  )
63
63
 
64
64
  if sys.version_info >= (3, 12):
65
- from typing import NotRequired
65
+ from typing import NotRequired, TypedDict
66
66
  else:
67
- from typing_extensions import NotRequired
68
- if sys.version_info >= (3, 12):
69
- from typing import TypedDict
70
- else:
71
- from typing_extensions import TypedDict
67
+ from typing_extensions import NotRequired, TypedDict
72
68
 
73
69
 
74
70
  __all__ = (
75
71
  "ArchivalSummaryTypeDef",
76
72
  "AttributeDefinitionTypeDef",
77
73
  "AttributeValueTypeDef",
78
- "TableAttributeValueTypeDef",
74
+ "AttributeValueUpdateTableTypeDef",
75
+ "AttributeValueUpdateTypeDef",
76
+ "AutoScalingPolicyDescriptionTypeDef",
77
+ "AutoScalingPolicyUpdateTypeDef",
78
+ "AutoScalingSettingsDescriptionTypeDef",
79
+ "AutoScalingSettingsUpdateTypeDef",
79
80
  "AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef",
80
81
  "AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef",
82
+ "BackupDescriptionTypeDef",
81
83
  "BackupDetailsTypeDef",
82
84
  "BackupSummaryTypeDef",
83
- "ResponseMetadataTypeDef",
85
+ "BatchExecuteStatementInputRequestTypeDef",
86
+ "BatchExecuteStatementOutputTypeDef",
87
+ "BatchGetItemInputRequestTypeDef",
88
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
89
+ "BatchGetItemOutputServiceResourceTypeDef",
90
+ "BatchGetItemOutputTypeDef",
91
+ "BatchStatementErrorTypeDef",
92
+ "BatchStatementRequestTypeDef",
93
+ "BatchStatementResponseTypeDef",
94
+ "BatchWriteItemInputRequestTypeDef",
95
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
96
+ "BatchWriteItemOutputServiceResourceTypeDef",
97
+ "BatchWriteItemOutputTypeDef",
84
98
  "BillingModeSummaryTypeDef",
85
99
  "CapacityTypeDef",
86
100
  "ConditionBaseImportTypeDef",
87
- "PointInTimeRecoveryDescriptionTypeDef",
101
+ "ConditionCheckTypeDef",
102
+ "ConditionTableTypeDef",
103
+ "ConditionTypeDef",
104
+ "ConsumedCapacityTypeDef",
105
+ "ContinuousBackupsDescriptionTypeDef",
88
106
  "ContributorInsightsSummaryTypeDef",
89
107
  "CreateBackupInputRequestTypeDef",
90
- "KeySchemaElementTypeDef",
91
- "OnDemandThroughputTypeDef",
92
- "ProjectionTypeDef",
93
- "ProvisionedThroughputTypeDef",
94
- "ReplicaTypeDef",
108
+ "CreateBackupOutputTypeDef",
109
+ "CreateGlobalSecondaryIndexActionTypeDef",
110
+ "CreateGlobalTableInputRequestTypeDef",
111
+ "CreateGlobalTableOutputTypeDef",
95
112
  "CreateReplicaActionTypeDef",
96
- "OnDemandThroughputOverrideTypeDef",
97
- "ProvisionedThroughputOverrideTypeDef",
98
- "SSESpecificationTypeDef",
99
- "StreamSpecificationTypeDef",
100
- "TagTypeDef",
113
+ "CreateReplicationGroupMemberActionTypeDef",
114
+ "CreateTableInputRequestTypeDef",
115
+ "CreateTableInputServiceResourceCreateTableTypeDef",
116
+ "CreateTableOutputTypeDef",
101
117
  "CsvOptionsOutputTypeDef",
102
118
  "CsvOptionsTypeDef",
119
+ "CsvOptionsUnionTypeDef",
103
120
  "DeleteBackupInputRequestTypeDef",
121
+ "DeleteBackupOutputTypeDef",
104
122
  "DeleteGlobalSecondaryIndexActionTypeDef",
123
+ "DeleteItemInputRequestTypeDef",
124
+ "DeleteItemInputTableDeleteItemTypeDef",
125
+ "DeleteItemOutputTableTypeDef",
126
+ "DeleteItemOutputTypeDef",
105
127
  "DeleteReplicaActionTypeDef",
106
128
  "DeleteReplicationGroupMemberActionTypeDef",
129
+ "DeleteRequestOutputTypeDef",
130
+ "DeleteRequestServiceResourceOutputTypeDef",
131
+ "DeleteRequestServiceResourceTypeDef",
132
+ "DeleteRequestServiceResourceUnionTypeDef",
133
+ "DeleteRequestTypeDef",
134
+ "DeleteRequestUnionTypeDef",
107
135
  "DeleteResourcePolicyInputRequestTypeDef",
136
+ "DeleteResourcePolicyOutputTypeDef",
108
137
  "DeleteTableInputRequestTypeDef",
138
+ "DeleteTableOutputTypeDef",
139
+ "DeleteTypeDef",
109
140
  "DescribeBackupInputRequestTypeDef",
141
+ "DescribeBackupOutputTypeDef",
110
142
  "DescribeContinuousBackupsInputRequestTypeDef",
143
+ "DescribeContinuousBackupsOutputTypeDef",
111
144
  "DescribeContributorInsightsInputRequestTypeDef",
112
- "FailureExceptionTypeDef",
113
- "EndpointTypeDef",
145
+ "DescribeContributorInsightsOutputTypeDef",
146
+ "DescribeEndpointsResponseTypeDef",
114
147
  "DescribeExportInputRequestTypeDef",
148
+ "DescribeExportOutputTypeDef",
115
149
  "DescribeGlobalTableInputRequestTypeDef",
150
+ "DescribeGlobalTableOutputTypeDef",
116
151
  "DescribeGlobalTableSettingsInputRequestTypeDef",
152
+ "DescribeGlobalTableSettingsOutputTypeDef",
117
153
  "DescribeImportInputRequestTypeDef",
154
+ "DescribeImportOutputTypeDef",
118
155
  "DescribeKinesisStreamingDestinationInputRequestTypeDef",
119
- "KinesisDataStreamDestinationTypeDef",
156
+ "DescribeKinesisStreamingDestinationOutputTypeDef",
157
+ "DescribeLimitsOutputTypeDef",
120
158
  "DescribeTableInputRequestTypeDef",
121
- "WaiterConfigTypeDef",
159
+ "DescribeTableInputTableExistsWaitTypeDef",
160
+ "DescribeTableInputTableNotExistsWaitTypeDef",
161
+ "DescribeTableOutputTypeDef",
122
162
  "DescribeTableReplicaAutoScalingInputRequestTypeDef",
163
+ "DescribeTableReplicaAutoScalingOutputTypeDef",
123
164
  "DescribeTimeToLiveInputRequestTypeDef",
124
- "TimeToLiveDescriptionTypeDef",
165
+ "DescribeTimeToLiveOutputTypeDef",
166
+ "EmptyResponseMetadataTypeDef",
125
167
  "EnableKinesisStreamingConfigurationTypeDef",
126
- "IncrementalExportSpecificationOutputTypeDef",
168
+ "EndpointTypeDef",
169
+ "ExecuteStatementInputRequestTypeDef",
170
+ "ExecuteStatementOutputTypeDef",
171
+ "ExecuteTransactionInputRequestTypeDef",
172
+ "ExecuteTransactionOutputTypeDef",
173
+ "ExpectedAttributeValueTableTypeDef",
174
+ "ExpectedAttributeValueTypeDef",
175
+ "ExportDescriptionTypeDef",
127
176
  "ExportSummaryTypeDef",
128
- "TimestampTypeDef",
177
+ "ExportTableToPointInTimeInputRequestTypeDef",
178
+ "ExportTableToPointInTimeOutputTypeDef",
179
+ "FailureExceptionTypeDef",
180
+ "GetItemInputRequestTypeDef",
181
+ "GetItemInputTableGetItemTypeDef",
182
+ "GetItemOutputTableTypeDef",
183
+ "GetItemOutputTypeDef",
129
184
  "GetResourcePolicyInputRequestTypeDef",
130
- "ProjectionOutputTypeDef",
131
- "ProvisionedThroughputDescriptionTypeDef",
132
- "S3BucketSourceTypeDef",
133
- "PaginatorConfigTypeDef",
185
+ "GetResourcePolicyOutputTypeDef",
186
+ "GetTypeDef",
187
+ "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
188
+ "GlobalSecondaryIndexDescriptionTypeDef",
189
+ "GlobalSecondaryIndexInfoTypeDef",
190
+ "GlobalSecondaryIndexOutputTypeDef",
191
+ "GlobalSecondaryIndexTypeDef",
192
+ "GlobalSecondaryIndexUnionTypeDef",
193
+ "GlobalSecondaryIndexUpdateTypeDef",
194
+ "GlobalTableDescriptionTypeDef",
195
+ "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
196
+ "GlobalTableTypeDef",
197
+ "ImportSummaryTypeDef",
198
+ "ImportTableDescriptionTypeDef",
199
+ "ImportTableInputRequestTypeDef",
200
+ "ImportTableOutputTypeDef",
201
+ "IncrementalExportSpecificationOutputTypeDef",
202
+ "IncrementalExportSpecificationTypeDef",
203
+ "InputFormatOptionsOutputTypeDef",
204
+ "InputFormatOptionsTypeDef",
205
+ "ItemCollectionMetricsServiceResourceTypeDef",
206
+ "ItemCollectionMetricsTableTypeDef",
207
+ "ItemCollectionMetricsTypeDef",
208
+ "ItemResponseTypeDef",
209
+ "KeySchemaElementTypeDef",
210
+ "KeysAndAttributesOutputTypeDef",
211
+ "KeysAndAttributesServiceResourceOutputTypeDef",
212
+ "KeysAndAttributesServiceResourceTypeDef",
213
+ "KeysAndAttributesServiceResourceUnionTypeDef",
214
+ "KeysAndAttributesTypeDef",
215
+ "KeysAndAttributesUnionTypeDef",
216
+ "KinesisDataStreamDestinationTypeDef",
217
+ "KinesisStreamingDestinationInputRequestTypeDef",
218
+ "KinesisStreamingDestinationOutputTypeDef",
219
+ "ListBackupsInputListBackupsPaginateTypeDef",
220
+ "ListBackupsInputRequestTypeDef",
221
+ "ListBackupsOutputTypeDef",
134
222
  "ListContributorInsightsInputRequestTypeDef",
223
+ "ListContributorInsightsOutputTypeDef",
135
224
  "ListExportsInputRequestTypeDef",
225
+ "ListExportsOutputTypeDef",
136
226
  "ListGlobalTablesInputRequestTypeDef",
227
+ "ListGlobalTablesOutputTypeDef",
137
228
  "ListImportsInputRequestTypeDef",
229
+ "ListImportsOutputTypeDef",
230
+ "ListTablesInputListTablesPaginateTypeDef",
138
231
  "ListTablesInputRequestTypeDef",
232
+ "ListTablesOutputTypeDef",
233
+ "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
139
234
  "ListTagsOfResourceInputRequestTypeDef",
235
+ "ListTagsOfResourceOutputTypeDef",
236
+ "LocalSecondaryIndexDescriptionTypeDef",
237
+ "LocalSecondaryIndexInfoTypeDef",
238
+ "LocalSecondaryIndexTypeDef",
239
+ "OnDemandThroughputOverrideTypeDef",
240
+ "OnDemandThroughputTypeDef",
241
+ "PaginatorConfigTypeDef",
242
+ "ParameterizedStatementTypeDef",
243
+ "PointInTimeRecoveryDescriptionTypeDef",
140
244
  "PointInTimeRecoverySpecificationTypeDef",
245
+ "ProjectionOutputTypeDef",
246
+ "ProjectionTypeDef",
247
+ "ProjectionUnionTypeDef",
248
+ "ProvisionedThroughputDescriptionTypeDef",
249
+ "ProvisionedThroughputOverrideTypeDef",
250
+ "ProvisionedThroughputTypeDef",
251
+ "PutItemInputRequestTypeDef",
252
+ "PutItemInputTablePutItemTypeDef",
253
+ "PutItemOutputTableTypeDef",
254
+ "PutItemOutputTypeDef",
255
+ "PutRequestOutputTypeDef",
256
+ "PutRequestServiceResourceOutputTypeDef",
257
+ "PutRequestServiceResourceTypeDef",
258
+ "PutRequestServiceResourceUnionTypeDef",
259
+ "PutRequestTypeDef",
260
+ "PutRequestUnionTypeDef",
141
261
  "PutResourcePolicyInputRequestTypeDef",
142
- "TableClassSummaryTypeDef",
262
+ "PutResourcePolicyOutputTypeDef",
263
+ "PutTypeDef",
264
+ "QueryInputQueryPaginateTypeDef",
265
+ "QueryInputRequestTypeDef",
266
+ "QueryInputTableQueryTypeDef",
267
+ "QueryOutputTableTypeDef",
268
+ "QueryOutputTypeDef",
269
+ "ReplicaAutoScalingDescriptionTypeDef",
270
+ "ReplicaAutoScalingUpdateTypeDef",
271
+ "ReplicaDescriptionTypeDef",
272
+ "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
273
+ "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
274
+ "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
275
+ "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
276
+ "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
277
+ "ReplicaGlobalSecondaryIndexTypeDef",
278
+ "ReplicaSettingsDescriptionTypeDef",
279
+ "ReplicaSettingsUpdateTypeDef",
280
+ "ReplicaTypeDef",
281
+ "ReplicaUpdateTypeDef",
282
+ "ReplicationGroupUpdateTypeDef",
283
+ "ResponseMetadataTypeDef",
143
284
  "RestoreSummaryTypeDef",
285
+ "RestoreTableFromBackupInputRequestTypeDef",
286
+ "RestoreTableFromBackupOutputTypeDef",
287
+ "RestoreTableToPointInTimeInputRequestTypeDef",
288
+ "RestoreTableToPointInTimeOutputTypeDef",
289
+ "S3BucketSourceTypeDef",
144
290
  "SSEDescriptionTypeDef",
291
+ "SSESpecificationTypeDef",
292
+ "ScanInputRequestTypeDef",
293
+ "ScanInputScanPaginateTypeDef",
294
+ "ScanInputTableScanTypeDef",
295
+ "ScanOutputTableTypeDef",
296
+ "ScanOutputTypeDef",
297
+ "SourceTableDetailsTypeDef",
298
+ "SourceTableFeatureDetailsTypeDef",
299
+ "StreamSpecificationTypeDef",
300
+ "TableAttributeValueTypeDef",
301
+ "TableAutoScalingDescriptionTypeDef",
145
302
  "TableBatchWriterRequestTypeDef",
303
+ "TableClassSummaryTypeDef",
304
+ "TableCreationParametersOutputTypeDef",
305
+ "TableCreationParametersTypeDef",
306
+ "TableDescriptionTypeDef",
307
+ "TagResourceInputRequestTypeDef",
308
+ "TagTypeDef",
309
+ "TimeToLiveDescriptionTypeDef",
146
310
  "TimeToLiveSpecificationTypeDef",
311
+ "TimestampTypeDef",
312
+ "TransactGetItemTypeDef",
313
+ "TransactGetItemsInputRequestTypeDef",
314
+ "TransactGetItemsOutputTypeDef",
315
+ "TransactWriteItemTypeDef",
316
+ "TransactWriteItemsInputRequestTypeDef",
317
+ "TransactWriteItemsOutputTypeDef",
318
+ "UniversalAttributeValueTypeDef",
147
319
  "UntagResourceInputRequestTypeDef",
320
+ "UpdateContinuousBackupsInputRequestTypeDef",
321
+ "UpdateContinuousBackupsOutputTypeDef",
148
322
  "UpdateContributorInsightsInputRequestTypeDef",
149
- "UpdateKinesisStreamingConfigurationTypeDef",
150
- "BatchStatementErrorTypeDef",
151
- "DeleteRequestOutputTypeDef",
152
- "ItemCollectionMetricsTypeDef",
153
- "ItemResponseTypeDef",
154
- "KeysAndAttributesOutputTypeDef",
155
- "PutRequestOutputTypeDef",
156
- "UniversalAttributeValueTypeDef",
157
- "AttributeValueUpdateTableTypeDef",
158
- "ConditionTableTypeDef",
159
- "DeleteRequestServiceResourceOutputTypeDef",
160
- "DeleteRequestServiceResourceTypeDef",
161
- "ExpectedAttributeValueTableTypeDef",
162
- "GetItemInputTableGetItemTypeDef",
163
- "ItemCollectionMetricsServiceResourceTypeDef",
164
- "ItemCollectionMetricsTableTypeDef",
165
- "KeysAndAttributesServiceResourceOutputTypeDef",
166
- "KeysAndAttributesServiceResourceTypeDef",
167
- "PutRequestServiceResourceOutputTypeDef",
168
- "PutRequestServiceResourceTypeDef",
169
- "AutoScalingPolicyDescriptionTypeDef",
170
- "AutoScalingPolicyUpdateTypeDef",
171
- "CreateBackupOutputTypeDef",
172
- "DeleteResourcePolicyOutputTypeDef",
173
- "DescribeLimitsOutputTypeDef",
174
- "EmptyResponseMetadataTypeDef",
175
- "GetResourcePolicyOutputTypeDef",
176
- "ListBackupsOutputTypeDef",
177
- "ListTablesOutputTypeDef",
178
- "PutResourcePolicyOutputTypeDef",
179
323
  "UpdateContributorInsightsOutputTypeDef",
180
- "ConsumedCapacityTypeDef",
181
- "ContinuousBackupsDescriptionTypeDef",
182
- "ListContributorInsightsOutputTypeDef",
183
- "LocalSecondaryIndexTypeDef",
184
- "CreateGlobalSecondaryIndexActionTypeDef",
185
- "GlobalSecondaryIndexTypeDef",
186
- "SourceTableDetailsTypeDef",
187
324
  "UpdateGlobalSecondaryIndexActionTypeDef",
188
- "CreateGlobalTableInputRequestTypeDef",
189
- "GlobalTableTypeDef",
190
- "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
191
- "ReplicaGlobalSecondaryIndexTypeDef",
192
- "ListTagsOfResourceOutputTypeDef",
193
- "TagResourceInputRequestTypeDef",
194
- "InputFormatOptionsOutputTypeDef",
195
- "InputFormatOptionsTypeDef",
196
- "ReplicaUpdateTypeDef",
197
- "DescribeContributorInsightsOutputTypeDef",
198
- "DescribeEndpointsResponseTypeDef",
199
- "DescribeKinesisStreamingDestinationOutputTypeDef",
200
- "DescribeTableInputTableExistsWaitTypeDef",
201
- "DescribeTableInputTableNotExistsWaitTypeDef",
202
- "DescribeTimeToLiveOutputTypeDef",
203
- "KinesisStreamingDestinationInputRequestTypeDef",
204
- "KinesisStreamingDestinationOutputTypeDef",
205
- "ExportDescriptionTypeDef",
206
- "ListExportsOutputTypeDef",
207
- "IncrementalExportSpecificationTypeDef",
208
- "ListBackupsInputRequestTypeDef",
209
- "GlobalSecondaryIndexInfoTypeDef",
210
- "GlobalSecondaryIndexOutputTypeDef",
211
- "LocalSecondaryIndexDescriptionTypeDef",
212
- "LocalSecondaryIndexInfoTypeDef",
213
- "GlobalSecondaryIndexDescriptionTypeDef",
214
- "ImportSummaryTypeDef",
215
- "ListBackupsInputListBackupsPaginateTypeDef",
216
- "ListTablesInputListTablesPaginateTypeDef",
217
- "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
218
- "UpdateContinuousBackupsInputRequestTypeDef",
219
- "UpdateTimeToLiveInputRequestTypeDef",
220
- "UpdateTimeToLiveOutputTypeDef",
221
- "UpdateKinesisStreamingDestinationInputRequestTypeDef",
222
- "UpdateKinesisStreamingDestinationOutputTypeDef",
223
- "BatchStatementResponseTypeDef",
224
- "WriteRequestOutputTypeDef",
225
- "AttributeValueUpdateTypeDef",
226
- "BatchStatementRequestTypeDef",
227
- "ConditionCheckTypeDef",
228
- "ConditionTypeDef",
229
- "DeleteRequestTypeDef",
230
- "DeleteTypeDef",
231
- "ExecuteStatementInputRequestTypeDef",
232
- "ExpectedAttributeValueTypeDef",
233
- "GetItemInputRequestTypeDef",
234
- "GetTypeDef",
235
- "KeysAndAttributesTypeDef",
236
- "ParameterizedStatementTypeDef",
237
- "PutRequestTypeDef",
238
- "PutTypeDef",
239
- "UpdateTypeDef",
240
- "QueryInputTableQueryTypeDef",
241
- "ScanInputTableScanTypeDef",
242
- "DeleteItemInputTableDeleteItemTypeDef",
243
- "PutItemInputTablePutItemTypeDef",
325
+ "UpdateGlobalTableInputRequestTypeDef",
326
+ "UpdateGlobalTableOutputTypeDef",
327
+ "UpdateGlobalTableSettingsInputRequestTypeDef",
328
+ "UpdateGlobalTableSettingsOutputTypeDef",
329
+ "UpdateItemInputRequestTypeDef",
244
330
  "UpdateItemInputTableUpdateItemTypeDef",
245
- "KeysAndAttributesServiceResourceUnionTypeDef",
246
- "WriteRequestServiceResourceOutputTypeDef",
247
- "WriteRequestServiceResourceTypeDef",
248
- "AutoScalingSettingsDescriptionTypeDef",
249
- "AutoScalingSettingsUpdateTypeDef",
250
- "BatchGetItemOutputServiceResourceTypeDef",
251
- "BatchGetItemOutputTypeDef",
252
- "DeleteItemOutputTableTypeDef",
253
- "DeleteItemOutputTypeDef",
254
- "ExecuteStatementOutputTypeDef",
255
- "ExecuteTransactionOutputTypeDef",
256
- "GetItemOutputTableTypeDef",
257
- "GetItemOutputTypeDef",
258
- "PutItemOutputTableTypeDef",
259
- "PutItemOutputTypeDef",
260
- "QueryOutputTableTypeDef",
261
- "QueryOutputTypeDef",
262
- "ScanOutputTableTypeDef",
263
- "ScanOutputTypeDef",
264
- "TransactGetItemsOutputTypeDef",
265
- "TransactWriteItemsOutputTypeDef",
266
331
  "UpdateItemOutputTableTypeDef",
267
332
  "UpdateItemOutputTypeDef",
268
- "DescribeContinuousBackupsOutputTypeDef",
269
- "UpdateContinuousBackupsOutputTypeDef",
270
- "TableCreationParametersTypeDef",
271
- "GlobalSecondaryIndexUpdateTypeDef",
272
- "ListGlobalTablesOutputTypeDef",
273
- "ReplicaDescriptionTypeDef",
274
- "CreateReplicationGroupMemberActionTypeDef",
333
+ "UpdateKinesisStreamingConfigurationTypeDef",
334
+ "UpdateKinesisStreamingDestinationInputRequestTypeDef",
335
+ "UpdateKinesisStreamingDestinationOutputTypeDef",
275
336
  "UpdateReplicationGroupMemberActionTypeDef",
276
- "UpdateGlobalTableInputRequestTypeDef",
277
- "DescribeExportOutputTypeDef",
278
- "ExportTableToPointInTimeOutputTypeDef",
279
- "ExportTableToPointInTimeInputRequestTypeDef",
280
- "GlobalSecondaryIndexUnionTypeDef",
281
- "TableCreationParametersOutputTypeDef",
282
- "SourceTableFeatureDetailsTypeDef",
283
- "ListImportsOutputTypeDef",
284
- "BatchExecuteStatementOutputTypeDef",
285
- "BatchWriteItemOutputTypeDef",
286
- "BatchExecuteStatementInputRequestTypeDef",
287
- "QueryInputQueryPaginateTypeDef",
288
- "QueryInputRequestTypeDef",
289
- "ScanInputRequestTypeDef",
290
- "ScanInputScanPaginateTypeDef",
291
- "DeleteItemInputRequestTypeDef",
292
- "PutItemInputRequestTypeDef",
293
- "UpdateItemInputRequestTypeDef",
294
- "TransactGetItemTypeDef",
295
- "KeysAndAttributesUnionTypeDef",
296
- "ExecuteTransactionInputRequestTypeDef",
297
- "WriteRequestTypeDef",
298
- "TransactWriteItemTypeDef",
299
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
300
- "BatchWriteItemOutputServiceResourceTypeDef",
301
- "WriteRequestServiceResourceUnionTypeDef",
302
- "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
303
- "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
304
- "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
305
- "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
306
- "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
307
- "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
308
- "ImportTableInputRequestTypeDef",
309
- "GlobalTableDescriptionTypeDef",
310
- "TableDescriptionTypeDef",
311
- "ReplicationGroupUpdateTypeDef",
312
- "CreateTableInputRequestTypeDef",
313
- "CreateTableInputServiceResourceCreateTableTypeDef",
314
- "RestoreTableFromBackupInputRequestTypeDef",
315
- "RestoreTableToPointInTimeInputRequestTypeDef",
316
- "ImportTableDescriptionTypeDef",
317
- "BackupDescriptionTypeDef",
318
- "TransactGetItemsInputRequestTypeDef",
319
- "BatchGetItemInputRequestTypeDef",
320
- "WriteRequestUnionTypeDef",
321
- "TransactWriteItemsInputRequestTypeDef",
322
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
323
- "ReplicaAutoScalingDescriptionTypeDef",
324
- "ReplicaSettingsDescriptionTypeDef",
325
- "ReplicaAutoScalingUpdateTypeDef",
326
- "ReplicaSettingsUpdateTypeDef",
327
- "CreateGlobalTableOutputTypeDef",
328
- "DescribeGlobalTableOutputTypeDef",
329
- "UpdateGlobalTableOutputTypeDef",
330
- "CreateTableOutputTypeDef",
331
- "DeleteTableOutputTypeDef",
332
- "DescribeTableOutputTypeDef",
333
- "RestoreTableFromBackupOutputTypeDef",
334
- "RestoreTableToPointInTimeOutputTypeDef",
335
- "UpdateTableOutputTypeDef",
336
337
  "UpdateTableInputRequestTypeDef",
337
338
  "UpdateTableInputTableUpdateTypeDef",
338
- "DescribeImportOutputTypeDef",
339
- "ImportTableOutputTypeDef",
340
- "DeleteBackupOutputTypeDef",
341
- "DescribeBackupOutputTypeDef",
342
- "BatchWriteItemInputRequestTypeDef",
343
- "TableAutoScalingDescriptionTypeDef",
344
- "DescribeGlobalTableSettingsOutputTypeDef",
345
- "UpdateGlobalTableSettingsOutputTypeDef",
339
+ "UpdateTableOutputTypeDef",
346
340
  "UpdateTableReplicaAutoScalingInputRequestTypeDef",
347
- "UpdateGlobalTableSettingsInputRequestTypeDef",
348
- "DescribeTableReplicaAutoScalingOutputTypeDef",
349
341
  "UpdateTableReplicaAutoScalingOutputTypeDef",
342
+ "UpdateTimeToLiveInputRequestTypeDef",
343
+ "UpdateTimeToLiveOutputTypeDef",
344
+ "UpdateTypeDef",
345
+ "WaiterConfigTypeDef",
346
+ "WriteRequestOutputTypeDef",
347
+ "WriteRequestServiceResourceOutputTypeDef",
348
+ "WriteRequestServiceResourceTypeDef",
349
+ "WriteRequestServiceResourceUnionTypeDef",
350
+ "WriteRequestTypeDef",
351
+ "WriteRequestUnionTypeDef",
350
352
  )
351
353
 
352
- ArchivalSummaryTypeDef = TypedDict(
353
- "ArchivalSummaryTypeDef",
354
- {
355
- "ArchivalDateTime": NotRequired[datetime],
356
- "ArchivalReason": NotRequired[str],
357
- "ArchivalBackupArn": NotRequired[str],
358
- },
359
- )
360
- AttributeDefinitionTypeDef = TypedDict(
361
- "AttributeDefinitionTypeDef",
362
- {
363
- "AttributeName": str,
364
- "AttributeType": ScalarAttributeTypeType,
365
- },
366
- )
367
- AttributeValueTypeDef = TypedDict(
368
- "AttributeValueTypeDef",
369
- {
370
- "S": NotRequired[str],
371
- "N": NotRequired[str],
372
- "B": NotRequired[bytes],
373
- "SS": NotRequired[Sequence[str]],
374
- "NS": NotRequired[Sequence[str]],
375
- "BS": NotRequired[Sequence[bytes]],
376
- "M": NotRequired[Mapping[str, Any]],
377
- "L": NotRequired[Sequence[Any]],
378
- "NULL": NotRequired[bool],
379
- "BOOL": NotRequired[bool],
380
- },
381
- )
354
+
355
+ class ArchivalSummaryTypeDef(TypedDict):
356
+ ArchivalDateTime: NotRequired[datetime]
357
+ ArchivalReason: NotRequired[str]
358
+ ArchivalBackupArn: NotRequired[str]
359
+
360
+
361
+ class AttributeDefinitionTypeDef(TypedDict):
362
+ AttributeName: str
363
+ AttributeType: ScalarAttributeTypeType
364
+
365
+
366
+ class AttributeValueTypeDef(TypedDict):
367
+ S: NotRequired[str]
368
+ N: NotRequired[str]
369
+ B: NotRequired[bytes]
370
+ SS: NotRequired[Sequence[str]]
371
+ NS: NotRequired[Sequence[str]]
372
+ BS: NotRequired[Sequence[bytes]]
373
+ M: NotRequired[Mapping[str, Any]]
374
+ L: NotRequired[Sequence[Any]]
375
+ NULL: NotRequired[bool]
376
+ BOOL: NotRequired[bool]
377
+
378
+
382
379
  TableAttributeValueTypeDef = Union[
383
380
  bytes,
384
381
  bytearray,
@@ -395,200 +392,155 @@ TableAttributeValueTypeDef = Union[
395
392
  Mapping[str, Any],
396
393
  None,
397
394
  ]
398
- AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef = TypedDict(
399
- "AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef",
400
- {
401
- "TargetValue": float,
402
- "DisableScaleIn": NotRequired[bool],
403
- "ScaleInCooldown": NotRequired[int],
404
- "ScaleOutCooldown": NotRequired[int],
405
- },
406
- )
407
- AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef = TypedDict(
408
- "AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef",
409
- {
410
- "TargetValue": float,
411
- "DisableScaleIn": NotRequired[bool],
412
- "ScaleInCooldown": NotRequired[int],
413
- "ScaleOutCooldown": NotRequired[int],
414
- },
415
- )
416
- BackupDetailsTypeDef = TypedDict(
417
- "BackupDetailsTypeDef",
418
- {
419
- "BackupArn": str,
420
- "BackupName": str,
421
- "BackupStatus": BackupStatusType,
422
- "BackupType": BackupTypeType,
423
- "BackupCreationDateTime": datetime,
424
- "BackupSizeBytes": NotRequired[int],
425
- "BackupExpiryDateTime": NotRequired[datetime],
426
- },
427
- )
428
- BackupSummaryTypeDef = TypedDict(
429
- "BackupSummaryTypeDef",
430
- {
431
- "TableName": NotRequired[str],
432
- "TableId": NotRequired[str],
433
- "TableArn": NotRequired[str],
434
- "BackupArn": NotRequired[str],
435
- "BackupName": NotRequired[str],
436
- "BackupCreationDateTime": NotRequired[datetime],
437
- "BackupExpiryDateTime": NotRequired[datetime],
438
- "BackupStatus": NotRequired[BackupStatusType],
439
- "BackupType": NotRequired[BackupTypeType],
440
- "BackupSizeBytes": NotRequired[int],
441
- },
442
- )
443
- ResponseMetadataTypeDef = TypedDict(
444
- "ResponseMetadataTypeDef",
445
- {
446
- "RequestId": str,
447
- "HTTPStatusCode": int,
448
- "HTTPHeaders": Dict[str, str],
449
- "RetryAttempts": int,
450
- "HostId": NotRequired[str],
451
- },
452
- )
453
- BillingModeSummaryTypeDef = TypedDict(
454
- "BillingModeSummaryTypeDef",
395
+
396
+
397
+ class AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef(TypedDict):
398
+ TargetValue: float
399
+ DisableScaleIn: NotRequired[bool]
400
+ ScaleInCooldown: NotRequired[int]
401
+ ScaleOutCooldown: NotRequired[int]
402
+
403
+
404
+ class AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef(TypedDict):
405
+ TargetValue: float
406
+ DisableScaleIn: NotRequired[bool]
407
+ ScaleInCooldown: NotRequired[int]
408
+ ScaleOutCooldown: NotRequired[int]
409
+
410
+
411
+ class BackupDetailsTypeDef(TypedDict):
412
+ BackupArn: str
413
+ BackupName: str
414
+ BackupStatus: BackupStatusType
415
+ BackupType: BackupTypeType
416
+ BackupCreationDateTime: datetime
417
+ BackupSizeBytes: NotRequired[int]
418
+ BackupExpiryDateTime: NotRequired[datetime]
419
+
420
+
421
+ class BackupSummaryTypeDef(TypedDict):
422
+ TableName: NotRequired[str]
423
+ TableId: NotRequired[str]
424
+ TableArn: NotRequired[str]
425
+ BackupArn: NotRequired[str]
426
+ BackupName: NotRequired[str]
427
+ BackupCreationDateTime: NotRequired[datetime]
428
+ BackupExpiryDateTime: NotRequired[datetime]
429
+ BackupStatus: NotRequired[BackupStatusType]
430
+ BackupType: NotRequired[BackupTypeType]
431
+ BackupSizeBytes: NotRequired[int]
432
+
433
+
434
+ class ResponseMetadataTypeDef(TypedDict):
435
+ RequestId: str
436
+ HTTPStatusCode: int
437
+ HTTPHeaders: Dict[str, str]
438
+ RetryAttempts: int
439
+ HostId: NotRequired[str]
440
+
441
+
442
+ class BillingModeSummaryTypeDef(TypedDict):
443
+ BillingMode: NotRequired[BillingModeType]
444
+ LastUpdateToPayPerRequestDateTime: NotRequired[datetime]
445
+
446
+
447
+ class CapacityTypeDef(TypedDict):
448
+ ReadCapacityUnits: NotRequired[float]
449
+ WriteCapacityUnits: NotRequired[float]
450
+ CapacityUnits: NotRequired[float]
451
+
452
+
453
+ ConditionBaseImportTypeDef = Union[str, ConditionBase]
454
+
455
+
456
+ class PointInTimeRecoveryDescriptionTypeDef(TypedDict):
457
+ PointInTimeRecoveryStatus: NotRequired[PointInTimeRecoveryStatusType]
458
+ EarliestRestorableDateTime: NotRequired[datetime]
459
+ LatestRestorableDateTime: NotRequired[datetime]
460
+
461
+
462
+ class ContributorInsightsSummaryTypeDef(TypedDict):
463
+ TableName: NotRequired[str]
464
+ IndexName: NotRequired[str]
465
+ ContributorInsightsStatus: NotRequired[ContributorInsightsStatusType]
466
+
467
+
468
+ class CreateBackupInputRequestTypeDef(TypedDict):
469
+ TableName: str
470
+ BackupName: str
471
+
472
+
473
+ class KeySchemaElementTypeDef(TypedDict):
474
+ AttributeName: str
475
+ KeyType: KeyTypeType
476
+
477
+
478
+ class OnDemandThroughputTypeDef(TypedDict):
479
+ MaxReadRequestUnits: NotRequired[int]
480
+ MaxWriteRequestUnits: NotRequired[int]
481
+
482
+
483
+ class ProvisionedThroughputTypeDef(TypedDict):
484
+ ReadCapacityUnits: int
485
+ WriteCapacityUnits: int
486
+
487
+
488
+ ReplicaTypeDef = TypedDict(
489
+ "ReplicaTypeDef",
455
490
  {
456
- "BillingMode": NotRequired[BillingModeType],
457
- "LastUpdateToPayPerRequestDateTime": NotRequired[datetime],
491
+ "RegionName": NotRequired[str],
458
492
  },
459
493
  )
460
- CapacityTypeDef = TypedDict(
461
- "CapacityTypeDef",
494
+ CreateReplicaActionTypeDef = TypedDict(
495
+ "CreateReplicaActionTypeDef",
462
496
  {
463
- "ReadCapacityUnits": NotRequired[float],
464
- "WriteCapacityUnits": NotRequired[float],
465
- "CapacityUnits": NotRequired[float],
466
- },
467
- )
468
- ConditionBaseImportTypeDef = Union[str, ConditionBase]
469
- PointInTimeRecoveryDescriptionTypeDef = TypedDict(
470
- "PointInTimeRecoveryDescriptionTypeDef",
471
- {
472
- "PointInTimeRecoveryStatus": NotRequired[PointInTimeRecoveryStatusType],
473
- "EarliestRestorableDateTime": NotRequired[datetime],
474
- "LatestRestorableDateTime": NotRequired[datetime],
475
- },
476
- )
477
- ContributorInsightsSummaryTypeDef = TypedDict(
478
- "ContributorInsightsSummaryTypeDef",
479
- {
480
- "TableName": NotRequired[str],
481
- "IndexName": NotRequired[str],
482
- "ContributorInsightsStatus": NotRequired[ContributorInsightsStatusType],
483
- },
484
- )
485
- CreateBackupInputRequestTypeDef = TypedDict(
486
- "CreateBackupInputRequestTypeDef",
487
- {
488
- "TableName": str,
489
- "BackupName": str,
490
- },
491
- )
492
- KeySchemaElementTypeDef = TypedDict(
493
- "KeySchemaElementTypeDef",
494
- {
495
- "AttributeName": str,
496
- "KeyType": KeyTypeType,
497
- },
498
- )
499
- OnDemandThroughputTypeDef = TypedDict(
500
- "OnDemandThroughputTypeDef",
501
- {
502
- "MaxReadRequestUnits": NotRequired[int],
503
- "MaxWriteRequestUnits": NotRequired[int],
504
- },
505
- )
506
- ProjectionTypeDef = TypedDict(
507
- "ProjectionTypeDef",
508
- {
509
- "ProjectionType": NotRequired[ProjectionTypeType],
510
- "NonKeyAttributes": NotRequired[Sequence[str]],
511
- },
512
- )
513
- ProvisionedThroughputTypeDef = TypedDict(
514
- "ProvisionedThroughputTypeDef",
515
- {
516
- "ReadCapacityUnits": int,
517
- "WriteCapacityUnits": int,
518
- },
519
- )
520
- ReplicaTypeDef = TypedDict(
521
- "ReplicaTypeDef",
522
- {
523
- "RegionName": NotRequired[str],
524
- },
525
- )
526
- CreateReplicaActionTypeDef = TypedDict(
527
- "CreateReplicaActionTypeDef",
528
- {
529
- "RegionName": str,
530
- },
531
- )
532
- OnDemandThroughputOverrideTypeDef = TypedDict(
533
- "OnDemandThroughputOverrideTypeDef",
534
- {
535
- "MaxReadRequestUnits": NotRequired[int],
536
- },
537
- )
538
- ProvisionedThroughputOverrideTypeDef = TypedDict(
539
- "ProvisionedThroughputOverrideTypeDef",
540
- {
541
- "ReadCapacityUnits": NotRequired[int],
542
- },
543
- )
544
- SSESpecificationTypeDef = TypedDict(
545
- "SSESpecificationTypeDef",
546
- {
547
- "Enabled": NotRequired[bool],
548
- "SSEType": NotRequired[SSETypeType],
549
- "KMSMasterKeyId": NotRequired[str],
550
- },
551
- )
552
- StreamSpecificationTypeDef = TypedDict(
553
- "StreamSpecificationTypeDef",
554
- {
555
- "StreamEnabled": bool,
556
- "StreamViewType": NotRequired[StreamViewTypeType],
557
- },
558
- )
559
- TagTypeDef = TypedDict(
560
- "TagTypeDef",
561
- {
562
- "Key": str,
563
- "Value": str,
564
- },
565
- )
566
- CsvOptionsOutputTypeDef = TypedDict(
567
- "CsvOptionsOutputTypeDef",
568
- {
569
- "Delimiter": NotRequired[str],
570
- "HeaderList": NotRequired[List[str]],
571
- },
572
- )
573
- CsvOptionsTypeDef = TypedDict(
574
- "CsvOptionsTypeDef",
575
- {
576
- "Delimiter": NotRequired[str],
577
- "HeaderList": NotRequired[Sequence[str]],
578
- },
579
- )
580
- DeleteBackupInputRequestTypeDef = TypedDict(
581
- "DeleteBackupInputRequestTypeDef",
582
- {
583
- "BackupArn": str,
584
- },
585
- )
586
- DeleteGlobalSecondaryIndexActionTypeDef = TypedDict(
587
- "DeleteGlobalSecondaryIndexActionTypeDef",
588
- {
589
- "IndexName": str,
497
+ "RegionName": str,
590
498
  },
591
499
  )
500
+
501
+
502
+ class OnDemandThroughputOverrideTypeDef(TypedDict):
503
+ MaxReadRequestUnits: NotRequired[int]
504
+
505
+
506
+ class ProvisionedThroughputOverrideTypeDef(TypedDict):
507
+ ReadCapacityUnits: NotRequired[int]
508
+
509
+
510
+ class SSESpecificationTypeDef(TypedDict):
511
+ Enabled: NotRequired[bool]
512
+ SSEType: NotRequired[SSETypeType]
513
+ KMSMasterKeyId: NotRequired[str]
514
+
515
+
516
+ class StreamSpecificationTypeDef(TypedDict):
517
+ StreamEnabled: bool
518
+ StreamViewType: NotRequired[StreamViewTypeType]
519
+
520
+
521
+ class TagTypeDef(TypedDict):
522
+ Key: str
523
+ Value: str
524
+
525
+
526
+ class CsvOptionsOutputTypeDef(TypedDict):
527
+ Delimiter: NotRequired[str]
528
+ HeaderList: NotRequired[List[str]]
529
+
530
+
531
+ class CsvOptionsTypeDef(TypedDict):
532
+ Delimiter: NotRequired[str]
533
+ HeaderList: NotRequired[Sequence[str]]
534
+
535
+
536
+ class DeleteBackupInputRequestTypeDef(TypedDict):
537
+ BackupArn: str
538
+
539
+
540
+ class DeleteGlobalSecondaryIndexActionTypeDef(TypedDict):
541
+ IndexName: str
542
+
543
+
592
544
  DeleteReplicaActionTypeDef = TypedDict(
593
545
  "DeleteReplicaActionTypeDef",
594
546
  {
@@ -601,354 +553,265 @@ DeleteReplicationGroupMemberActionTypeDef = TypedDict(
601
553
  "RegionName": str,
602
554
  },
603
555
  )
604
- DeleteResourcePolicyInputRequestTypeDef = TypedDict(
605
- "DeleteResourcePolicyInputRequestTypeDef",
606
- {
607
- "ResourceArn": str,
608
- "ExpectedRevisionId": NotRequired[str],
609
- },
610
- )
611
- DeleteTableInputRequestTypeDef = TypedDict(
612
- "DeleteTableInputRequestTypeDef",
613
- {
614
- "TableName": str,
615
- },
616
- )
617
- DescribeBackupInputRequestTypeDef = TypedDict(
618
- "DescribeBackupInputRequestTypeDef",
619
- {
620
- "BackupArn": str,
621
- },
622
- )
623
- DescribeContinuousBackupsInputRequestTypeDef = TypedDict(
624
- "DescribeContinuousBackupsInputRequestTypeDef",
625
- {
626
- "TableName": str,
627
- },
628
- )
629
- DescribeContributorInsightsInputRequestTypeDef = TypedDict(
630
- "DescribeContributorInsightsInputRequestTypeDef",
631
- {
632
- "TableName": str,
633
- "IndexName": NotRequired[str],
634
- },
635
- )
636
- FailureExceptionTypeDef = TypedDict(
637
- "FailureExceptionTypeDef",
638
- {
639
- "ExceptionName": NotRequired[str],
640
- "ExceptionDescription": NotRequired[str],
641
- },
642
- )
643
- EndpointTypeDef = TypedDict(
644
- "EndpointTypeDef",
645
- {
646
- "Address": str,
647
- "CachePeriodInMinutes": int,
648
- },
649
- )
650
- DescribeExportInputRequestTypeDef = TypedDict(
651
- "DescribeExportInputRequestTypeDef",
652
- {
653
- "ExportArn": str,
654
- },
655
- )
656
- DescribeGlobalTableInputRequestTypeDef = TypedDict(
657
- "DescribeGlobalTableInputRequestTypeDef",
658
- {
659
- "GlobalTableName": str,
660
- },
661
- )
662
- DescribeGlobalTableSettingsInputRequestTypeDef = TypedDict(
663
- "DescribeGlobalTableSettingsInputRequestTypeDef",
664
- {
665
- "GlobalTableName": str,
666
- },
667
- )
668
- DescribeImportInputRequestTypeDef = TypedDict(
669
- "DescribeImportInputRequestTypeDef",
670
- {
671
- "ImportArn": str,
672
- },
673
- )
674
- DescribeKinesisStreamingDestinationInputRequestTypeDef = TypedDict(
675
- "DescribeKinesisStreamingDestinationInputRequestTypeDef",
676
- {
677
- "TableName": str,
678
- },
679
- )
680
- KinesisDataStreamDestinationTypeDef = TypedDict(
681
- "KinesisDataStreamDestinationTypeDef",
682
- {
683
- "StreamArn": NotRequired[str],
684
- "DestinationStatus": NotRequired[DestinationStatusType],
685
- "DestinationStatusDescription": NotRequired[str],
686
- "ApproximateCreationDateTimePrecision": NotRequired[
687
- ApproximateCreationDateTimePrecisionType
688
- ],
689
- },
690
- )
691
- DescribeTableInputRequestTypeDef = TypedDict(
692
- "DescribeTableInputRequestTypeDef",
693
- {
694
- "TableName": str,
695
- },
696
- )
697
- WaiterConfigTypeDef = TypedDict(
698
- "WaiterConfigTypeDef",
699
- {
700
- "Delay": NotRequired[int],
701
- "MaxAttempts": NotRequired[int],
702
- },
703
- )
704
- DescribeTableReplicaAutoScalingInputRequestTypeDef = TypedDict(
705
- "DescribeTableReplicaAutoScalingInputRequestTypeDef",
706
- {
707
- "TableName": str,
708
- },
709
- )
710
- DescribeTimeToLiveInputRequestTypeDef = TypedDict(
711
- "DescribeTimeToLiveInputRequestTypeDef",
712
- {
713
- "TableName": str,
714
- },
715
- )
716
- TimeToLiveDescriptionTypeDef = TypedDict(
717
- "TimeToLiveDescriptionTypeDef",
718
- {
719
- "TimeToLiveStatus": NotRequired[TimeToLiveStatusType],
720
- "AttributeName": NotRequired[str],
721
- },
722
- )
723
- EnableKinesisStreamingConfigurationTypeDef = TypedDict(
724
- "EnableKinesisStreamingConfigurationTypeDef",
725
- {
726
- "ApproximateCreationDateTimePrecision": NotRequired[
727
- ApproximateCreationDateTimePrecisionType
728
- ],
729
- },
730
- )
731
- IncrementalExportSpecificationOutputTypeDef = TypedDict(
732
- "IncrementalExportSpecificationOutputTypeDef",
733
- {
734
- "ExportFromTime": NotRequired[datetime],
735
- "ExportToTime": NotRequired[datetime],
736
- "ExportViewType": NotRequired[ExportViewTypeType],
737
- },
738
- )
739
- ExportSummaryTypeDef = TypedDict(
740
- "ExportSummaryTypeDef",
741
- {
742
- "ExportArn": NotRequired[str],
743
- "ExportStatus": NotRequired[ExportStatusType],
744
- "ExportType": NotRequired[ExportTypeType],
745
- },
746
- )
556
+
557
+
558
+ class DeleteResourcePolicyInputRequestTypeDef(TypedDict):
559
+ ResourceArn: str
560
+ ExpectedRevisionId: NotRequired[str]
561
+
562
+
563
+ class DeleteTableInputRequestTypeDef(TypedDict):
564
+ TableName: str
565
+
566
+
567
+ class DescribeBackupInputRequestTypeDef(TypedDict):
568
+ BackupArn: str
569
+
570
+
571
+ class DescribeContinuousBackupsInputRequestTypeDef(TypedDict):
572
+ TableName: str
573
+
574
+
575
+ class DescribeContributorInsightsInputRequestTypeDef(TypedDict):
576
+ TableName: str
577
+ IndexName: NotRequired[str]
578
+
579
+
580
+ class FailureExceptionTypeDef(TypedDict):
581
+ ExceptionName: NotRequired[str]
582
+ ExceptionDescription: NotRequired[str]
583
+
584
+
585
+ class EndpointTypeDef(TypedDict):
586
+ Address: str
587
+ CachePeriodInMinutes: int
588
+
589
+
590
+ class DescribeExportInputRequestTypeDef(TypedDict):
591
+ ExportArn: str
592
+
593
+
594
+ class DescribeGlobalTableInputRequestTypeDef(TypedDict):
595
+ GlobalTableName: str
596
+
597
+
598
+ class DescribeGlobalTableSettingsInputRequestTypeDef(TypedDict):
599
+ GlobalTableName: str
600
+
601
+
602
+ class DescribeImportInputRequestTypeDef(TypedDict):
603
+ ImportArn: str
604
+
605
+
606
+ class DescribeKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
607
+ TableName: str
608
+
609
+
610
+ class KinesisDataStreamDestinationTypeDef(TypedDict):
611
+ StreamArn: NotRequired[str]
612
+ DestinationStatus: NotRequired[DestinationStatusType]
613
+ DestinationStatusDescription: NotRequired[str]
614
+ ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType]
615
+
616
+
617
+ class DescribeTableInputRequestTypeDef(TypedDict):
618
+ TableName: str
619
+
620
+
621
+ class WaiterConfigTypeDef(TypedDict):
622
+ Delay: NotRequired[int]
623
+ MaxAttempts: NotRequired[int]
624
+
625
+
626
+ class DescribeTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
627
+ TableName: str
628
+
629
+
630
+ class DescribeTimeToLiveInputRequestTypeDef(TypedDict):
631
+ TableName: str
632
+
633
+
634
+ class TimeToLiveDescriptionTypeDef(TypedDict):
635
+ TimeToLiveStatus: NotRequired[TimeToLiveStatusType]
636
+ AttributeName: NotRequired[str]
637
+
638
+
639
+ class EnableKinesisStreamingConfigurationTypeDef(TypedDict):
640
+ ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType]
641
+
642
+
643
+ class IncrementalExportSpecificationOutputTypeDef(TypedDict):
644
+ ExportFromTime: NotRequired[datetime]
645
+ ExportToTime: NotRequired[datetime]
646
+ ExportViewType: NotRequired[ExportViewTypeType]
647
+
648
+
649
+ class ExportSummaryTypeDef(TypedDict):
650
+ ExportArn: NotRequired[str]
651
+ ExportStatus: NotRequired[ExportStatusType]
652
+ ExportType: NotRequired[ExportTypeType]
653
+
654
+
747
655
  TimestampTypeDef = Union[datetime, str]
748
- GetResourcePolicyInputRequestTypeDef = TypedDict(
749
- "GetResourcePolicyInputRequestTypeDef",
750
- {
751
- "ResourceArn": str,
752
- },
753
- )
754
- ProjectionOutputTypeDef = TypedDict(
755
- "ProjectionOutputTypeDef",
656
+
657
+
658
+ class GetResourcePolicyInputRequestTypeDef(TypedDict):
659
+ ResourceArn: str
660
+
661
+
662
+ class ProjectionOutputTypeDef(TypedDict):
663
+ ProjectionType: NotRequired[ProjectionTypeType]
664
+ NonKeyAttributes: NotRequired[List[str]]
665
+
666
+
667
+ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
668
+ LastIncreaseDateTime: NotRequired[datetime]
669
+ LastDecreaseDateTime: NotRequired[datetime]
670
+ NumberOfDecreasesToday: NotRequired[int]
671
+ ReadCapacityUnits: NotRequired[int]
672
+ WriteCapacityUnits: NotRequired[int]
673
+
674
+
675
+ class ProjectionTypeDef(TypedDict):
676
+ ProjectionType: NotRequired[ProjectionTypeType]
677
+ NonKeyAttributes: NotRequired[Sequence[str]]
678
+
679
+
680
+ class S3BucketSourceTypeDef(TypedDict):
681
+ S3Bucket: str
682
+ S3BucketOwner: NotRequired[str]
683
+ S3KeyPrefix: NotRequired[str]
684
+
685
+
686
+ class PaginatorConfigTypeDef(TypedDict):
687
+ MaxItems: NotRequired[int]
688
+ PageSize: NotRequired[int]
689
+ StartingToken: NotRequired[str]
690
+
691
+
692
+ class ListContributorInsightsInputRequestTypeDef(TypedDict):
693
+ TableName: NotRequired[str]
694
+ NextToken: NotRequired[str]
695
+ MaxResults: NotRequired[int]
696
+
697
+
698
+ class ListExportsInputRequestTypeDef(TypedDict):
699
+ TableArn: NotRequired[str]
700
+ MaxResults: NotRequired[int]
701
+ NextToken: NotRequired[str]
702
+
703
+
704
+ ListGlobalTablesInputRequestTypeDef = TypedDict(
705
+ "ListGlobalTablesInputRequestTypeDef",
756
706
  {
757
- "ProjectionType": NotRequired[ProjectionTypeType],
758
- "NonKeyAttributes": NotRequired[List[str]],
759
- },
760
- )
761
- ProvisionedThroughputDescriptionTypeDef = TypedDict(
762
- "ProvisionedThroughputDescriptionTypeDef",
763
- {
764
- "LastIncreaseDateTime": NotRequired[datetime],
765
- "LastDecreaseDateTime": NotRequired[datetime],
766
- "NumberOfDecreasesToday": NotRequired[int],
767
- "ReadCapacityUnits": NotRequired[int],
768
- "WriteCapacityUnits": NotRequired[int],
769
- },
770
- )
771
- S3BucketSourceTypeDef = TypedDict(
772
- "S3BucketSourceTypeDef",
773
- {
774
- "S3Bucket": str,
775
- "S3BucketOwner": NotRequired[str],
776
- "S3KeyPrefix": NotRequired[str],
777
- },
778
- )
779
- PaginatorConfigTypeDef = TypedDict(
780
- "PaginatorConfigTypeDef",
781
- {
782
- "MaxItems": NotRequired[int],
783
- "PageSize": NotRequired[int],
784
- "StartingToken": NotRequired[str],
785
- },
786
- )
787
- ListContributorInsightsInputRequestTypeDef = TypedDict(
788
- "ListContributorInsightsInputRequestTypeDef",
789
- {
790
- "TableName": NotRequired[str],
791
- "NextToken": NotRequired[str],
792
- "MaxResults": NotRequired[int],
793
- },
794
- )
795
- ListExportsInputRequestTypeDef = TypedDict(
796
- "ListExportsInputRequestTypeDef",
797
- {
798
- "TableArn": NotRequired[str],
799
- "MaxResults": NotRequired[int],
800
- "NextToken": NotRequired[str],
801
- },
802
- )
803
- ListGlobalTablesInputRequestTypeDef = TypedDict(
804
- "ListGlobalTablesInputRequestTypeDef",
805
- {
806
- "ExclusiveStartGlobalTableName": NotRequired[str],
807
- "Limit": NotRequired[int],
808
- "RegionName": NotRequired[str],
809
- },
810
- )
811
- ListImportsInputRequestTypeDef = TypedDict(
812
- "ListImportsInputRequestTypeDef",
813
- {
814
- "TableArn": NotRequired[str],
815
- "PageSize": NotRequired[int],
816
- "NextToken": NotRequired[str],
817
- },
818
- )
819
- ListTablesInputRequestTypeDef = TypedDict(
820
- "ListTablesInputRequestTypeDef",
821
- {
822
- "ExclusiveStartTableName": NotRequired[str],
823
- "Limit": NotRequired[int],
824
- },
825
- )
826
- ListTagsOfResourceInputRequestTypeDef = TypedDict(
827
- "ListTagsOfResourceInputRequestTypeDef",
828
- {
829
- "ResourceArn": str,
830
- "NextToken": NotRequired[str],
831
- },
832
- )
833
- PointInTimeRecoverySpecificationTypeDef = TypedDict(
834
- "PointInTimeRecoverySpecificationTypeDef",
835
- {
836
- "PointInTimeRecoveryEnabled": bool,
837
- },
838
- )
839
- PutResourcePolicyInputRequestTypeDef = TypedDict(
840
- "PutResourcePolicyInputRequestTypeDef",
841
- {
842
- "ResourceArn": str,
843
- "Policy": str,
844
- "ExpectedRevisionId": NotRequired[str],
845
- "ConfirmRemoveSelfResourceAccess": NotRequired[bool],
846
- },
847
- )
848
- TableClassSummaryTypeDef = TypedDict(
849
- "TableClassSummaryTypeDef",
850
- {
851
- "TableClass": NotRequired[TableClassType],
852
- "LastUpdateDateTime": NotRequired[datetime],
853
- },
854
- )
855
- RestoreSummaryTypeDef = TypedDict(
856
- "RestoreSummaryTypeDef",
857
- {
858
- "RestoreDateTime": datetime,
859
- "RestoreInProgress": bool,
860
- "SourceBackupArn": NotRequired[str],
861
- "SourceTableArn": NotRequired[str],
862
- },
863
- )
864
- SSEDescriptionTypeDef = TypedDict(
865
- "SSEDescriptionTypeDef",
866
- {
867
- "Status": NotRequired[SSEStatusType],
868
- "SSEType": NotRequired[SSETypeType],
869
- "KMSMasterKeyArn": NotRequired[str],
870
- "InaccessibleEncryptionDateTime": NotRequired[datetime],
871
- },
872
- )
873
- TableBatchWriterRequestTypeDef = TypedDict(
874
- "TableBatchWriterRequestTypeDef",
875
- {
876
- "overwrite_by_pkeys": NotRequired[List[str]],
877
- },
878
- )
879
- TimeToLiveSpecificationTypeDef = TypedDict(
880
- "TimeToLiveSpecificationTypeDef",
881
- {
882
- "Enabled": bool,
883
- "AttributeName": str,
884
- },
885
- )
886
- UntagResourceInputRequestTypeDef = TypedDict(
887
- "UntagResourceInputRequestTypeDef",
888
- {
889
- "ResourceArn": str,
890
- "TagKeys": Sequence[str],
891
- },
892
- )
893
- UpdateContributorInsightsInputRequestTypeDef = TypedDict(
894
- "UpdateContributorInsightsInputRequestTypeDef",
895
- {
896
- "TableName": str,
897
- "ContributorInsightsAction": ContributorInsightsActionType,
898
- "IndexName": NotRequired[str],
899
- },
900
- )
901
- UpdateKinesisStreamingConfigurationTypeDef = TypedDict(
902
- "UpdateKinesisStreamingConfigurationTypeDef",
903
- {
904
- "ApproximateCreationDateTimePrecision": NotRequired[
905
- ApproximateCreationDateTimePrecisionType
906
- ],
907
- },
908
- )
909
- BatchStatementErrorTypeDef = TypedDict(
910
- "BatchStatementErrorTypeDef",
911
- {
912
- "Code": NotRequired[BatchStatementErrorCodeEnumType],
913
- "Message": NotRequired[str],
914
- "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
915
- },
916
- )
917
- DeleteRequestOutputTypeDef = TypedDict(
918
- "DeleteRequestOutputTypeDef",
919
- {
920
- "Key": Dict[str, AttributeValueTypeDef],
921
- },
922
- )
923
- ItemCollectionMetricsTypeDef = TypedDict(
924
- "ItemCollectionMetricsTypeDef",
925
- {
926
- "ItemCollectionKey": NotRequired[Dict[str, AttributeValueTypeDef]],
927
- "SizeEstimateRangeGB": NotRequired[List[float]],
928
- },
929
- )
930
- ItemResponseTypeDef = TypedDict(
931
- "ItemResponseTypeDef",
932
- {
933
- "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
934
- },
935
- )
936
- KeysAndAttributesOutputTypeDef = TypedDict(
937
- "KeysAndAttributesOutputTypeDef",
938
- {
939
- "Keys": List[Dict[str, AttributeValueTypeDef]],
940
- "AttributesToGet": NotRequired[List[str]],
941
- "ConsistentRead": NotRequired[bool],
942
- "ProjectionExpression": NotRequired[str],
943
- "ExpressionAttributeNames": NotRequired[Dict[str, str]],
944
- },
945
- )
946
- PutRequestOutputTypeDef = TypedDict(
947
- "PutRequestOutputTypeDef",
948
- {
949
- "Item": Dict[str, AttributeValueTypeDef],
707
+ "ExclusiveStartGlobalTableName": NotRequired[str],
708
+ "Limit": NotRequired[int],
709
+ "RegionName": NotRequired[str],
950
710
  },
951
711
  )
712
+
713
+
714
+ class ListImportsInputRequestTypeDef(TypedDict):
715
+ TableArn: NotRequired[str]
716
+ PageSize: NotRequired[int]
717
+ NextToken: NotRequired[str]
718
+
719
+
720
+ class ListTablesInputRequestTypeDef(TypedDict):
721
+ ExclusiveStartTableName: NotRequired[str]
722
+ Limit: NotRequired[int]
723
+
724
+
725
+ class ListTagsOfResourceInputRequestTypeDef(TypedDict):
726
+ ResourceArn: str
727
+ NextToken: NotRequired[str]
728
+
729
+
730
+ class PointInTimeRecoverySpecificationTypeDef(TypedDict):
731
+ PointInTimeRecoveryEnabled: bool
732
+
733
+
734
+ class PutResourcePolicyInputRequestTypeDef(TypedDict):
735
+ ResourceArn: str
736
+ Policy: str
737
+ ExpectedRevisionId: NotRequired[str]
738
+ ConfirmRemoveSelfResourceAccess: NotRequired[bool]
739
+
740
+
741
+ class TableClassSummaryTypeDef(TypedDict):
742
+ TableClass: NotRequired[TableClassType]
743
+ LastUpdateDateTime: NotRequired[datetime]
744
+
745
+
746
+ class RestoreSummaryTypeDef(TypedDict):
747
+ RestoreDateTime: datetime
748
+ RestoreInProgress: bool
749
+ SourceBackupArn: NotRequired[str]
750
+ SourceTableArn: NotRequired[str]
751
+
752
+
753
+ class SSEDescriptionTypeDef(TypedDict):
754
+ Status: NotRequired[SSEStatusType]
755
+ SSEType: NotRequired[SSETypeType]
756
+ KMSMasterKeyArn: NotRequired[str]
757
+ InaccessibleEncryptionDateTime: NotRequired[datetime]
758
+
759
+
760
+ class TableBatchWriterRequestTypeDef(TypedDict):
761
+ overwrite_by_pkeys: NotRequired[List[str]]
762
+
763
+
764
+ class TimeToLiveSpecificationTypeDef(TypedDict):
765
+ Enabled: bool
766
+ AttributeName: str
767
+
768
+
769
+ class UntagResourceInputRequestTypeDef(TypedDict):
770
+ ResourceArn: str
771
+ TagKeys: Sequence[str]
772
+
773
+
774
+ class UpdateContributorInsightsInputRequestTypeDef(TypedDict):
775
+ TableName: str
776
+ ContributorInsightsAction: ContributorInsightsActionType
777
+ IndexName: NotRequired[str]
778
+
779
+
780
+ class UpdateKinesisStreamingConfigurationTypeDef(TypedDict):
781
+ ApproximateCreationDateTimePrecision: NotRequired[ApproximateCreationDateTimePrecisionType]
782
+
783
+
784
+ class BatchStatementErrorTypeDef(TypedDict):
785
+ Code: NotRequired[BatchStatementErrorCodeEnumType]
786
+ Message: NotRequired[str]
787
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
788
+
789
+
790
+ class DeleteRequestOutputTypeDef(TypedDict):
791
+ Key: Dict[str, AttributeValueTypeDef]
792
+
793
+
794
+ class ItemCollectionMetricsTypeDef(TypedDict):
795
+ ItemCollectionKey: NotRequired[Dict[str, AttributeValueTypeDef]]
796
+ SizeEstimateRangeGB: NotRequired[List[float]]
797
+
798
+
799
+ class ItemResponseTypeDef(TypedDict):
800
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
801
+
802
+
803
+ class KeysAndAttributesOutputTypeDef(TypedDict):
804
+ Keys: List[Dict[str, AttributeValueTypeDef]]
805
+ AttributesToGet: NotRequired[List[str]]
806
+ ConsistentRead: NotRequired[bool]
807
+ ProjectionExpression: NotRequired[str]
808
+ ExpressionAttributeNames: NotRequired[Dict[str, str]]
809
+
810
+
811
+ class PutRequestOutputTypeDef(TypedDict):
812
+ Item: Dict[str, AttributeValueTypeDef]
813
+
814
+
952
815
  UniversalAttributeValueTypeDef = Union[
953
816
  AttributeValueTypeDef,
954
817
  bytes,
@@ -966,1067 +829,815 @@ UniversalAttributeValueTypeDef = Union[
966
829
  Mapping[str, Any],
967
830
  None,
968
831
  ]
969
- AttributeValueUpdateTableTypeDef = TypedDict(
970
- "AttributeValueUpdateTableTypeDef",
971
- {
972
- "Value": NotRequired[TableAttributeValueTypeDef],
973
- "Action": NotRequired[AttributeActionType],
974
- },
975
- )
976
- ConditionTableTypeDef = TypedDict(
977
- "ConditionTableTypeDef",
978
- {
979
- "ComparisonOperator": ComparisonOperatorType,
980
- "AttributeValueList": NotRequired[Sequence[TableAttributeValueTypeDef]],
981
- },
982
- )
983
- DeleteRequestServiceResourceOutputTypeDef = TypedDict(
984
- "DeleteRequestServiceResourceOutputTypeDef",
985
- {
986
- "Key": Dict[str, TableAttributeValueTypeDef],
987
- },
988
- )
989
- DeleteRequestServiceResourceTypeDef = TypedDict(
990
- "DeleteRequestServiceResourceTypeDef",
991
- {
992
- "Key": Mapping[str, TableAttributeValueTypeDef],
993
- },
994
- )
995
- ExpectedAttributeValueTableTypeDef = TypedDict(
996
- "ExpectedAttributeValueTableTypeDef",
997
- {
998
- "Value": NotRequired[TableAttributeValueTypeDef],
999
- "Exists": NotRequired[bool],
1000
- "ComparisonOperator": NotRequired[ComparisonOperatorType],
1001
- "AttributeValueList": NotRequired[Sequence[TableAttributeValueTypeDef]],
1002
- },
1003
- )
1004
- GetItemInputTableGetItemTypeDef = TypedDict(
1005
- "GetItemInputTableGetItemTypeDef",
1006
- {
1007
- "Key": Mapping[str, TableAttributeValueTypeDef],
1008
- "AttributesToGet": NotRequired[Sequence[str]],
1009
- "ConsistentRead": NotRequired[bool],
1010
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1011
- "ProjectionExpression": NotRequired[str],
1012
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1013
- },
1014
- )
1015
- ItemCollectionMetricsServiceResourceTypeDef = TypedDict(
1016
- "ItemCollectionMetricsServiceResourceTypeDef",
1017
- {
1018
- "ItemCollectionKey": NotRequired[Dict[str, TableAttributeValueTypeDef]],
1019
- "SizeEstimateRangeGB": NotRequired[List[float]],
1020
- },
1021
- )
1022
- ItemCollectionMetricsTableTypeDef = TypedDict(
1023
- "ItemCollectionMetricsTableTypeDef",
1024
- {
1025
- "ItemCollectionKey": NotRequired[Dict[str, TableAttributeValueTypeDef]],
1026
- "SizeEstimateRangeGB": NotRequired[List[float]],
1027
- },
1028
- )
1029
- KeysAndAttributesServiceResourceOutputTypeDef = TypedDict(
1030
- "KeysAndAttributesServiceResourceOutputTypeDef",
1031
- {
1032
- "Keys": List[Dict[str, TableAttributeValueTypeDef]],
1033
- "AttributesToGet": NotRequired[List[str]],
1034
- "ConsistentRead": NotRequired[bool],
1035
- "ProjectionExpression": NotRequired[str],
1036
- "ExpressionAttributeNames": NotRequired[Dict[str, str]],
1037
- },
1038
- )
1039
- KeysAndAttributesServiceResourceTypeDef = TypedDict(
1040
- "KeysAndAttributesServiceResourceTypeDef",
1041
- {
1042
- "Keys": Sequence[Mapping[str, TableAttributeValueTypeDef]],
1043
- "AttributesToGet": NotRequired[Sequence[str]],
1044
- "ConsistentRead": NotRequired[bool],
1045
- "ProjectionExpression": NotRequired[str],
1046
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1047
- },
1048
- )
1049
- PutRequestServiceResourceOutputTypeDef = TypedDict(
1050
- "PutRequestServiceResourceOutputTypeDef",
1051
- {
1052
- "Item": Dict[str, TableAttributeValueTypeDef],
1053
- },
1054
- )
1055
- PutRequestServiceResourceTypeDef = TypedDict(
1056
- "PutRequestServiceResourceTypeDef",
1057
- {
1058
- "Item": Mapping[str, TableAttributeValueTypeDef],
1059
- },
1060
- )
1061
- AutoScalingPolicyDescriptionTypeDef = TypedDict(
1062
- "AutoScalingPolicyDescriptionTypeDef",
1063
- {
1064
- "PolicyName": NotRequired[str],
1065
- "TargetTrackingScalingPolicyConfiguration": NotRequired[
1066
- AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef
1067
- ],
1068
- },
1069
- )
1070
- AutoScalingPolicyUpdateTypeDef = TypedDict(
1071
- "AutoScalingPolicyUpdateTypeDef",
1072
- {
1073
- "TargetTrackingScalingPolicyConfiguration": AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef,
1074
- "PolicyName": NotRequired[str],
1075
- },
1076
- )
1077
- CreateBackupOutputTypeDef = TypedDict(
1078
- "CreateBackupOutputTypeDef",
1079
- {
1080
- "BackupDetails": BackupDetailsTypeDef,
1081
- "ResponseMetadata": ResponseMetadataTypeDef,
1082
- },
1083
- )
1084
- DeleteResourcePolicyOutputTypeDef = TypedDict(
1085
- "DeleteResourcePolicyOutputTypeDef",
1086
- {
1087
- "RevisionId": str,
1088
- "ResponseMetadata": ResponseMetadataTypeDef,
1089
- },
1090
- )
1091
- DescribeLimitsOutputTypeDef = TypedDict(
1092
- "DescribeLimitsOutputTypeDef",
1093
- {
1094
- "AccountMaxReadCapacityUnits": int,
1095
- "AccountMaxWriteCapacityUnits": int,
1096
- "TableMaxReadCapacityUnits": int,
1097
- "TableMaxWriteCapacityUnits": int,
1098
- "ResponseMetadata": ResponseMetadataTypeDef,
1099
- },
1100
- )
1101
- EmptyResponseMetadataTypeDef = TypedDict(
1102
- "EmptyResponseMetadataTypeDef",
1103
- {
1104
- "ResponseMetadata": ResponseMetadataTypeDef,
1105
- },
1106
- )
1107
- GetResourcePolicyOutputTypeDef = TypedDict(
1108
- "GetResourcePolicyOutputTypeDef",
1109
- {
1110
- "Policy": str,
1111
- "RevisionId": str,
1112
- "ResponseMetadata": ResponseMetadataTypeDef,
1113
- },
1114
- )
1115
- ListBackupsOutputTypeDef = TypedDict(
1116
- "ListBackupsOutputTypeDef",
1117
- {
1118
- "BackupSummaries": List[BackupSummaryTypeDef],
1119
- "LastEvaluatedBackupArn": str,
1120
- "ResponseMetadata": ResponseMetadataTypeDef,
1121
- },
1122
- )
1123
- ListTablesOutputTypeDef = TypedDict(
1124
- "ListTablesOutputTypeDef",
1125
- {
1126
- "TableNames": List[str],
1127
- "LastEvaluatedTableName": str,
1128
- "ResponseMetadata": ResponseMetadataTypeDef,
1129
- },
1130
- )
1131
- PutResourcePolicyOutputTypeDef = TypedDict(
1132
- "PutResourcePolicyOutputTypeDef",
1133
- {
1134
- "RevisionId": str,
1135
- "ResponseMetadata": ResponseMetadataTypeDef,
1136
- },
1137
- )
1138
- UpdateContributorInsightsOutputTypeDef = TypedDict(
1139
- "UpdateContributorInsightsOutputTypeDef",
1140
- {
1141
- "TableName": str,
1142
- "IndexName": str,
1143
- "ContributorInsightsStatus": ContributorInsightsStatusType,
1144
- "ResponseMetadata": ResponseMetadataTypeDef,
1145
- },
1146
- )
1147
- ConsumedCapacityTypeDef = TypedDict(
1148
- "ConsumedCapacityTypeDef",
1149
- {
1150
- "TableName": NotRequired[str],
1151
- "CapacityUnits": NotRequired[float],
1152
- "ReadCapacityUnits": NotRequired[float],
1153
- "WriteCapacityUnits": NotRequired[float],
1154
- "Table": NotRequired[CapacityTypeDef],
1155
- "LocalSecondaryIndexes": NotRequired[Dict[str, CapacityTypeDef]],
1156
- "GlobalSecondaryIndexes": NotRequired[Dict[str, CapacityTypeDef]],
1157
- },
1158
- )
1159
- ContinuousBackupsDescriptionTypeDef = TypedDict(
1160
- "ContinuousBackupsDescriptionTypeDef",
1161
- {
1162
- "ContinuousBackupsStatus": ContinuousBackupsStatusType,
1163
- "PointInTimeRecoveryDescription": NotRequired[PointInTimeRecoveryDescriptionTypeDef],
1164
- },
1165
- )
1166
- ListContributorInsightsOutputTypeDef = TypedDict(
1167
- "ListContributorInsightsOutputTypeDef",
1168
- {
1169
- "ContributorInsightsSummaries": List[ContributorInsightsSummaryTypeDef],
1170
- "ResponseMetadata": ResponseMetadataTypeDef,
1171
- "NextToken": NotRequired[str],
1172
- },
1173
- )
1174
- LocalSecondaryIndexTypeDef = TypedDict(
1175
- "LocalSecondaryIndexTypeDef",
1176
- {
1177
- "IndexName": str,
1178
- "KeySchema": Sequence[KeySchemaElementTypeDef],
1179
- "Projection": ProjectionTypeDef,
1180
- },
1181
- )
1182
- CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
1183
- "CreateGlobalSecondaryIndexActionTypeDef",
1184
- {
1185
- "IndexName": str,
1186
- "KeySchema": Sequence[KeySchemaElementTypeDef],
1187
- "Projection": ProjectionTypeDef,
1188
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1189
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1190
- },
1191
- )
1192
- GlobalSecondaryIndexTypeDef = TypedDict(
1193
- "GlobalSecondaryIndexTypeDef",
1194
- {
1195
- "IndexName": str,
1196
- "KeySchema": Sequence[KeySchemaElementTypeDef],
1197
- "Projection": ProjectionTypeDef,
1198
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1199
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1200
- },
1201
- )
1202
- SourceTableDetailsTypeDef = TypedDict(
1203
- "SourceTableDetailsTypeDef",
1204
- {
1205
- "TableName": str,
1206
- "TableId": str,
1207
- "KeySchema": List[KeySchemaElementTypeDef],
1208
- "TableCreationDateTime": datetime,
1209
- "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1210
- "TableArn": NotRequired[str],
1211
- "TableSizeBytes": NotRequired[int],
1212
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1213
- "ItemCount": NotRequired[int],
1214
- "BillingMode": NotRequired[BillingModeType],
1215
- },
1216
- )
1217
- UpdateGlobalSecondaryIndexActionTypeDef = TypedDict(
1218
- "UpdateGlobalSecondaryIndexActionTypeDef",
1219
- {
1220
- "IndexName": str,
1221
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1222
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1223
- },
1224
- )
1225
- CreateGlobalTableInputRequestTypeDef = TypedDict(
1226
- "CreateGlobalTableInputRequestTypeDef",
1227
- {
1228
- "GlobalTableName": str,
1229
- "ReplicationGroup": Sequence[ReplicaTypeDef],
1230
- },
1231
- )
1232
- GlobalTableTypeDef = TypedDict(
1233
- "GlobalTableTypeDef",
1234
- {
1235
- "GlobalTableName": NotRequired[str],
1236
- "ReplicationGroup": NotRequired[List[ReplicaTypeDef]],
1237
- },
1238
- )
1239
- ReplicaGlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1240
- "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
1241
- {
1242
- "IndexName": NotRequired[str],
1243
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1244
- "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1245
- },
1246
- )
1247
- ReplicaGlobalSecondaryIndexTypeDef = TypedDict(
1248
- "ReplicaGlobalSecondaryIndexTypeDef",
1249
- {
1250
- "IndexName": str,
1251
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1252
- "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1253
- },
1254
- )
1255
- ListTagsOfResourceOutputTypeDef = TypedDict(
1256
- "ListTagsOfResourceOutputTypeDef",
1257
- {
1258
- "Tags": List[TagTypeDef],
1259
- "ResponseMetadata": ResponseMetadataTypeDef,
1260
- "NextToken": NotRequired[str],
1261
- },
1262
- )
1263
- TagResourceInputRequestTypeDef = TypedDict(
1264
- "TagResourceInputRequestTypeDef",
1265
- {
1266
- "ResourceArn": str,
1267
- "Tags": Sequence[TagTypeDef],
1268
- },
1269
- )
1270
- InputFormatOptionsOutputTypeDef = TypedDict(
1271
- "InputFormatOptionsOutputTypeDef",
1272
- {
1273
- "Csv": NotRequired[CsvOptionsOutputTypeDef],
1274
- },
1275
- )
1276
- InputFormatOptionsTypeDef = TypedDict(
1277
- "InputFormatOptionsTypeDef",
1278
- {
1279
- "Csv": NotRequired[CsvOptionsTypeDef],
1280
- },
1281
- )
1282
- ReplicaUpdateTypeDef = TypedDict(
1283
- "ReplicaUpdateTypeDef",
1284
- {
1285
- "Create": NotRequired[CreateReplicaActionTypeDef],
1286
- "Delete": NotRequired[DeleteReplicaActionTypeDef],
1287
- },
1288
- )
1289
- DescribeContributorInsightsOutputTypeDef = TypedDict(
1290
- "DescribeContributorInsightsOutputTypeDef",
1291
- {
1292
- "TableName": str,
1293
- "IndexName": str,
1294
- "ContributorInsightsRuleList": List[str],
1295
- "ContributorInsightsStatus": ContributorInsightsStatusType,
1296
- "LastUpdateDateTime": datetime,
1297
- "FailureException": FailureExceptionTypeDef,
1298
- "ResponseMetadata": ResponseMetadataTypeDef,
1299
- },
1300
- )
1301
- DescribeEndpointsResponseTypeDef = TypedDict(
1302
- "DescribeEndpointsResponseTypeDef",
1303
- {
1304
- "Endpoints": List[EndpointTypeDef],
1305
- "ResponseMetadata": ResponseMetadataTypeDef,
1306
- },
1307
- )
1308
- DescribeKinesisStreamingDestinationOutputTypeDef = TypedDict(
1309
- "DescribeKinesisStreamingDestinationOutputTypeDef",
1310
- {
1311
- "TableName": str,
1312
- "KinesisDataStreamDestinations": List[KinesisDataStreamDestinationTypeDef],
1313
- "ResponseMetadata": ResponseMetadataTypeDef,
1314
- },
1315
- )
1316
- DescribeTableInputTableExistsWaitTypeDef = TypedDict(
1317
- "DescribeTableInputTableExistsWaitTypeDef",
1318
- {
1319
- "TableName": str,
1320
- "WaiterConfig": NotRequired[WaiterConfigTypeDef],
1321
- },
1322
- )
1323
- DescribeTableInputTableNotExistsWaitTypeDef = TypedDict(
1324
- "DescribeTableInputTableNotExistsWaitTypeDef",
1325
- {
1326
- "TableName": str,
1327
- "WaiterConfig": NotRequired[WaiterConfigTypeDef],
1328
- },
1329
- )
1330
- DescribeTimeToLiveOutputTypeDef = TypedDict(
1331
- "DescribeTimeToLiveOutputTypeDef",
1332
- {
1333
- "TimeToLiveDescription": TimeToLiveDescriptionTypeDef,
1334
- "ResponseMetadata": ResponseMetadataTypeDef,
1335
- },
1336
- )
1337
- KinesisStreamingDestinationInputRequestTypeDef = TypedDict(
1338
- "KinesisStreamingDestinationInputRequestTypeDef",
1339
- {
1340
- "TableName": str,
1341
- "StreamArn": str,
1342
- "EnableKinesisStreamingConfiguration": NotRequired[
1343
- EnableKinesisStreamingConfigurationTypeDef
1344
- ],
1345
- },
1346
- )
1347
- KinesisStreamingDestinationOutputTypeDef = TypedDict(
1348
- "KinesisStreamingDestinationOutputTypeDef",
1349
- {
1350
- "TableName": str,
1351
- "StreamArn": str,
1352
- "DestinationStatus": DestinationStatusType,
1353
- "EnableKinesisStreamingConfiguration": EnableKinesisStreamingConfigurationTypeDef,
1354
- "ResponseMetadata": ResponseMetadataTypeDef,
1355
- },
1356
- )
1357
- ExportDescriptionTypeDef = TypedDict(
1358
- "ExportDescriptionTypeDef",
1359
- {
1360
- "ExportArn": NotRequired[str],
1361
- "ExportStatus": NotRequired[ExportStatusType],
1362
- "StartTime": NotRequired[datetime],
1363
- "EndTime": NotRequired[datetime],
1364
- "ExportManifest": NotRequired[str],
1365
- "TableArn": NotRequired[str],
1366
- "TableId": NotRequired[str],
1367
- "ExportTime": NotRequired[datetime],
1368
- "ClientToken": NotRequired[str],
1369
- "S3Bucket": NotRequired[str],
1370
- "S3BucketOwner": NotRequired[str],
1371
- "S3Prefix": NotRequired[str],
1372
- "S3SseAlgorithm": NotRequired[S3SseAlgorithmType],
1373
- "S3SseKmsKeyId": NotRequired[str],
1374
- "FailureCode": NotRequired[str],
1375
- "FailureMessage": NotRequired[str],
1376
- "ExportFormat": NotRequired[ExportFormatType],
1377
- "BilledSizeBytes": NotRequired[int],
1378
- "ItemCount": NotRequired[int],
1379
- "ExportType": NotRequired[ExportTypeType],
1380
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationOutputTypeDef],
1381
- },
1382
- )
1383
- ListExportsOutputTypeDef = TypedDict(
1384
- "ListExportsOutputTypeDef",
1385
- {
1386
- "ExportSummaries": List[ExportSummaryTypeDef],
1387
- "ResponseMetadata": ResponseMetadataTypeDef,
1388
- "NextToken": NotRequired[str],
1389
- },
1390
- )
1391
- IncrementalExportSpecificationTypeDef = TypedDict(
1392
- "IncrementalExportSpecificationTypeDef",
1393
- {
1394
- "ExportFromTime": NotRequired[TimestampTypeDef],
1395
- "ExportToTime": NotRequired[TimestampTypeDef],
1396
- "ExportViewType": NotRequired[ExportViewTypeType],
1397
- },
1398
- )
1399
- ListBackupsInputRequestTypeDef = TypedDict(
1400
- "ListBackupsInputRequestTypeDef",
1401
- {
1402
- "TableName": NotRequired[str],
1403
- "Limit": NotRequired[int],
1404
- "TimeRangeLowerBound": NotRequired[TimestampTypeDef],
1405
- "TimeRangeUpperBound": NotRequired[TimestampTypeDef],
1406
- "ExclusiveStartBackupArn": NotRequired[str],
1407
- "BackupType": NotRequired[BackupTypeFilterType],
1408
- },
1409
- )
1410
- GlobalSecondaryIndexInfoTypeDef = TypedDict(
1411
- "GlobalSecondaryIndexInfoTypeDef",
1412
- {
1413
- "IndexName": NotRequired[str],
1414
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1415
- "Projection": NotRequired[ProjectionOutputTypeDef],
1416
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1417
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1418
- },
1419
- )
1420
- GlobalSecondaryIndexOutputTypeDef = TypedDict(
1421
- "GlobalSecondaryIndexOutputTypeDef",
1422
- {
1423
- "IndexName": str,
1424
- "KeySchema": List[KeySchemaElementTypeDef],
1425
- "Projection": ProjectionOutputTypeDef,
1426
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1427
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1428
- },
1429
- )
1430
- LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1431
- "LocalSecondaryIndexDescriptionTypeDef",
1432
- {
1433
- "IndexName": NotRequired[str],
1434
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1435
- "Projection": NotRequired[ProjectionOutputTypeDef],
1436
- "IndexSizeBytes": NotRequired[int],
1437
- "ItemCount": NotRequired[int],
1438
- "IndexArn": NotRequired[str],
1439
- },
1440
- )
1441
- LocalSecondaryIndexInfoTypeDef = TypedDict(
1442
- "LocalSecondaryIndexInfoTypeDef",
1443
- {
1444
- "IndexName": NotRequired[str],
1445
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1446
- "Projection": NotRequired[ProjectionOutputTypeDef],
1447
- },
1448
- )
1449
- GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1450
- "GlobalSecondaryIndexDescriptionTypeDef",
1451
- {
1452
- "IndexName": NotRequired[str],
1453
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1454
- "Projection": NotRequired[ProjectionOutputTypeDef],
1455
- "IndexStatus": NotRequired[IndexStatusType],
1456
- "Backfilling": NotRequired[bool],
1457
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
1458
- "IndexSizeBytes": NotRequired[int],
1459
- "ItemCount": NotRequired[int],
1460
- "IndexArn": NotRequired[str],
1461
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1462
- },
1463
- )
1464
- ImportSummaryTypeDef = TypedDict(
1465
- "ImportSummaryTypeDef",
1466
- {
1467
- "ImportArn": NotRequired[str],
1468
- "ImportStatus": NotRequired[ImportStatusType],
1469
- "TableArn": NotRequired[str],
1470
- "S3BucketSource": NotRequired[S3BucketSourceTypeDef],
1471
- "CloudWatchLogGroupArn": NotRequired[str],
1472
- "InputFormat": NotRequired[InputFormatType],
1473
- "StartTime": NotRequired[datetime],
1474
- "EndTime": NotRequired[datetime],
1475
- },
1476
- )
1477
- ListBackupsInputListBackupsPaginateTypeDef = TypedDict(
1478
- "ListBackupsInputListBackupsPaginateTypeDef",
1479
- {
1480
- "TableName": NotRequired[str],
1481
- "TimeRangeLowerBound": NotRequired[TimestampTypeDef],
1482
- "TimeRangeUpperBound": NotRequired[TimestampTypeDef],
1483
- "BackupType": NotRequired[BackupTypeFilterType],
1484
- "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
1485
- },
1486
- )
1487
- ListTablesInputListTablesPaginateTypeDef = TypedDict(
1488
- "ListTablesInputListTablesPaginateTypeDef",
1489
- {
1490
- "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
1491
- },
1492
- )
1493
- ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef = TypedDict(
1494
- "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
1495
- {
1496
- "ResourceArn": str,
1497
- "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
1498
- },
1499
- )
1500
- UpdateContinuousBackupsInputRequestTypeDef = TypedDict(
1501
- "UpdateContinuousBackupsInputRequestTypeDef",
1502
- {
1503
- "TableName": str,
1504
- "PointInTimeRecoverySpecification": PointInTimeRecoverySpecificationTypeDef,
1505
- },
1506
- )
1507
- UpdateTimeToLiveInputRequestTypeDef = TypedDict(
1508
- "UpdateTimeToLiveInputRequestTypeDef",
1509
- {
1510
- "TableName": str,
1511
- "TimeToLiveSpecification": TimeToLiveSpecificationTypeDef,
1512
- },
1513
- )
1514
- UpdateTimeToLiveOutputTypeDef = TypedDict(
1515
- "UpdateTimeToLiveOutputTypeDef",
1516
- {
1517
- "TimeToLiveSpecification": TimeToLiveSpecificationTypeDef,
1518
- "ResponseMetadata": ResponseMetadataTypeDef,
1519
- },
1520
- )
1521
- UpdateKinesisStreamingDestinationInputRequestTypeDef = TypedDict(
1522
- "UpdateKinesisStreamingDestinationInputRequestTypeDef",
1523
- {
1524
- "TableName": str,
1525
- "StreamArn": str,
1526
- "UpdateKinesisStreamingConfiguration": NotRequired[
1527
- UpdateKinesisStreamingConfigurationTypeDef
1528
- ],
1529
- },
1530
- )
1531
- UpdateKinesisStreamingDestinationOutputTypeDef = TypedDict(
1532
- "UpdateKinesisStreamingDestinationOutputTypeDef",
1533
- {
1534
- "TableName": str,
1535
- "StreamArn": str,
1536
- "DestinationStatus": DestinationStatusType,
1537
- "UpdateKinesisStreamingConfiguration": UpdateKinesisStreamingConfigurationTypeDef,
1538
- "ResponseMetadata": ResponseMetadataTypeDef,
1539
- },
1540
- )
1541
- BatchStatementResponseTypeDef = TypedDict(
1542
- "BatchStatementResponseTypeDef",
1543
- {
1544
- "Error": NotRequired[BatchStatementErrorTypeDef],
1545
- "TableName": NotRequired[str],
1546
- "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1547
- },
1548
- )
1549
- WriteRequestOutputTypeDef = TypedDict(
1550
- "WriteRequestOutputTypeDef",
1551
- {
1552
- "PutRequest": NotRequired[PutRequestOutputTypeDef],
1553
- "DeleteRequest": NotRequired[DeleteRequestOutputTypeDef],
1554
- },
1555
- )
1556
- AttributeValueUpdateTypeDef = TypedDict(
1557
- "AttributeValueUpdateTypeDef",
1558
- {
1559
- "Value": NotRequired[UniversalAttributeValueTypeDef],
1560
- "Action": NotRequired[AttributeActionType],
1561
- },
1562
- )
1563
- BatchStatementRequestTypeDef = TypedDict(
1564
- "BatchStatementRequestTypeDef",
1565
- {
1566
- "Statement": str,
1567
- "Parameters": NotRequired[Sequence[UniversalAttributeValueTypeDef]],
1568
- "ConsistentRead": NotRequired[bool],
1569
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1570
- },
1571
- )
1572
- ConditionCheckTypeDef = TypedDict(
1573
- "ConditionCheckTypeDef",
1574
- {
1575
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
1576
- "TableName": str,
1577
- "ConditionExpression": str,
1578
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1579
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
1580
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1581
- },
1582
- )
1583
- ConditionTypeDef = TypedDict(
1584
- "ConditionTypeDef",
1585
- {
1586
- "ComparisonOperator": ComparisonOperatorType,
1587
- "AttributeValueList": NotRequired[Sequence[UniversalAttributeValueTypeDef]],
1588
- },
1589
- )
1590
- DeleteRequestTypeDef = TypedDict(
1591
- "DeleteRequestTypeDef",
1592
- {
1593
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
1594
- },
1595
- )
1596
- DeleteTypeDef = TypedDict(
1597
- "DeleteTypeDef",
1598
- {
1599
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
1600
- "TableName": str,
1601
- "ConditionExpression": NotRequired[str],
1602
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1603
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
1604
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1605
- },
1606
- )
1607
- ExecuteStatementInputRequestTypeDef = TypedDict(
1608
- "ExecuteStatementInputRequestTypeDef",
1609
- {
1610
- "Statement": str,
1611
- "Parameters": NotRequired[Sequence[UniversalAttributeValueTypeDef]],
1612
- "ConsistentRead": NotRequired[bool],
1613
- "NextToken": NotRequired[str],
1614
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1615
- "Limit": NotRequired[int],
1616
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1617
- },
1618
- )
1619
- ExpectedAttributeValueTypeDef = TypedDict(
1620
- "ExpectedAttributeValueTypeDef",
1621
- {
1622
- "Value": NotRequired[UniversalAttributeValueTypeDef],
1623
- "Exists": NotRequired[bool],
1624
- "ComparisonOperator": NotRequired[ComparisonOperatorType],
1625
- "AttributeValueList": NotRequired[Sequence[UniversalAttributeValueTypeDef]],
1626
- },
1627
- )
1628
- GetItemInputRequestTypeDef = TypedDict(
1629
- "GetItemInputRequestTypeDef",
1630
- {
1631
- "TableName": str,
1632
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
1633
- "AttributesToGet": NotRequired[Sequence[str]],
1634
- "ConsistentRead": NotRequired[bool],
1635
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1636
- "ProjectionExpression": NotRequired[str],
1637
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1638
- },
1639
- )
1640
- GetTypeDef = TypedDict(
1641
- "GetTypeDef",
1642
- {
1643
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
1644
- "TableName": str,
1645
- "ProjectionExpression": NotRequired[str],
1646
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1647
- },
1648
- )
1649
- KeysAndAttributesTypeDef = TypedDict(
1650
- "KeysAndAttributesTypeDef",
1651
- {
1652
- "Keys": Sequence[Mapping[str, UniversalAttributeValueTypeDef]],
1653
- "AttributesToGet": NotRequired[Sequence[str]],
1654
- "ConsistentRead": NotRequired[bool],
1655
- "ProjectionExpression": NotRequired[str],
1656
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1657
- },
1658
- )
1659
- ParameterizedStatementTypeDef = TypedDict(
1660
- "ParameterizedStatementTypeDef",
1661
- {
1662
- "Statement": str,
1663
- "Parameters": NotRequired[Sequence[UniversalAttributeValueTypeDef]],
1664
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1665
- },
1666
- )
1667
- PutRequestTypeDef = TypedDict(
1668
- "PutRequestTypeDef",
1669
- {
1670
- "Item": Mapping[str, UniversalAttributeValueTypeDef],
1671
- },
1672
- )
1673
- PutTypeDef = TypedDict(
1674
- "PutTypeDef",
1675
- {
1676
- "Item": Mapping[str, UniversalAttributeValueTypeDef],
1677
- "TableName": str,
1678
- "ConditionExpression": NotRequired[str],
1679
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1680
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
1681
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1682
- },
1683
- )
1684
- UpdateTypeDef = TypedDict(
1685
- "UpdateTypeDef",
1686
- {
1687
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
1688
- "UpdateExpression": str,
1689
- "TableName": str,
1690
- "ConditionExpression": NotRequired[str],
1691
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1692
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
1693
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1694
- },
1695
- )
1696
- QueryInputTableQueryTypeDef = TypedDict(
1697
- "QueryInputTableQueryTypeDef",
1698
- {
1699
- "IndexName": NotRequired[str],
1700
- "Select": NotRequired[SelectType],
1701
- "AttributesToGet": NotRequired[Sequence[str]],
1702
- "Limit": NotRequired[int],
1703
- "ConsistentRead": NotRequired[bool],
1704
- "KeyConditions": NotRequired[Mapping[str, ConditionTableTypeDef]],
1705
- "QueryFilter": NotRequired[Mapping[str, ConditionTableTypeDef]],
1706
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
1707
- "ScanIndexForward": NotRequired[bool],
1708
- "ExclusiveStartKey": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1709
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1710
- "ProjectionExpression": NotRequired[str],
1711
- "FilterExpression": NotRequired[ConditionBaseImportTypeDef],
1712
- "KeyConditionExpression": NotRequired[ConditionBaseImportTypeDef],
1713
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1714
- "ExpressionAttributeValues": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1715
- },
1716
- )
1717
- ScanInputTableScanTypeDef = TypedDict(
1718
- "ScanInputTableScanTypeDef",
1719
- {
1720
- "IndexName": NotRequired[str],
1721
- "AttributesToGet": NotRequired[Sequence[str]],
1722
- "Limit": NotRequired[int],
1723
- "Select": NotRequired[SelectType],
1724
- "ScanFilter": NotRequired[Mapping[str, ConditionTableTypeDef]],
1725
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
1726
- "ExclusiveStartKey": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1727
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1728
- "TotalSegments": NotRequired[int],
1729
- "Segment": NotRequired[int],
1730
- "ProjectionExpression": NotRequired[str],
1731
- "FilterExpression": NotRequired[ConditionBaseImportTypeDef],
1732
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1733
- "ExpressionAttributeValues": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1734
- "ConsistentRead": NotRequired[bool],
1735
- },
1736
- )
1737
- DeleteItemInputTableDeleteItemTypeDef = TypedDict(
1738
- "DeleteItemInputTableDeleteItemTypeDef",
1739
- {
1740
- "Key": Mapping[str, TableAttributeValueTypeDef],
1741
- "Expected": NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],
1742
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
1743
- "ReturnValues": NotRequired[ReturnValueType],
1744
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1745
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
1746
- "ConditionExpression": NotRequired[ConditionBaseImportTypeDef],
1747
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1748
- "ExpressionAttributeValues": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1749
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1750
- },
1751
- )
1752
- PutItemInputTablePutItemTypeDef = TypedDict(
1753
- "PutItemInputTablePutItemTypeDef",
1754
- {
1755
- "Item": Mapping[str, TableAttributeValueTypeDef],
1756
- "Expected": NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],
1757
- "ReturnValues": NotRequired[ReturnValueType],
1758
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1759
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
1760
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
1761
- "ConditionExpression": NotRequired[ConditionBaseImportTypeDef],
1762
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1763
- "ExpressionAttributeValues": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1764
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1765
- },
1766
- )
1767
- UpdateItemInputTableUpdateItemTypeDef = TypedDict(
1768
- "UpdateItemInputTableUpdateItemTypeDef",
1769
- {
1770
- "Key": Mapping[str, TableAttributeValueTypeDef],
1771
- "AttributeUpdates": NotRequired[Mapping[str, AttributeValueUpdateTableTypeDef]],
1772
- "Expected": NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]],
1773
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
1774
- "ReturnValues": NotRequired[ReturnValueType],
1775
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1776
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
1777
- "UpdateExpression": NotRequired[str],
1778
- "ConditionExpression": NotRequired[ConditionBaseImportTypeDef],
1779
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1780
- "ExpressionAttributeValues": NotRequired[Mapping[str, TableAttributeValueTypeDef]],
1781
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1782
- },
1783
- )
1784
- KeysAndAttributesServiceResourceUnionTypeDef = Union[
1785
- KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef
1786
- ]
1787
- WriteRequestServiceResourceOutputTypeDef = TypedDict(
1788
- "WriteRequestServiceResourceOutputTypeDef",
1789
- {
1790
- "PutRequest": NotRequired[PutRequestServiceResourceOutputTypeDef],
1791
- "DeleteRequest": NotRequired[DeleteRequestServiceResourceOutputTypeDef],
1792
- },
1793
- )
1794
- WriteRequestServiceResourceTypeDef = TypedDict(
1795
- "WriteRequestServiceResourceTypeDef",
1796
- {
1797
- "PutRequest": NotRequired[PutRequestServiceResourceTypeDef],
1798
- "DeleteRequest": NotRequired[DeleteRequestServiceResourceTypeDef],
1799
- },
1800
- )
1801
- AutoScalingSettingsDescriptionTypeDef = TypedDict(
1802
- "AutoScalingSettingsDescriptionTypeDef",
1803
- {
1804
- "MinimumUnits": NotRequired[int],
1805
- "MaximumUnits": NotRequired[int],
1806
- "AutoScalingDisabled": NotRequired[bool],
1807
- "AutoScalingRoleArn": NotRequired[str],
1808
- "ScalingPolicies": NotRequired[List[AutoScalingPolicyDescriptionTypeDef]],
1809
- },
1810
- )
1811
- AutoScalingSettingsUpdateTypeDef = TypedDict(
1812
- "AutoScalingSettingsUpdateTypeDef",
1813
- {
1814
- "MinimumUnits": NotRequired[int],
1815
- "MaximumUnits": NotRequired[int],
1816
- "AutoScalingDisabled": NotRequired[bool],
1817
- "AutoScalingRoleArn": NotRequired[str],
1818
- "ScalingPolicyUpdate": NotRequired[AutoScalingPolicyUpdateTypeDef],
1819
- },
1820
- )
1821
- BatchGetItemOutputServiceResourceTypeDef = TypedDict(
1822
- "BatchGetItemOutputServiceResourceTypeDef",
1823
- {
1824
- "Responses": Dict[str, List[Dict[str, TableAttributeValueTypeDef]]],
1825
- "UnprocessedKeys": Dict[str, KeysAndAttributesServiceResourceOutputTypeDef],
1826
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1827
- "ResponseMetadata": ResponseMetadataTypeDef,
1828
- },
1829
- )
1830
- BatchGetItemOutputTypeDef = TypedDict(
1831
- "BatchGetItemOutputTypeDef",
1832
- {
1833
- "Responses": Dict[str, List[Dict[str, AttributeValueTypeDef]]],
1834
- "UnprocessedKeys": Dict[str, KeysAndAttributesOutputTypeDef],
1835
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1836
- "ResponseMetadata": ResponseMetadataTypeDef,
1837
- },
1838
- )
1839
- DeleteItemOutputTableTypeDef = TypedDict(
1840
- "DeleteItemOutputTableTypeDef",
1841
- {
1842
- "Attributes": Dict[str, TableAttributeValueTypeDef],
1843
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1844
- "ItemCollectionMetrics": ItemCollectionMetricsTableTypeDef,
1845
- "ResponseMetadata": ResponseMetadataTypeDef,
1846
- },
1847
- )
1848
- DeleteItemOutputTypeDef = TypedDict(
1849
- "DeleteItemOutputTypeDef",
1850
- {
1851
- "Attributes": Dict[str, AttributeValueTypeDef],
1852
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1853
- "ItemCollectionMetrics": ItemCollectionMetricsTypeDef,
1854
- "ResponseMetadata": ResponseMetadataTypeDef,
1855
- },
1856
- )
1857
- ExecuteStatementOutputTypeDef = TypedDict(
1858
- "ExecuteStatementOutputTypeDef",
1859
- {
1860
- "Items": List[Dict[str, AttributeValueTypeDef]],
1861
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1862
- "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
1863
- "ResponseMetadata": ResponseMetadataTypeDef,
1864
- "NextToken": NotRequired[str],
1865
- },
1866
- )
1867
- ExecuteTransactionOutputTypeDef = TypedDict(
1868
- "ExecuteTransactionOutputTypeDef",
1869
- {
1870
- "Responses": List[ItemResponseTypeDef],
1871
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1872
- "ResponseMetadata": ResponseMetadataTypeDef,
1873
- },
1874
- )
1875
- GetItemOutputTableTypeDef = TypedDict(
1876
- "GetItemOutputTableTypeDef",
1877
- {
1878
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1879
- "ResponseMetadata": ResponseMetadataTypeDef,
1880
- "Item": NotRequired[Dict[str, TableAttributeValueTypeDef]],
1881
- },
1882
- )
1883
- GetItemOutputTypeDef = TypedDict(
1884
- "GetItemOutputTypeDef",
1885
- {
1886
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1887
- "ResponseMetadata": ResponseMetadataTypeDef,
1888
- "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1889
- },
1890
- )
1891
- PutItemOutputTableTypeDef = TypedDict(
1892
- "PutItemOutputTableTypeDef",
1893
- {
1894
- "Attributes": Dict[str, TableAttributeValueTypeDef],
1895
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1896
- "ItemCollectionMetrics": ItemCollectionMetricsTableTypeDef,
1897
- "ResponseMetadata": ResponseMetadataTypeDef,
1898
- },
1899
- )
1900
- PutItemOutputTypeDef = TypedDict(
1901
- "PutItemOutputTypeDef",
1902
- {
1903
- "Attributes": Dict[str, AttributeValueTypeDef],
1904
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1905
- "ItemCollectionMetrics": ItemCollectionMetricsTypeDef,
1906
- "ResponseMetadata": ResponseMetadataTypeDef,
1907
- },
1908
- )
1909
- QueryOutputTableTypeDef = TypedDict(
1910
- "QueryOutputTableTypeDef",
1911
- {
1912
- "Items": List[Dict[str, TableAttributeValueTypeDef]],
1913
- "Count": int,
1914
- "ScannedCount": int,
1915
- "LastEvaluatedKey": Dict[str, TableAttributeValueTypeDef],
1916
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1917
- "ResponseMetadata": ResponseMetadataTypeDef,
1918
- },
1919
- )
1920
- QueryOutputTypeDef = TypedDict(
1921
- "QueryOutputTypeDef",
1922
- {
1923
- "Items": List[Dict[str, AttributeValueTypeDef]],
1924
- "Count": int,
1925
- "ScannedCount": int,
1926
- "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
1927
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1928
- "ResponseMetadata": ResponseMetadataTypeDef,
1929
- },
1930
- )
1931
- ScanOutputTableTypeDef = TypedDict(
1932
- "ScanOutputTableTypeDef",
1933
- {
1934
- "Items": List[Dict[str, TableAttributeValueTypeDef]],
1935
- "Count": int,
1936
- "ScannedCount": int,
1937
- "LastEvaluatedKey": Dict[str, TableAttributeValueTypeDef],
1938
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1939
- "ResponseMetadata": ResponseMetadataTypeDef,
1940
- },
1941
- )
1942
- ScanOutputTypeDef = TypedDict(
1943
- "ScanOutputTypeDef",
1944
- {
1945
- "Items": List[Dict[str, AttributeValueTypeDef]],
1946
- "Count": int,
1947
- "ScannedCount": int,
1948
- "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
1949
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1950
- "ResponseMetadata": ResponseMetadataTypeDef,
1951
- },
1952
- )
1953
- TransactGetItemsOutputTypeDef = TypedDict(
1954
- "TransactGetItemsOutputTypeDef",
1955
- {
1956
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1957
- "Responses": List[ItemResponseTypeDef],
1958
- "ResponseMetadata": ResponseMetadataTypeDef,
1959
- },
1960
- )
1961
- TransactWriteItemsOutputTypeDef = TypedDict(
1962
- "TransactWriteItemsOutputTypeDef",
1963
- {
1964
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1965
- "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
1966
- "ResponseMetadata": ResponseMetadataTypeDef,
1967
- },
1968
- )
1969
- UpdateItemOutputTableTypeDef = TypedDict(
1970
- "UpdateItemOutputTableTypeDef",
1971
- {
1972
- "Attributes": Dict[str, TableAttributeValueTypeDef],
1973
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1974
- "ItemCollectionMetrics": ItemCollectionMetricsTableTypeDef,
1975
- "ResponseMetadata": ResponseMetadataTypeDef,
1976
- },
1977
- )
1978
- UpdateItemOutputTypeDef = TypedDict(
1979
- "UpdateItemOutputTypeDef",
1980
- {
1981
- "Attributes": Dict[str, AttributeValueTypeDef],
1982
- "ConsumedCapacity": ConsumedCapacityTypeDef,
1983
- "ItemCollectionMetrics": ItemCollectionMetricsTypeDef,
1984
- "ResponseMetadata": ResponseMetadataTypeDef,
1985
- },
1986
- )
1987
- DescribeContinuousBackupsOutputTypeDef = TypedDict(
1988
- "DescribeContinuousBackupsOutputTypeDef",
1989
- {
1990
- "ContinuousBackupsDescription": ContinuousBackupsDescriptionTypeDef,
1991
- "ResponseMetadata": ResponseMetadataTypeDef,
1992
- },
1993
- )
1994
- UpdateContinuousBackupsOutputTypeDef = TypedDict(
1995
- "UpdateContinuousBackupsOutputTypeDef",
1996
- {
1997
- "ContinuousBackupsDescription": ContinuousBackupsDescriptionTypeDef,
1998
- "ResponseMetadata": ResponseMetadataTypeDef,
1999
- },
2000
- )
2001
- TableCreationParametersTypeDef = TypedDict(
2002
- "TableCreationParametersTypeDef",
2003
- {
2004
- "TableName": str,
2005
- "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2006
- "KeySchema": Sequence[KeySchemaElementTypeDef],
2007
- "BillingMode": NotRequired[BillingModeType],
2008
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2009
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2010
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2011
- "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2012
- },
2013
- )
2014
- GlobalSecondaryIndexUpdateTypeDef = TypedDict(
2015
- "GlobalSecondaryIndexUpdateTypeDef",
2016
- {
2017
- "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
2018
- "Create": NotRequired[CreateGlobalSecondaryIndexActionTypeDef],
2019
- "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
2020
- },
2021
- )
2022
- ListGlobalTablesOutputTypeDef = TypedDict(
2023
- "ListGlobalTablesOutputTypeDef",
2024
- {
2025
- "GlobalTables": List[GlobalTableTypeDef],
2026
- "LastEvaluatedGlobalTableName": str,
2027
- "ResponseMetadata": ResponseMetadataTypeDef,
2028
- },
2029
- )
832
+
833
+
834
+ class AttributeValueUpdateTableTypeDef(TypedDict):
835
+ Value: NotRequired[TableAttributeValueTypeDef]
836
+ Action: NotRequired[AttributeActionType]
837
+
838
+
839
+ class ConditionTableTypeDef(TypedDict):
840
+ ComparisonOperator: ComparisonOperatorType
841
+ AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]]
842
+
843
+
844
+ class DeleteRequestServiceResourceOutputTypeDef(TypedDict):
845
+ Key: Dict[str, TableAttributeValueTypeDef]
846
+
847
+
848
+ class DeleteRequestServiceResourceTypeDef(TypedDict):
849
+ Key: Mapping[str, TableAttributeValueTypeDef]
850
+
851
+
852
+ class ExpectedAttributeValueTableTypeDef(TypedDict):
853
+ Value: NotRequired[TableAttributeValueTypeDef]
854
+ Exists: NotRequired[bool]
855
+ ComparisonOperator: NotRequired[ComparisonOperatorType]
856
+ AttributeValueList: NotRequired[Sequence[TableAttributeValueTypeDef]]
857
+
858
+
859
+ class GetItemInputTableGetItemTypeDef(TypedDict):
860
+ Key: Mapping[str, TableAttributeValueTypeDef]
861
+ AttributesToGet: NotRequired[Sequence[str]]
862
+ ConsistentRead: NotRequired[bool]
863
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
864
+ ProjectionExpression: NotRequired[str]
865
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
866
+
867
+
868
+ class ItemCollectionMetricsServiceResourceTypeDef(TypedDict):
869
+ ItemCollectionKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
870
+ SizeEstimateRangeGB: NotRequired[List[float]]
871
+
872
+
873
+ class ItemCollectionMetricsTableTypeDef(TypedDict):
874
+ ItemCollectionKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
875
+ SizeEstimateRangeGB: NotRequired[List[float]]
876
+
877
+
878
+ class KeysAndAttributesServiceResourceOutputTypeDef(TypedDict):
879
+ Keys: List[Dict[str, TableAttributeValueTypeDef]]
880
+ AttributesToGet: NotRequired[List[str]]
881
+ ConsistentRead: NotRequired[bool]
882
+ ProjectionExpression: NotRequired[str]
883
+ ExpressionAttributeNames: NotRequired[Dict[str, str]]
884
+
885
+
886
+ class KeysAndAttributesServiceResourceTypeDef(TypedDict):
887
+ Keys: Sequence[Mapping[str, TableAttributeValueTypeDef]]
888
+ AttributesToGet: NotRequired[Sequence[str]]
889
+ ConsistentRead: NotRequired[bool]
890
+ ProjectionExpression: NotRequired[str]
891
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
892
+
893
+
894
+ class PutRequestServiceResourceOutputTypeDef(TypedDict):
895
+ Item: Dict[str, TableAttributeValueTypeDef]
896
+
897
+
898
+ class PutRequestServiceResourceTypeDef(TypedDict):
899
+ Item: Mapping[str, TableAttributeValueTypeDef]
900
+
901
+
902
+ class AutoScalingPolicyDescriptionTypeDef(TypedDict):
903
+ PolicyName: NotRequired[str]
904
+ TargetTrackingScalingPolicyConfiguration: NotRequired[
905
+ AutoScalingTargetTrackingScalingPolicyConfigurationDescriptionTypeDef
906
+ ]
907
+
908
+
909
+ class AutoScalingPolicyUpdateTypeDef(TypedDict):
910
+ TargetTrackingScalingPolicyConfiguration: (
911
+ AutoScalingTargetTrackingScalingPolicyConfigurationUpdateTypeDef
912
+ )
913
+ PolicyName: NotRequired[str]
914
+
915
+
916
+ class CreateBackupOutputTypeDef(TypedDict):
917
+ BackupDetails: BackupDetailsTypeDef
918
+ ResponseMetadata: ResponseMetadataTypeDef
919
+
920
+
921
+ class DeleteResourcePolicyOutputTypeDef(TypedDict):
922
+ RevisionId: str
923
+ ResponseMetadata: ResponseMetadataTypeDef
924
+
925
+
926
+ class DescribeLimitsOutputTypeDef(TypedDict):
927
+ AccountMaxReadCapacityUnits: int
928
+ AccountMaxWriteCapacityUnits: int
929
+ TableMaxReadCapacityUnits: int
930
+ TableMaxWriteCapacityUnits: int
931
+ ResponseMetadata: ResponseMetadataTypeDef
932
+
933
+
934
+ class EmptyResponseMetadataTypeDef(TypedDict):
935
+ ResponseMetadata: ResponseMetadataTypeDef
936
+
937
+
938
+ class GetResourcePolicyOutputTypeDef(TypedDict):
939
+ Policy: str
940
+ RevisionId: str
941
+ ResponseMetadata: ResponseMetadataTypeDef
942
+
943
+
944
+ class ListBackupsOutputTypeDef(TypedDict):
945
+ BackupSummaries: List[BackupSummaryTypeDef]
946
+ LastEvaluatedBackupArn: str
947
+ ResponseMetadata: ResponseMetadataTypeDef
948
+
949
+
950
+ class ListTablesOutputTypeDef(TypedDict):
951
+ TableNames: List[str]
952
+ LastEvaluatedTableName: str
953
+ ResponseMetadata: ResponseMetadataTypeDef
954
+
955
+
956
+ class PutResourcePolicyOutputTypeDef(TypedDict):
957
+ RevisionId: str
958
+ ResponseMetadata: ResponseMetadataTypeDef
959
+
960
+
961
+ class UpdateContributorInsightsOutputTypeDef(TypedDict):
962
+ TableName: str
963
+ IndexName: str
964
+ ContributorInsightsStatus: ContributorInsightsStatusType
965
+ ResponseMetadata: ResponseMetadataTypeDef
966
+
967
+
968
+ class ConsumedCapacityTypeDef(TypedDict):
969
+ TableName: NotRequired[str]
970
+ CapacityUnits: NotRequired[float]
971
+ ReadCapacityUnits: NotRequired[float]
972
+ WriteCapacityUnits: NotRequired[float]
973
+ Table: NotRequired[CapacityTypeDef]
974
+ LocalSecondaryIndexes: NotRequired[Dict[str, CapacityTypeDef]]
975
+ GlobalSecondaryIndexes: NotRequired[Dict[str, CapacityTypeDef]]
976
+
977
+
978
+ class ContinuousBackupsDescriptionTypeDef(TypedDict):
979
+ ContinuousBackupsStatus: ContinuousBackupsStatusType
980
+ PointInTimeRecoveryDescription: NotRequired[PointInTimeRecoveryDescriptionTypeDef]
981
+
982
+
983
+ class ListContributorInsightsOutputTypeDef(TypedDict):
984
+ ContributorInsightsSummaries: List[ContributorInsightsSummaryTypeDef]
985
+ ResponseMetadata: ResponseMetadataTypeDef
986
+ NextToken: NotRequired[str]
987
+
988
+
989
+ class SourceTableDetailsTypeDef(TypedDict):
990
+ TableName: str
991
+ TableId: str
992
+ KeySchema: List[KeySchemaElementTypeDef]
993
+ TableCreationDateTime: datetime
994
+ ProvisionedThroughput: ProvisionedThroughputTypeDef
995
+ TableArn: NotRequired[str]
996
+ TableSizeBytes: NotRequired[int]
997
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
998
+ ItemCount: NotRequired[int]
999
+ BillingMode: NotRequired[BillingModeType]
1000
+
1001
+
1002
+ class UpdateGlobalSecondaryIndexActionTypeDef(TypedDict):
1003
+ IndexName: str
1004
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1005
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1006
+
1007
+
1008
+ class CreateGlobalTableInputRequestTypeDef(TypedDict):
1009
+ GlobalTableName: str
1010
+ ReplicationGroup: Sequence[ReplicaTypeDef]
1011
+
1012
+
1013
+ class GlobalTableTypeDef(TypedDict):
1014
+ GlobalTableName: NotRequired[str]
1015
+ ReplicationGroup: NotRequired[List[ReplicaTypeDef]]
1016
+
1017
+
1018
+ class ReplicaGlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1019
+ IndexName: NotRequired[str]
1020
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
1021
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
1022
+
1023
+
1024
+ class ReplicaGlobalSecondaryIndexTypeDef(TypedDict):
1025
+ IndexName: str
1026
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputOverrideTypeDef]
1027
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputOverrideTypeDef]
1028
+
1029
+
1030
+ class ListTagsOfResourceOutputTypeDef(TypedDict):
1031
+ Tags: List[TagTypeDef]
1032
+ ResponseMetadata: ResponseMetadataTypeDef
1033
+ NextToken: NotRequired[str]
1034
+
1035
+
1036
+ class TagResourceInputRequestTypeDef(TypedDict):
1037
+ ResourceArn: str
1038
+ Tags: Sequence[TagTypeDef]
1039
+
1040
+
1041
+ class InputFormatOptionsOutputTypeDef(TypedDict):
1042
+ Csv: NotRequired[CsvOptionsOutputTypeDef]
1043
+
1044
+
1045
+ CsvOptionsUnionTypeDef = Union[CsvOptionsTypeDef, CsvOptionsOutputTypeDef]
1046
+
1047
+
1048
+ class ReplicaUpdateTypeDef(TypedDict):
1049
+ Create: NotRequired[CreateReplicaActionTypeDef]
1050
+ Delete: NotRequired[DeleteReplicaActionTypeDef]
1051
+
1052
+
1053
+ class DescribeContributorInsightsOutputTypeDef(TypedDict):
1054
+ TableName: str
1055
+ IndexName: str
1056
+ ContributorInsightsRuleList: List[str]
1057
+ ContributorInsightsStatus: ContributorInsightsStatusType
1058
+ LastUpdateDateTime: datetime
1059
+ FailureException: FailureExceptionTypeDef
1060
+ ResponseMetadata: ResponseMetadataTypeDef
1061
+
1062
+
1063
+ class DescribeEndpointsResponseTypeDef(TypedDict):
1064
+ Endpoints: List[EndpointTypeDef]
1065
+ ResponseMetadata: ResponseMetadataTypeDef
1066
+
1067
+
1068
+ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
1069
+ TableName: str
1070
+ KinesisDataStreamDestinations: List[KinesisDataStreamDestinationTypeDef]
1071
+ ResponseMetadata: ResponseMetadataTypeDef
1072
+
1073
+
1074
+ class DescribeTableInputTableExistsWaitTypeDef(TypedDict):
1075
+ TableName: str
1076
+ WaiterConfig: NotRequired[WaiterConfigTypeDef]
1077
+
1078
+
1079
+ class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
1080
+ TableName: str
1081
+ WaiterConfig: NotRequired[WaiterConfigTypeDef]
1082
+
1083
+
1084
+ class DescribeTimeToLiveOutputTypeDef(TypedDict):
1085
+ TimeToLiveDescription: TimeToLiveDescriptionTypeDef
1086
+ ResponseMetadata: ResponseMetadataTypeDef
1087
+
1088
+
1089
+ class KinesisStreamingDestinationInputRequestTypeDef(TypedDict):
1090
+ TableName: str
1091
+ StreamArn: str
1092
+ EnableKinesisStreamingConfiguration: NotRequired[EnableKinesisStreamingConfigurationTypeDef]
1093
+
1094
+
1095
+ class KinesisStreamingDestinationOutputTypeDef(TypedDict):
1096
+ TableName: str
1097
+ StreamArn: str
1098
+ DestinationStatus: DestinationStatusType
1099
+ EnableKinesisStreamingConfiguration: EnableKinesisStreamingConfigurationTypeDef
1100
+ ResponseMetadata: ResponseMetadataTypeDef
1101
+
1102
+
1103
+ class ExportDescriptionTypeDef(TypedDict):
1104
+ ExportArn: NotRequired[str]
1105
+ ExportStatus: NotRequired[ExportStatusType]
1106
+ StartTime: NotRequired[datetime]
1107
+ EndTime: NotRequired[datetime]
1108
+ ExportManifest: NotRequired[str]
1109
+ TableArn: NotRequired[str]
1110
+ TableId: NotRequired[str]
1111
+ ExportTime: NotRequired[datetime]
1112
+ ClientToken: NotRequired[str]
1113
+ S3Bucket: NotRequired[str]
1114
+ S3BucketOwner: NotRequired[str]
1115
+ S3Prefix: NotRequired[str]
1116
+ S3SseAlgorithm: NotRequired[S3SseAlgorithmType]
1117
+ S3SseKmsKeyId: NotRequired[str]
1118
+ FailureCode: NotRequired[str]
1119
+ FailureMessage: NotRequired[str]
1120
+ ExportFormat: NotRequired[ExportFormatType]
1121
+ BilledSizeBytes: NotRequired[int]
1122
+ ItemCount: NotRequired[int]
1123
+ ExportType: NotRequired[ExportTypeType]
1124
+ IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationOutputTypeDef]
1125
+
1126
+
1127
+ class ListExportsOutputTypeDef(TypedDict):
1128
+ ExportSummaries: List[ExportSummaryTypeDef]
1129
+ ResponseMetadata: ResponseMetadataTypeDef
1130
+ NextToken: NotRequired[str]
1131
+
1132
+
1133
+ class IncrementalExportSpecificationTypeDef(TypedDict):
1134
+ ExportFromTime: NotRequired[TimestampTypeDef]
1135
+ ExportToTime: NotRequired[TimestampTypeDef]
1136
+ ExportViewType: NotRequired[ExportViewTypeType]
1137
+
1138
+
1139
+ class ListBackupsInputRequestTypeDef(TypedDict):
1140
+ TableName: NotRequired[str]
1141
+ Limit: NotRequired[int]
1142
+ TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1143
+ TimeRangeUpperBound: NotRequired[TimestampTypeDef]
1144
+ ExclusiveStartBackupArn: NotRequired[str]
1145
+ BackupType: NotRequired[BackupTypeFilterType]
1146
+
1147
+
1148
+ class GlobalSecondaryIndexInfoTypeDef(TypedDict):
1149
+ IndexName: NotRequired[str]
1150
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1151
+ Projection: NotRequired[ProjectionOutputTypeDef]
1152
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1153
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1154
+
1155
+
1156
+ class GlobalSecondaryIndexOutputTypeDef(TypedDict):
1157
+ IndexName: str
1158
+ KeySchema: List[KeySchemaElementTypeDef]
1159
+ Projection: ProjectionOutputTypeDef
1160
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1161
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1162
+
1163
+
1164
+ class LocalSecondaryIndexDescriptionTypeDef(TypedDict):
1165
+ IndexName: NotRequired[str]
1166
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1167
+ Projection: NotRequired[ProjectionOutputTypeDef]
1168
+ IndexSizeBytes: NotRequired[int]
1169
+ ItemCount: NotRequired[int]
1170
+ IndexArn: NotRequired[str]
1171
+
1172
+
1173
+ class LocalSecondaryIndexInfoTypeDef(TypedDict):
1174
+ IndexName: NotRequired[str]
1175
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1176
+ Projection: NotRequired[ProjectionOutputTypeDef]
1177
+
1178
+
1179
+ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
1180
+ IndexName: NotRequired[str]
1181
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1182
+ Projection: NotRequired[ProjectionOutputTypeDef]
1183
+ IndexStatus: NotRequired[IndexStatusType]
1184
+ Backfilling: NotRequired[bool]
1185
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef]
1186
+ IndexSizeBytes: NotRequired[int]
1187
+ ItemCount: NotRequired[int]
1188
+ IndexArn: NotRequired[str]
1189
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1190
+
1191
+
1192
+ class GlobalSecondaryIndexTypeDef(TypedDict):
1193
+ IndexName: str
1194
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1195
+ Projection: ProjectionTypeDef
1196
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1197
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1198
+
1199
+
1200
+ ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
1201
+
1202
+
1203
+ class ImportSummaryTypeDef(TypedDict):
1204
+ ImportArn: NotRequired[str]
1205
+ ImportStatus: NotRequired[ImportStatusType]
1206
+ TableArn: NotRequired[str]
1207
+ S3BucketSource: NotRequired[S3BucketSourceTypeDef]
1208
+ CloudWatchLogGroupArn: NotRequired[str]
1209
+ InputFormat: NotRequired[InputFormatType]
1210
+ StartTime: NotRequired[datetime]
1211
+ EndTime: NotRequired[datetime]
1212
+
1213
+
1214
+ class ListBackupsInputListBackupsPaginateTypeDef(TypedDict):
1215
+ TableName: NotRequired[str]
1216
+ TimeRangeLowerBound: NotRequired[TimestampTypeDef]
1217
+ TimeRangeUpperBound: NotRequired[TimestampTypeDef]
1218
+ BackupType: NotRequired[BackupTypeFilterType]
1219
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1220
+
1221
+
1222
+ class ListTablesInputListTablesPaginateTypeDef(TypedDict):
1223
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1224
+
1225
+
1226
+ class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(TypedDict):
1227
+ ResourceArn: str
1228
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1229
+
1230
+
1231
+ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
1232
+ TableName: str
1233
+ PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
1234
+
1235
+
1236
+ class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
1237
+ TableName: str
1238
+ TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
1239
+
1240
+
1241
+ class UpdateTimeToLiveOutputTypeDef(TypedDict):
1242
+ TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
1243
+ ResponseMetadata: ResponseMetadataTypeDef
1244
+
1245
+
1246
+ class UpdateKinesisStreamingDestinationInputRequestTypeDef(TypedDict):
1247
+ TableName: str
1248
+ StreamArn: str
1249
+ UpdateKinesisStreamingConfiguration: NotRequired[UpdateKinesisStreamingConfigurationTypeDef]
1250
+
1251
+
1252
+ class UpdateKinesisStreamingDestinationOutputTypeDef(TypedDict):
1253
+ TableName: str
1254
+ StreamArn: str
1255
+ DestinationStatus: DestinationStatusType
1256
+ UpdateKinesisStreamingConfiguration: UpdateKinesisStreamingConfigurationTypeDef
1257
+ ResponseMetadata: ResponseMetadataTypeDef
1258
+
1259
+
1260
+ class BatchStatementResponseTypeDef(TypedDict):
1261
+ Error: NotRequired[BatchStatementErrorTypeDef]
1262
+ TableName: NotRequired[str]
1263
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
1264
+
1265
+
1266
+ class WriteRequestOutputTypeDef(TypedDict):
1267
+ PutRequest: NotRequired[PutRequestOutputTypeDef]
1268
+ DeleteRequest: NotRequired[DeleteRequestOutputTypeDef]
1269
+
1270
+
1271
+ class AttributeValueUpdateTypeDef(TypedDict):
1272
+ Value: NotRequired[UniversalAttributeValueTypeDef]
1273
+ Action: NotRequired[AttributeActionType]
1274
+
1275
+
1276
+ class BatchStatementRequestTypeDef(TypedDict):
1277
+ Statement: str
1278
+ Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1279
+ ConsistentRead: NotRequired[bool]
1280
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1281
+
1282
+
1283
+ class ConditionCheckTypeDef(TypedDict):
1284
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1285
+ TableName: str
1286
+ ConditionExpression: str
1287
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1288
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1289
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1290
+
1291
+
1292
+ class ConditionTypeDef(TypedDict):
1293
+ ComparisonOperator: ComparisonOperatorType
1294
+ AttributeValueList: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1295
+
1296
+
1297
+ class DeleteRequestTypeDef(TypedDict):
1298
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1299
+
1300
+
1301
+ class DeleteTypeDef(TypedDict):
1302
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1303
+ TableName: str
1304
+ ConditionExpression: NotRequired[str]
1305
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1306
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1307
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1308
+
1309
+
1310
+ class ExecuteStatementInputRequestTypeDef(TypedDict):
1311
+ Statement: str
1312
+ Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1313
+ ConsistentRead: NotRequired[bool]
1314
+ NextToken: NotRequired[str]
1315
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1316
+ Limit: NotRequired[int]
1317
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1318
+
1319
+
1320
+ class ExpectedAttributeValueTypeDef(TypedDict):
1321
+ Value: NotRequired[UniversalAttributeValueTypeDef]
1322
+ Exists: NotRequired[bool]
1323
+ ComparisonOperator: NotRequired[ComparisonOperatorType]
1324
+ AttributeValueList: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1325
+
1326
+
1327
+ class GetItemInputRequestTypeDef(TypedDict):
1328
+ TableName: str
1329
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1330
+ AttributesToGet: NotRequired[Sequence[str]]
1331
+ ConsistentRead: NotRequired[bool]
1332
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1333
+ ProjectionExpression: NotRequired[str]
1334
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1335
+
1336
+
1337
+ class GetTypeDef(TypedDict):
1338
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1339
+ TableName: str
1340
+ ProjectionExpression: NotRequired[str]
1341
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1342
+
1343
+
1344
+ class KeysAndAttributesTypeDef(TypedDict):
1345
+ Keys: Sequence[Mapping[str, UniversalAttributeValueTypeDef]]
1346
+ AttributesToGet: NotRequired[Sequence[str]]
1347
+ ConsistentRead: NotRequired[bool]
1348
+ ProjectionExpression: NotRequired[str]
1349
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1350
+
1351
+
1352
+ class ParameterizedStatementTypeDef(TypedDict):
1353
+ Statement: str
1354
+ Parameters: NotRequired[Sequence[UniversalAttributeValueTypeDef]]
1355
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1356
+
1357
+
1358
+ class PutRequestTypeDef(TypedDict):
1359
+ Item: Mapping[str, UniversalAttributeValueTypeDef]
1360
+
1361
+
1362
+ class PutTypeDef(TypedDict):
1363
+ Item: Mapping[str, UniversalAttributeValueTypeDef]
1364
+ TableName: str
1365
+ ConditionExpression: NotRequired[str]
1366
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1367
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1368
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1369
+
1370
+
1371
+ class UpdateTypeDef(TypedDict):
1372
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1373
+ UpdateExpression: str
1374
+ TableName: str
1375
+ ConditionExpression: NotRequired[str]
1376
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1377
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1378
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1379
+
1380
+
1381
+ class QueryInputTableQueryTypeDef(TypedDict):
1382
+ IndexName: NotRequired[str]
1383
+ Select: NotRequired[SelectType]
1384
+ AttributesToGet: NotRequired[Sequence[str]]
1385
+ Limit: NotRequired[int]
1386
+ ConsistentRead: NotRequired[bool]
1387
+ KeyConditions: NotRequired[Mapping[str, ConditionTableTypeDef]]
1388
+ QueryFilter: NotRequired[Mapping[str, ConditionTableTypeDef]]
1389
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1390
+ ScanIndexForward: NotRequired[bool]
1391
+ ExclusiveStartKey: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1392
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1393
+ ProjectionExpression: NotRequired[str]
1394
+ FilterExpression: NotRequired[ConditionBaseImportTypeDef]
1395
+ KeyConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1396
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1397
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1398
+
1399
+
1400
+ class ScanInputTableScanTypeDef(TypedDict):
1401
+ IndexName: NotRequired[str]
1402
+ AttributesToGet: NotRequired[Sequence[str]]
1403
+ Limit: NotRequired[int]
1404
+ Select: NotRequired[SelectType]
1405
+ ScanFilter: NotRequired[Mapping[str, ConditionTableTypeDef]]
1406
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1407
+ ExclusiveStartKey: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1408
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1409
+ TotalSegments: NotRequired[int]
1410
+ Segment: NotRequired[int]
1411
+ ProjectionExpression: NotRequired[str]
1412
+ FilterExpression: NotRequired[ConditionBaseImportTypeDef]
1413
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1414
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1415
+ ConsistentRead: NotRequired[bool]
1416
+
1417
+
1418
+ DeleteRequestServiceResourceUnionTypeDef = Union[
1419
+ DeleteRequestServiceResourceTypeDef, DeleteRequestServiceResourceOutputTypeDef
1420
+ ]
1421
+
1422
+
1423
+ class DeleteItemInputTableDeleteItemTypeDef(TypedDict):
1424
+ Key: Mapping[str, TableAttributeValueTypeDef]
1425
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]]
1426
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1427
+ ReturnValues: NotRequired[ReturnValueType]
1428
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1429
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1430
+ ConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1431
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1432
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1433
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1434
+
1435
+
1436
+ class PutItemInputTablePutItemTypeDef(TypedDict):
1437
+ Item: Mapping[str, TableAttributeValueTypeDef]
1438
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]]
1439
+ ReturnValues: NotRequired[ReturnValueType]
1440
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1441
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1442
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1443
+ ConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1444
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1445
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1446
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1447
+
1448
+
1449
+ class UpdateItemInputTableUpdateItemTypeDef(TypedDict):
1450
+ Key: Mapping[str, TableAttributeValueTypeDef]
1451
+ AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTableTypeDef]]
1452
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTableTypeDef]]
1453
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1454
+ ReturnValues: NotRequired[ReturnValueType]
1455
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1456
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1457
+ UpdateExpression: NotRequired[str]
1458
+ ConditionExpression: NotRequired[ConditionBaseImportTypeDef]
1459
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1460
+ ExpressionAttributeValues: NotRequired[Mapping[str, TableAttributeValueTypeDef]]
1461
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1462
+
1463
+
1464
+ KeysAndAttributesServiceResourceUnionTypeDef = Union[
1465
+ KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef
1466
+ ]
1467
+
1468
+
1469
+ class WriteRequestServiceResourceOutputTypeDef(TypedDict):
1470
+ PutRequest: NotRequired[PutRequestServiceResourceOutputTypeDef]
1471
+ DeleteRequest: NotRequired[DeleteRequestServiceResourceOutputTypeDef]
1472
+
1473
+
1474
+ PutRequestServiceResourceUnionTypeDef = Union[
1475
+ PutRequestServiceResourceTypeDef, PutRequestServiceResourceOutputTypeDef
1476
+ ]
1477
+
1478
+
1479
+ class AutoScalingSettingsDescriptionTypeDef(TypedDict):
1480
+ MinimumUnits: NotRequired[int]
1481
+ MaximumUnits: NotRequired[int]
1482
+ AutoScalingDisabled: NotRequired[bool]
1483
+ AutoScalingRoleArn: NotRequired[str]
1484
+ ScalingPolicies: NotRequired[List[AutoScalingPolicyDescriptionTypeDef]]
1485
+
1486
+
1487
+ class AutoScalingSettingsUpdateTypeDef(TypedDict):
1488
+ MinimumUnits: NotRequired[int]
1489
+ MaximumUnits: NotRequired[int]
1490
+ AutoScalingDisabled: NotRequired[bool]
1491
+ AutoScalingRoleArn: NotRequired[str]
1492
+ ScalingPolicyUpdate: NotRequired[AutoScalingPolicyUpdateTypeDef]
1493
+
1494
+
1495
+ class BatchGetItemOutputServiceResourceTypeDef(TypedDict):
1496
+ Responses: Dict[str, List[Dict[str, TableAttributeValueTypeDef]]]
1497
+ UnprocessedKeys: Dict[str, KeysAndAttributesServiceResourceOutputTypeDef]
1498
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1499
+ ResponseMetadata: ResponseMetadataTypeDef
1500
+
1501
+
1502
+ class BatchGetItemOutputTypeDef(TypedDict):
1503
+ Responses: Dict[str, List[Dict[str, AttributeValueTypeDef]]]
1504
+ UnprocessedKeys: Dict[str, KeysAndAttributesOutputTypeDef]
1505
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1506
+ ResponseMetadata: ResponseMetadataTypeDef
1507
+
1508
+
1509
+ class DeleteItemOutputTableTypeDef(TypedDict):
1510
+ Attributes: Dict[str, TableAttributeValueTypeDef]
1511
+ ConsumedCapacity: ConsumedCapacityTypeDef
1512
+ ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
1513
+ ResponseMetadata: ResponseMetadataTypeDef
1514
+
1515
+
1516
+ class DeleteItemOutputTypeDef(TypedDict):
1517
+ Attributes: Dict[str, AttributeValueTypeDef]
1518
+ ConsumedCapacity: ConsumedCapacityTypeDef
1519
+ ItemCollectionMetrics: ItemCollectionMetricsTypeDef
1520
+ ResponseMetadata: ResponseMetadataTypeDef
1521
+
1522
+
1523
+ class ExecuteStatementOutputTypeDef(TypedDict):
1524
+ Items: List[Dict[str, AttributeValueTypeDef]]
1525
+ ConsumedCapacity: ConsumedCapacityTypeDef
1526
+ ResponseMetadata: ResponseMetadataTypeDef
1527
+ NextToken: NotRequired[str]
1528
+ LastEvaluatedKey: NotRequired[Dict[str, AttributeValueTypeDef]]
1529
+
1530
+
1531
+ class ExecuteTransactionOutputTypeDef(TypedDict):
1532
+ Responses: List[ItemResponseTypeDef]
1533
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1534
+ ResponseMetadata: ResponseMetadataTypeDef
1535
+
1536
+
1537
+ class GetItemOutputTableTypeDef(TypedDict):
1538
+ ConsumedCapacity: ConsumedCapacityTypeDef
1539
+ ResponseMetadata: ResponseMetadataTypeDef
1540
+ Item: NotRequired[Dict[str, TableAttributeValueTypeDef]]
1541
+
1542
+
1543
+ class GetItemOutputTypeDef(TypedDict):
1544
+ ConsumedCapacity: ConsumedCapacityTypeDef
1545
+ ResponseMetadata: ResponseMetadataTypeDef
1546
+ Item: NotRequired[Dict[str, AttributeValueTypeDef]]
1547
+
1548
+
1549
+ class PutItemOutputTableTypeDef(TypedDict):
1550
+ Attributes: Dict[str, TableAttributeValueTypeDef]
1551
+ ConsumedCapacity: ConsumedCapacityTypeDef
1552
+ ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
1553
+ ResponseMetadata: ResponseMetadataTypeDef
1554
+
1555
+
1556
+ class PutItemOutputTypeDef(TypedDict):
1557
+ Attributes: Dict[str, AttributeValueTypeDef]
1558
+ ConsumedCapacity: ConsumedCapacityTypeDef
1559
+ ItemCollectionMetrics: ItemCollectionMetricsTypeDef
1560
+ ResponseMetadata: ResponseMetadataTypeDef
1561
+
1562
+
1563
+ class QueryOutputTableTypeDef(TypedDict):
1564
+ Items: List[Dict[str, TableAttributeValueTypeDef]]
1565
+ Count: int
1566
+ ScannedCount: int
1567
+ ConsumedCapacity: ConsumedCapacityTypeDef
1568
+ ResponseMetadata: ResponseMetadataTypeDef
1569
+ LastEvaluatedKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
1570
+
1571
+
1572
+ class QueryOutputTypeDef(TypedDict):
1573
+ Items: List[Dict[str, AttributeValueTypeDef]]
1574
+ Count: int
1575
+ ScannedCount: int
1576
+ ConsumedCapacity: ConsumedCapacityTypeDef
1577
+ ResponseMetadata: ResponseMetadataTypeDef
1578
+ LastEvaluatedKey: NotRequired[Dict[str, AttributeValueTypeDef]]
1579
+
1580
+
1581
+ class ScanOutputTableTypeDef(TypedDict):
1582
+ Items: List[Dict[str, TableAttributeValueTypeDef]]
1583
+ Count: int
1584
+ ScannedCount: int
1585
+ ConsumedCapacity: ConsumedCapacityTypeDef
1586
+ ResponseMetadata: ResponseMetadataTypeDef
1587
+ LastEvaluatedKey: NotRequired[Dict[str, TableAttributeValueTypeDef]]
1588
+
1589
+
1590
+ class ScanOutputTypeDef(TypedDict):
1591
+ Items: List[Dict[str, AttributeValueTypeDef]]
1592
+ Count: int
1593
+ ScannedCount: int
1594
+ ConsumedCapacity: ConsumedCapacityTypeDef
1595
+ ResponseMetadata: ResponseMetadataTypeDef
1596
+ LastEvaluatedKey: NotRequired[Dict[str, AttributeValueTypeDef]]
1597
+
1598
+
1599
+ class TransactGetItemsOutputTypeDef(TypedDict):
1600
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1601
+ Responses: List[ItemResponseTypeDef]
1602
+ ResponseMetadata: ResponseMetadataTypeDef
1603
+
1604
+
1605
+ class TransactWriteItemsOutputTypeDef(TypedDict):
1606
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1607
+ ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsTypeDef]]
1608
+ ResponseMetadata: ResponseMetadataTypeDef
1609
+
1610
+
1611
+ class UpdateItemOutputTableTypeDef(TypedDict):
1612
+ Attributes: Dict[str, TableAttributeValueTypeDef]
1613
+ ConsumedCapacity: ConsumedCapacityTypeDef
1614
+ ItemCollectionMetrics: ItemCollectionMetricsTableTypeDef
1615
+ ResponseMetadata: ResponseMetadataTypeDef
1616
+
1617
+
1618
+ class UpdateItemOutputTypeDef(TypedDict):
1619
+ Attributes: Dict[str, AttributeValueTypeDef]
1620
+ ConsumedCapacity: ConsumedCapacityTypeDef
1621
+ ItemCollectionMetrics: ItemCollectionMetricsTypeDef
1622
+ ResponseMetadata: ResponseMetadataTypeDef
1623
+
1624
+
1625
+ class DescribeContinuousBackupsOutputTypeDef(TypedDict):
1626
+ ContinuousBackupsDescription: ContinuousBackupsDescriptionTypeDef
1627
+ ResponseMetadata: ResponseMetadataTypeDef
1628
+
1629
+
1630
+ class UpdateContinuousBackupsOutputTypeDef(TypedDict):
1631
+ ContinuousBackupsDescription: ContinuousBackupsDescriptionTypeDef
1632
+ ResponseMetadata: ResponseMetadataTypeDef
1633
+
1634
+
1635
+ class ListGlobalTablesOutputTypeDef(TypedDict):
1636
+ GlobalTables: List[GlobalTableTypeDef]
1637
+ LastEvaluatedGlobalTableName: str
1638
+ ResponseMetadata: ResponseMetadataTypeDef
1639
+
1640
+
2030
1641
  ReplicaDescriptionTypeDef = TypedDict(
2031
1642
  "ReplicaDescriptionTypeDef",
2032
1643
  {
@@ -2064,536 +1675,474 @@ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
2064
1675
  "TableClassOverride": NotRequired[TableClassType],
2065
1676
  },
2066
1677
  )
2067
- UpdateGlobalTableInputRequestTypeDef = TypedDict(
2068
- "UpdateGlobalTableInputRequestTypeDef",
2069
- {
2070
- "GlobalTableName": str,
2071
- "ReplicaUpdates": Sequence[ReplicaUpdateTypeDef],
2072
- },
2073
- )
2074
- DescribeExportOutputTypeDef = TypedDict(
2075
- "DescribeExportOutputTypeDef",
2076
- {
2077
- "ExportDescription": ExportDescriptionTypeDef,
2078
- "ResponseMetadata": ResponseMetadataTypeDef,
2079
- },
2080
- )
2081
- ExportTableToPointInTimeOutputTypeDef = TypedDict(
2082
- "ExportTableToPointInTimeOutputTypeDef",
2083
- {
2084
- "ExportDescription": ExportDescriptionTypeDef,
2085
- "ResponseMetadata": ResponseMetadataTypeDef,
2086
- },
2087
- )
2088
- ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
2089
- "ExportTableToPointInTimeInputRequestTypeDef",
2090
- {
2091
- "TableArn": str,
2092
- "S3Bucket": str,
2093
- "ExportTime": NotRequired[TimestampTypeDef],
2094
- "ClientToken": NotRequired[str],
2095
- "S3BucketOwner": NotRequired[str],
2096
- "S3Prefix": NotRequired[str],
2097
- "S3SseAlgorithm": NotRequired[S3SseAlgorithmType],
2098
- "S3SseKmsKeyId": NotRequired[str],
2099
- "ExportFormat": NotRequired[ExportFormatType],
2100
- "ExportType": NotRequired[ExportTypeType],
2101
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
2102
- },
2103
- )
1678
+
1679
+
1680
+ class InputFormatOptionsTypeDef(TypedDict):
1681
+ Csv: NotRequired[CsvOptionsUnionTypeDef]
1682
+
1683
+
1684
+ class UpdateGlobalTableInputRequestTypeDef(TypedDict):
1685
+ GlobalTableName: str
1686
+ ReplicaUpdates: Sequence[ReplicaUpdateTypeDef]
1687
+
1688
+
1689
+ class DescribeExportOutputTypeDef(TypedDict):
1690
+ ExportDescription: ExportDescriptionTypeDef
1691
+ ResponseMetadata: ResponseMetadataTypeDef
1692
+
1693
+
1694
+ class ExportTableToPointInTimeOutputTypeDef(TypedDict):
1695
+ ExportDescription: ExportDescriptionTypeDef
1696
+ ResponseMetadata: ResponseMetadataTypeDef
1697
+
1698
+
1699
+ class ExportTableToPointInTimeInputRequestTypeDef(TypedDict):
1700
+ TableArn: str
1701
+ S3Bucket: str
1702
+ ExportTime: NotRequired[TimestampTypeDef]
1703
+ ClientToken: NotRequired[str]
1704
+ S3BucketOwner: NotRequired[str]
1705
+ S3Prefix: NotRequired[str]
1706
+ S3SseAlgorithm: NotRequired[S3SseAlgorithmType]
1707
+ S3SseKmsKeyId: NotRequired[str]
1708
+ ExportFormat: NotRequired[ExportFormatType]
1709
+ ExportType: NotRequired[ExportTypeType]
1710
+ IncrementalExportSpecification: NotRequired[IncrementalExportSpecificationTypeDef]
1711
+
1712
+
1713
+ class TableCreationParametersOutputTypeDef(TypedDict):
1714
+ TableName: str
1715
+ AttributeDefinitions: List[AttributeDefinitionTypeDef]
1716
+ KeySchema: List[KeySchemaElementTypeDef]
1717
+ BillingMode: NotRequired[BillingModeType]
1718
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1719
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1720
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
1721
+ GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexOutputTypeDef]]
1722
+
1723
+
1724
+ class SourceTableFeatureDetailsTypeDef(TypedDict):
1725
+ LocalSecondaryIndexes: NotRequired[List[LocalSecondaryIndexInfoTypeDef]]
1726
+ GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexInfoTypeDef]]
1727
+ StreamDescription: NotRequired[StreamSpecificationTypeDef]
1728
+ TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
1729
+ SSEDescription: NotRequired[SSEDescriptionTypeDef]
1730
+
1731
+
2104
1732
  GlobalSecondaryIndexUnionTypeDef = Union[
2105
1733
  GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
2106
1734
  ]
2107
- TableCreationParametersOutputTypeDef = TypedDict(
2108
- "TableCreationParametersOutputTypeDef",
2109
- {
2110
- "TableName": str,
2111
- "AttributeDefinitions": List[AttributeDefinitionTypeDef],
2112
- "KeySchema": List[KeySchemaElementTypeDef],
2113
- "BillingMode": NotRequired[BillingModeType],
2114
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2115
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2116
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2117
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexOutputTypeDef]],
2118
- },
2119
- )
2120
- SourceTableFeatureDetailsTypeDef = TypedDict(
2121
- "SourceTableFeatureDetailsTypeDef",
2122
- {
2123
- "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexInfoTypeDef]],
2124
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexInfoTypeDef]],
2125
- "StreamDescription": NotRequired[StreamSpecificationTypeDef],
2126
- "TimeToLiveDescription": NotRequired[TimeToLiveDescriptionTypeDef],
2127
- "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2128
- },
2129
- )
2130
- ListImportsOutputTypeDef = TypedDict(
2131
- "ListImportsOutputTypeDef",
2132
- {
2133
- "ImportSummaryList": List[ImportSummaryTypeDef],
2134
- "ResponseMetadata": ResponseMetadataTypeDef,
2135
- "NextToken": NotRequired[str],
2136
- },
2137
- )
2138
- BatchExecuteStatementOutputTypeDef = TypedDict(
2139
- "BatchExecuteStatementOutputTypeDef",
2140
- {
2141
- "Responses": List[BatchStatementResponseTypeDef],
2142
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2143
- "ResponseMetadata": ResponseMetadataTypeDef,
2144
- },
2145
- )
2146
- BatchWriteItemOutputTypeDef = TypedDict(
2147
- "BatchWriteItemOutputTypeDef",
2148
- {
2149
- "UnprocessedItems": Dict[str, List[WriteRequestOutputTypeDef]],
2150
- "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
2151
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2152
- "ResponseMetadata": ResponseMetadataTypeDef,
2153
- },
2154
- )
2155
- BatchExecuteStatementInputRequestTypeDef = TypedDict(
2156
- "BatchExecuteStatementInputRequestTypeDef",
2157
- {
2158
- "Statements": Sequence[BatchStatementRequestTypeDef],
2159
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2160
- },
2161
- )
2162
- QueryInputQueryPaginateTypeDef = TypedDict(
2163
- "QueryInputQueryPaginateTypeDef",
2164
- {
2165
- "TableName": str,
2166
- "IndexName": NotRequired[str],
2167
- "Select": NotRequired[SelectType],
2168
- "AttributesToGet": NotRequired[Sequence[str]],
2169
- "ConsistentRead": NotRequired[bool],
2170
- "KeyConditions": NotRequired[Mapping[str, ConditionTypeDef]],
2171
- "QueryFilter": NotRequired[Mapping[str, ConditionTypeDef]],
2172
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2173
- "ScanIndexForward": NotRequired[bool],
2174
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2175
- "ProjectionExpression": NotRequired[str],
2176
- "FilterExpression": NotRequired[str],
2177
- "KeyConditionExpression": NotRequired[str],
2178
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2179
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2180
- "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
2181
- },
2182
- )
2183
- QueryInputRequestTypeDef = TypedDict(
2184
- "QueryInputRequestTypeDef",
2185
- {
2186
- "TableName": str,
2187
- "IndexName": NotRequired[str],
2188
- "Select": NotRequired[SelectType],
2189
- "AttributesToGet": NotRequired[Sequence[str]],
2190
- "Limit": NotRequired[int],
2191
- "ConsistentRead": NotRequired[bool],
2192
- "KeyConditions": NotRequired[Mapping[str, ConditionTypeDef]],
2193
- "QueryFilter": NotRequired[Mapping[str, ConditionTypeDef]],
2194
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2195
- "ScanIndexForward": NotRequired[bool],
2196
- "ExclusiveStartKey": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2197
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2198
- "ProjectionExpression": NotRequired[str],
2199
- "FilterExpression": NotRequired[str],
2200
- "KeyConditionExpression": NotRequired[str],
2201
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2202
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2203
- },
2204
- )
2205
- ScanInputRequestTypeDef = TypedDict(
2206
- "ScanInputRequestTypeDef",
2207
- {
2208
- "TableName": str,
2209
- "IndexName": NotRequired[str],
2210
- "AttributesToGet": NotRequired[Sequence[str]],
2211
- "Limit": NotRequired[int],
2212
- "Select": NotRequired[SelectType],
2213
- "ScanFilter": NotRequired[Mapping[str, ConditionTypeDef]],
2214
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2215
- "ExclusiveStartKey": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2216
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2217
- "TotalSegments": NotRequired[int],
2218
- "Segment": NotRequired[int],
2219
- "ProjectionExpression": NotRequired[str],
2220
- "FilterExpression": NotRequired[str],
2221
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2222
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2223
- "ConsistentRead": NotRequired[bool],
2224
- },
2225
- )
2226
- ScanInputScanPaginateTypeDef = TypedDict(
2227
- "ScanInputScanPaginateTypeDef",
2228
- {
2229
- "TableName": str,
2230
- "IndexName": NotRequired[str],
2231
- "AttributesToGet": NotRequired[Sequence[str]],
2232
- "Select": NotRequired[SelectType],
2233
- "ScanFilter": NotRequired[Mapping[str, ConditionTypeDef]],
2234
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2235
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2236
- "TotalSegments": NotRequired[int],
2237
- "Segment": NotRequired[int],
2238
- "ProjectionExpression": NotRequired[str],
2239
- "FilterExpression": NotRequired[str],
2240
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2241
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2242
- "ConsistentRead": NotRequired[bool],
2243
- "PaginationConfig": NotRequired[PaginatorConfigTypeDef],
2244
- },
2245
- )
2246
- DeleteItemInputRequestTypeDef = TypedDict(
2247
- "DeleteItemInputRequestTypeDef",
2248
- {
2249
- "TableName": str,
2250
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
2251
- "Expected": NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],
2252
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2253
- "ReturnValues": NotRequired[ReturnValueType],
2254
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2255
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2256
- "ConditionExpression": NotRequired[str],
2257
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2258
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2259
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
2260
- },
2261
- )
2262
- PutItemInputRequestTypeDef = TypedDict(
2263
- "PutItemInputRequestTypeDef",
2264
- {
2265
- "TableName": str,
2266
- "Item": Mapping[str, UniversalAttributeValueTypeDef],
2267
- "Expected": NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],
2268
- "ReturnValues": NotRequired[ReturnValueType],
2269
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2270
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2271
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2272
- "ConditionExpression": NotRequired[str],
2273
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2274
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2275
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
2276
- },
2277
- )
2278
- UpdateItemInputRequestTypeDef = TypedDict(
2279
- "UpdateItemInputRequestTypeDef",
2280
- {
2281
- "TableName": str,
2282
- "Key": Mapping[str, UniversalAttributeValueTypeDef],
2283
- "AttributeUpdates": NotRequired[Mapping[str, AttributeValueUpdateTypeDef]],
2284
- "Expected": NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]],
2285
- "ConditionalOperator": NotRequired[ConditionalOperatorType],
2286
- "ReturnValues": NotRequired[ReturnValueType],
2287
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2288
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2289
- "UpdateExpression": NotRequired[str],
2290
- "ConditionExpression": NotRequired[str],
2291
- "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
2292
- "ExpressionAttributeValues": NotRequired[Mapping[str, UniversalAttributeValueTypeDef]],
2293
- "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
2294
- },
2295
- )
2296
- TransactGetItemTypeDef = TypedDict(
2297
- "TransactGetItemTypeDef",
2298
- {
2299
- "Get": GetTypeDef,
2300
- },
2301
- )
1735
+
1736
+
1737
+ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
1738
+ IndexName: str
1739
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1740
+ Projection: ProjectionUnionTypeDef
1741
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
1742
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
1743
+
1744
+
1745
+ class LocalSecondaryIndexTypeDef(TypedDict):
1746
+ IndexName: str
1747
+ KeySchema: Sequence[KeySchemaElementTypeDef]
1748
+ Projection: ProjectionUnionTypeDef
1749
+
1750
+
1751
+ class ListImportsOutputTypeDef(TypedDict):
1752
+ ImportSummaryList: List[ImportSummaryTypeDef]
1753
+ ResponseMetadata: ResponseMetadataTypeDef
1754
+ NextToken: NotRequired[str]
1755
+
1756
+
1757
+ class BatchExecuteStatementOutputTypeDef(TypedDict):
1758
+ Responses: List[BatchStatementResponseTypeDef]
1759
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1760
+ ResponseMetadata: ResponseMetadataTypeDef
1761
+
1762
+
1763
+ class BatchWriteItemOutputTypeDef(TypedDict):
1764
+ UnprocessedItems: Dict[str, List[WriteRequestOutputTypeDef]]
1765
+ ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsTypeDef]]
1766
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1767
+ ResponseMetadata: ResponseMetadataTypeDef
1768
+
1769
+
1770
+ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
1771
+ Statements: Sequence[BatchStatementRequestTypeDef]
1772
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1773
+
1774
+
1775
+ class QueryInputQueryPaginateTypeDef(TypedDict):
1776
+ TableName: str
1777
+ IndexName: NotRequired[str]
1778
+ Select: NotRequired[SelectType]
1779
+ AttributesToGet: NotRequired[Sequence[str]]
1780
+ ConsistentRead: NotRequired[bool]
1781
+ KeyConditions: NotRequired[Mapping[str, ConditionTypeDef]]
1782
+ QueryFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1783
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1784
+ ScanIndexForward: NotRequired[bool]
1785
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1786
+ ProjectionExpression: NotRequired[str]
1787
+ FilterExpression: NotRequired[str]
1788
+ KeyConditionExpression: NotRequired[str]
1789
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1790
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1791
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1792
+
1793
+
1794
+ class QueryInputRequestTypeDef(TypedDict):
1795
+ TableName: str
1796
+ IndexName: NotRequired[str]
1797
+ Select: NotRequired[SelectType]
1798
+ AttributesToGet: NotRequired[Sequence[str]]
1799
+ Limit: NotRequired[int]
1800
+ ConsistentRead: NotRequired[bool]
1801
+ KeyConditions: NotRequired[Mapping[str, ConditionTypeDef]]
1802
+ QueryFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1803
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1804
+ ScanIndexForward: NotRequired[bool]
1805
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1806
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1807
+ ProjectionExpression: NotRequired[str]
1808
+ FilterExpression: NotRequired[str]
1809
+ KeyConditionExpression: NotRequired[str]
1810
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1811
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1812
+
1813
+
1814
+ class ScanInputRequestTypeDef(TypedDict):
1815
+ TableName: str
1816
+ IndexName: NotRequired[str]
1817
+ AttributesToGet: NotRequired[Sequence[str]]
1818
+ Limit: NotRequired[int]
1819
+ Select: NotRequired[SelectType]
1820
+ ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1821
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1822
+ ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1823
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1824
+ TotalSegments: NotRequired[int]
1825
+ Segment: NotRequired[int]
1826
+ ProjectionExpression: NotRequired[str]
1827
+ FilterExpression: NotRequired[str]
1828
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1829
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1830
+ ConsistentRead: NotRequired[bool]
1831
+
1832
+
1833
+ class ScanInputScanPaginateTypeDef(TypedDict):
1834
+ TableName: str
1835
+ IndexName: NotRequired[str]
1836
+ AttributesToGet: NotRequired[Sequence[str]]
1837
+ Select: NotRequired[SelectType]
1838
+ ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
1839
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1840
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1841
+ TotalSegments: NotRequired[int]
1842
+ Segment: NotRequired[int]
1843
+ ProjectionExpression: NotRequired[str]
1844
+ FilterExpression: NotRequired[str]
1845
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1846
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1847
+ ConsistentRead: NotRequired[bool]
1848
+ PaginationConfig: NotRequired[PaginatorConfigTypeDef]
1849
+
1850
+
1851
+ DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
1852
+
1853
+
1854
+ class DeleteItemInputRequestTypeDef(TypedDict):
1855
+ TableName: str
1856
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1857
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]]
1858
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1859
+ ReturnValues: NotRequired[ReturnValueType]
1860
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1861
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1862
+ ConditionExpression: NotRequired[str]
1863
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1864
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1865
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1866
+
1867
+
1868
+ class PutItemInputRequestTypeDef(TypedDict):
1869
+ TableName: str
1870
+ Item: Mapping[str, UniversalAttributeValueTypeDef]
1871
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]]
1872
+ ReturnValues: NotRequired[ReturnValueType]
1873
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1874
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1875
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1876
+ ConditionExpression: NotRequired[str]
1877
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1878
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1879
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1880
+
1881
+
1882
+ class UpdateItemInputRequestTypeDef(TypedDict):
1883
+ TableName: str
1884
+ Key: Mapping[str, UniversalAttributeValueTypeDef]
1885
+ AttributeUpdates: NotRequired[Mapping[str, AttributeValueUpdateTypeDef]]
1886
+ Expected: NotRequired[Mapping[str, ExpectedAttributeValueTypeDef]]
1887
+ ConditionalOperator: NotRequired[ConditionalOperatorType]
1888
+ ReturnValues: NotRequired[ReturnValueType]
1889
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1890
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
1891
+ UpdateExpression: NotRequired[str]
1892
+ ConditionExpression: NotRequired[str]
1893
+ ExpressionAttributeNames: NotRequired[Mapping[str, str]]
1894
+ ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
1895
+ ReturnValuesOnConditionCheckFailure: NotRequired[ReturnValuesOnConditionCheckFailureType]
1896
+
1897
+
1898
+ class TransactGetItemTypeDef(TypedDict):
1899
+ Get: GetTypeDef
1900
+
1901
+
2302
1902
  KeysAndAttributesUnionTypeDef = Union[KeysAndAttributesTypeDef, KeysAndAttributesOutputTypeDef]
2303
- ExecuteTransactionInputRequestTypeDef = TypedDict(
2304
- "ExecuteTransactionInputRequestTypeDef",
2305
- {
2306
- "TransactStatements": Sequence[ParameterizedStatementTypeDef],
2307
- "ClientRequestToken": NotRequired[str],
2308
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2309
- },
2310
- )
2311
- WriteRequestTypeDef = TypedDict(
2312
- "WriteRequestTypeDef",
2313
- {
2314
- "PutRequest": NotRequired[PutRequestTypeDef],
2315
- "DeleteRequest": NotRequired[DeleteRequestTypeDef],
2316
- },
2317
- )
2318
- TransactWriteItemTypeDef = TypedDict(
2319
- "TransactWriteItemTypeDef",
2320
- {
2321
- "ConditionCheck": NotRequired[ConditionCheckTypeDef],
2322
- "Put": NotRequired[PutTypeDef],
2323
- "Delete": NotRequired[DeleteTypeDef],
2324
- "Update": NotRequired[UpdateTypeDef],
2325
- },
2326
- )
2327
- BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
2328
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
2329
- {
2330
- "RequestItems": Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
2331
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2332
- },
2333
- )
2334
- BatchWriteItemOutputServiceResourceTypeDef = TypedDict(
2335
- "BatchWriteItemOutputServiceResourceTypeDef",
2336
- {
2337
- "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceOutputTypeDef]],
2338
- "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]],
2339
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2340
- "ResponseMetadata": ResponseMetadataTypeDef,
2341
- },
2342
- )
1903
+
1904
+
1905
+ class ExecuteTransactionInputRequestTypeDef(TypedDict):
1906
+ TransactStatements: Sequence[ParameterizedStatementTypeDef]
1907
+ ClientRequestToken: NotRequired[str]
1908
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1909
+
1910
+
1911
+ PutRequestUnionTypeDef = Union[PutRequestTypeDef, PutRequestOutputTypeDef]
1912
+
1913
+
1914
+ class TransactWriteItemTypeDef(TypedDict):
1915
+ ConditionCheck: NotRequired[ConditionCheckTypeDef]
1916
+ Put: NotRequired[PutTypeDef]
1917
+ Delete: NotRequired[DeleteTypeDef]
1918
+ Update: NotRequired[UpdateTypeDef]
1919
+
1920
+
1921
+ class BatchGetItemInputServiceResourceBatchGetItemTypeDef(TypedDict):
1922
+ RequestItems: Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef]
1923
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
1924
+
1925
+
1926
+ class BatchWriteItemOutputServiceResourceTypeDef(TypedDict):
1927
+ UnprocessedItems: Dict[str, List[WriteRequestServiceResourceOutputTypeDef]]
1928
+ ItemCollectionMetrics: Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]]
1929
+ ConsumedCapacity: List[ConsumedCapacityTypeDef]
1930
+ ResponseMetadata: ResponseMetadataTypeDef
1931
+
1932
+
1933
+ class WriteRequestServiceResourceTypeDef(TypedDict):
1934
+ PutRequest: NotRequired[PutRequestServiceResourceUnionTypeDef]
1935
+ DeleteRequest: NotRequired[DeleteRequestServiceResourceUnionTypeDef]
1936
+
1937
+
1938
+ class ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef(TypedDict):
1939
+ IndexName: NotRequired[str]
1940
+ IndexStatus: NotRequired[IndexStatusType]
1941
+ ProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1942
+ ProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1943
+
1944
+
1945
+ class ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef(TypedDict):
1946
+ IndexName: str
1947
+ IndexStatus: NotRequired[IndexStatusType]
1948
+ ProvisionedReadCapacityUnits: NotRequired[int]
1949
+ ProvisionedReadCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1950
+ ProvisionedWriteCapacityUnits: NotRequired[int]
1951
+ ProvisionedWriteCapacityAutoScalingSettings: NotRequired[AutoScalingSettingsDescriptionTypeDef]
1952
+
1953
+
1954
+ class GlobalSecondaryIndexAutoScalingUpdateTypeDef(TypedDict):
1955
+ IndexName: NotRequired[str]
1956
+ ProvisionedWriteCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1957
+
1958
+
1959
+ class GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
1960
+ IndexName: str
1961
+ ProvisionedWriteCapacityUnits: NotRequired[int]
1962
+ ProvisionedWriteCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1963
+
1964
+
1965
+ class ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef(TypedDict):
1966
+ IndexName: NotRequired[str]
1967
+ ProvisionedReadCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1968
+
1969
+
1970
+ class ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef(TypedDict):
1971
+ IndexName: str
1972
+ ProvisionedReadCapacityUnits: NotRequired[int]
1973
+ ProvisionedReadCapacityAutoScalingSettingsUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
1974
+
1975
+
1976
+ class GlobalTableDescriptionTypeDef(TypedDict):
1977
+ ReplicationGroup: NotRequired[List[ReplicaDescriptionTypeDef]]
1978
+ GlobalTableArn: NotRequired[str]
1979
+ CreationDateTime: NotRequired[datetime]
1980
+ GlobalTableStatus: NotRequired[GlobalTableStatusType]
1981
+ GlobalTableName: NotRequired[str]
1982
+
1983
+
1984
+ class TableDescriptionTypeDef(TypedDict):
1985
+ AttributeDefinitions: NotRequired[List[AttributeDefinitionTypeDef]]
1986
+ TableName: NotRequired[str]
1987
+ KeySchema: NotRequired[List[KeySchemaElementTypeDef]]
1988
+ TableStatus: NotRequired[TableStatusType]
1989
+ CreationDateTime: NotRequired[datetime]
1990
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputDescriptionTypeDef]
1991
+ TableSizeBytes: NotRequired[int]
1992
+ ItemCount: NotRequired[int]
1993
+ TableArn: NotRequired[str]
1994
+ TableId: NotRequired[str]
1995
+ BillingModeSummary: NotRequired[BillingModeSummaryTypeDef]
1996
+ LocalSecondaryIndexes: NotRequired[List[LocalSecondaryIndexDescriptionTypeDef]]
1997
+ GlobalSecondaryIndexes: NotRequired[List[GlobalSecondaryIndexDescriptionTypeDef]]
1998
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
1999
+ LatestStreamLabel: NotRequired[str]
2000
+ LatestStreamArn: NotRequired[str]
2001
+ GlobalTableVersion: NotRequired[str]
2002
+ Replicas: NotRequired[List[ReplicaDescriptionTypeDef]]
2003
+ RestoreSummary: NotRequired[RestoreSummaryTypeDef]
2004
+ SSEDescription: NotRequired[SSEDescriptionTypeDef]
2005
+ ArchivalSummary: NotRequired[ArchivalSummaryTypeDef]
2006
+ TableClassSummary: NotRequired[TableClassSummaryTypeDef]
2007
+ DeletionProtectionEnabled: NotRequired[bool]
2008
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2009
+
2010
+
2011
+ class ReplicationGroupUpdateTypeDef(TypedDict):
2012
+ Create: NotRequired[CreateReplicationGroupMemberActionTypeDef]
2013
+ Update: NotRequired[UpdateReplicationGroupMemberActionTypeDef]
2014
+ Delete: NotRequired[DeleteReplicationGroupMemberActionTypeDef]
2015
+
2016
+
2017
+ class ImportTableDescriptionTypeDef(TypedDict):
2018
+ ImportArn: NotRequired[str]
2019
+ ImportStatus: NotRequired[ImportStatusType]
2020
+ TableArn: NotRequired[str]
2021
+ TableId: NotRequired[str]
2022
+ ClientToken: NotRequired[str]
2023
+ S3BucketSource: NotRequired[S3BucketSourceTypeDef]
2024
+ ErrorCount: NotRequired[int]
2025
+ CloudWatchLogGroupArn: NotRequired[str]
2026
+ InputFormat: NotRequired[InputFormatType]
2027
+ InputFormatOptions: NotRequired[InputFormatOptionsOutputTypeDef]
2028
+ InputCompressionType: NotRequired[InputCompressionTypeType]
2029
+ TableCreationParameters: NotRequired[TableCreationParametersOutputTypeDef]
2030
+ StartTime: NotRequired[datetime]
2031
+ EndTime: NotRequired[datetime]
2032
+ ProcessedSizeBytes: NotRequired[int]
2033
+ ProcessedItemCount: NotRequired[int]
2034
+ ImportedItemCount: NotRequired[int]
2035
+ FailureCode: NotRequired[str]
2036
+ FailureMessage: NotRequired[str]
2037
+
2038
+
2039
+ class BackupDescriptionTypeDef(TypedDict):
2040
+ BackupDetails: NotRequired[BackupDetailsTypeDef]
2041
+ SourceTableDetails: NotRequired[SourceTableDetailsTypeDef]
2042
+ SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
2043
+
2044
+
2045
+ class TableCreationParametersTypeDef(TypedDict):
2046
+ TableName: str
2047
+ AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
2048
+ KeySchema: Sequence[KeySchemaElementTypeDef]
2049
+ BillingMode: NotRequired[BillingModeType]
2050
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2051
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2052
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2053
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
2054
+
2055
+
2056
+ class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
2057
+ Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
2058
+ Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
2059
+ Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
2060
+
2061
+
2062
+ class CreateTableInputRequestTypeDef(TypedDict):
2063
+ AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
2064
+ TableName: str
2065
+ KeySchema: Sequence[KeySchemaElementTypeDef]
2066
+ LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
2067
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]]
2068
+ BillingMode: NotRequired[BillingModeType]
2069
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2070
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
2071
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2072
+ Tags: NotRequired[Sequence[TagTypeDef]]
2073
+ TableClass: NotRequired[TableClassType]
2074
+ DeletionProtectionEnabled: NotRequired[bool]
2075
+ ResourcePolicy: NotRequired[str]
2076
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2077
+
2078
+
2079
+ class CreateTableInputServiceResourceCreateTableTypeDef(TypedDict):
2080
+ AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
2081
+ TableName: str
2082
+ KeySchema: Sequence[KeySchemaElementTypeDef]
2083
+ LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
2084
+ GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2085
+ BillingMode: NotRequired[BillingModeType]
2086
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2087
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
2088
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2089
+ Tags: NotRequired[Sequence[TagTypeDef]]
2090
+ TableClass: NotRequired[TableClassType]
2091
+ DeletionProtectionEnabled: NotRequired[bool]
2092
+ ResourcePolicy: NotRequired[str]
2093
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2094
+
2095
+
2096
+ class RestoreTableFromBackupInputRequestTypeDef(TypedDict):
2097
+ TargetTableName: str
2098
+ BackupArn: str
2099
+ BillingModeOverride: NotRequired[BillingModeType]
2100
+ GlobalSecondaryIndexOverride: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2101
+ LocalSecondaryIndexOverride: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
2102
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputTypeDef]
2103
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputTypeDef]
2104
+ SSESpecificationOverride: NotRequired[SSESpecificationTypeDef]
2105
+
2106
+
2107
+ class RestoreTableToPointInTimeInputRequestTypeDef(TypedDict):
2108
+ TargetTableName: str
2109
+ SourceTableArn: NotRequired[str]
2110
+ SourceTableName: NotRequired[str]
2111
+ UseLatestRestorableTime: NotRequired[bool]
2112
+ RestoreDateTime: NotRequired[TimestampTypeDef]
2113
+ BillingModeOverride: NotRequired[BillingModeType]
2114
+ GlobalSecondaryIndexOverride: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
2115
+ LocalSecondaryIndexOverride: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
2116
+ ProvisionedThroughputOverride: NotRequired[ProvisionedThroughputTypeDef]
2117
+ OnDemandThroughputOverride: NotRequired[OnDemandThroughputTypeDef]
2118
+ SSESpecificationOverride: NotRequired[SSESpecificationTypeDef]
2119
+
2120
+
2121
+ class TransactGetItemsInputRequestTypeDef(TypedDict):
2122
+ TransactItems: Sequence[TransactGetItemTypeDef]
2123
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2124
+
2125
+
2126
+ class BatchGetItemInputRequestTypeDef(TypedDict):
2127
+ RequestItems: Mapping[str, KeysAndAttributesUnionTypeDef]
2128
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2129
+
2130
+
2131
+ class WriteRequestTypeDef(TypedDict):
2132
+ PutRequest: NotRequired[PutRequestUnionTypeDef]
2133
+ DeleteRequest: NotRequired[DeleteRequestUnionTypeDef]
2134
+
2135
+
2136
+ class TransactWriteItemsInputRequestTypeDef(TypedDict):
2137
+ TransactItems: Sequence[TransactWriteItemTypeDef]
2138
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2139
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
2140
+ ClientRequestToken: NotRequired[str]
2141
+
2142
+
2343
2143
  WriteRequestServiceResourceUnionTypeDef = Union[
2344
2144
  WriteRequestServiceResourceTypeDef, WriteRequestServiceResourceOutputTypeDef
2345
2145
  ]
2346
- ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef = TypedDict(
2347
- "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
2348
- {
2349
- "IndexName": NotRequired[str],
2350
- "IndexStatus": NotRequired[IndexStatusType],
2351
- "ProvisionedReadCapacityAutoScalingSettings": NotRequired[
2352
- AutoScalingSettingsDescriptionTypeDef
2353
- ],
2354
- "ProvisionedWriteCapacityAutoScalingSettings": NotRequired[
2355
- AutoScalingSettingsDescriptionTypeDef
2356
- ],
2357
- },
2358
- )
2359
- ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef = TypedDict(
2360
- "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
2361
- {
2362
- "IndexName": str,
2363
- "IndexStatus": NotRequired[IndexStatusType],
2364
- "ProvisionedReadCapacityUnits": NotRequired[int],
2365
- "ProvisionedReadCapacityAutoScalingSettings": NotRequired[
2366
- AutoScalingSettingsDescriptionTypeDef
2367
- ],
2368
- "ProvisionedWriteCapacityUnits": NotRequired[int],
2369
- "ProvisionedWriteCapacityAutoScalingSettings": NotRequired[
2370
- AutoScalingSettingsDescriptionTypeDef
2371
- ],
2372
- },
2373
- )
2374
- GlobalSecondaryIndexAutoScalingUpdateTypeDef = TypedDict(
2375
- "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
2376
- {
2377
- "IndexName": NotRequired[str],
2378
- "ProvisionedWriteCapacityAutoScalingUpdate": NotRequired[AutoScalingSettingsUpdateTypeDef],
2379
- },
2380
- )
2381
- GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef = TypedDict(
2382
- "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
2383
- {
2384
- "IndexName": str,
2385
- "ProvisionedWriteCapacityUnits": NotRequired[int],
2386
- "ProvisionedWriteCapacityAutoScalingSettingsUpdate": NotRequired[
2387
- AutoScalingSettingsUpdateTypeDef
2388
- ],
2389
- },
2390
- )
2391
- ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef = TypedDict(
2392
- "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
2393
- {
2394
- "IndexName": NotRequired[str],
2395
- "ProvisionedReadCapacityAutoScalingUpdate": NotRequired[AutoScalingSettingsUpdateTypeDef],
2396
- },
2397
- )
2398
- ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef = TypedDict(
2399
- "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
2400
- {
2401
- "IndexName": str,
2402
- "ProvisionedReadCapacityUnits": NotRequired[int],
2403
- "ProvisionedReadCapacityAutoScalingSettingsUpdate": NotRequired[
2404
- AutoScalingSettingsUpdateTypeDef
2405
- ],
2406
- },
2407
- )
2408
- ImportTableInputRequestTypeDef = TypedDict(
2409
- "ImportTableInputRequestTypeDef",
2410
- {
2411
- "S3BucketSource": S3BucketSourceTypeDef,
2412
- "InputFormat": InputFormatType,
2413
- "TableCreationParameters": TableCreationParametersTypeDef,
2414
- "ClientToken": NotRequired[str],
2415
- "InputFormatOptions": NotRequired[InputFormatOptionsTypeDef],
2416
- "InputCompressionType": NotRequired[InputCompressionTypeType],
2417
- },
2418
- )
2419
- GlobalTableDescriptionTypeDef = TypedDict(
2420
- "GlobalTableDescriptionTypeDef",
2421
- {
2422
- "ReplicationGroup": NotRequired[List[ReplicaDescriptionTypeDef]],
2423
- "GlobalTableArn": NotRequired[str],
2424
- "CreationDateTime": NotRequired[datetime],
2425
- "GlobalTableStatus": NotRequired[GlobalTableStatusType],
2426
- "GlobalTableName": NotRequired[str],
2427
- },
2428
- )
2429
- TableDescriptionTypeDef = TypedDict(
2430
- "TableDescriptionTypeDef",
2431
- {
2432
- "AttributeDefinitions": NotRequired[List[AttributeDefinitionTypeDef]],
2433
- "TableName": NotRequired[str],
2434
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
2435
- "TableStatus": NotRequired[TableStatusType],
2436
- "CreationDateTime": NotRequired[datetime],
2437
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
2438
- "TableSizeBytes": NotRequired[int],
2439
- "ItemCount": NotRequired[int],
2440
- "TableArn": NotRequired[str],
2441
- "TableId": NotRequired[str],
2442
- "BillingModeSummary": NotRequired[BillingModeSummaryTypeDef],
2443
- "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexDescriptionTypeDef]],
2444
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexDescriptionTypeDef]],
2445
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2446
- "LatestStreamLabel": NotRequired[str],
2447
- "LatestStreamArn": NotRequired[str],
2448
- "GlobalTableVersion": NotRequired[str],
2449
- "Replicas": NotRequired[List[ReplicaDescriptionTypeDef]],
2450
- "RestoreSummary": NotRequired[RestoreSummaryTypeDef],
2451
- "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2452
- "ArchivalSummary": NotRequired[ArchivalSummaryTypeDef],
2453
- "TableClassSummary": NotRequired[TableClassSummaryTypeDef],
2454
- "DeletionProtectionEnabled": NotRequired[bool],
2455
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2456
- },
2457
- )
2458
- ReplicationGroupUpdateTypeDef = TypedDict(
2459
- "ReplicationGroupUpdateTypeDef",
2460
- {
2461
- "Create": NotRequired[CreateReplicationGroupMemberActionTypeDef],
2462
- "Update": NotRequired[UpdateReplicationGroupMemberActionTypeDef],
2463
- "Delete": NotRequired[DeleteReplicationGroupMemberActionTypeDef],
2464
- },
2465
- )
2466
- CreateTableInputRequestTypeDef = TypedDict(
2467
- "CreateTableInputRequestTypeDef",
2468
- {
2469
- "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2470
- "TableName": str,
2471
- "KeySchema": Sequence[KeySchemaElementTypeDef],
2472
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2473
- "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2474
- "BillingMode": NotRequired[BillingModeType],
2475
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2476
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2477
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2478
- "Tags": NotRequired[Sequence[TagTypeDef]],
2479
- "TableClass": NotRequired[TableClassType],
2480
- "DeletionProtectionEnabled": NotRequired[bool],
2481
- "ResourcePolicy": NotRequired[str],
2482
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2483
- },
2484
- )
2485
- CreateTableInputServiceResourceCreateTableTypeDef = TypedDict(
2486
- "CreateTableInputServiceResourceCreateTableTypeDef",
2487
- {
2488
- "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2489
- "TableName": str,
2490
- "KeySchema": Sequence[KeySchemaElementTypeDef],
2491
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2492
- "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2493
- "BillingMode": NotRequired[BillingModeType],
2494
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2495
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2496
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2497
- "Tags": NotRequired[Sequence[TagTypeDef]],
2498
- "TableClass": NotRequired[TableClassType],
2499
- "DeletionProtectionEnabled": NotRequired[bool],
2500
- "ResourcePolicy": NotRequired[str],
2501
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2502
- },
2503
- )
2504
- RestoreTableFromBackupInputRequestTypeDef = TypedDict(
2505
- "RestoreTableFromBackupInputRequestTypeDef",
2506
- {
2507
- "TargetTableName": str,
2508
- "BackupArn": str,
2509
- "BillingModeOverride": NotRequired[BillingModeType],
2510
- "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2511
- "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2512
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2513
- "OnDemandThroughputOverride": NotRequired[OnDemandThroughputTypeDef],
2514
- "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2515
- },
2516
- )
2517
- RestoreTableToPointInTimeInputRequestTypeDef = TypedDict(
2518
- "RestoreTableToPointInTimeInputRequestTypeDef",
2519
- {
2520
- "TargetTableName": str,
2521
- "SourceTableArn": NotRequired[str],
2522
- "SourceTableName": NotRequired[str],
2523
- "UseLatestRestorableTime": NotRequired[bool],
2524
- "RestoreDateTime": NotRequired[TimestampTypeDef],
2525
- "BillingModeOverride": NotRequired[BillingModeType],
2526
- "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2527
- "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2528
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2529
- "OnDemandThroughputOverride": NotRequired[OnDemandThroughputTypeDef],
2530
- "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2531
- },
2532
- )
2533
- ImportTableDescriptionTypeDef = TypedDict(
2534
- "ImportTableDescriptionTypeDef",
2535
- {
2536
- "ImportArn": NotRequired[str],
2537
- "ImportStatus": NotRequired[ImportStatusType],
2538
- "TableArn": NotRequired[str],
2539
- "TableId": NotRequired[str],
2540
- "ClientToken": NotRequired[str],
2541
- "S3BucketSource": NotRequired[S3BucketSourceTypeDef],
2542
- "ErrorCount": NotRequired[int],
2543
- "CloudWatchLogGroupArn": NotRequired[str],
2544
- "InputFormat": NotRequired[InputFormatType],
2545
- "InputFormatOptions": NotRequired[InputFormatOptionsOutputTypeDef],
2546
- "InputCompressionType": NotRequired[InputCompressionTypeType],
2547
- "TableCreationParameters": NotRequired[TableCreationParametersOutputTypeDef],
2548
- "StartTime": NotRequired[datetime],
2549
- "EndTime": NotRequired[datetime],
2550
- "ProcessedSizeBytes": NotRequired[int],
2551
- "ProcessedItemCount": NotRequired[int],
2552
- "ImportedItemCount": NotRequired[int],
2553
- "FailureCode": NotRequired[str],
2554
- "FailureMessage": NotRequired[str],
2555
- },
2556
- )
2557
- BackupDescriptionTypeDef = TypedDict(
2558
- "BackupDescriptionTypeDef",
2559
- {
2560
- "BackupDetails": NotRequired[BackupDetailsTypeDef],
2561
- "SourceTableDetails": NotRequired[SourceTableDetailsTypeDef],
2562
- "SourceTableFeatureDetails": NotRequired[SourceTableFeatureDetailsTypeDef],
2563
- },
2564
- )
2565
- TransactGetItemsInputRequestTypeDef = TypedDict(
2566
- "TransactGetItemsInputRequestTypeDef",
2567
- {
2568
- "TransactItems": Sequence[TransactGetItemTypeDef],
2569
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2570
- },
2571
- )
2572
- BatchGetItemInputRequestTypeDef = TypedDict(
2573
- "BatchGetItemInputRequestTypeDef",
2574
- {
2575
- "RequestItems": Mapping[str, KeysAndAttributesUnionTypeDef],
2576
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2577
- },
2578
- )
2579
- WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2580
- TransactWriteItemsInputRequestTypeDef = TypedDict(
2581
- "TransactWriteItemsInputRequestTypeDef",
2582
- {
2583
- "TransactItems": Sequence[TransactWriteItemTypeDef],
2584
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2585
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2586
- "ClientRequestToken": NotRequired[str],
2587
- },
2588
- )
2589
- BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2590
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2591
- {
2592
- "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
2593
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2594
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2595
- },
2596
- )
2597
2146
  ReplicaAutoScalingDescriptionTypeDef = TypedDict(
2598
2147
  "ReplicaAutoScalingDescriptionTypeDef",
2599
2148
  {
@@ -2656,197 +2205,167 @@ ReplicaSettingsUpdateTypeDef = TypedDict(
2656
2205
  "ReplicaTableClass": NotRequired[TableClassType],
2657
2206
  },
2658
2207
  )
2659
- CreateGlobalTableOutputTypeDef = TypedDict(
2660
- "CreateGlobalTableOutputTypeDef",
2661
- {
2662
- "GlobalTableDescription": GlobalTableDescriptionTypeDef,
2663
- "ResponseMetadata": ResponseMetadataTypeDef,
2664
- },
2665
- )
2666
- DescribeGlobalTableOutputTypeDef = TypedDict(
2667
- "DescribeGlobalTableOutputTypeDef",
2668
- {
2669
- "GlobalTableDescription": GlobalTableDescriptionTypeDef,
2670
- "ResponseMetadata": ResponseMetadataTypeDef,
2671
- },
2672
- )
2673
- UpdateGlobalTableOutputTypeDef = TypedDict(
2674
- "UpdateGlobalTableOutputTypeDef",
2675
- {
2676
- "GlobalTableDescription": GlobalTableDescriptionTypeDef,
2677
- "ResponseMetadata": ResponseMetadataTypeDef,
2678
- },
2679
- )
2680
- CreateTableOutputTypeDef = TypedDict(
2681
- "CreateTableOutputTypeDef",
2682
- {
2683
- "TableDescription": TableDescriptionTypeDef,
2684
- "ResponseMetadata": ResponseMetadataTypeDef,
2685
- },
2686
- )
2687
- DeleteTableOutputTypeDef = TypedDict(
2688
- "DeleteTableOutputTypeDef",
2689
- {
2690
- "TableDescription": TableDescriptionTypeDef,
2691
- "ResponseMetadata": ResponseMetadataTypeDef,
2692
- },
2693
- )
2694
- DescribeTableOutputTypeDef = TypedDict(
2695
- "DescribeTableOutputTypeDef",
2696
- {
2697
- "Table": TableDescriptionTypeDef,
2698
- "ResponseMetadata": ResponseMetadataTypeDef,
2699
- },
2700
- )
2701
- RestoreTableFromBackupOutputTypeDef = TypedDict(
2702
- "RestoreTableFromBackupOutputTypeDef",
2703
- {
2704
- "TableDescription": TableDescriptionTypeDef,
2705
- "ResponseMetadata": ResponseMetadataTypeDef,
2706
- },
2707
- )
2708
- RestoreTableToPointInTimeOutputTypeDef = TypedDict(
2709
- "RestoreTableToPointInTimeOutputTypeDef",
2710
- {
2711
- "TableDescription": TableDescriptionTypeDef,
2712
- "ResponseMetadata": ResponseMetadataTypeDef,
2713
- },
2714
- )
2715
- UpdateTableOutputTypeDef = TypedDict(
2716
- "UpdateTableOutputTypeDef",
2717
- {
2718
- "TableDescription": TableDescriptionTypeDef,
2719
- "ResponseMetadata": ResponseMetadataTypeDef,
2720
- },
2721
- )
2722
- UpdateTableInputRequestTypeDef = TypedDict(
2723
- "UpdateTableInputRequestTypeDef",
2724
- {
2725
- "TableName": str,
2726
- "AttributeDefinitions": NotRequired[Sequence[AttributeDefinitionTypeDef]],
2727
- "BillingMode": NotRequired[BillingModeType],
2728
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2729
- "GlobalSecondaryIndexUpdates": NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],
2730
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2731
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2732
- "ReplicaUpdates": NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],
2733
- "TableClass": NotRequired[TableClassType],
2734
- "DeletionProtectionEnabled": NotRequired[bool],
2735
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2736
- },
2737
- )
2738
- UpdateTableInputTableUpdateTypeDef = TypedDict(
2739
- "UpdateTableInputTableUpdateTypeDef",
2740
- {
2741
- "AttributeDefinitions": NotRequired[Sequence[AttributeDefinitionTypeDef]],
2742
- "BillingMode": NotRequired[BillingModeType],
2743
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2744
- "GlobalSecondaryIndexUpdates": NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],
2745
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2746
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2747
- "ReplicaUpdates": NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],
2748
- "TableClass": NotRequired[TableClassType],
2749
- "DeletionProtectionEnabled": NotRequired[bool],
2750
- "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2751
- },
2752
- )
2753
- DescribeImportOutputTypeDef = TypedDict(
2754
- "DescribeImportOutputTypeDef",
2755
- {
2756
- "ImportTableDescription": ImportTableDescriptionTypeDef,
2757
- "ResponseMetadata": ResponseMetadataTypeDef,
2758
- },
2759
- )
2760
- ImportTableOutputTypeDef = TypedDict(
2761
- "ImportTableOutputTypeDef",
2762
- {
2763
- "ImportTableDescription": ImportTableDescriptionTypeDef,
2764
- "ResponseMetadata": ResponseMetadataTypeDef,
2765
- },
2766
- )
2767
- DeleteBackupOutputTypeDef = TypedDict(
2768
- "DeleteBackupOutputTypeDef",
2769
- {
2770
- "BackupDescription": BackupDescriptionTypeDef,
2771
- "ResponseMetadata": ResponseMetadataTypeDef,
2772
- },
2773
- )
2774
- DescribeBackupOutputTypeDef = TypedDict(
2775
- "DescribeBackupOutputTypeDef",
2776
- {
2777
- "BackupDescription": BackupDescriptionTypeDef,
2778
- "ResponseMetadata": ResponseMetadataTypeDef,
2779
- },
2780
- )
2781
- BatchWriteItemInputRequestTypeDef = TypedDict(
2782
- "BatchWriteItemInputRequestTypeDef",
2783
- {
2784
- "RequestItems": Mapping[str, Sequence[WriteRequestUnionTypeDef]],
2785
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2786
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2787
- },
2788
- )
2789
- TableAutoScalingDescriptionTypeDef = TypedDict(
2790
- "TableAutoScalingDescriptionTypeDef",
2791
- {
2792
- "TableName": NotRequired[str],
2793
- "TableStatus": NotRequired[TableStatusType],
2794
- "Replicas": NotRequired[List[ReplicaAutoScalingDescriptionTypeDef]],
2795
- },
2796
- )
2797
- DescribeGlobalTableSettingsOutputTypeDef = TypedDict(
2798
- "DescribeGlobalTableSettingsOutputTypeDef",
2799
- {
2800
- "GlobalTableName": str,
2801
- "ReplicaSettings": List[ReplicaSettingsDescriptionTypeDef],
2802
- "ResponseMetadata": ResponseMetadataTypeDef,
2803
- },
2804
- )
2805
- UpdateGlobalTableSettingsOutputTypeDef = TypedDict(
2806
- "UpdateGlobalTableSettingsOutputTypeDef",
2807
- {
2808
- "GlobalTableName": str,
2809
- "ReplicaSettings": List[ReplicaSettingsDescriptionTypeDef],
2810
- "ResponseMetadata": ResponseMetadataTypeDef,
2811
- },
2812
- )
2813
- UpdateTableReplicaAutoScalingInputRequestTypeDef = TypedDict(
2814
- "UpdateTableReplicaAutoScalingInputRequestTypeDef",
2815
- {
2816
- "TableName": str,
2817
- "GlobalSecondaryIndexUpdates": NotRequired[
2818
- Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef]
2819
- ],
2820
- "ProvisionedWriteCapacityAutoScalingUpdate": NotRequired[AutoScalingSettingsUpdateTypeDef],
2821
- "ReplicaUpdates": NotRequired[Sequence[ReplicaAutoScalingUpdateTypeDef]],
2822
- },
2823
- )
2824
- UpdateGlobalTableSettingsInputRequestTypeDef = TypedDict(
2825
- "UpdateGlobalTableSettingsInputRequestTypeDef",
2826
- {
2827
- "GlobalTableName": str,
2828
- "GlobalTableBillingMode": NotRequired[BillingModeType],
2829
- "GlobalTableProvisionedWriteCapacityUnits": NotRequired[int],
2830
- "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate": NotRequired[
2831
- AutoScalingSettingsUpdateTypeDef
2832
- ],
2833
- "GlobalTableGlobalSecondaryIndexSettingsUpdate": NotRequired[
2834
- Sequence[GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef]
2835
- ],
2836
- "ReplicaSettingsUpdate": NotRequired[Sequence[ReplicaSettingsUpdateTypeDef]],
2837
- },
2838
- )
2839
- DescribeTableReplicaAutoScalingOutputTypeDef = TypedDict(
2840
- "DescribeTableReplicaAutoScalingOutputTypeDef",
2841
- {
2842
- "TableAutoScalingDescription": TableAutoScalingDescriptionTypeDef,
2843
- "ResponseMetadata": ResponseMetadataTypeDef,
2844
- },
2845
- )
2846
- UpdateTableReplicaAutoScalingOutputTypeDef = TypedDict(
2847
- "UpdateTableReplicaAutoScalingOutputTypeDef",
2848
- {
2849
- "TableAutoScalingDescription": TableAutoScalingDescriptionTypeDef,
2850
- "ResponseMetadata": ResponseMetadataTypeDef,
2851
- },
2852
- )
2208
+
2209
+
2210
+ class CreateGlobalTableOutputTypeDef(TypedDict):
2211
+ GlobalTableDescription: GlobalTableDescriptionTypeDef
2212
+ ResponseMetadata: ResponseMetadataTypeDef
2213
+
2214
+
2215
+ class DescribeGlobalTableOutputTypeDef(TypedDict):
2216
+ GlobalTableDescription: GlobalTableDescriptionTypeDef
2217
+ ResponseMetadata: ResponseMetadataTypeDef
2218
+
2219
+
2220
+ class UpdateGlobalTableOutputTypeDef(TypedDict):
2221
+ GlobalTableDescription: GlobalTableDescriptionTypeDef
2222
+ ResponseMetadata: ResponseMetadataTypeDef
2223
+
2224
+
2225
+ class CreateTableOutputTypeDef(TypedDict):
2226
+ TableDescription: TableDescriptionTypeDef
2227
+ ResponseMetadata: ResponseMetadataTypeDef
2228
+
2229
+
2230
+ class DeleteTableOutputTypeDef(TypedDict):
2231
+ TableDescription: TableDescriptionTypeDef
2232
+ ResponseMetadata: ResponseMetadataTypeDef
2233
+
2234
+
2235
+ class DescribeTableOutputTypeDef(TypedDict):
2236
+ Table: TableDescriptionTypeDef
2237
+ ResponseMetadata: ResponseMetadataTypeDef
2238
+
2239
+
2240
+ class RestoreTableFromBackupOutputTypeDef(TypedDict):
2241
+ TableDescription: TableDescriptionTypeDef
2242
+ ResponseMetadata: ResponseMetadataTypeDef
2243
+
2244
+
2245
+ class RestoreTableToPointInTimeOutputTypeDef(TypedDict):
2246
+ TableDescription: TableDescriptionTypeDef
2247
+ ResponseMetadata: ResponseMetadataTypeDef
2248
+
2249
+
2250
+ class UpdateTableOutputTypeDef(TypedDict):
2251
+ TableDescription: TableDescriptionTypeDef
2252
+ ResponseMetadata: ResponseMetadataTypeDef
2253
+
2254
+
2255
+ class DescribeImportOutputTypeDef(TypedDict):
2256
+ ImportTableDescription: ImportTableDescriptionTypeDef
2257
+ ResponseMetadata: ResponseMetadataTypeDef
2258
+
2259
+
2260
+ class ImportTableOutputTypeDef(TypedDict):
2261
+ ImportTableDescription: ImportTableDescriptionTypeDef
2262
+ ResponseMetadata: ResponseMetadataTypeDef
2263
+
2264
+
2265
+ class DeleteBackupOutputTypeDef(TypedDict):
2266
+ BackupDescription: BackupDescriptionTypeDef
2267
+ ResponseMetadata: ResponseMetadataTypeDef
2268
+
2269
+
2270
+ class DescribeBackupOutputTypeDef(TypedDict):
2271
+ BackupDescription: BackupDescriptionTypeDef
2272
+ ResponseMetadata: ResponseMetadataTypeDef
2273
+
2274
+
2275
+ class ImportTableInputRequestTypeDef(TypedDict):
2276
+ S3BucketSource: S3BucketSourceTypeDef
2277
+ InputFormat: InputFormatType
2278
+ TableCreationParameters: TableCreationParametersTypeDef
2279
+ ClientToken: NotRequired[str]
2280
+ InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
2281
+ InputCompressionType: NotRequired[InputCompressionTypeType]
2282
+
2283
+
2284
+ class UpdateTableInputRequestTypeDef(TypedDict):
2285
+ TableName: str
2286
+ AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
2287
+ BillingMode: NotRequired[BillingModeType]
2288
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2289
+ GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]]
2290
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
2291
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2292
+ ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
2293
+ TableClass: NotRequired[TableClassType]
2294
+ DeletionProtectionEnabled: NotRequired[bool]
2295
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2296
+
2297
+
2298
+ class UpdateTableInputTableUpdateTypeDef(TypedDict):
2299
+ AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
2300
+ BillingMode: NotRequired[BillingModeType]
2301
+ ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
2302
+ GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]]
2303
+ StreamSpecification: NotRequired[StreamSpecificationTypeDef]
2304
+ SSESpecification: NotRequired[SSESpecificationTypeDef]
2305
+ ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
2306
+ TableClass: NotRequired[TableClassType]
2307
+ DeletionProtectionEnabled: NotRequired[bool]
2308
+ OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
2309
+
2310
+
2311
+ WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2312
+
2313
+
2314
+ class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
2315
+ RequestItems: Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]]
2316
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2317
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
2318
+
2319
+
2320
+ class TableAutoScalingDescriptionTypeDef(TypedDict):
2321
+ TableName: NotRequired[str]
2322
+ TableStatus: NotRequired[TableStatusType]
2323
+ Replicas: NotRequired[List[ReplicaAutoScalingDescriptionTypeDef]]
2324
+
2325
+
2326
+ class DescribeGlobalTableSettingsOutputTypeDef(TypedDict):
2327
+ GlobalTableName: str
2328
+ ReplicaSettings: List[ReplicaSettingsDescriptionTypeDef]
2329
+ ResponseMetadata: ResponseMetadataTypeDef
2330
+
2331
+
2332
+ class UpdateGlobalTableSettingsOutputTypeDef(TypedDict):
2333
+ GlobalTableName: str
2334
+ ReplicaSettings: List[ReplicaSettingsDescriptionTypeDef]
2335
+ ResponseMetadata: ResponseMetadataTypeDef
2336
+
2337
+
2338
+ class UpdateTableReplicaAutoScalingInputRequestTypeDef(TypedDict):
2339
+ TableName: str
2340
+ GlobalSecondaryIndexUpdates: NotRequired[Sequence[GlobalSecondaryIndexAutoScalingUpdateTypeDef]]
2341
+ ProvisionedWriteCapacityAutoScalingUpdate: NotRequired[AutoScalingSettingsUpdateTypeDef]
2342
+ ReplicaUpdates: NotRequired[Sequence[ReplicaAutoScalingUpdateTypeDef]]
2343
+
2344
+
2345
+ class UpdateGlobalTableSettingsInputRequestTypeDef(TypedDict):
2346
+ GlobalTableName: str
2347
+ GlobalTableBillingMode: NotRequired[BillingModeType]
2348
+ GlobalTableProvisionedWriteCapacityUnits: NotRequired[int]
2349
+ GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: NotRequired[
2350
+ AutoScalingSettingsUpdateTypeDef
2351
+ ]
2352
+ GlobalTableGlobalSecondaryIndexSettingsUpdate: NotRequired[
2353
+ Sequence[GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef]
2354
+ ]
2355
+ ReplicaSettingsUpdate: NotRequired[Sequence[ReplicaSettingsUpdateTypeDef]]
2356
+
2357
+
2358
+ class BatchWriteItemInputRequestTypeDef(TypedDict):
2359
+ RequestItems: Mapping[str, Sequence[WriteRequestUnionTypeDef]]
2360
+ ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
2361
+ ReturnItemCollectionMetrics: NotRequired[ReturnItemCollectionMetricsType]
2362
+
2363
+
2364
+ class DescribeTableReplicaAutoScalingOutputTypeDef(TypedDict):
2365
+ TableAutoScalingDescription: TableAutoScalingDescriptionTypeDef
2366
+ ResponseMetadata: ResponseMetadataTypeDef
2367
+
2368
+
2369
+ class UpdateTableReplicaAutoScalingOutputTypeDef(TypedDict):
2370
+ TableAutoScalingDescription: TableAutoScalingDescriptionTypeDef
2371
+ ResponseMetadata: ResponseMetadataTypeDef