mypy-boto3-dynamodb 1.34.67__py3-none-any.whl → 1.34.97__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,17 @@ __all__ = (
87
87
  "ContributorInsightsSummaryTypeDef",
88
88
  "CreateBackupInputRequestTypeDef",
89
89
  "KeySchemaElementTypeDef",
90
- "ProjectionTableTypeDef",
91
- "ProvisionedThroughputTypeDef",
90
+ "OnDemandThroughputTypeDef",
92
91
  "ProjectionTypeDef",
92
+ "ProvisionedThroughputTypeDef",
93
93
  "ReplicaTypeDef",
94
94
  "CreateReplicaActionTypeDef",
95
+ "OnDemandThroughputOverrideTypeDef",
95
96
  "ProvisionedThroughputOverrideTypeDef",
96
97
  "SSESpecificationTypeDef",
97
98
  "StreamSpecificationTypeDef",
98
99
  "TagTypeDef",
100
+ "CsvOptionsOutputTypeDef",
99
101
  "CsvOptionsTypeDef",
100
102
  "DeleteBackupInputRequestTypeDef",
101
103
  "DeleteGlobalSecondaryIndexActionTypeDef",
@@ -120,11 +122,13 @@ __all__ = (
120
122
  "DescribeTimeToLiveInputRequestTypeDef",
121
123
  "TimeToLiveDescriptionTypeDef",
122
124
  "EnableKinesisStreamingConfigurationTypeDef",
123
- "IncrementalExportSpecificationTypeDef",
125
+ "IncrementalExportSpecificationOutputTypeDef",
124
126
  "ExportSummaryTypeDef",
125
127
  "TimestampTypeDef",
126
128
  "GetResourcePolicyInputRequestTypeDef",
129
+ "ProjectionExtraOutputTypeDef",
127
130
  "ProvisionedThroughputDescriptionTypeDef",
131
+ "ProjectionOutputTypeDef",
128
132
  "S3BucketSourceTypeDef",
129
133
  "PaginatorConfigTypeDef",
130
134
  "ListContributorInsightsInputRequestTypeDef",
@@ -150,6 +154,7 @@ __all__ = (
150
154
  "EmptyResponseMetadataTypeDef",
151
155
  "GetResourcePolicyOutputTypeDef",
152
156
  "ListTablesOutputTypeDef",
157
+ "OnDemandThroughputResponseTypeDef",
153
158
  "ProvisionedThroughputDescriptionResponseTypeDef",
154
159
  "PutResourcePolicyOutputTypeDef",
155
160
  "RestoreSummaryResponseTypeDef",
@@ -158,17 +163,23 @@ __all__ = (
158
163
  "TableClassSummaryResponseTypeDef",
159
164
  "UpdateContributorInsightsOutputTypeDef",
160
165
  "BatchStatementErrorTypeDef",
166
+ "DeleteRequestOutputTypeDef",
161
167
  "ItemCollectionMetricsTypeDef",
162
168
  "ItemResponseTypeDef",
169
+ "KeysAndAttributesOutputTypeDef",
170
+ "PutRequestOutputTypeDef",
163
171
  "UniversalAttributeValueTypeDef",
164
172
  "AttributeValueUpdateTableTypeDef",
165
173
  "ConditionTableTypeDef",
174
+ "DeleteRequestServiceResourceOutputTypeDef",
166
175
  "DeleteRequestServiceResourceTypeDef",
167
176
  "ExpectedAttributeValueTableTypeDef",
168
177
  "GetItemInputTableGetItemTypeDef",
169
178
  "ItemCollectionMetricsServiceResourceTypeDef",
170
179
  "ItemCollectionMetricsTableTypeDef",
180
+ "KeysAndAttributesServiceResourceOutputTypeDef",
171
181
  "KeysAndAttributesServiceResourceTypeDef",
182
+ "PutRequestServiceResourceOutputTypeDef",
172
183
  "PutRequestServiceResourceTypeDef",
173
184
  "AutoScalingPolicyDescriptionTypeDef",
174
185
  "AutoScalingPolicyUpdateTypeDef",
@@ -177,22 +188,18 @@ __all__ = (
177
188
  "ConsumedCapacityTypeDef",
178
189
  "ContinuousBackupsDescriptionTypeDef",
179
190
  "ListContributorInsightsOutputTypeDef",
180
- "LocalSecondaryIndexDescriptionTableTypeDef",
181
- "CreateGlobalSecondaryIndexActionTableTypeDef",
182
- "SourceTableDetailsTypeDef",
183
- "UpdateGlobalSecondaryIndexActionTypeDef",
191
+ "LocalSecondaryIndexTypeDef",
184
192
  "CreateGlobalSecondaryIndexActionTypeDef",
185
- "GlobalSecondaryIndexInfoTypeDef",
186
193
  "GlobalSecondaryIndexTypeDef",
187
- "LocalSecondaryIndexDescriptionTypeDef",
188
- "LocalSecondaryIndexInfoTypeDef",
189
- "LocalSecondaryIndexTypeDef",
194
+ "SourceTableDetailsTypeDef",
195
+ "UpdateGlobalSecondaryIndexActionTypeDef",
190
196
  "CreateGlobalTableInputRequestTypeDef",
191
197
  "GlobalTableTypeDef",
192
198
  "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
193
199
  "ReplicaGlobalSecondaryIndexTypeDef",
194
200
  "ListTagsOfResourceOutputTypeDef",
195
201
  "TagResourceInputRequestTypeDef",
202
+ "InputFormatOptionsOutputTypeDef",
196
203
  "InputFormatOptionsTypeDef",
197
204
  "ReplicaUpdateTypeDef",
198
205
  "DescribeContributorInsightsOutputTypeDef",
@@ -205,10 +212,13 @@ __all__ = (
205
212
  "KinesisStreamingDestinationOutputTypeDef",
206
213
  "ExportDescriptionTypeDef",
207
214
  "ListExportsOutputTypeDef",
208
- "ExportTableToPointInTimeInputRequestTypeDef",
215
+ "IncrementalExportSpecificationTypeDef",
209
216
  "ListBackupsInputRequestTypeDef",
210
- "GlobalSecondaryIndexDescriptionTableTypeDef",
217
+ "LocalSecondaryIndexDescriptionTypeDef",
211
218
  "GlobalSecondaryIndexDescriptionTypeDef",
219
+ "GlobalSecondaryIndexInfoTypeDef",
220
+ "GlobalSecondaryIndexOutputTypeDef",
221
+ "LocalSecondaryIndexInfoTypeDef",
212
222
  "ImportSummaryTypeDef",
213
223
  "ListBackupsInputListBackupsPaginateTypeDef",
214
224
  "ListTablesInputListTablesPaginateTypeDef",
@@ -219,6 +229,7 @@ __all__ = (
219
229
  "UpdateKinesisStreamingDestinationInputRequestTypeDef",
220
230
  "UpdateKinesisStreamingDestinationOutputTypeDef",
221
231
  "BatchStatementResponseTypeDef",
232
+ "WriteRequestOutputTypeDef",
222
233
  "AttributeValueUpdateTypeDef",
223
234
  "BatchStatementRequestTypeDef",
224
235
  "ConditionCheckTypeDef",
@@ -239,11 +250,13 @@ __all__ = (
239
250
  "DeleteItemInputTableDeleteItemTypeDef",
240
251
  "PutItemInputTablePutItemTypeDef",
241
252
  "UpdateItemInputTableUpdateItemTypeDef",
242
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
253
+ "KeysAndAttributesServiceResourceUnionTypeDef",
254
+ "WriteRequestServiceResourceOutputTypeDef",
243
255
  "WriteRequestServiceResourceTypeDef",
244
256
  "AutoScalingSettingsDescriptionTypeDef",
245
257
  "AutoScalingSettingsUpdateTypeDef",
246
258
  "BatchGetItemOutputServiceResourceTypeDef",
259
+ "BatchGetItemOutputTypeDef",
247
260
  "DeleteItemOutputTableTypeDef",
248
261
  "DeleteItemOutputTypeDef",
249
262
  "ExecuteStatementOutputTypeDef",
@@ -262,23 +275,24 @@ __all__ = (
262
275
  "UpdateItemOutputTypeDef",
263
276
  "DescribeContinuousBackupsOutputTypeDef",
264
277
  "UpdateContinuousBackupsOutputTypeDef",
265
- "GlobalSecondaryIndexUpdateTableTypeDef",
266
- "GlobalSecondaryIndexUpdateTypeDef",
267
278
  "TableCreationParametersTypeDef",
268
- "SourceTableFeatureDetailsTypeDef",
269
- "CreateTableInputRequestTypeDef",
270
- "CreateTableInputServiceResourceCreateTableTypeDef",
271
- "RestoreTableFromBackupInputRequestTypeDef",
272
- "RestoreTableToPointInTimeInputRequestTypeDef",
279
+ "GlobalSecondaryIndexUpdateTypeDef",
273
280
  "ListGlobalTablesOutputTypeDef",
274
281
  "ReplicaDescriptionTypeDef",
275
282
  "CreateReplicationGroupMemberActionTypeDef",
276
283
  "UpdateReplicationGroupMemberActionTypeDef",
284
+ "InputFormatOptionsUnionTypeDef",
277
285
  "UpdateGlobalTableInputRequestTypeDef",
278
286
  "DescribeExportOutputTypeDef",
279
287
  "ExportTableToPointInTimeOutputTypeDef",
288
+ "ExportTableToPointInTimeInputRequestTypeDef",
289
+ "IncrementalExportSpecificationUnionTypeDef",
290
+ "GlobalSecondaryIndexUnionTypeDef",
291
+ "TableCreationParametersOutputTypeDef",
292
+ "SourceTableFeatureDetailsTypeDef",
280
293
  "ListImportsOutputTypeDef",
281
294
  "BatchExecuteStatementOutputTypeDef",
295
+ "BatchWriteItemOutputTypeDef",
282
296
  "BatchExecuteStatementInputRequestTypeDef",
283
297
  "QueryInputQueryPaginateTypeDef",
284
298
  "QueryInputRequestTypeDef",
@@ -288,42 +302,42 @@ __all__ = (
288
302
  "PutItemInputRequestTypeDef",
289
303
  "UpdateItemInputRequestTypeDef",
290
304
  "TransactGetItemTypeDef",
291
- "BatchGetItemInputRequestTypeDef",
292
- "BatchGetItemOutputTypeDef",
305
+ "KeysAndAttributesUnionTypeDef",
293
306
  "ExecuteTransactionInputRequestTypeDef",
294
307
  "WriteRequestTypeDef",
295
308
  "TransactWriteItemTypeDef",
296
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
309
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
297
310
  "BatchWriteItemOutputServiceResourceTypeDef",
311
+ "WriteRequestServiceResourceUnionTypeDef",
298
312
  "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
299
313
  "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
300
314
  "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
301
315
  "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
302
316
  "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
303
317
  "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
304
- "ImportTableDescriptionTypeDef",
305
318
  "ImportTableInputRequestTypeDef",
306
- "BackupDescriptionTypeDef",
307
319
  "GlobalTableDescriptionTypeDef",
308
- "TableDescriptionTableTypeDef",
309
320
  "TableDescriptionTypeDef",
310
321
  "ReplicationGroupUpdateTypeDef",
322
+ "CreateTableInputRequestTypeDef",
323
+ "CreateTableInputServiceResourceCreateTableTypeDef",
324
+ "RestoreTableFromBackupInputRequestTypeDef",
325
+ "RestoreTableToPointInTimeInputRequestTypeDef",
326
+ "ImportTableDescriptionTypeDef",
327
+ "TableCreationParametersUnionTypeDef",
328
+ "BackupDescriptionTypeDef",
311
329
  "TransactGetItemsInputRequestTypeDef",
312
- "BatchWriteItemInputRequestTypeDef",
313
- "BatchWriteItemOutputTypeDef",
330
+ "BatchGetItemInputRequestTypeDef",
331
+ "WriteRequestUnionTypeDef",
314
332
  "TransactWriteItemsInputRequestTypeDef",
333
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
315
334
  "ReplicaAutoScalingDescriptionTypeDef",
316
335
  "ReplicaSettingsDescriptionTypeDef",
317
336
  "ReplicaAutoScalingUpdateTypeDef",
318
337
  "ReplicaSettingsUpdateTypeDef",
319
- "DescribeImportOutputTypeDef",
320
- "ImportTableOutputTypeDef",
321
- "DeleteBackupOutputTypeDef",
322
- "DescribeBackupOutputTypeDef",
323
338
  "CreateGlobalTableOutputTypeDef",
324
339
  "DescribeGlobalTableOutputTypeDef",
325
340
  "UpdateGlobalTableOutputTypeDef",
326
- "DeleteTableOutputTableTypeDef",
327
341
  "CreateTableOutputTypeDef",
328
342
  "DeleteTableOutputTypeDef",
329
343
  "DescribeTableOutputTypeDef",
@@ -332,6 +346,11 @@ __all__ = (
332
346
  "UpdateTableOutputTypeDef",
333
347
  "UpdateTableInputRequestTypeDef",
334
348
  "UpdateTableInputTableUpdateTypeDef",
349
+ "DescribeImportOutputTypeDef",
350
+ "ImportTableOutputTypeDef",
351
+ "DeleteBackupOutputTypeDef",
352
+ "DescribeBackupOutputTypeDef",
353
+ "BatchWriteItemInputRequestTypeDef",
335
354
  "TableAutoScalingDescriptionTypeDef",
336
355
  "DescribeGlobalTableSettingsOutputTypeDef",
337
356
  "UpdateGlobalTableSettingsOutputTypeDef",
@@ -488,11 +507,18 @@ KeySchemaElementTypeDef = TypedDict(
488
507
  "KeyType": KeyTypeType,
489
508
  },
490
509
  )
491
- ProjectionTableTypeDef = TypedDict(
492
- "ProjectionTableTypeDef",
510
+ OnDemandThroughputTypeDef = TypedDict(
511
+ "OnDemandThroughputTypeDef",
512
+ {
513
+ "MaxReadRequestUnits": NotRequired[int],
514
+ "MaxWriteRequestUnits": NotRequired[int],
515
+ },
516
+ )
517
+ ProjectionTypeDef = TypedDict(
518
+ "ProjectionTypeDef",
493
519
  {
494
520
  "ProjectionType": NotRequired[ProjectionTypeType],
495
- "NonKeyAttributes": NotRequired[List[str]],
521
+ "NonKeyAttributes": NotRequired[Sequence[str]],
496
522
  },
497
523
  )
498
524
  ProvisionedThroughputTypeDef = TypedDict(
@@ -502,13 +528,6 @@ ProvisionedThroughputTypeDef = TypedDict(
502
528
  "WriteCapacityUnits": int,
503
529
  },
504
530
  )
505
- ProjectionTypeDef = TypedDict(
506
- "ProjectionTypeDef",
507
- {
508
- "ProjectionType": NotRequired[ProjectionTypeType],
509
- "NonKeyAttributes": NotRequired[Sequence[str]],
510
- },
511
- )
512
531
  ReplicaTypeDef = TypedDict(
513
532
  "ReplicaTypeDef",
514
533
  {
@@ -521,6 +540,12 @@ CreateReplicaActionTypeDef = TypedDict(
521
540
  "RegionName": str,
522
541
  },
523
542
  )
543
+ OnDemandThroughputOverrideTypeDef = TypedDict(
544
+ "OnDemandThroughputOverrideTypeDef",
545
+ {
546
+ "MaxReadRequestUnits": NotRequired[int],
547
+ },
548
+ )
524
549
  ProvisionedThroughputOverrideTypeDef = TypedDict(
525
550
  "ProvisionedThroughputOverrideTypeDef",
526
551
  {
@@ -549,11 +574,18 @@ TagTypeDef = TypedDict(
549
574
  "Value": str,
550
575
  },
551
576
  )
577
+ CsvOptionsOutputTypeDef = TypedDict(
578
+ "CsvOptionsOutputTypeDef",
579
+ {
580
+ "Delimiter": NotRequired[str],
581
+ "HeaderList": NotRequired[List[str]],
582
+ },
583
+ )
552
584
  CsvOptionsTypeDef = TypedDict(
553
585
  "CsvOptionsTypeDef",
554
586
  {
555
587
  "Delimiter": NotRequired[str],
556
- "HeaderList": NotRequired[List[str]],
588
+ "HeaderList": NotRequired[Sequence[str]],
557
589
  },
558
590
  )
559
591
  DeleteBackupInputRequestTypeDef = TypedDict(
@@ -707,8 +739,8 @@ EnableKinesisStreamingConfigurationTypeDef = TypedDict(
707
739
  ],
708
740
  },
709
741
  )
710
- IncrementalExportSpecificationTypeDef = TypedDict(
711
- "IncrementalExportSpecificationTypeDef",
742
+ IncrementalExportSpecificationOutputTypeDef = TypedDict(
743
+ "IncrementalExportSpecificationOutputTypeDef",
712
744
  {
713
745
  "ExportFromTime": NotRequired[datetime],
714
746
  "ExportToTime": NotRequired[datetime],
@@ -730,6 +762,13 @@ GetResourcePolicyInputRequestTypeDef = TypedDict(
730
762
  "ResourceArn": str,
731
763
  },
732
764
  )
765
+ ProjectionExtraOutputTypeDef = TypedDict(
766
+ "ProjectionExtraOutputTypeDef",
767
+ {
768
+ "ProjectionType": NotRequired[ProjectionTypeType],
769
+ "NonKeyAttributes": NotRequired[List[str]],
770
+ },
771
+ )
733
772
  ProvisionedThroughputDescriptionTypeDef = TypedDict(
734
773
  "ProvisionedThroughputDescriptionTypeDef",
735
774
  {
@@ -740,6 +779,13 @@ ProvisionedThroughputDescriptionTypeDef = TypedDict(
740
779
  "WriteCapacityUnits": NotRequired[int],
741
780
  },
742
781
  )
782
+ ProjectionOutputTypeDef = TypedDict(
783
+ "ProjectionOutputTypeDef",
784
+ {
785
+ "ProjectionType": NotRequired[ProjectionTypeType],
786
+ "NonKeyAttributes": NotRequired[List[str]],
787
+ },
788
+ )
743
789
  S3BucketSourceTypeDef = TypedDict(
744
790
  "S3BucketSourceTypeDef",
745
791
  {
@@ -934,6 +980,14 @@ ListTablesOutputTypeDef = TypedDict(
934
980
  "ResponseMetadata": ResponseMetadataTypeDef,
935
981
  },
936
982
  )
983
+ OnDemandThroughputResponseTypeDef = TypedDict(
984
+ "OnDemandThroughputResponseTypeDef",
985
+ {
986
+ "MaxReadRequestUnits": int,
987
+ "MaxWriteRequestUnits": int,
988
+ "ResponseMetadata": ResponseMetadataTypeDef,
989
+ },
990
+ )
937
991
  ProvisionedThroughputDescriptionResponseTypeDef = TypedDict(
938
992
  "ProvisionedThroughputDescriptionResponseTypeDef",
939
993
  {
@@ -1005,6 +1059,12 @@ BatchStatementErrorTypeDef = TypedDict(
1005
1059
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1006
1060
  },
1007
1061
  )
1062
+ DeleteRequestOutputTypeDef = TypedDict(
1063
+ "DeleteRequestOutputTypeDef",
1064
+ {
1065
+ "Key": Dict[str, AttributeValueTypeDef],
1066
+ },
1067
+ )
1008
1068
  ItemCollectionMetricsTypeDef = TypedDict(
1009
1069
  "ItemCollectionMetricsTypeDef",
1010
1070
  {
@@ -1018,6 +1078,22 @@ ItemResponseTypeDef = TypedDict(
1018
1078
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1019
1079
  },
1020
1080
  )
1081
+ KeysAndAttributesOutputTypeDef = TypedDict(
1082
+ "KeysAndAttributesOutputTypeDef",
1083
+ {
1084
+ "Keys": List[Dict[str, AttributeValueTypeDef]],
1085
+ "AttributesToGet": NotRequired[List[str]],
1086
+ "ConsistentRead": NotRequired[bool],
1087
+ "ProjectionExpression": NotRequired[str],
1088
+ "ExpressionAttributeNames": NotRequired[Dict[str, str]],
1089
+ },
1090
+ )
1091
+ PutRequestOutputTypeDef = TypedDict(
1092
+ "PutRequestOutputTypeDef",
1093
+ {
1094
+ "Item": Dict[str, AttributeValueTypeDef],
1095
+ },
1096
+ )
1021
1097
  UniversalAttributeValueTypeDef = Union[
1022
1098
  AttributeValueTypeDef,
1023
1099
  bytes,
@@ -1049,6 +1125,12 @@ ConditionTableTypeDef = TypedDict(
1049
1125
  "AttributeValueList": NotRequired[Sequence[TableAttributeValueTypeDef]],
1050
1126
  },
1051
1127
  )
1128
+ DeleteRequestServiceResourceOutputTypeDef = TypedDict(
1129
+ "DeleteRequestServiceResourceOutputTypeDef",
1130
+ {
1131
+ "Key": Dict[str, TableAttributeValueTypeDef],
1132
+ },
1133
+ )
1052
1134
  DeleteRequestServiceResourceTypeDef = TypedDict(
1053
1135
  "DeleteRequestServiceResourceTypeDef",
1054
1136
  {
@@ -1089,6 +1171,16 @@ ItemCollectionMetricsTableTypeDef = TypedDict(
1089
1171
  "SizeEstimateRangeGB": NotRequired[List[float]],
1090
1172
  },
1091
1173
  )
1174
+ KeysAndAttributesServiceResourceOutputTypeDef = TypedDict(
1175
+ "KeysAndAttributesServiceResourceOutputTypeDef",
1176
+ {
1177
+ "Keys": List[Dict[str, TableAttributeValueTypeDef]],
1178
+ "AttributesToGet": NotRequired[List[str]],
1179
+ "ConsistentRead": NotRequired[bool],
1180
+ "ProjectionExpression": NotRequired[str],
1181
+ "ExpressionAttributeNames": NotRequired[Dict[str, str]],
1182
+ },
1183
+ )
1092
1184
  KeysAndAttributesServiceResourceTypeDef = TypedDict(
1093
1185
  "KeysAndAttributesServiceResourceTypeDef",
1094
1186
  {
@@ -1099,6 +1191,12 @@ KeysAndAttributesServiceResourceTypeDef = TypedDict(
1099
1191
  "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1100
1192
  },
1101
1193
  )
1194
+ PutRequestServiceResourceOutputTypeDef = TypedDict(
1195
+ "PutRequestServiceResourceOutputTypeDef",
1196
+ {
1197
+ "Item": Dict[str, TableAttributeValueTypeDef],
1198
+ },
1199
+ )
1102
1200
  PutRequestServiceResourceTypeDef = TypedDict(
1103
1201
  "PutRequestServiceResourceTypeDef",
1104
1202
  {
@@ -1159,49 +1257,16 @@ ListContributorInsightsOutputTypeDef = TypedDict(
1159
1257
  "ListContributorInsightsOutputTypeDef",
1160
1258
  {
1161
1259
  "ContributorInsightsSummaries": List[ContributorInsightsSummaryTypeDef],
1162
- "NextToken": str,
1163
1260
  "ResponseMetadata": ResponseMetadataTypeDef,
1261
+ "NextToken": NotRequired[str],
1164
1262
  },
1165
1263
  )
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",
1264
+ LocalSecondaryIndexTypeDef = TypedDict(
1265
+ "LocalSecondaryIndexTypeDef",
1179
1266
  {
1180
1267
  "IndexName": str,
1181
1268
  "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,
1269
+ "Projection": ProjectionTypeDef,
1205
1270
  },
1206
1271
  )
1207
1272
  CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
@@ -1211,15 +1276,7 @@ CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
1211
1276
  "KeySchema": Sequence[KeySchemaElementTypeDef],
1212
1277
  "Projection": ProjectionTypeDef,
1213
1278
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1214
- },
1215
- )
1216
- GlobalSecondaryIndexInfoTypeDef = TypedDict(
1217
- "GlobalSecondaryIndexInfoTypeDef",
1218
- {
1219
- "IndexName": NotRequired[str],
1220
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1221
- "Projection": NotRequired[ProjectionTypeDef],
1222
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1279
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1223
1280
  },
1224
1281
  )
1225
1282
  GlobalSecondaryIndexTypeDef = TypedDict(
@@ -1229,33 +1286,30 @@ GlobalSecondaryIndexTypeDef = TypedDict(
1229
1286
  "KeySchema": Sequence[KeySchemaElementTypeDef],
1230
1287
  "Projection": ProjectionTypeDef,
1231
1288
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1289
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1232
1290
  },
1233
1291
  )
1234
- LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1235
- "LocalSecondaryIndexDescriptionTypeDef",
1292
+ SourceTableDetailsTypeDef = TypedDict(
1293
+ "SourceTableDetailsTypeDef",
1236
1294
  {
1237
- "IndexName": NotRequired[str],
1238
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1239
- "Projection": NotRequired[ProjectionTypeDef],
1240
- "IndexSizeBytes": NotRequired[int],
1295
+ "TableName": str,
1296
+ "TableId": str,
1297
+ "KeySchema": List[KeySchemaElementTypeDef],
1298
+ "TableCreationDateTime": datetime,
1299
+ "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1300
+ "TableArn": NotRequired[str],
1301
+ "TableSizeBytes": NotRequired[int],
1302
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1241
1303
  "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],
1304
+ "BillingMode": NotRequired[BillingModeType],
1251
1305
  },
1252
1306
  )
1253
- LocalSecondaryIndexTypeDef = TypedDict(
1254
- "LocalSecondaryIndexTypeDef",
1307
+ UpdateGlobalSecondaryIndexActionTypeDef = TypedDict(
1308
+ "UpdateGlobalSecondaryIndexActionTypeDef",
1255
1309
  {
1256
1310
  "IndexName": str,
1257
- "KeySchema": Sequence[KeySchemaElementTypeDef],
1258
- "Projection": ProjectionTypeDef,
1311
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1312
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1259
1313
  },
1260
1314
  )
1261
1315
  CreateGlobalTableInputRequestTypeDef = TypedDict(
@@ -1277,6 +1331,7 @@ ReplicaGlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1277
1331
  {
1278
1332
  "IndexName": NotRequired[str],
1279
1333
  "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1334
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1280
1335
  },
1281
1336
  )
1282
1337
  ReplicaGlobalSecondaryIndexTypeDef = TypedDict(
@@ -1284,14 +1339,15 @@ ReplicaGlobalSecondaryIndexTypeDef = TypedDict(
1284
1339
  {
1285
1340
  "IndexName": str,
1286
1341
  "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
1342
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
1287
1343
  },
1288
1344
  )
1289
1345
  ListTagsOfResourceOutputTypeDef = TypedDict(
1290
1346
  "ListTagsOfResourceOutputTypeDef",
1291
1347
  {
1292
1348
  "Tags": List[TagTypeDef],
1293
- "NextToken": str,
1294
1349
  "ResponseMetadata": ResponseMetadataTypeDef,
1350
+ "NextToken": NotRequired[str],
1295
1351
  },
1296
1352
  )
1297
1353
  TagResourceInputRequestTypeDef = TypedDict(
@@ -1301,6 +1357,12 @@ TagResourceInputRequestTypeDef = TypedDict(
1301
1357
  "Tags": Sequence[TagTypeDef],
1302
1358
  },
1303
1359
  )
1360
+ InputFormatOptionsOutputTypeDef = TypedDict(
1361
+ "InputFormatOptionsOutputTypeDef",
1362
+ {
1363
+ "Csv": NotRequired[CsvOptionsOutputTypeDef],
1364
+ },
1365
+ )
1304
1366
  InputFormatOptionsTypeDef = TypedDict(
1305
1367
  "InputFormatOptionsTypeDef",
1306
1368
  {
@@ -1405,31 +1467,23 @@ ExportDescriptionTypeDef = TypedDict(
1405
1467
  "BilledSizeBytes": NotRequired[int],
1406
1468
  "ItemCount": NotRequired[int],
1407
1469
  "ExportType": NotRequired[ExportTypeType],
1408
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
1470
+ "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationOutputTypeDef],
1409
1471
  },
1410
1472
  )
1411
1473
  ListExportsOutputTypeDef = TypedDict(
1412
1474
  "ListExportsOutputTypeDef",
1413
1475
  {
1414
1476
  "ExportSummaries": List[ExportSummaryTypeDef],
1415
- "NextToken": str,
1416
1477
  "ResponseMetadata": ResponseMetadataTypeDef,
1478
+ "NextToken": NotRequired[str],
1417
1479
  },
1418
1480
  )
1419
- ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
1420
- "ExportTableToPointInTimeInputRequestTypeDef",
1481
+ IncrementalExportSpecificationTypeDef = TypedDict(
1482
+ "IncrementalExportSpecificationTypeDef",
1421
1483
  {
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],
1484
+ "ExportFromTime": NotRequired[TimestampTypeDef],
1485
+ "ExportToTime": NotRequired[TimestampTypeDef],
1486
+ "ExportViewType": NotRequired[ExportViewTypeType],
1433
1487
  },
1434
1488
  )
1435
1489
  ListBackupsInputRequestTypeDef = TypedDict(
@@ -1443,15 +1497,12 @@ ListBackupsInputRequestTypeDef = TypedDict(
1443
1497
  "BackupType": NotRequired[BackupTypeFilterType],
1444
1498
  },
1445
1499
  )
1446
- GlobalSecondaryIndexDescriptionTableTypeDef = TypedDict(
1447
- "GlobalSecondaryIndexDescriptionTableTypeDef",
1500
+ LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1501
+ "LocalSecondaryIndexDescriptionTypeDef",
1448
1502
  {
1449
1503
  "IndexName": NotRequired[str],
1450
1504
  "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1451
- "Projection": NotRequired[ProjectionTableTypeDef],
1452
- "IndexStatus": NotRequired[IndexStatusType],
1453
- "Backfilling": NotRequired[bool],
1454
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
1505
+ "Projection": NotRequired[ProjectionExtraOutputTypeDef],
1455
1506
  "IndexSizeBytes": NotRequired[int],
1456
1507
  "ItemCount": NotRequired[int],
1457
1508
  "IndexArn": NotRequired[str],
@@ -1462,13 +1513,42 @@ GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1462
1513
  {
1463
1514
  "IndexName": NotRequired[str],
1464
1515
  "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1465
- "Projection": NotRequired[ProjectionTypeDef],
1516
+ "Projection": NotRequired[ProjectionExtraOutputTypeDef],
1466
1517
  "IndexStatus": NotRequired[IndexStatusType],
1467
1518
  "Backfilling": NotRequired[bool],
1468
1519
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
1469
1520
  "IndexSizeBytes": NotRequired[int],
1470
1521
  "ItemCount": NotRequired[int],
1471
1522
  "IndexArn": NotRequired[str],
1523
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1524
+ },
1525
+ )
1526
+ GlobalSecondaryIndexInfoTypeDef = TypedDict(
1527
+ "GlobalSecondaryIndexInfoTypeDef",
1528
+ {
1529
+ "IndexName": NotRequired[str],
1530
+ "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1531
+ "Projection": NotRequired[ProjectionOutputTypeDef],
1532
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1533
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1534
+ },
1535
+ )
1536
+ GlobalSecondaryIndexOutputTypeDef = TypedDict(
1537
+ "GlobalSecondaryIndexOutputTypeDef",
1538
+ {
1539
+ "IndexName": str,
1540
+ "KeySchema": List[KeySchemaElementTypeDef],
1541
+ "Projection": ProjectionOutputTypeDef,
1542
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1543
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
1544
+ },
1545
+ )
1546
+ LocalSecondaryIndexInfoTypeDef = TypedDict(
1547
+ "LocalSecondaryIndexInfoTypeDef",
1548
+ {
1549
+ "IndexName": NotRequired[str],
1550
+ "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1551
+ "Projection": NotRequired[ProjectionOutputTypeDef],
1472
1552
  },
1473
1553
  )
1474
1554
  ImportSummaryTypeDef = TypedDict(
@@ -1556,6 +1636,13 @@ BatchStatementResponseTypeDef = TypedDict(
1556
1636
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1557
1637
  },
1558
1638
  )
1639
+ WriteRequestOutputTypeDef = TypedDict(
1640
+ "WriteRequestOutputTypeDef",
1641
+ {
1642
+ "PutRequest": NotRequired[PutRequestOutputTypeDef],
1643
+ "DeleteRequest": NotRequired[DeleteRequestOutputTypeDef],
1644
+ },
1645
+ )
1559
1646
  AttributeValueUpdateTypeDef = TypedDict(
1560
1647
  "AttributeValueUpdateTypeDef",
1561
1648
  {
@@ -1784,11 +1871,14 @@ UpdateItemInputTableUpdateItemTypeDef = TypedDict(
1784
1871
  "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1785
1872
  },
1786
1873
  )
1787
- BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
1788
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
1874
+ KeysAndAttributesServiceResourceUnionTypeDef = Union[
1875
+ KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef
1876
+ ]
1877
+ WriteRequestServiceResourceOutputTypeDef = TypedDict(
1878
+ "WriteRequestServiceResourceOutputTypeDef",
1789
1879
  {
1790
- "RequestItems": Mapping[str, KeysAndAttributesServiceResourceTypeDef],
1791
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1880
+ "PutRequest": NotRequired[PutRequestServiceResourceOutputTypeDef],
1881
+ "DeleteRequest": NotRequired[DeleteRequestServiceResourceOutputTypeDef],
1792
1882
  },
1793
1883
  )
1794
1884
  WriteRequestServiceResourceTypeDef = TypedDict(
@@ -1822,7 +1912,16 @@ BatchGetItemOutputServiceResourceTypeDef = TypedDict(
1822
1912
  "BatchGetItemOutputServiceResourceTypeDef",
1823
1913
  {
1824
1914
  "Responses": Dict[str, List[Dict[str, TableAttributeValueTypeDef]]],
1825
- "UnprocessedKeys": Dict[str, KeysAndAttributesServiceResourceTypeDef],
1915
+ "UnprocessedKeys": Dict[str, KeysAndAttributesServiceResourceOutputTypeDef],
1916
+ "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1917
+ "ResponseMetadata": ResponseMetadataTypeDef,
1918
+ },
1919
+ )
1920
+ BatchGetItemOutputTypeDef = TypedDict(
1921
+ "BatchGetItemOutputTypeDef",
1922
+ {
1923
+ "Responses": Dict[str, List[Dict[str, AttributeValueTypeDef]]],
1924
+ "UnprocessedKeys": Dict[str, KeysAndAttributesOutputTypeDef],
1826
1925
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1827
1926
  "ResponseMetadata": ResponseMetadataTypeDef,
1828
1927
  },
@@ -1849,10 +1948,10 @@ ExecuteStatementOutputTypeDef = TypedDict(
1849
1948
  "ExecuteStatementOutputTypeDef",
1850
1949
  {
1851
1950
  "Items": List[Dict[str, AttributeValueTypeDef]],
1852
- "NextToken": str,
1853
1951
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1854
1952
  "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
1855
1953
  "ResponseMetadata": ResponseMetadataTypeDef,
1954
+ "NextToken": NotRequired[str],
1856
1955
  },
1857
1956
  )
1858
1957
  ExecuteTransactionOutputTypeDef = TypedDict(
@@ -1866,17 +1965,17 @@ ExecuteTransactionOutputTypeDef = TypedDict(
1866
1965
  GetItemOutputTableTypeDef = TypedDict(
1867
1966
  "GetItemOutputTableTypeDef",
1868
1967
  {
1869
- "Item": Dict[str, TableAttributeValueTypeDef],
1870
1968
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1871
1969
  "ResponseMetadata": ResponseMetadataTypeDef,
1970
+ "Item": NotRequired[Dict[str, TableAttributeValueTypeDef]],
1872
1971
  },
1873
1972
  )
1874
1973
  GetItemOutputTypeDef = TypedDict(
1875
1974
  "GetItemOutputTypeDef",
1876
1975
  {
1877
- "Item": Dict[str, AttributeValueTypeDef],
1878
1976
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1879
1977
  "ResponseMetadata": ResponseMetadataTypeDef,
1978
+ "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1880
1979
  },
1881
1980
  )
1882
1981
  PutItemOutputTableTypeDef = TypedDict(
@@ -1989,105 +2088,25 @@ UpdateContinuousBackupsOutputTypeDef = TypedDict(
1989
2088
  "ResponseMetadata": ResponseMetadataTypeDef,
1990
2089
  },
1991
2090
  )
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
2091
  TableCreationParametersTypeDef = TypedDict(
2009
2092
  "TableCreationParametersTypeDef",
2010
2093
  {
2011
2094
  "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
2095
  "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2034
- "TableName": str,
2035
2096
  "KeySchema": Sequence[KeySchemaElementTypeDef],
2036
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2037
- "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2038
2097
  "BillingMode": NotRequired[BillingModeType],
2039
2098
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2040
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2099
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2041
2100
  "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
2101
  "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
2102
  },
2077
2103
  )
2078
- RestoreTableToPointInTimeInputRequestTypeDef = TypedDict(
2079
- "RestoreTableToPointInTimeInputRequestTypeDef",
2104
+ GlobalSecondaryIndexUpdateTypeDef = TypedDict(
2105
+ "GlobalSecondaryIndexUpdateTypeDef",
2080
2106
  {
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],
2107
+ "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
2108
+ "Create": NotRequired[CreateGlobalSecondaryIndexActionTypeDef],
2109
+ "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
2091
2110
  },
2092
2111
  )
2093
2112
  ListGlobalTablesOutputTypeDef = TypedDict(
@@ -2107,6 +2126,7 @@ ReplicaDescriptionTypeDef = TypedDict(
2107
2126
  "ReplicaStatusPercentProgress": NotRequired[str],
2108
2127
  "KMSMasterKeyId": NotRequired[str],
2109
2128
  "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
2129
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
2110
2130
  "GlobalSecondaryIndexes": NotRequired[List[ReplicaGlobalSecondaryIndexDescriptionTypeDef]],
2111
2131
  "ReplicaInaccessibleDateTime": NotRequired[datetime],
2112
2132
  "ReplicaTableClassSummary": NotRequired[TableClassSummaryTypeDef],
@@ -2118,6 +2138,7 @@ CreateReplicationGroupMemberActionTypeDef = TypedDict(
2118
2138
  "RegionName": str,
2119
2139
  "KMSMasterKeyId": NotRequired[str],
2120
2140
  "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
2141
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
2121
2142
  "GlobalSecondaryIndexes": NotRequired[Sequence[ReplicaGlobalSecondaryIndexTypeDef]],
2122
2143
  "TableClassOverride": NotRequired[TableClassType],
2123
2144
  },
@@ -2128,10 +2149,12 @@ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
2128
2149
  "RegionName": str,
2129
2150
  "KMSMasterKeyId": NotRequired[str],
2130
2151
  "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputOverrideTypeDef],
2152
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputOverrideTypeDef],
2131
2153
  "GlobalSecondaryIndexes": NotRequired[Sequence[ReplicaGlobalSecondaryIndexTypeDef]],
2132
2154
  "TableClassOverride": NotRequired[TableClassType],
2133
2155
  },
2134
2156
  )
2157
+ InputFormatOptionsUnionTypeDef = Union[InputFormatOptionsTypeDef, InputFormatOptionsOutputTypeDef]
2135
2158
  UpdateGlobalTableInputRequestTypeDef = TypedDict(
2136
2159
  "UpdateGlobalTableInputRequestTypeDef",
2137
2160
  {
@@ -2153,12 +2176,57 @@ ExportTableToPointInTimeOutputTypeDef = TypedDict(
2153
2176
  "ResponseMetadata": ResponseMetadataTypeDef,
2154
2177
  },
2155
2178
  )
2179
+ ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
2180
+ "ExportTableToPointInTimeInputRequestTypeDef",
2181
+ {
2182
+ "TableArn": str,
2183
+ "S3Bucket": str,
2184
+ "ExportTime": NotRequired[TimestampTypeDef],
2185
+ "ClientToken": NotRequired[str],
2186
+ "S3BucketOwner": NotRequired[str],
2187
+ "S3Prefix": NotRequired[str],
2188
+ "S3SseAlgorithm": NotRequired[S3SseAlgorithmType],
2189
+ "S3SseKmsKeyId": NotRequired[str],
2190
+ "ExportFormat": NotRequired[ExportFormatType],
2191
+ "ExportType": NotRequired[ExportTypeType],
2192
+ "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
2193
+ },
2194
+ )
2195
+ IncrementalExportSpecificationUnionTypeDef = Union[
2196
+ IncrementalExportSpecificationTypeDef, IncrementalExportSpecificationOutputTypeDef
2197
+ ]
2198
+ GlobalSecondaryIndexUnionTypeDef = Union[
2199
+ GlobalSecondaryIndexTypeDef, GlobalSecondaryIndexOutputTypeDef
2200
+ ]
2201
+ TableCreationParametersOutputTypeDef = TypedDict(
2202
+ "TableCreationParametersOutputTypeDef",
2203
+ {
2204
+ "TableName": str,
2205
+ "AttributeDefinitions": List[AttributeDefinitionTypeDef],
2206
+ "KeySchema": List[KeySchemaElementTypeDef],
2207
+ "BillingMode": NotRequired[BillingModeType],
2208
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2209
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2210
+ "SSESpecification": NotRequired[SSESpecificationTypeDef],
2211
+ "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexOutputTypeDef]],
2212
+ },
2213
+ )
2214
+ SourceTableFeatureDetailsTypeDef = TypedDict(
2215
+ "SourceTableFeatureDetailsTypeDef",
2216
+ {
2217
+ "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexInfoTypeDef]],
2218
+ "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexInfoTypeDef]],
2219
+ "StreamDescription": NotRequired[StreamSpecificationTypeDef],
2220
+ "TimeToLiveDescription": NotRequired[TimeToLiveDescriptionTypeDef],
2221
+ "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2222
+ },
2223
+ )
2156
2224
  ListImportsOutputTypeDef = TypedDict(
2157
2225
  "ListImportsOutputTypeDef",
2158
2226
  {
2159
2227
  "ImportSummaryList": List[ImportSummaryTypeDef],
2160
- "NextToken": str,
2161
2228
  "ResponseMetadata": ResponseMetadataTypeDef,
2229
+ "NextToken": NotRequired[str],
2162
2230
  },
2163
2231
  )
2164
2232
  BatchExecuteStatementOutputTypeDef = TypedDict(
@@ -2169,6 +2237,15 @@ BatchExecuteStatementOutputTypeDef = TypedDict(
2169
2237
  "ResponseMetadata": ResponseMetadataTypeDef,
2170
2238
  },
2171
2239
  )
2240
+ BatchWriteItemOutputTypeDef = TypedDict(
2241
+ "BatchWriteItemOutputTypeDef",
2242
+ {
2243
+ "UnprocessedItems": Dict[str, List[WriteRequestOutputTypeDef]],
2244
+ "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
2245
+ "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2246
+ "ResponseMetadata": ResponseMetadataTypeDef,
2247
+ },
2248
+ )
2172
2249
  BatchExecuteStatementInputRequestTypeDef = TypedDict(
2173
2250
  "BatchExecuteStatementInputRequestTypeDef",
2174
2251
  {
@@ -2316,22 +2393,7 @@ TransactGetItemTypeDef = TypedDict(
2316
2393
  "Get": GetTypeDef,
2317
2394
  },
2318
2395
  )
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
- )
2396
+ KeysAndAttributesUnionTypeDef = Union[KeysAndAttributesTypeDef, KeysAndAttributesOutputTypeDef]
2335
2397
  ExecuteTransactionInputRequestTypeDef = TypedDict(
2336
2398
  "ExecuteTransactionInputRequestTypeDef",
2337
2399
  {
@@ -2356,23 +2418,25 @@ TransactWriteItemTypeDef = TypedDict(
2356
2418
  "Update": NotRequired[UpdateTypeDef],
2357
2419
  },
2358
2420
  )
2359
- BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2360
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2421
+ BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
2422
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
2361
2423
  {
2362
- "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceTypeDef]],
2424
+ "RequestItems": Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
2363
2425
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2364
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2365
2426
  },
2366
2427
  )
2367
2428
  BatchWriteItemOutputServiceResourceTypeDef = TypedDict(
2368
2429
  "BatchWriteItemOutputServiceResourceTypeDef",
2369
2430
  {
2370
- "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceTypeDef]],
2431
+ "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceOutputTypeDef]],
2371
2432
  "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]],
2372
2433
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2373
2434
  "ResponseMetadata": ResponseMetadataTypeDef,
2374
2435
  },
2375
2436
  )
2437
+ WriteRequestServiceResourceUnionTypeDef = Union[
2438
+ WriteRequestServiceResourceTypeDef, WriteRequestServiceResourceOutputTypeDef
2439
+ ]
2376
2440
  ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef = TypedDict(
2377
2441
  "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
2378
2442
  {
@@ -2435,30 +2499,6 @@ ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef = TypedDict(
2435
2499
  ],
2436
2500
  },
2437
2501
  )
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
2502
  ImportTableInputRequestTypeDef = TypedDict(
2463
2503
  "ImportTableInputRequestTypeDef",
2464
2504
  {
@@ -2470,14 +2510,6 @@ ImportTableInputRequestTypeDef = TypedDict(
2470
2510
  "InputCompressionType": NotRequired[InputCompressionTypeType],
2471
2511
  },
2472
2512
  )
2473
- BackupDescriptionTypeDef = TypedDict(
2474
- "BackupDescriptionTypeDef",
2475
- {
2476
- "BackupDetails": NotRequired[BackupDetailsTypeDef],
2477
- "SourceTableDetails": NotRequired[SourceTableDetailsTypeDef],
2478
- "SourceTableFeatureDetails": NotRequired[SourceTableFeatureDetailsTypeDef],
2479
- },
2480
- )
2481
2513
  GlobalTableDescriptionTypeDef = TypedDict(
2482
2514
  "GlobalTableDescriptionTypeDef",
2483
2515
  {
@@ -2488,34 +2520,6 @@ GlobalTableDescriptionTypeDef = TypedDict(
2488
2520
  "GlobalTableName": NotRequired[str],
2489
2521
  },
2490
2522
  )
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
2523
  TableDescriptionTypeDef = TypedDict(
2520
2524
  "TableDescriptionTypeDef",
2521
2525
  {
@@ -2542,6 +2546,7 @@ TableDescriptionTypeDef = TypedDict(
2542
2546
  "ArchivalSummary": NotRequired[ArchivalSummaryTypeDef],
2543
2547
  "TableClassSummary": NotRequired[TableClassSummaryTypeDef],
2544
2548
  "DeletionProtectionEnabled": NotRequired[bool],
2549
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2545
2550
  },
2546
2551
  )
2547
2552
  ReplicationGroupUpdateTypeDef = TypedDict(
@@ -2552,6 +2557,108 @@ ReplicationGroupUpdateTypeDef = TypedDict(
2552
2557
  "Delete": NotRequired[DeleteReplicationGroupMemberActionTypeDef],
2553
2558
  },
2554
2559
  )
2560
+ CreateTableInputRequestTypeDef = TypedDict(
2561
+ "CreateTableInputRequestTypeDef",
2562
+ {
2563
+ "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2564
+ "TableName": str,
2565
+ "KeySchema": Sequence[KeySchemaElementTypeDef],
2566
+ "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2567
+ "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2568
+ "BillingMode": NotRequired[BillingModeType],
2569
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2570
+ "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2571
+ "SSESpecification": NotRequired[SSESpecificationTypeDef],
2572
+ "Tags": NotRequired[Sequence[TagTypeDef]],
2573
+ "TableClass": NotRequired[TableClassType],
2574
+ "DeletionProtectionEnabled": NotRequired[bool],
2575
+ "ResourcePolicy": NotRequired[str],
2576
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2577
+ },
2578
+ )
2579
+ CreateTableInputServiceResourceCreateTableTypeDef = TypedDict(
2580
+ "CreateTableInputServiceResourceCreateTableTypeDef",
2581
+ {
2582
+ "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2583
+ "TableName": str,
2584
+ "KeySchema": Sequence[KeySchemaElementTypeDef],
2585
+ "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2586
+ "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2587
+ "BillingMode": NotRequired[BillingModeType],
2588
+ "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2589
+ "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2590
+ "SSESpecification": NotRequired[SSESpecificationTypeDef],
2591
+ "Tags": NotRequired[Sequence[TagTypeDef]],
2592
+ "TableClass": NotRequired[TableClassType],
2593
+ "DeletionProtectionEnabled": NotRequired[bool],
2594
+ "ResourcePolicy": NotRequired[str],
2595
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2596
+ },
2597
+ )
2598
+ RestoreTableFromBackupInputRequestTypeDef = TypedDict(
2599
+ "RestoreTableFromBackupInputRequestTypeDef",
2600
+ {
2601
+ "TargetTableName": str,
2602
+ "BackupArn": str,
2603
+ "BillingModeOverride": NotRequired[BillingModeType],
2604
+ "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2605
+ "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2606
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2607
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputTypeDef],
2608
+ "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2609
+ },
2610
+ )
2611
+ RestoreTableToPointInTimeInputRequestTypeDef = TypedDict(
2612
+ "RestoreTableToPointInTimeInputRequestTypeDef",
2613
+ {
2614
+ "TargetTableName": str,
2615
+ "SourceTableArn": NotRequired[str],
2616
+ "SourceTableName": NotRequired[str],
2617
+ "UseLatestRestorableTime": NotRequired[bool],
2618
+ "RestoreDateTime": NotRequired[TimestampTypeDef],
2619
+ "BillingModeOverride": NotRequired[BillingModeType],
2620
+ "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexUnionTypeDef]],
2621
+ "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2622
+ "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2623
+ "OnDemandThroughputOverride": NotRequired[OnDemandThroughputTypeDef],
2624
+ "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2625
+ },
2626
+ )
2627
+ ImportTableDescriptionTypeDef = TypedDict(
2628
+ "ImportTableDescriptionTypeDef",
2629
+ {
2630
+ "ImportArn": NotRequired[str],
2631
+ "ImportStatus": NotRequired[ImportStatusType],
2632
+ "TableArn": NotRequired[str],
2633
+ "TableId": NotRequired[str],
2634
+ "ClientToken": NotRequired[str],
2635
+ "S3BucketSource": NotRequired[S3BucketSourceTypeDef],
2636
+ "ErrorCount": NotRequired[int],
2637
+ "CloudWatchLogGroupArn": NotRequired[str],
2638
+ "InputFormat": NotRequired[InputFormatType],
2639
+ "InputFormatOptions": NotRequired[InputFormatOptionsOutputTypeDef],
2640
+ "InputCompressionType": NotRequired[InputCompressionTypeType],
2641
+ "TableCreationParameters": NotRequired[TableCreationParametersOutputTypeDef],
2642
+ "StartTime": NotRequired[datetime],
2643
+ "EndTime": NotRequired[datetime],
2644
+ "ProcessedSizeBytes": NotRequired[int],
2645
+ "ProcessedItemCount": NotRequired[int],
2646
+ "ImportedItemCount": NotRequired[int],
2647
+ "FailureCode": NotRequired[str],
2648
+ "FailureMessage": NotRequired[str],
2649
+ },
2650
+ )
2651
+ TableCreationParametersUnionTypeDef = Union[
2652
+ TableCreationParametersTypeDef, TableCreationParametersOutputTypeDef
2653
+ ]
2654
+ BackupDescriptionTypeDef = TypedDict(
2655
+ "BackupDescriptionTypeDef",
2656
+ {
2657
+ "BackupDetails": NotRequired[BackupDetailsTypeDef],
2658
+ "SourceTableDetails": NotRequired[SourceTableDetailsTypeDef],
2659
+ "SourceTableFeatureDetails": NotRequired[SourceTableFeatureDetailsTypeDef],
2660
+ },
2661
+ )
2555
2662
  TransactGetItemsInputRequestTypeDef = TypedDict(
2556
2663
  "TransactGetItemsInputRequestTypeDef",
2557
2664
  {
@@ -2559,23 +2666,14 @@ TransactGetItemsInputRequestTypeDef = TypedDict(
2559
2666
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2560
2667
  },
2561
2668
  )
2562
- BatchWriteItemInputRequestTypeDef = TypedDict(
2563
- "BatchWriteItemInputRequestTypeDef",
2669
+ BatchGetItemInputRequestTypeDef = TypedDict(
2670
+ "BatchGetItemInputRequestTypeDef",
2564
2671
  {
2565
- "RequestItems": Mapping[str, Sequence[WriteRequestTypeDef]],
2672
+ "RequestItems": Mapping[str, KeysAndAttributesUnionTypeDef],
2566
2673
  "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
2674
  },
2578
2675
  )
2676
+ WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2579
2677
  TransactWriteItemsInputRequestTypeDef = TypedDict(
2580
2678
  "TransactWriteItemsInputRequestTypeDef",
2581
2679
  {
@@ -2585,6 +2683,14 @@ TransactWriteItemsInputRequestTypeDef = TypedDict(
2585
2683
  "ClientRequestToken": NotRequired[str],
2586
2684
  },
2587
2685
  )
2686
+ BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2687
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2688
+ {
2689
+ "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
2690
+ "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2691
+ "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2692
+ },
2693
+ )
2588
2694
  ReplicaAutoScalingDescriptionTypeDef = TypedDict(
2589
2695
  "ReplicaAutoScalingDescriptionTypeDef",
2590
2696
  {
@@ -2647,34 +2753,6 @@ ReplicaSettingsUpdateTypeDef = TypedDict(
2647
2753
  "ReplicaTableClass": NotRequired[TableClassType],
2648
2754
  },
2649
2755
  )
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
2756
  CreateGlobalTableOutputTypeDef = TypedDict(
2679
2757
  "CreateGlobalTableOutputTypeDef",
2680
2758
  {
@@ -2696,13 +2774,6 @@ UpdateGlobalTableOutputTypeDef = TypedDict(
2696
2774
  "ResponseMetadata": ResponseMetadataTypeDef,
2697
2775
  },
2698
2776
  )
2699
- DeleteTableOutputTableTypeDef = TypedDict(
2700
- "DeleteTableOutputTableTypeDef",
2701
- {
2702
- "TableDescription": TableDescriptionTableTypeDef,
2703
- "ResponseMetadata": ResponseMetadataTypeDef,
2704
- },
2705
- )
2706
2777
  CreateTableOutputTypeDef = TypedDict(
2707
2778
  "CreateTableOutputTypeDef",
2708
2779
  {
@@ -2758,6 +2829,7 @@ UpdateTableInputRequestTypeDef = TypedDict(
2758
2829
  "ReplicaUpdates": NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],
2759
2830
  "TableClass": NotRequired[TableClassType],
2760
2831
  "DeletionProtectionEnabled": NotRequired[bool],
2832
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2761
2833
  },
2762
2834
  )
2763
2835
  UpdateTableInputTableUpdateTypeDef = TypedDict(
@@ -2766,14 +2838,49 @@ UpdateTableInputTableUpdateTypeDef = TypedDict(
2766
2838
  "AttributeDefinitions": NotRequired[Sequence[AttributeDefinitionTypeDef]],
2767
2839
  "BillingMode": NotRequired[BillingModeType],
2768
2840
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2769
- "GlobalSecondaryIndexUpdates": NotRequired[
2770
- Sequence[GlobalSecondaryIndexUpdateTableTypeDef]
2771
- ],
2841
+ "GlobalSecondaryIndexUpdates": NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],
2772
2842
  "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2773
2843
  "SSESpecification": NotRequired[SSESpecificationTypeDef],
2774
2844
  "ReplicaUpdates": NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],
2775
2845
  "TableClass": NotRequired[TableClassType],
2776
2846
  "DeletionProtectionEnabled": NotRequired[bool],
2847
+ "OnDemandThroughput": NotRequired[OnDemandThroughputTypeDef],
2848
+ },
2849
+ )
2850
+ DescribeImportOutputTypeDef = TypedDict(
2851
+ "DescribeImportOutputTypeDef",
2852
+ {
2853
+ "ImportTableDescription": ImportTableDescriptionTypeDef,
2854
+ "ResponseMetadata": ResponseMetadataTypeDef,
2855
+ },
2856
+ )
2857
+ ImportTableOutputTypeDef = TypedDict(
2858
+ "ImportTableOutputTypeDef",
2859
+ {
2860
+ "ImportTableDescription": ImportTableDescriptionTypeDef,
2861
+ "ResponseMetadata": ResponseMetadataTypeDef,
2862
+ },
2863
+ )
2864
+ DeleteBackupOutputTypeDef = TypedDict(
2865
+ "DeleteBackupOutputTypeDef",
2866
+ {
2867
+ "BackupDescription": BackupDescriptionTypeDef,
2868
+ "ResponseMetadata": ResponseMetadataTypeDef,
2869
+ },
2870
+ )
2871
+ DescribeBackupOutputTypeDef = TypedDict(
2872
+ "DescribeBackupOutputTypeDef",
2873
+ {
2874
+ "BackupDescription": BackupDescriptionTypeDef,
2875
+ "ResponseMetadata": ResponseMetadataTypeDef,
2876
+ },
2877
+ )
2878
+ BatchWriteItemInputRequestTypeDef = TypedDict(
2879
+ "BatchWriteItemInputRequestTypeDef",
2880
+ {
2881
+ "RequestItems": Mapping[str, Sequence[WriteRequestUnionTypeDef]],
2882
+ "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2883
+ "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2777
2884
  },
2778
2885
  )
2779
2886
  TableAutoScalingDescriptionTypeDef = TypedDict(