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