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

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