mypy-boto3-dynamodb 1.34.67__py3-none-any.whl → 1.34.91__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.
@@ -87,15 +87,15 @@ __all__ = (
87
87
  "ContributorInsightsSummaryTypeDef",
88
88
  "CreateBackupInputRequestTypeDef",
89
89
  "KeySchemaElementTypeDef",
90
- "ProjectionTableTypeDef",
91
- "ProvisionedThroughputTypeDef",
92
90
  "ProjectionTypeDef",
91
+ "ProvisionedThroughputTypeDef",
93
92
  "ReplicaTypeDef",
94
93
  "CreateReplicaActionTypeDef",
95
94
  "ProvisionedThroughputOverrideTypeDef",
96
95
  "SSESpecificationTypeDef",
97
96
  "StreamSpecificationTypeDef",
98
97
  "TagTypeDef",
98
+ "CsvOptionsOutputTypeDef",
99
99
  "CsvOptionsTypeDef",
100
100
  "DeleteBackupInputRequestTypeDef",
101
101
  "DeleteGlobalSecondaryIndexActionTypeDef",
@@ -120,11 +120,13 @@ __all__ = (
120
120
  "DescribeTimeToLiveInputRequestTypeDef",
121
121
  "TimeToLiveDescriptionTypeDef",
122
122
  "EnableKinesisStreamingConfigurationTypeDef",
123
- "IncrementalExportSpecificationTypeDef",
123
+ "IncrementalExportSpecificationOutputTypeDef",
124
124
  "ExportSummaryTypeDef",
125
125
  "TimestampTypeDef",
126
126
  "GetResourcePolicyInputRequestTypeDef",
127
+ "ProjectionExtraOutputTypeDef",
127
128
  "ProvisionedThroughputDescriptionTypeDef",
129
+ "ProjectionOutputTypeDef",
128
130
  "S3BucketSourceTypeDef",
129
131
  "PaginatorConfigTypeDef",
130
132
  "ListContributorInsightsInputRequestTypeDef",
@@ -158,17 +160,23 @@ __all__ = (
158
160
  "TableClassSummaryResponseTypeDef",
159
161
  "UpdateContributorInsightsOutputTypeDef",
160
162
  "BatchStatementErrorTypeDef",
163
+ "DeleteRequestOutputTypeDef",
161
164
  "ItemCollectionMetricsTypeDef",
162
165
  "ItemResponseTypeDef",
166
+ "KeysAndAttributesOutputTypeDef",
167
+ "PutRequestOutputTypeDef",
163
168
  "UniversalAttributeValueTypeDef",
164
169
  "AttributeValueUpdateTableTypeDef",
165
170
  "ConditionTableTypeDef",
171
+ "DeleteRequestServiceResourceOutputTypeDef",
166
172
  "DeleteRequestServiceResourceTypeDef",
167
173
  "ExpectedAttributeValueTableTypeDef",
168
174
  "GetItemInputTableGetItemTypeDef",
169
175
  "ItemCollectionMetricsServiceResourceTypeDef",
170
176
  "ItemCollectionMetricsTableTypeDef",
177
+ "KeysAndAttributesServiceResourceOutputTypeDef",
171
178
  "KeysAndAttributesServiceResourceTypeDef",
179
+ "PutRequestServiceResourceOutputTypeDef",
172
180
  "PutRequestServiceResourceTypeDef",
173
181
  "AutoScalingPolicyDescriptionTypeDef",
174
182
  "AutoScalingPolicyUpdateTypeDef",
@@ -177,22 +185,18 @@ __all__ = (
177
185
  "ConsumedCapacityTypeDef",
178
186
  "ContinuousBackupsDescriptionTypeDef",
179
187
  "ListContributorInsightsOutputTypeDef",
180
- "LocalSecondaryIndexDescriptionTableTypeDef",
181
- "CreateGlobalSecondaryIndexActionTableTypeDef",
182
- "SourceTableDetailsTypeDef",
183
- "UpdateGlobalSecondaryIndexActionTypeDef",
188
+ "LocalSecondaryIndexTypeDef",
184
189
  "CreateGlobalSecondaryIndexActionTypeDef",
185
- "GlobalSecondaryIndexInfoTypeDef",
186
190
  "GlobalSecondaryIndexTypeDef",
187
- "LocalSecondaryIndexDescriptionTypeDef",
188
- "LocalSecondaryIndexInfoTypeDef",
189
- "LocalSecondaryIndexTypeDef",
191
+ "SourceTableDetailsTypeDef",
192
+ "UpdateGlobalSecondaryIndexActionTypeDef",
190
193
  "CreateGlobalTableInputRequestTypeDef",
191
194
  "GlobalTableTypeDef",
192
195
  "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
193
196
  "ReplicaGlobalSecondaryIndexTypeDef",
194
197
  "ListTagsOfResourceOutputTypeDef",
195
198
  "TagResourceInputRequestTypeDef",
199
+ "InputFormatOptionsOutputTypeDef",
196
200
  "InputFormatOptionsTypeDef",
197
201
  "ReplicaUpdateTypeDef",
198
202
  "DescribeContributorInsightsOutputTypeDef",
@@ -205,10 +209,13 @@ __all__ = (
205
209
  "KinesisStreamingDestinationOutputTypeDef",
206
210
  "ExportDescriptionTypeDef",
207
211
  "ListExportsOutputTypeDef",
208
- "ExportTableToPointInTimeInputRequestTypeDef",
212
+ "IncrementalExportSpecificationTypeDef",
209
213
  "ListBackupsInputRequestTypeDef",
210
- "GlobalSecondaryIndexDescriptionTableTypeDef",
214
+ "LocalSecondaryIndexDescriptionTypeDef",
211
215
  "GlobalSecondaryIndexDescriptionTypeDef",
216
+ "GlobalSecondaryIndexInfoTypeDef",
217
+ "GlobalSecondaryIndexOutputTypeDef",
218
+ "LocalSecondaryIndexInfoTypeDef",
212
219
  "ImportSummaryTypeDef",
213
220
  "ListBackupsInputListBackupsPaginateTypeDef",
214
221
  "ListTablesInputListTablesPaginateTypeDef",
@@ -219,6 +226,7 @@ __all__ = (
219
226
  "UpdateKinesisStreamingDestinationInputRequestTypeDef",
220
227
  "UpdateKinesisStreamingDestinationOutputTypeDef",
221
228
  "BatchStatementResponseTypeDef",
229
+ "WriteRequestOutputTypeDef",
222
230
  "AttributeValueUpdateTypeDef",
223
231
  "BatchStatementRequestTypeDef",
224
232
  "ConditionCheckTypeDef",
@@ -239,11 +247,13 @@ __all__ = (
239
247
  "DeleteItemInputTableDeleteItemTypeDef",
240
248
  "PutItemInputTablePutItemTypeDef",
241
249
  "UpdateItemInputTableUpdateItemTypeDef",
242
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
250
+ "KeysAndAttributesServiceResourceUnionTypeDef",
251
+ "WriteRequestServiceResourceOutputTypeDef",
243
252
  "WriteRequestServiceResourceTypeDef",
244
253
  "AutoScalingSettingsDescriptionTypeDef",
245
254
  "AutoScalingSettingsUpdateTypeDef",
246
255
  "BatchGetItemOutputServiceResourceTypeDef",
256
+ "BatchGetItemOutputTypeDef",
247
257
  "DeleteItemOutputTableTypeDef",
248
258
  "DeleteItemOutputTypeDef",
249
259
  "ExecuteStatementOutputTypeDef",
@@ -262,23 +272,24 @@ __all__ = (
262
272
  "UpdateItemOutputTypeDef",
263
273
  "DescribeContinuousBackupsOutputTypeDef",
264
274
  "UpdateContinuousBackupsOutputTypeDef",
265
- "GlobalSecondaryIndexUpdateTableTypeDef",
266
- "GlobalSecondaryIndexUpdateTypeDef",
267
275
  "TableCreationParametersTypeDef",
268
- "SourceTableFeatureDetailsTypeDef",
269
- "CreateTableInputRequestTypeDef",
270
- "CreateTableInputServiceResourceCreateTableTypeDef",
271
- "RestoreTableFromBackupInputRequestTypeDef",
272
- "RestoreTableToPointInTimeInputRequestTypeDef",
276
+ "GlobalSecondaryIndexUpdateTypeDef",
273
277
  "ListGlobalTablesOutputTypeDef",
274
278
  "ReplicaDescriptionTypeDef",
275
279
  "CreateReplicationGroupMemberActionTypeDef",
276
280
  "UpdateReplicationGroupMemberActionTypeDef",
281
+ "InputFormatOptionsUnionTypeDef",
277
282
  "UpdateGlobalTableInputRequestTypeDef",
278
283
  "DescribeExportOutputTypeDef",
279
284
  "ExportTableToPointInTimeOutputTypeDef",
285
+ "ExportTableToPointInTimeInputRequestTypeDef",
286
+ "IncrementalExportSpecificationUnionTypeDef",
287
+ "GlobalSecondaryIndexUnionTypeDef",
288
+ "TableCreationParametersOutputTypeDef",
289
+ "SourceTableFeatureDetailsTypeDef",
280
290
  "ListImportsOutputTypeDef",
281
291
  "BatchExecuteStatementOutputTypeDef",
292
+ "BatchWriteItemOutputTypeDef",
282
293
  "BatchExecuteStatementInputRequestTypeDef",
283
294
  "QueryInputQueryPaginateTypeDef",
284
295
  "QueryInputRequestTypeDef",
@@ -288,42 +299,42 @@ __all__ = (
288
299
  "PutItemInputRequestTypeDef",
289
300
  "UpdateItemInputRequestTypeDef",
290
301
  "TransactGetItemTypeDef",
291
- "BatchGetItemInputRequestTypeDef",
292
- "BatchGetItemOutputTypeDef",
302
+ "KeysAndAttributesUnionTypeDef",
293
303
  "ExecuteTransactionInputRequestTypeDef",
294
304
  "WriteRequestTypeDef",
295
305
  "TransactWriteItemTypeDef",
296
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
306
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
297
307
  "BatchWriteItemOutputServiceResourceTypeDef",
308
+ "WriteRequestServiceResourceUnionTypeDef",
298
309
  "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
299
310
  "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
300
311
  "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
301
312
  "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
302
313
  "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
303
314
  "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
304
- "ImportTableDescriptionTypeDef",
305
315
  "ImportTableInputRequestTypeDef",
306
- "BackupDescriptionTypeDef",
307
316
  "GlobalTableDescriptionTypeDef",
308
- "TableDescriptionTableTypeDef",
309
317
  "TableDescriptionTypeDef",
310
318
  "ReplicationGroupUpdateTypeDef",
319
+ "CreateTableInputRequestTypeDef",
320
+ "CreateTableInputServiceResourceCreateTableTypeDef",
321
+ "RestoreTableFromBackupInputRequestTypeDef",
322
+ "RestoreTableToPointInTimeInputRequestTypeDef",
323
+ "ImportTableDescriptionTypeDef",
324
+ "TableCreationParametersUnionTypeDef",
325
+ "BackupDescriptionTypeDef",
311
326
  "TransactGetItemsInputRequestTypeDef",
312
- "BatchWriteItemInputRequestTypeDef",
313
- "BatchWriteItemOutputTypeDef",
327
+ "BatchGetItemInputRequestTypeDef",
328
+ "WriteRequestUnionTypeDef",
314
329
  "TransactWriteItemsInputRequestTypeDef",
330
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
315
331
  "ReplicaAutoScalingDescriptionTypeDef",
316
332
  "ReplicaSettingsDescriptionTypeDef",
317
333
  "ReplicaAutoScalingUpdateTypeDef",
318
334
  "ReplicaSettingsUpdateTypeDef",
319
- "DescribeImportOutputTypeDef",
320
- "ImportTableOutputTypeDef",
321
- "DeleteBackupOutputTypeDef",
322
- "DescribeBackupOutputTypeDef",
323
335
  "CreateGlobalTableOutputTypeDef",
324
336
  "DescribeGlobalTableOutputTypeDef",
325
337
  "UpdateGlobalTableOutputTypeDef",
326
- "DeleteTableOutputTableTypeDef",
327
338
  "CreateTableOutputTypeDef",
328
339
  "DeleteTableOutputTypeDef",
329
340
  "DescribeTableOutputTypeDef",
@@ -332,6 +343,11 @@ __all__ = (
332
343
  "UpdateTableOutputTypeDef",
333
344
  "UpdateTableInputRequestTypeDef",
334
345
  "UpdateTableInputTableUpdateTypeDef",
346
+ "DescribeImportOutputTypeDef",
347
+ "ImportTableOutputTypeDef",
348
+ "DeleteBackupOutputTypeDef",
349
+ "DescribeBackupOutputTypeDef",
350
+ "BatchWriteItemInputRequestTypeDef",
335
351
  "TableAutoScalingDescriptionTypeDef",
336
352
  "DescribeGlobalTableSettingsOutputTypeDef",
337
353
  "UpdateGlobalTableSettingsOutputTypeDef",
@@ -488,11 +504,11 @@ KeySchemaElementTypeDef = TypedDict(
488
504
  "KeyType": KeyTypeType,
489
505
  },
490
506
  )
491
- ProjectionTableTypeDef = TypedDict(
492
- "ProjectionTableTypeDef",
507
+ ProjectionTypeDef = TypedDict(
508
+ "ProjectionTypeDef",
493
509
  {
494
510
  "ProjectionType": NotRequired[ProjectionTypeType],
495
- "NonKeyAttributes": NotRequired[List[str]],
511
+ "NonKeyAttributes": NotRequired[Sequence[str]],
496
512
  },
497
513
  )
498
514
  ProvisionedThroughputTypeDef = TypedDict(
@@ -502,13 +518,6 @@ ProvisionedThroughputTypeDef = TypedDict(
502
518
  "WriteCapacityUnits": int,
503
519
  },
504
520
  )
505
- ProjectionTypeDef = TypedDict(
506
- "ProjectionTypeDef",
507
- {
508
- "ProjectionType": NotRequired[ProjectionTypeType],
509
- "NonKeyAttributes": NotRequired[Sequence[str]],
510
- },
511
- )
512
521
  ReplicaTypeDef = TypedDict(
513
522
  "ReplicaTypeDef",
514
523
  {
@@ -549,11 +558,18 @@ TagTypeDef = TypedDict(
549
558
  "Value": str,
550
559
  },
551
560
  )
561
+ CsvOptionsOutputTypeDef = TypedDict(
562
+ "CsvOptionsOutputTypeDef",
563
+ {
564
+ "Delimiter": NotRequired[str],
565
+ "HeaderList": NotRequired[List[str]],
566
+ },
567
+ )
552
568
  CsvOptionsTypeDef = TypedDict(
553
569
  "CsvOptionsTypeDef",
554
570
  {
555
571
  "Delimiter": NotRequired[str],
556
- "HeaderList": NotRequired[List[str]],
572
+ "HeaderList": NotRequired[Sequence[str]],
557
573
  },
558
574
  )
559
575
  DeleteBackupInputRequestTypeDef = TypedDict(
@@ -707,8 +723,8 @@ EnableKinesisStreamingConfigurationTypeDef = TypedDict(
707
723
  ],
708
724
  },
709
725
  )
710
- IncrementalExportSpecificationTypeDef = TypedDict(
711
- "IncrementalExportSpecificationTypeDef",
726
+ IncrementalExportSpecificationOutputTypeDef = TypedDict(
727
+ "IncrementalExportSpecificationOutputTypeDef",
712
728
  {
713
729
  "ExportFromTime": NotRequired[datetime],
714
730
  "ExportToTime": NotRequired[datetime],
@@ -730,6 +746,13 @@ GetResourcePolicyInputRequestTypeDef = TypedDict(
730
746
  "ResourceArn": str,
731
747
  },
732
748
  )
749
+ ProjectionExtraOutputTypeDef = TypedDict(
750
+ "ProjectionExtraOutputTypeDef",
751
+ {
752
+ "ProjectionType": NotRequired[ProjectionTypeType],
753
+ "NonKeyAttributes": NotRequired[List[str]],
754
+ },
755
+ )
733
756
  ProvisionedThroughputDescriptionTypeDef = TypedDict(
734
757
  "ProvisionedThroughputDescriptionTypeDef",
735
758
  {
@@ -740,6 +763,13 @@ ProvisionedThroughputDescriptionTypeDef = TypedDict(
740
763
  "WriteCapacityUnits": NotRequired[int],
741
764
  },
742
765
  )
766
+ ProjectionOutputTypeDef = TypedDict(
767
+ "ProjectionOutputTypeDef",
768
+ {
769
+ "ProjectionType": NotRequired[ProjectionTypeType],
770
+ "NonKeyAttributes": NotRequired[List[str]],
771
+ },
772
+ )
743
773
  S3BucketSourceTypeDef = TypedDict(
744
774
  "S3BucketSourceTypeDef",
745
775
  {
@@ -1005,6 +1035,12 @@ BatchStatementErrorTypeDef = TypedDict(
1005
1035
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1006
1036
  },
1007
1037
  )
1038
+ DeleteRequestOutputTypeDef = TypedDict(
1039
+ "DeleteRequestOutputTypeDef",
1040
+ {
1041
+ "Key": Dict[str, AttributeValueTypeDef],
1042
+ },
1043
+ )
1008
1044
  ItemCollectionMetricsTypeDef = TypedDict(
1009
1045
  "ItemCollectionMetricsTypeDef",
1010
1046
  {
@@ -1018,6 +1054,22 @@ ItemResponseTypeDef = TypedDict(
1018
1054
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1019
1055
  },
1020
1056
  )
1057
+ KeysAndAttributesOutputTypeDef = TypedDict(
1058
+ "KeysAndAttributesOutputTypeDef",
1059
+ {
1060
+ "Keys": List[Dict[str, AttributeValueTypeDef]],
1061
+ "AttributesToGet": NotRequired[List[str]],
1062
+ "ConsistentRead": NotRequired[bool],
1063
+ "ProjectionExpression": NotRequired[str],
1064
+ "ExpressionAttributeNames": NotRequired[Dict[str, str]],
1065
+ },
1066
+ )
1067
+ PutRequestOutputTypeDef = TypedDict(
1068
+ "PutRequestOutputTypeDef",
1069
+ {
1070
+ "Item": Dict[str, AttributeValueTypeDef],
1071
+ },
1072
+ )
1021
1073
  UniversalAttributeValueTypeDef = Union[
1022
1074
  AttributeValueTypeDef,
1023
1075
  bytes,
@@ -1049,6 +1101,12 @@ ConditionTableTypeDef = TypedDict(
1049
1101
  "AttributeValueList": NotRequired[Sequence[TableAttributeValueTypeDef]],
1050
1102
  },
1051
1103
  )
1104
+ DeleteRequestServiceResourceOutputTypeDef = TypedDict(
1105
+ "DeleteRequestServiceResourceOutputTypeDef",
1106
+ {
1107
+ "Key": Dict[str, TableAttributeValueTypeDef],
1108
+ },
1109
+ )
1052
1110
  DeleteRequestServiceResourceTypeDef = TypedDict(
1053
1111
  "DeleteRequestServiceResourceTypeDef",
1054
1112
  {
@@ -1089,6 +1147,16 @@ ItemCollectionMetricsTableTypeDef = TypedDict(
1089
1147
  "SizeEstimateRangeGB": NotRequired[List[float]],
1090
1148
  },
1091
1149
  )
1150
+ KeysAndAttributesServiceResourceOutputTypeDef = TypedDict(
1151
+ "KeysAndAttributesServiceResourceOutputTypeDef",
1152
+ {
1153
+ "Keys": List[Dict[str, TableAttributeValueTypeDef]],
1154
+ "AttributesToGet": NotRequired[List[str]],
1155
+ "ConsistentRead": NotRequired[bool],
1156
+ "ProjectionExpression": NotRequired[str],
1157
+ "ExpressionAttributeNames": NotRequired[Dict[str, str]],
1158
+ },
1159
+ )
1092
1160
  KeysAndAttributesServiceResourceTypeDef = TypedDict(
1093
1161
  "KeysAndAttributesServiceResourceTypeDef",
1094
1162
  {
@@ -1099,6 +1167,12 @@ KeysAndAttributesServiceResourceTypeDef = TypedDict(
1099
1167
  "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1100
1168
  },
1101
1169
  )
1170
+ PutRequestServiceResourceOutputTypeDef = TypedDict(
1171
+ "PutRequestServiceResourceOutputTypeDef",
1172
+ {
1173
+ "Item": Dict[str, TableAttributeValueTypeDef],
1174
+ },
1175
+ )
1102
1176
  PutRequestServiceResourceTypeDef = TypedDict(
1103
1177
  "PutRequestServiceResourceTypeDef",
1104
1178
  {
@@ -1159,49 +1233,16 @@ ListContributorInsightsOutputTypeDef = TypedDict(
1159
1233
  "ListContributorInsightsOutputTypeDef",
1160
1234
  {
1161
1235
  "ContributorInsightsSummaries": List[ContributorInsightsSummaryTypeDef],
1162
- "NextToken": str,
1163
1236
  "ResponseMetadata": ResponseMetadataTypeDef,
1237
+ "NextToken": NotRequired[str],
1164
1238
  },
1165
1239
  )
1166
- LocalSecondaryIndexDescriptionTableTypeDef = TypedDict(
1167
- "LocalSecondaryIndexDescriptionTableTypeDef",
1168
- {
1169
- "IndexName": NotRequired[str],
1170
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1171
- "Projection": NotRequired[ProjectionTableTypeDef],
1172
- "IndexSizeBytes": NotRequired[int],
1173
- "ItemCount": NotRequired[int],
1174
- "IndexArn": NotRequired[str],
1175
- },
1176
- )
1177
- CreateGlobalSecondaryIndexActionTableTypeDef = TypedDict(
1178
- "CreateGlobalSecondaryIndexActionTableTypeDef",
1240
+ LocalSecondaryIndexTypeDef = TypedDict(
1241
+ "LocalSecondaryIndexTypeDef",
1179
1242
  {
1180
1243
  "IndexName": str,
1181
1244
  "KeySchema": Sequence[KeySchemaElementTypeDef],
1182
- "Projection": ProjectionTableTypeDef,
1183
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1184
- },
1185
- )
1186
- SourceTableDetailsTypeDef = TypedDict(
1187
- "SourceTableDetailsTypeDef",
1188
- {
1189
- "TableName": str,
1190
- "TableId": str,
1191
- "KeySchema": List[KeySchemaElementTypeDef],
1192
- "TableCreationDateTime": datetime,
1193
- "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1194
- "TableArn": NotRequired[str],
1195
- "TableSizeBytes": NotRequired[int],
1196
- "ItemCount": NotRequired[int],
1197
- "BillingMode": NotRequired[BillingModeType],
1198
- },
1199
- )
1200
- UpdateGlobalSecondaryIndexActionTypeDef = TypedDict(
1201
- "UpdateGlobalSecondaryIndexActionTypeDef",
1202
- {
1203
- "IndexName": str,
1204
- "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1245
+ "Projection": ProjectionTypeDef,
1205
1246
  },
1206
1247
  )
1207
1248
  CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
@@ -1213,15 +1254,6 @@ CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
1213
1254
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1214
1255
  },
1215
1256
  )
1216
- GlobalSecondaryIndexInfoTypeDef = TypedDict(
1217
- "GlobalSecondaryIndexInfoTypeDef",
1218
- {
1219
- "IndexName": NotRequired[str],
1220
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1221
- "Projection": NotRequired[ProjectionTypeDef],
1222
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1223
- },
1224
- )
1225
1257
  GlobalSecondaryIndexTypeDef = TypedDict(
1226
1258
  "GlobalSecondaryIndexTypeDef",
1227
1259
  {
@@ -1231,31 +1263,25 @@ GlobalSecondaryIndexTypeDef = TypedDict(
1231
1263
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1232
1264
  },
1233
1265
  )
1234
- LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1235
- "LocalSecondaryIndexDescriptionTypeDef",
1266
+ SourceTableDetailsTypeDef = TypedDict(
1267
+ "SourceTableDetailsTypeDef",
1236
1268
  {
1237
- "IndexName": NotRequired[str],
1238
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1239
- "Projection": NotRequired[ProjectionTypeDef],
1240
- "IndexSizeBytes": NotRequired[int],
1269
+ "TableName": str,
1270
+ "TableId": str,
1271
+ "KeySchema": List[KeySchemaElementTypeDef],
1272
+ "TableCreationDateTime": datetime,
1273
+ "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1274
+ "TableArn": NotRequired[str],
1275
+ "TableSizeBytes": NotRequired[int],
1241
1276
  "ItemCount": NotRequired[int],
1242
- "IndexArn": NotRequired[str],
1243
- },
1244
- )
1245
- LocalSecondaryIndexInfoTypeDef = TypedDict(
1246
- "LocalSecondaryIndexInfoTypeDef",
1247
- {
1248
- "IndexName": NotRequired[str],
1249
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1250
- "Projection": NotRequired[ProjectionTypeDef],
1277
+ "BillingMode": NotRequired[BillingModeType],
1251
1278
  },
1252
1279
  )
1253
- LocalSecondaryIndexTypeDef = TypedDict(
1254
- "LocalSecondaryIndexTypeDef",
1280
+ UpdateGlobalSecondaryIndexActionTypeDef = TypedDict(
1281
+ "UpdateGlobalSecondaryIndexActionTypeDef",
1255
1282
  {
1256
1283
  "IndexName": str,
1257
- "KeySchema": Sequence[KeySchemaElementTypeDef],
1258
- "Projection": ProjectionTypeDef,
1284
+ "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1259
1285
  },
1260
1286
  )
1261
1287
  CreateGlobalTableInputRequestTypeDef = TypedDict(
@@ -1290,8 +1316,8 @@ ListTagsOfResourceOutputTypeDef = TypedDict(
1290
1316
  "ListTagsOfResourceOutputTypeDef",
1291
1317
  {
1292
1318
  "Tags": List[TagTypeDef],
1293
- "NextToken": str,
1294
1319
  "ResponseMetadata": ResponseMetadataTypeDef,
1320
+ "NextToken": NotRequired[str],
1295
1321
  },
1296
1322
  )
1297
1323
  TagResourceInputRequestTypeDef = TypedDict(
@@ -1301,6 +1327,12 @@ TagResourceInputRequestTypeDef = TypedDict(
1301
1327
  "Tags": Sequence[TagTypeDef],
1302
1328
  },
1303
1329
  )
1330
+ InputFormatOptionsOutputTypeDef = TypedDict(
1331
+ "InputFormatOptionsOutputTypeDef",
1332
+ {
1333
+ "Csv": NotRequired[CsvOptionsOutputTypeDef],
1334
+ },
1335
+ )
1304
1336
  InputFormatOptionsTypeDef = TypedDict(
1305
1337
  "InputFormatOptionsTypeDef",
1306
1338
  {
@@ -1405,31 +1437,23 @@ ExportDescriptionTypeDef = TypedDict(
1405
1437
  "BilledSizeBytes": NotRequired[int],
1406
1438
  "ItemCount": NotRequired[int],
1407
1439
  "ExportType": NotRequired[ExportTypeType],
1408
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
1440
+ "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationOutputTypeDef],
1409
1441
  },
1410
1442
  )
1411
1443
  ListExportsOutputTypeDef = TypedDict(
1412
1444
  "ListExportsOutputTypeDef",
1413
1445
  {
1414
1446
  "ExportSummaries": List[ExportSummaryTypeDef],
1415
- "NextToken": str,
1416
1447
  "ResponseMetadata": ResponseMetadataTypeDef,
1448
+ "NextToken": NotRequired[str],
1417
1449
  },
1418
1450
  )
1419
- ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
1420
- "ExportTableToPointInTimeInputRequestTypeDef",
1451
+ IncrementalExportSpecificationTypeDef = TypedDict(
1452
+ "IncrementalExportSpecificationTypeDef",
1421
1453
  {
1422
- "TableArn": str,
1423
- "S3Bucket": str,
1424
- "ExportTime": NotRequired[TimestampTypeDef],
1425
- "ClientToken": NotRequired[str],
1426
- "S3BucketOwner": NotRequired[str],
1427
- "S3Prefix": NotRequired[str],
1428
- "S3SseAlgorithm": NotRequired[S3SseAlgorithmType],
1429
- "S3SseKmsKeyId": NotRequired[str],
1430
- "ExportFormat": NotRequired[ExportFormatType],
1431
- "ExportType": NotRequired[ExportTypeType],
1432
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
1454
+ "ExportFromTime": NotRequired[TimestampTypeDef],
1455
+ "ExportToTime": NotRequired[TimestampTypeDef],
1456
+ "ExportViewType": NotRequired[ExportViewTypeType],
1433
1457
  },
1434
1458
  )
1435
1459
  ListBackupsInputRequestTypeDef = TypedDict(
@@ -1443,15 +1467,12 @@ ListBackupsInputRequestTypeDef = TypedDict(
1443
1467
  "BackupType": NotRequired[BackupTypeFilterType],
1444
1468
  },
1445
1469
  )
1446
- GlobalSecondaryIndexDescriptionTableTypeDef = TypedDict(
1447
- "GlobalSecondaryIndexDescriptionTableTypeDef",
1470
+ LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1471
+ "LocalSecondaryIndexDescriptionTypeDef",
1448
1472
  {
1449
1473
  "IndexName": NotRequired[str],
1450
1474
  "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1451
- "Projection": NotRequired[ProjectionTableTypeDef],
1452
- "IndexStatus": NotRequired[IndexStatusType],
1453
- "Backfilling": NotRequired[bool],
1454
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
1475
+ "Projection": NotRequired[ProjectionExtraOutputTypeDef],
1455
1476
  "IndexSizeBytes": NotRequired[int],
1456
1477
  "ItemCount": NotRequired[int],
1457
1478
  "IndexArn": NotRequired[str],
@@ -1462,7 +1483,7 @@ GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1462
1483
  {
1463
1484
  "IndexName": NotRequired[str],
1464
1485
  "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1465
- "Projection": NotRequired[ProjectionTypeDef],
1486
+ "Projection": NotRequired[ProjectionExtraOutputTypeDef],
1466
1487
  "IndexStatus": NotRequired[IndexStatusType],
1467
1488
  "Backfilling": NotRequired[bool],
1468
1489
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
@@ -1471,6 +1492,32 @@ GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1471
1492
  "IndexArn": NotRequired[str],
1472
1493
  },
1473
1494
  )
1495
+ GlobalSecondaryIndexInfoTypeDef = TypedDict(
1496
+ "GlobalSecondaryIndexInfoTypeDef",
1497
+ {
1498
+ "IndexName": NotRequired[str],
1499
+ "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1500
+ "Projection": NotRequired[ProjectionOutputTypeDef],
1501
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1502
+ },
1503
+ )
1504
+ GlobalSecondaryIndexOutputTypeDef = TypedDict(
1505
+ "GlobalSecondaryIndexOutputTypeDef",
1506
+ {
1507
+ "IndexName": str,
1508
+ "KeySchema": List[KeySchemaElementTypeDef],
1509
+ "Projection": ProjectionOutputTypeDef,
1510
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1511
+ },
1512
+ )
1513
+ LocalSecondaryIndexInfoTypeDef = TypedDict(
1514
+ "LocalSecondaryIndexInfoTypeDef",
1515
+ {
1516
+ "IndexName": NotRequired[str],
1517
+ "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1518
+ "Projection": NotRequired[ProjectionOutputTypeDef],
1519
+ },
1520
+ )
1474
1521
  ImportSummaryTypeDef = TypedDict(
1475
1522
  "ImportSummaryTypeDef",
1476
1523
  {
@@ -1556,6 +1603,13 @@ BatchStatementResponseTypeDef = TypedDict(
1556
1603
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1557
1604
  },
1558
1605
  )
1606
+ WriteRequestOutputTypeDef = TypedDict(
1607
+ "WriteRequestOutputTypeDef",
1608
+ {
1609
+ "PutRequest": NotRequired[PutRequestOutputTypeDef],
1610
+ "DeleteRequest": NotRequired[DeleteRequestOutputTypeDef],
1611
+ },
1612
+ )
1559
1613
  AttributeValueUpdateTypeDef = TypedDict(
1560
1614
  "AttributeValueUpdateTypeDef",
1561
1615
  {
@@ -1784,11 +1838,14 @@ UpdateItemInputTableUpdateItemTypeDef = TypedDict(
1784
1838
  "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1785
1839
  },
1786
1840
  )
1787
- BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
1788
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
1841
+ KeysAndAttributesServiceResourceUnionTypeDef = Union[
1842
+ KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef
1843
+ ]
1844
+ WriteRequestServiceResourceOutputTypeDef = TypedDict(
1845
+ "WriteRequestServiceResourceOutputTypeDef",
1789
1846
  {
1790
- "RequestItems": Mapping[str, KeysAndAttributesServiceResourceTypeDef],
1791
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1847
+ "PutRequest": NotRequired[PutRequestServiceResourceOutputTypeDef],
1848
+ "DeleteRequest": NotRequired[DeleteRequestServiceResourceOutputTypeDef],
1792
1849
  },
1793
1850
  )
1794
1851
  WriteRequestServiceResourceTypeDef = TypedDict(
@@ -1822,7 +1879,16 @@ BatchGetItemOutputServiceResourceTypeDef = TypedDict(
1822
1879
  "BatchGetItemOutputServiceResourceTypeDef",
1823
1880
  {
1824
1881
  "Responses": Dict[str, List[Dict[str, TableAttributeValueTypeDef]]],
1825
- "UnprocessedKeys": Dict[str, KeysAndAttributesServiceResourceTypeDef],
1882
+ "UnprocessedKeys": Dict[str, KeysAndAttributesServiceResourceOutputTypeDef],
1883
+ "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1884
+ "ResponseMetadata": ResponseMetadataTypeDef,
1885
+ },
1886
+ )
1887
+ BatchGetItemOutputTypeDef = TypedDict(
1888
+ "BatchGetItemOutputTypeDef",
1889
+ {
1890
+ "Responses": Dict[str, List[Dict[str, AttributeValueTypeDef]]],
1891
+ "UnprocessedKeys": Dict[str, KeysAndAttributesOutputTypeDef],
1826
1892
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1827
1893
  "ResponseMetadata": ResponseMetadataTypeDef,
1828
1894
  },
@@ -1849,10 +1915,10 @@ ExecuteStatementOutputTypeDef = TypedDict(
1849
1915
  "ExecuteStatementOutputTypeDef",
1850
1916
  {
1851
1917
  "Items": List[Dict[str, AttributeValueTypeDef]],
1852
- "NextToken": str,
1853
1918
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1854
1919
  "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
1855
1920
  "ResponseMetadata": ResponseMetadataTypeDef,
1921
+ "NextToken": NotRequired[str],
1856
1922
  },
1857
1923
  )
1858
1924
  ExecuteTransactionOutputTypeDef = TypedDict(
@@ -1866,17 +1932,17 @@ ExecuteTransactionOutputTypeDef = TypedDict(
1866
1932
  GetItemOutputTableTypeDef = TypedDict(
1867
1933
  "GetItemOutputTableTypeDef",
1868
1934
  {
1869
- "Item": Dict[str, TableAttributeValueTypeDef],
1870
1935
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1871
1936
  "ResponseMetadata": ResponseMetadataTypeDef,
1937
+ "Item": NotRequired[Dict[str, TableAttributeValueTypeDef]],
1872
1938
  },
1873
1939
  )
1874
1940
  GetItemOutputTypeDef = TypedDict(
1875
1941
  "GetItemOutputTypeDef",
1876
1942
  {
1877
- "Item": Dict[str, AttributeValueTypeDef],
1878
1943
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1879
1944
  "ResponseMetadata": ResponseMetadataTypeDef,
1945
+ "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1880
1946
  },
1881
1947
  )
1882
1948
  PutItemOutputTableTypeDef = TypedDict(
@@ -1989,105 +2055,24 @@ UpdateContinuousBackupsOutputTypeDef = TypedDict(
1989
2055
  "ResponseMetadata": ResponseMetadataTypeDef,
1990
2056
  },
1991
2057
  )
1992
- GlobalSecondaryIndexUpdateTableTypeDef = TypedDict(
1993
- "GlobalSecondaryIndexUpdateTableTypeDef",
1994
- {
1995
- "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
1996
- "Create": NotRequired[CreateGlobalSecondaryIndexActionTableTypeDef],
1997
- "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
1998
- },
1999
- )
2000
- GlobalSecondaryIndexUpdateTypeDef = TypedDict(
2001
- "GlobalSecondaryIndexUpdateTypeDef",
2002
- {
2003
- "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
2004
- "Create": NotRequired[CreateGlobalSecondaryIndexActionTypeDef],
2005
- "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
2006
- },
2007
- )
2008
- TableCreationParametersTypeDef = TypedDict(
2009
- "TableCreationParametersTypeDef",
2058
+ TableCreationParametersTypeDef = TypedDict(
2059
+ "TableCreationParametersTypeDef",
2010
2060
  {
2011
2061
  "TableName": str,
2012
- "AttributeDefinitions": List[AttributeDefinitionTypeDef],
2013
- "KeySchema": List[KeySchemaElementTypeDef],
2014
- "BillingMode": NotRequired[BillingModeType],
2015
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2016
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2017
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexTypeDef]],
2018
- },
2019
- )
2020
- SourceTableFeatureDetailsTypeDef = TypedDict(
2021
- "SourceTableFeatureDetailsTypeDef",
2022
- {
2023
- "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexInfoTypeDef]],
2024
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexInfoTypeDef]],
2025
- "StreamDescription": NotRequired[StreamSpecificationTypeDef],
2026
- "TimeToLiveDescription": NotRequired[TimeToLiveDescriptionTypeDef],
2027
- "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2028
- },
2029
- )
2030
- CreateTableInputRequestTypeDef = TypedDict(
2031
- "CreateTableInputRequestTypeDef",
2032
- {
2033
2062
  "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2034
- "TableName": str,
2035
2063
  "KeySchema": Sequence[KeySchemaElementTypeDef],
2036
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2037
- "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2038
2064
  "BillingMode": NotRequired[BillingModeType],
2039
2065
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2040
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2041
2066
  "SSESpecification": NotRequired[SSESpecificationTypeDef],
2042
- "Tags": NotRequired[Sequence[TagTypeDef]],
2043
- "TableClass": NotRequired[TableClassType],
2044
- "DeletionProtectionEnabled": NotRequired[bool],
2045
- "ResourcePolicy": NotRequired[str],
2046
- },
2047
- )
2048
- CreateTableInputServiceResourceCreateTableTypeDef = TypedDict(
2049
- "CreateTableInputServiceResourceCreateTableTypeDef",
2050
- {
2051
- "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2052
- "TableName": str,
2053
- "KeySchema": Sequence[KeySchemaElementTypeDef],
2054
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2055
2067
  "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2056
- "BillingMode": NotRequired[BillingModeType],
2057
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2058
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2059
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2060
- "Tags": NotRequired[Sequence[TagTypeDef]],
2061
- "TableClass": NotRequired[TableClassType],
2062
- "DeletionProtectionEnabled": NotRequired[bool],
2063
- "ResourcePolicy": NotRequired[str],
2064
- },
2065
- )
2066
- RestoreTableFromBackupInputRequestTypeDef = TypedDict(
2067
- "RestoreTableFromBackupInputRequestTypeDef",
2068
- {
2069
- "TargetTableName": str,
2070
- "BackupArn": str,
2071
- "BillingModeOverride": NotRequired[BillingModeType],
2072
- "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2073
- "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2074
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2075
- "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2076
2068
  },
2077
2069
  )
2078
- RestoreTableToPointInTimeInputRequestTypeDef = TypedDict(
2079
- "RestoreTableToPointInTimeInputRequestTypeDef",
2070
+ GlobalSecondaryIndexUpdateTypeDef = TypedDict(
2071
+ "GlobalSecondaryIndexUpdateTypeDef",
2080
2072
  {
2081
- "TargetTableName": str,
2082
- "SourceTableArn": NotRequired[str],
2083
- "SourceTableName": NotRequired[str],
2084
- "UseLatestRestorableTime": NotRequired[bool],
2085
- "RestoreDateTime": NotRequired[TimestampTypeDef],
2086
- "BillingModeOverride": NotRequired[BillingModeType],
2087
- "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2088
- "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2089
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2090
- "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2073
+ "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
2074
+ "Create": NotRequired[CreateGlobalSecondaryIndexActionTypeDef],
2075
+ "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
2091
2076
  },
2092
2077
  )
2093
2078
  ListGlobalTablesOutputTypeDef = TypedDict(
@@ -2132,6 +2117,7 @@ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
2132
2117
  "TableClassOverride": NotRequired[TableClassType],
2133
2118
  },
2134
2119
  )
2120
+ InputFormatOptionsUnionTypeDef = Union[InputFormatOptionsTypeDef, InputFormatOptionsOutputTypeDef]
2135
2121
  UpdateGlobalTableInputRequestTypeDef = TypedDict(
2136
2122
  "UpdateGlobalTableInputRequestTypeDef",
2137
2123
  {
@@ -2153,12 +2139,56 @@ ExportTableToPointInTimeOutputTypeDef = TypedDict(
2153
2139
  "ResponseMetadata": ResponseMetadataTypeDef,
2154
2140
  },
2155
2141
  )
2142
+ ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
2143
+ "ExportTableToPointInTimeInputRequestTypeDef",
2144
+ {
2145
+ "TableArn": str,
2146
+ "S3Bucket": str,
2147
+ "ExportTime": NotRequired[TimestampTypeDef],
2148
+ "ClientToken": NotRequired[str],
2149
+ "S3BucketOwner": NotRequired[str],
2150
+ "S3Prefix": NotRequired[str],
2151
+ "S3SseAlgorithm": NotRequired[S3SseAlgorithmType],
2152
+ "S3SseKmsKeyId": NotRequired[str],
2153
+ "ExportFormat": NotRequired[ExportFormatType],
2154
+ "ExportType": NotRequired[ExportTypeType],
2155
+ "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
2156
+ },
2157
+ )
2158
+ IncrementalExportSpecificationUnionTypeDef = Union[
2159
+ IncrementalExportSpecificationTypeDef, IncrementalExportSpecificationOutputTypeDef
2160
+ ]
2161
+ GlobalSecondaryIndexUnionTypeDef = Union[
2162
+ GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
2163
+ ]
2164
+ TableCreationParametersOutputTypeDef = TypedDict(
2165
+ "TableCreationParametersOutputTypeDef",
2166
+ {
2167
+ "TableName": str,
2168
+ "AttributeDefinitions": List[AttributeDefinitionTypeDef],
2169
+ "KeySchema": List[KeySchemaElementTypeDef],
2170
+ "BillingMode": NotRequired[BillingModeType],
2171
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2172
+ "SSESpecification": NotRequired[SSESpecificationTypeDef],
2173
+ "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexOutputTypeDef]],
2174
+ },
2175
+ )
2176
+ SourceTableFeatureDetailsTypeDef = TypedDict(
2177
+ "SourceTableFeatureDetailsTypeDef",
2178
+ {
2179
+ "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexInfoTypeDef]],
2180
+ "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexInfoTypeDef]],
2181
+ "StreamDescription": NotRequired[StreamSpecificationTypeDef],
2182
+ "TimeToLiveDescription": NotRequired[TimeToLiveDescriptionTypeDef],
2183
+ "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2184
+ },
2185
+ )
2156
2186
  ListImportsOutputTypeDef = TypedDict(
2157
2187
  "ListImportsOutputTypeDef",
2158
2188
  {
2159
2189
  "ImportSummaryList": List[ImportSummaryTypeDef],
2160
- "NextToken": str,
2161
2190
  "ResponseMetadata": ResponseMetadataTypeDef,
2191
+ "NextToken": NotRequired[str],
2162
2192
  },
2163
2193
  )
2164
2194
  BatchExecuteStatementOutputTypeDef = TypedDict(
@@ -2169,6 +2199,15 @@ BatchExecuteStatementOutputTypeDef = TypedDict(
2169
2199
  "ResponseMetadata": ResponseMetadataTypeDef,
2170
2200
  },
2171
2201
  )
2202
+ BatchWriteItemOutputTypeDef = TypedDict(
2203
+ "BatchWriteItemOutputTypeDef",
2204
+ {
2205
+ "UnprocessedItems": Dict[str, List[WriteRequestOutputTypeDef]],
2206
+ "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
2207
+ "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2208
+ "ResponseMetadata": ResponseMetadataTypeDef,
2209
+ },
2210
+ )
2172
2211
  BatchExecuteStatementInputRequestTypeDef = TypedDict(
2173
2212
  "BatchExecuteStatementInputRequestTypeDef",
2174
2213
  {
@@ -2316,22 +2355,7 @@ TransactGetItemTypeDef = TypedDict(
2316
2355
  "Get": GetTypeDef,
2317
2356
  },
2318
2357
  )
2319
- BatchGetItemInputRequestTypeDef = TypedDict(
2320
- "BatchGetItemInputRequestTypeDef",
2321
- {
2322
- "RequestItems": Mapping[str, KeysAndAttributesTypeDef],
2323
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2324
- },
2325
- )
2326
- BatchGetItemOutputTypeDef = TypedDict(
2327
- "BatchGetItemOutputTypeDef",
2328
- {
2329
- "Responses": Dict[str, List[Dict[str, AttributeValueTypeDef]]],
2330
- "UnprocessedKeys": Dict[str, KeysAndAttributesTypeDef],
2331
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2332
- "ResponseMetadata": ResponseMetadataTypeDef,
2333
- },
2334
- )
2358
+ KeysAndAttributesUnionTypeDef = Union[KeysAndAttributesTypeDef, KeysAndAttributesOutputTypeDef]
2335
2359
  ExecuteTransactionInputRequestTypeDef = TypedDict(
2336
2360
  "ExecuteTransactionInputRequestTypeDef",
2337
2361
  {
@@ -2356,23 +2380,25 @@ TransactWriteItemTypeDef = TypedDict(
2356
2380
  "Update": NotRequired[UpdateTypeDef],
2357
2381
  },
2358
2382
  )
2359
- BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2360
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2383
+ BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
2384
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
2361
2385
  {
2362
- "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceTypeDef]],
2386
+ "RequestItems": Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
2363
2387
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2364
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2365
2388
  },
2366
2389
  )
2367
2390
  BatchWriteItemOutputServiceResourceTypeDef = TypedDict(
2368
2391
  "BatchWriteItemOutputServiceResourceTypeDef",
2369
2392
  {
2370
- "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceTypeDef]],
2393
+ "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceOutputTypeDef]],
2371
2394
  "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]],
2372
2395
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2373
2396
  "ResponseMetadata": ResponseMetadataTypeDef,
2374
2397
  },
2375
2398
  )
2399
+ WriteRequestServiceResourceUnionTypeDef = Union[
2400
+ WriteRequestServiceResourceTypeDef, WriteRequestServiceResourceOutputTypeDef
2401
+ ]
2376
2402
  ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef = TypedDict(
2377
2403
  "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
2378
2404
  {
@@ -2435,30 +2461,6 @@ ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef = TypedDict(
2435
2461
  ],
2436
2462
  },
2437
2463
  )
2438
- ImportTableDescriptionTypeDef = TypedDict(
2439
- "ImportTableDescriptionTypeDef",
2440
- {
2441
- "ImportArn": NotRequired[str],
2442
- "ImportStatus": NotRequired[ImportStatusType],
2443
- "TableArn": NotRequired[str],
2444
- "TableId": NotRequired[str],
2445
- "ClientToken": NotRequired[str],
2446
- "S3BucketSource": NotRequired[S3BucketSourceTypeDef],
2447
- "ErrorCount": NotRequired[int],
2448
- "CloudWatchLogGroupArn": NotRequired[str],
2449
- "InputFormat": NotRequired[InputFormatType],
2450
- "InputFormatOptions": NotRequired[InputFormatOptionsTypeDef],
2451
- "InputCompressionType": NotRequired[InputCompressionTypeType],
2452
- "TableCreationParameters": NotRequired[TableCreationParametersTypeDef],
2453
- "StartTime": NotRequired[datetime],
2454
- "EndTime": NotRequired[datetime],
2455
- "ProcessedSizeBytes": NotRequired[int],
2456
- "ProcessedItemCount": NotRequired[int],
2457
- "ImportedItemCount": NotRequired[int],
2458
- "FailureCode": NotRequired[str],
2459
- "FailureMessage": NotRequired[str],
2460
- },
2461
- )
2462
2464
  ImportTableInputRequestTypeDef = TypedDict(
2463
2465
  "ImportTableInputRequestTypeDef",
2464
2466
  {
@@ -2470,14 +2472,6 @@ ImportTableInputRequestTypeDef = TypedDict(
2470
2472
  "InputCompressionType": NotRequired[InputCompressionTypeType],
2471
2473
  },
2472
2474
  )
2473
- BackupDescriptionTypeDef = TypedDict(
2474
- "BackupDescriptionTypeDef",
2475
- {
2476
- "BackupDetails": NotRequired[BackupDetailsTypeDef],
2477
- "SourceTableDetails": NotRequired[SourceTableDetailsTypeDef],
2478
- "SourceTableFeatureDetails": NotRequired[SourceTableFeatureDetailsTypeDef],
2479
- },
2480
- )
2481
2475
  GlobalTableDescriptionTypeDef = TypedDict(
2482
2476
  "GlobalTableDescriptionTypeDef",
2483
2477
  {
@@ -2488,34 +2482,6 @@ GlobalTableDescriptionTypeDef = TypedDict(
2488
2482
  "GlobalTableName": NotRequired[str],
2489
2483
  },
2490
2484
  )
2491
- TableDescriptionTableTypeDef = TypedDict(
2492
- "TableDescriptionTableTypeDef",
2493
- {
2494
- "AttributeDefinitions": NotRequired[List[AttributeDefinitionTypeDef]],
2495
- "TableName": NotRequired[str],
2496
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
2497
- "TableStatus": NotRequired[TableStatusType],
2498
- "CreationDateTime": NotRequired[datetime],
2499
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
2500
- "TableSizeBytes": NotRequired[int],
2501
- "ItemCount": NotRequired[int],
2502
- "TableArn": NotRequired[str],
2503
- "TableId": NotRequired[str],
2504
- "BillingModeSummary": NotRequired[BillingModeSummaryTypeDef],
2505
- "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexDescriptionTableTypeDef]],
2506
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexDescriptionTableTypeDef]],
2507
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2508
- "LatestStreamLabel": NotRequired[str],
2509
- "LatestStreamArn": NotRequired[str],
2510
- "GlobalTableVersion": NotRequired[str],
2511
- "Replicas": NotRequired[List[ReplicaDescriptionTypeDef]],
2512
- "RestoreSummary": NotRequired[RestoreSummaryTypeDef],
2513
- "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2514
- "ArchivalSummary": NotRequired[ArchivalSummaryTypeDef],
2515
- "TableClassSummary": NotRequired[TableClassSummaryTypeDef],
2516
- "DeletionProtectionEnabled": NotRequired[bool],
2517
- },
2518
- )
2519
2485
  TableDescriptionTypeDef = TypedDict(
2520
2486
  "TableDescriptionTypeDef",
2521
2487
  {
@@ -2552,6 +2518,104 @@ ReplicationGroupUpdateTypeDef = TypedDict(
2552
2518
  "Delete": NotRequired[DeleteReplicationGroupMemberActionTypeDef],
2553
2519
  },
2554
2520
  )
2521
+ CreateTableInputRequestTypeDef = TypedDict(
2522
+ "CreateTableInputRequestTypeDef",
2523
+ {
2524
+ "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2525
+ "TableName": str,
2526
+ "KeySchema": Sequence[KeySchemaElementTypeDef],
2527
+ "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2528
+ "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2529
+ "BillingMode": NotRequired[BillingModeType],
2530
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2531
+ "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2532
+ "SSESpecification": NotRequired[SSESpecificationTypeDef],
2533
+ "Tags": NotRequired[Sequence[TagTypeDef]],
2534
+ "TableClass": NotRequired[TableClassType],
2535
+ "DeletionProtectionEnabled": NotRequired[bool],
2536
+ "ResourcePolicy": NotRequired[str],
2537
+ },
2538
+ )
2539
+ CreateTableInputServiceResourceCreateTableTypeDef = TypedDict(
2540
+ "CreateTableInputServiceResourceCreateTableTypeDef",
2541
+ {
2542
+ "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2543
+ "TableName": str,
2544
+ "KeySchema": Sequence[KeySchemaElementTypeDef],
2545
+ "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2546
+ "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2547
+ "BillingMode": NotRequired[BillingModeType],
2548
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2549
+ "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2550
+ "SSESpecification": NotRequired[SSESpecificationTypeDef],
2551
+ "Tags": NotRequired[Sequence[TagTypeDef]],
2552
+ "TableClass": NotRequired[TableClassType],
2553
+ "DeletionProtectionEnabled": NotRequired[bool],
2554
+ "ResourcePolicy": NotRequired[str],
2555
+ },
2556
+ )
2557
+ RestoreTableFromBackupInputRequestTypeDef = TypedDict(
2558
+ "RestoreTableFromBackupInputRequestTypeDef",
2559
+ {
2560
+ "TargetTableName": str,
2561
+ "BackupArn": str,
2562
+ "BillingModeOverride": NotRequired[BillingModeType],
2563
+ "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2564
+ "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2565
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2566
+ "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2567
+ },
2568
+ )
2569
+ RestoreTableToPointInTimeInputRequestTypeDef = TypedDict(
2570
+ "RestoreTableToPointInTimeInputRequestTypeDef",
2571
+ {
2572
+ "TargetTableName": str,
2573
+ "SourceTableArn": NotRequired[str],
2574
+ "SourceTableName": NotRequired[str],
2575
+ "UseLatestRestorableTime": NotRequired[bool],
2576
+ "RestoreDateTime": NotRequired[TimestampTypeDef],
2577
+ "BillingModeOverride": NotRequired[BillingModeType],
2578
+ "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2579
+ "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2580
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2581
+ "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2582
+ },
2583
+ )
2584
+ ImportTableDescriptionTypeDef = TypedDict(
2585
+ "ImportTableDescriptionTypeDef",
2586
+ {
2587
+ "ImportArn": NotRequired[str],
2588
+ "ImportStatus": NotRequired[ImportStatusType],
2589
+ "TableArn": NotRequired[str],
2590
+ "TableId": NotRequired[str],
2591
+ "ClientToken": NotRequired[str],
2592
+ "S3BucketSource": NotRequired[S3BucketSourceTypeDef],
2593
+ "ErrorCount": NotRequired[int],
2594
+ "CloudWatchLogGroupArn": NotRequired[str],
2595
+ "InputFormat": NotRequired[InputFormatType],
2596
+ "InputFormatOptions": NotRequired[InputFormatOptionsOutputTypeDef],
2597
+ "InputCompressionType": NotRequired[InputCompressionTypeType],
2598
+ "TableCreationParameters": NotRequired[TableCreationParametersOutputTypeDef],
2599
+ "StartTime": NotRequired[datetime],
2600
+ "EndTime": NotRequired[datetime],
2601
+ "ProcessedSizeBytes": NotRequired[int],
2602
+ "ProcessedItemCount": NotRequired[int],
2603
+ "ImportedItemCount": NotRequired[int],
2604
+ "FailureCode": NotRequired[str],
2605
+ "FailureMessage": NotRequired[str],
2606
+ },
2607
+ )
2608
+ TableCreationParametersUnionTypeDef = Union[
2609
+ TableCreationParametersTypeDef, TableCreationParametersOutputTypeDef
2610
+ ]
2611
+ BackupDescriptionTypeDef = TypedDict(
2612
+ "BackupDescriptionTypeDef",
2613
+ {
2614
+ "BackupDetails": NotRequired[BackupDetailsTypeDef],
2615
+ "SourceTableDetails": NotRequired[SourceTableDetailsTypeDef],
2616
+ "SourceTableFeatureDetails": NotRequired[SourceTableFeatureDetailsTypeDef],
2617
+ },
2618
+ )
2555
2619
  TransactGetItemsInputRequestTypeDef = TypedDict(
2556
2620
  "TransactGetItemsInputRequestTypeDef",
2557
2621
  {
@@ -2559,23 +2623,14 @@ TransactGetItemsInputRequestTypeDef = TypedDict(
2559
2623
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2560
2624
  },
2561
2625
  )
2562
- BatchWriteItemInputRequestTypeDef = TypedDict(
2563
- "BatchWriteItemInputRequestTypeDef",
2626
+ BatchGetItemInputRequestTypeDef = TypedDict(
2627
+ "BatchGetItemInputRequestTypeDef",
2564
2628
  {
2565
- "RequestItems": Mapping[str, Sequence[WriteRequestTypeDef]],
2629
+ "RequestItems": Mapping[str, KeysAndAttributesUnionTypeDef],
2566
2630
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2567
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2568
- },
2569
- )
2570
- BatchWriteItemOutputTypeDef = TypedDict(
2571
- "BatchWriteItemOutputTypeDef",
2572
- {
2573
- "UnprocessedItems": Dict[str, List[WriteRequestTypeDef]],
2574
- "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
2575
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2576
- "ResponseMetadata": ResponseMetadataTypeDef,
2577
2631
  },
2578
2632
  )
2633
+ WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2579
2634
  TransactWriteItemsInputRequestTypeDef = TypedDict(
2580
2635
  "TransactWriteItemsInputRequestTypeDef",
2581
2636
  {
@@ -2585,6 +2640,14 @@ TransactWriteItemsInputRequestTypeDef = TypedDict(
2585
2640
  "ClientRequestToken": NotRequired[str],
2586
2641
  },
2587
2642
  )
2643
+ BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2644
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2645
+ {
2646
+ "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
2647
+ "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2648
+ "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2649
+ },
2650
+ )
2588
2651
  ReplicaAutoScalingDescriptionTypeDef = TypedDict(
2589
2652
  "ReplicaAutoScalingDescriptionTypeDef",
2590
2653
  {
@@ -2647,34 +2710,6 @@ ReplicaSettingsUpdateTypeDef = TypedDict(
2647
2710
  "ReplicaTableClass": NotRequired[TableClassType],
2648
2711
  },
2649
2712
  )
2650
- DescribeImportOutputTypeDef = TypedDict(
2651
- "DescribeImportOutputTypeDef",
2652
- {
2653
- "ImportTableDescription": ImportTableDescriptionTypeDef,
2654
- "ResponseMetadata": ResponseMetadataTypeDef,
2655
- },
2656
- )
2657
- ImportTableOutputTypeDef = TypedDict(
2658
- "ImportTableOutputTypeDef",
2659
- {
2660
- "ImportTableDescription": ImportTableDescriptionTypeDef,
2661
- "ResponseMetadata": ResponseMetadataTypeDef,
2662
- },
2663
- )
2664
- DeleteBackupOutputTypeDef = TypedDict(
2665
- "DeleteBackupOutputTypeDef",
2666
- {
2667
- "BackupDescription": BackupDescriptionTypeDef,
2668
- "ResponseMetadata": ResponseMetadataTypeDef,
2669
- },
2670
- )
2671
- DescribeBackupOutputTypeDef = TypedDict(
2672
- "DescribeBackupOutputTypeDef",
2673
- {
2674
- "BackupDescription": BackupDescriptionTypeDef,
2675
- "ResponseMetadata": ResponseMetadataTypeDef,
2676
- },
2677
- )
2678
2713
  CreateGlobalTableOutputTypeDef = TypedDict(
2679
2714
  "CreateGlobalTableOutputTypeDef",
2680
2715
  {
@@ -2696,13 +2731,6 @@ UpdateGlobalTableOutputTypeDef = TypedDict(
2696
2731
  "ResponseMetadata": ResponseMetadataTypeDef,
2697
2732
  },
2698
2733
  )
2699
- DeleteTableOutputTableTypeDef = TypedDict(
2700
- "DeleteTableOutputTableTypeDef",
2701
- {
2702
- "TableDescription": TableDescriptionTableTypeDef,
2703
- "ResponseMetadata": ResponseMetadataTypeDef,
2704
- },
2705
- )
2706
2734
  CreateTableOutputTypeDef = TypedDict(
2707
2735
  "CreateTableOutputTypeDef",
2708
2736
  {
@@ -2766,9 +2794,7 @@ UpdateTableInputTableUpdateTypeDef = TypedDict(
2766
2794
  "AttributeDefinitions": NotRequired[Sequence[AttributeDefinitionTypeDef]],
2767
2795
  "BillingMode": NotRequired[BillingModeType],
2768
2796
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2769
- "GlobalSecondaryIndexUpdates": NotRequired[
2770
- Sequence[GlobalSecondaryIndexUpdateTableTypeDef]
2771
- ],
2797
+ "GlobalSecondaryIndexUpdates": NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],
2772
2798
  "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2773
2799
  "SSESpecification": NotRequired[SSESpecificationTypeDef],
2774
2800
  "ReplicaUpdates": NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],
@@ -2776,6 +2802,42 @@ UpdateTableInputTableUpdateTypeDef = TypedDict(
2776
2802
  "DeletionProtectionEnabled": NotRequired[bool],
2777
2803
  },
2778
2804
  )
2805
+ DescribeImportOutputTypeDef = TypedDict(
2806
+ "DescribeImportOutputTypeDef",
2807
+ {
2808
+ "ImportTableDescription": ImportTableDescriptionTypeDef,
2809
+ "ResponseMetadata": ResponseMetadataTypeDef,
2810
+ },
2811
+ )
2812
+ ImportTableOutputTypeDef = TypedDict(
2813
+ "ImportTableOutputTypeDef",
2814
+ {
2815
+ "ImportTableDescription": ImportTableDescriptionTypeDef,
2816
+ "ResponseMetadata": ResponseMetadataTypeDef,
2817
+ },
2818
+ )
2819
+ DeleteBackupOutputTypeDef = TypedDict(
2820
+ "DeleteBackupOutputTypeDef",
2821
+ {
2822
+ "BackupDescription": BackupDescriptionTypeDef,
2823
+ "ResponseMetadata": ResponseMetadataTypeDef,
2824
+ },
2825
+ )
2826
+ DescribeBackupOutputTypeDef = TypedDict(
2827
+ "DescribeBackupOutputTypeDef",
2828
+ {
2829
+ "BackupDescription": BackupDescriptionTypeDef,
2830
+ "ResponseMetadata": ResponseMetadataTypeDef,
2831
+ },
2832
+ )
2833
+ BatchWriteItemInputRequestTypeDef = TypedDict(
2834
+ "BatchWriteItemInputRequestTypeDef",
2835
+ {
2836
+ "RequestItems": Mapping[str, Sequence[WriteRequestUnionTypeDef]],
2837
+ "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2838
+ "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2839
+ },
2840
+ )
2779
2841
  TableAutoScalingDescriptionTypeDef = TypedDict(
2780
2842
  "TableAutoScalingDescriptionTypeDef",
2781
2843
  {