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