mypy-boto3-dynamodb 1.34.57__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,20 +87,21 @@ __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",
102
102
  "DeleteReplicaActionTypeDef",
103
103
  "DeleteReplicationGroupMemberActionTypeDef",
104
+ "DeleteResourcePolicyInputRequestTypeDef",
104
105
  "DeleteTableInputRequestTypeDef",
105
106
  "DescribeBackupInputRequestTypeDef",
106
107
  "DescribeContinuousBackupsInputRequestTypeDef",
@@ -119,10 +120,13 @@ __all__ = (
119
120
  "DescribeTimeToLiveInputRequestTypeDef",
120
121
  "TimeToLiveDescriptionTypeDef",
121
122
  "EnableKinesisStreamingConfigurationTypeDef",
122
- "IncrementalExportSpecificationTypeDef",
123
+ "IncrementalExportSpecificationOutputTypeDef",
123
124
  "ExportSummaryTypeDef",
124
125
  "TimestampTypeDef",
126
+ "GetResourcePolicyInputRequestTypeDef",
127
+ "ProjectionExtraOutputTypeDef",
125
128
  "ProvisionedThroughputDescriptionTypeDef",
129
+ "ProjectionOutputTypeDef",
126
130
  "S3BucketSourceTypeDef",
127
131
  "PaginatorConfigTypeDef",
128
132
  "ListContributorInsightsInputRequestTypeDef",
@@ -132,6 +136,7 @@ __all__ = (
132
136
  "ListTablesInputRequestTypeDef",
133
137
  "ListTagsOfResourceInputRequestTypeDef",
134
138
  "PointInTimeRecoverySpecificationTypeDef",
139
+ "PutResourcePolicyInputRequestTypeDef",
135
140
  "TableClassSummaryTypeDef",
136
141
  "RestoreSummaryTypeDef",
137
142
  "SSEDescriptionTypeDef",
@@ -142,27 +147,36 @@ __all__ = (
142
147
  "UpdateKinesisStreamingConfigurationTypeDef",
143
148
  "ArchivalSummaryResponseTypeDef",
144
149
  "BillingModeSummaryResponseTypeDef",
150
+ "DeleteResourcePolicyOutputTypeDef",
145
151
  "DescribeLimitsOutputTypeDef",
146
152
  "EmptyResponseMetadataTypeDef",
153
+ "GetResourcePolicyOutputTypeDef",
147
154
  "ListTablesOutputTypeDef",
148
155
  "ProvisionedThroughputDescriptionResponseTypeDef",
156
+ "PutResourcePolicyOutputTypeDef",
149
157
  "RestoreSummaryResponseTypeDef",
150
158
  "SSEDescriptionResponseTypeDef",
151
159
  "StreamSpecificationResponseTypeDef",
152
160
  "TableClassSummaryResponseTypeDef",
153
161
  "UpdateContributorInsightsOutputTypeDef",
154
162
  "BatchStatementErrorTypeDef",
163
+ "DeleteRequestOutputTypeDef",
155
164
  "ItemCollectionMetricsTypeDef",
156
165
  "ItemResponseTypeDef",
166
+ "KeysAndAttributesOutputTypeDef",
167
+ "PutRequestOutputTypeDef",
157
168
  "UniversalAttributeValueTypeDef",
158
169
  "AttributeValueUpdateTableTypeDef",
159
170
  "ConditionTableTypeDef",
171
+ "DeleteRequestServiceResourceOutputTypeDef",
160
172
  "DeleteRequestServiceResourceTypeDef",
161
173
  "ExpectedAttributeValueTableTypeDef",
162
174
  "GetItemInputTableGetItemTypeDef",
163
175
  "ItemCollectionMetricsServiceResourceTypeDef",
164
176
  "ItemCollectionMetricsTableTypeDef",
177
+ "KeysAndAttributesServiceResourceOutputTypeDef",
165
178
  "KeysAndAttributesServiceResourceTypeDef",
179
+ "PutRequestServiceResourceOutputTypeDef",
166
180
  "PutRequestServiceResourceTypeDef",
167
181
  "AutoScalingPolicyDescriptionTypeDef",
168
182
  "AutoScalingPolicyUpdateTypeDef",
@@ -171,22 +185,18 @@ __all__ = (
171
185
  "ConsumedCapacityTypeDef",
172
186
  "ContinuousBackupsDescriptionTypeDef",
173
187
  "ListContributorInsightsOutputTypeDef",
174
- "LocalSecondaryIndexDescriptionTableTypeDef",
175
- "CreateGlobalSecondaryIndexActionTableTypeDef",
176
- "SourceTableDetailsTypeDef",
177
- "UpdateGlobalSecondaryIndexActionTypeDef",
188
+ "LocalSecondaryIndexTypeDef",
178
189
  "CreateGlobalSecondaryIndexActionTypeDef",
179
- "GlobalSecondaryIndexInfoTypeDef",
180
190
  "GlobalSecondaryIndexTypeDef",
181
- "LocalSecondaryIndexDescriptionTypeDef",
182
- "LocalSecondaryIndexInfoTypeDef",
183
- "LocalSecondaryIndexTypeDef",
191
+ "SourceTableDetailsTypeDef",
192
+ "UpdateGlobalSecondaryIndexActionTypeDef",
184
193
  "CreateGlobalTableInputRequestTypeDef",
185
194
  "GlobalTableTypeDef",
186
195
  "ReplicaGlobalSecondaryIndexDescriptionTypeDef",
187
196
  "ReplicaGlobalSecondaryIndexTypeDef",
188
197
  "ListTagsOfResourceOutputTypeDef",
189
198
  "TagResourceInputRequestTypeDef",
199
+ "InputFormatOptionsOutputTypeDef",
190
200
  "InputFormatOptionsTypeDef",
191
201
  "ReplicaUpdateTypeDef",
192
202
  "DescribeContributorInsightsOutputTypeDef",
@@ -199,10 +209,13 @@ __all__ = (
199
209
  "KinesisStreamingDestinationOutputTypeDef",
200
210
  "ExportDescriptionTypeDef",
201
211
  "ListExportsOutputTypeDef",
202
- "ExportTableToPointInTimeInputRequestTypeDef",
212
+ "IncrementalExportSpecificationTypeDef",
203
213
  "ListBackupsInputRequestTypeDef",
204
- "GlobalSecondaryIndexDescriptionTableTypeDef",
214
+ "LocalSecondaryIndexDescriptionTypeDef",
205
215
  "GlobalSecondaryIndexDescriptionTypeDef",
216
+ "GlobalSecondaryIndexInfoTypeDef",
217
+ "GlobalSecondaryIndexOutputTypeDef",
218
+ "LocalSecondaryIndexInfoTypeDef",
206
219
  "ImportSummaryTypeDef",
207
220
  "ListBackupsInputListBackupsPaginateTypeDef",
208
221
  "ListTablesInputListTablesPaginateTypeDef",
@@ -213,6 +226,7 @@ __all__ = (
213
226
  "UpdateKinesisStreamingDestinationInputRequestTypeDef",
214
227
  "UpdateKinesisStreamingDestinationOutputTypeDef",
215
228
  "BatchStatementResponseTypeDef",
229
+ "WriteRequestOutputTypeDef",
216
230
  "AttributeValueUpdateTypeDef",
217
231
  "BatchStatementRequestTypeDef",
218
232
  "ConditionCheckTypeDef",
@@ -233,11 +247,13 @@ __all__ = (
233
247
  "DeleteItemInputTableDeleteItemTypeDef",
234
248
  "PutItemInputTablePutItemTypeDef",
235
249
  "UpdateItemInputTableUpdateItemTypeDef",
236
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
250
+ "KeysAndAttributesServiceResourceUnionTypeDef",
251
+ "WriteRequestServiceResourceOutputTypeDef",
237
252
  "WriteRequestServiceResourceTypeDef",
238
253
  "AutoScalingSettingsDescriptionTypeDef",
239
254
  "AutoScalingSettingsUpdateTypeDef",
240
255
  "BatchGetItemOutputServiceResourceTypeDef",
256
+ "BatchGetItemOutputTypeDef",
241
257
  "DeleteItemOutputTableTypeDef",
242
258
  "DeleteItemOutputTypeDef",
243
259
  "ExecuteStatementOutputTypeDef",
@@ -256,23 +272,24 @@ __all__ = (
256
272
  "UpdateItemOutputTypeDef",
257
273
  "DescribeContinuousBackupsOutputTypeDef",
258
274
  "UpdateContinuousBackupsOutputTypeDef",
259
- "GlobalSecondaryIndexUpdateTableTypeDef",
260
- "GlobalSecondaryIndexUpdateTypeDef",
261
275
  "TableCreationParametersTypeDef",
262
- "SourceTableFeatureDetailsTypeDef",
263
- "CreateTableInputRequestTypeDef",
264
- "CreateTableInputServiceResourceCreateTableTypeDef",
265
- "RestoreTableFromBackupInputRequestTypeDef",
266
- "RestoreTableToPointInTimeInputRequestTypeDef",
276
+ "GlobalSecondaryIndexUpdateTypeDef",
267
277
  "ListGlobalTablesOutputTypeDef",
268
278
  "ReplicaDescriptionTypeDef",
269
279
  "CreateReplicationGroupMemberActionTypeDef",
270
280
  "UpdateReplicationGroupMemberActionTypeDef",
281
+ "InputFormatOptionsUnionTypeDef",
271
282
  "UpdateGlobalTableInputRequestTypeDef",
272
283
  "DescribeExportOutputTypeDef",
273
284
  "ExportTableToPointInTimeOutputTypeDef",
285
+ "ExportTableToPointInTimeInputRequestTypeDef",
286
+ "IncrementalExportSpecificationUnionTypeDef",
287
+ "GlobalSecondaryIndexUnionTypeDef",
288
+ "TableCreationParametersOutputTypeDef",
289
+ "SourceTableFeatureDetailsTypeDef",
274
290
  "ListImportsOutputTypeDef",
275
291
  "BatchExecuteStatementOutputTypeDef",
292
+ "BatchWriteItemOutputTypeDef",
276
293
  "BatchExecuteStatementInputRequestTypeDef",
277
294
  "QueryInputQueryPaginateTypeDef",
278
295
  "QueryInputRequestTypeDef",
@@ -282,42 +299,42 @@ __all__ = (
282
299
  "PutItemInputRequestTypeDef",
283
300
  "UpdateItemInputRequestTypeDef",
284
301
  "TransactGetItemTypeDef",
285
- "BatchGetItemInputRequestTypeDef",
286
- "BatchGetItemOutputTypeDef",
302
+ "KeysAndAttributesUnionTypeDef",
287
303
  "ExecuteTransactionInputRequestTypeDef",
288
304
  "WriteRequestTypeDef",
289
305
  "TransactWriteItemTypeDef",
290
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
306
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
291
307
  "BatchWriteItemOutputServiceResourceTypeDef",
308
+ "WriteRequestServiceResourceUnionTypeDef",
292
309
  "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
293
310
  "ReplicaGlobalSecondaryIndexSettingsDescriptionTypeDef",
294
311
  "GlobalSecondaryIndexAutoScalingUpdateTypeDef",
295
312
  "GlobalTableGlobalSecondaryIndexSettingsUpdateTypeDef",
296
313
  "ReplicaGlobalSecondaryIndexAutoScalingUpdateTypeDef",
297
314
  "ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef",
298
- "ImportTableDescriptionTypeDef",
299
315
  "ImportTableInputRequestTypeDef",
300
- "BackupDescriptionTypeDef",
301
316
  "GlobalTableDescriptionTypeDef",
302
- "TableDescriptionTableTypeDef",
303
317
  "TableDescriptionTypeDef",
304
318
  "ReplicationGroupUpdateTypeDef",
319
+ "CreateTableInputRequestTypeDef",
320
+ "CreateTableInputServiceResourceCreateTableTypeDef",
321
+ "RestoreTableFromBackupInputRequestTypeDef",
322
+ "RestoreTableToPointInTimeInputRequestTypeDef",
323
+ "ImportTableDescriptionTypeDef",
324
+ "TableCreationParametersUnionTypeDef",
325
+ "BackupDescriptionTypeDef",
305
326
  "TransactGetItemsInputRequestTypeDef",
306
- "BatchWriteItemInputRequestTypeDef",
307
- "BatchWriteItemOutputTypeDef",
327
+ "BatchGetItemInputRequestTypeDef",
328
+ "WriteRequestUnionTypeDef",
308
329
  "TransactWriteItemsInputRequestTypeDef",
330
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
309
331
  "ReplicaAutoScalingDescriptionTypeDef",
310
332
  "ReplicaSettingsDescriptionTypeDef",
311
333
  "ReplicaAutoScalingUpdateTypeDef",
312
334
  "ReplicaSettingsUpdateTypeDef",
313
- "DescribeImportOutputTypeDef",
314
- "ImportTableOutputTypeDef",
315
- "DeleteBackupOutputTypeDef",
316
- "DescribeBackupOutputTypeDef",
317
335
  "CreateGlobalTableOutputTypeDef",
318
336
  "DescribeGlobalTableOutputTypeDef",
319
337
  "UpdateGlobalTableOutputTypeDef",
320
- "DeleteTableOutputTableTypeDef",
321
338
  "CreateTableOutputTypeDef",
322
339
  "DeleteTableOutputTypeDef",
323
340
  "DescribeTableOutputTypeDef",
@@ -326,6 +343,11 @@ __all__ = (
326
343
  "UpdateTableOutputTypeDef",
327
344
  "UpdateTableInputRequestTypeDef",
328
345
  "UpdateTableInputTableUpdateTypeDef",
346
+ "DescribeImportOutputTypeDef",
347
+ "ImportTableOutputTypeDef",
348
+ "DeleteBackupOutputTypeDef",
349
+ "DescribeBackupOutputTypeDef",
350
+ "BatchWriteItemInputRequestTypeDef",
329
351
  "TableAutoScalingDescriptionTypeDef",
330
352
  "DescribeGlobalTableSettingsOutputTypeDef",
331
353
  "UpdateGlobalTableSettingsOutputTypeDef",
@@ -482,11 +504,11 @@ KeySchemaElementTypeDef = TypedDict(
482
504
  "KeyType": KeyTypeType,
483
505
  },
484
506
  )
485
- ProjectionTableTypeDef = TypedDict(
486
- "ProjectionTableTypeDef",
507
+ ProjectionTypeDef = TypedDict(
508
+ "ProjectionTypeDef",
487
509
  {
488
510
  "ProjectionType": NotRequired[ProjectionTypeType],
489
- "NonKeyAttributes": NotRequired[List[str]],
511
+ "NonKeyAttributes": NotRequired[Sequence[str]],
490
512
  },
491
513
  )
492
514
  ProvisionedThroughputTypeDef = TypedDict(
@@ -496,13 +518,6 @@ ProvisionedThroughputTypeDef = TypedDict(
496
518
  "WriteCapacityUnits": int,
497
519
  },
498
520
  )
499
- ProjectionTypeDef = TypedDict(
500
- "ProjectionTypeDef",
501
- {
502
- "ProjectionType": NotRequired[ProjectionTypeType],
503
- "NonKeyAttributes": NotRequired[Sequence[str]],
504
- },
505
- )
506
521
  ReplicaTypeDef = TypedDict(
507
522
  "ReplicaTypeDef",
508
523
  {
@@ -543,11 +558,18 @@ TagTypeDef = TypedDict(
543
558
  "Value": str,
544
559
  },
545
560
  )
561
+ CsvOptionsOutputTypeDef = TypedDict(
562
+ "CsvOptionsOutputTypeDef",
563
+ {
564
+ "Delimiter": NotRequired[str],
565
+ "HeaderList": NotRequired[List[str]],
566
+ },
567
+ )
546
568
  CsvOptionsTypeDef = TypedDict(
547
569
  "CsvOptionsTypeDef",
548
570
  {
549
571
  "Delimiter": NotRequired[str],
550
- "HeaderList": NotRequired[List[str]],
572
+ "HeaderList": NotRequired[Sequence[str]],
551
573
  },
552
574
  )
553
575
  DeleteBackupInputRequestTypeDef = TypedDict(
@@ -574,6 +596,13 @@ DeleteReplicationGroupMemberActionTypeDef = TypedDict(
574
596
  "RegionName": str,
575
597
  },
576
598
  )
599
+ DeleteResourcePolicyInputRequestTypeDef = TypedDict(
600
+ "DeleteResourcePolicyInputRequestTypeDef",
601
+ {
602
+ "ResourceArn": str,
603
+ "ExpectedRevisionId": NotRequired[str],
604
+ },
605
+ )
577
606
  DeleteTableInputRequestTypeDef = TypedDict(
578
607
  "DeleteTableInputRequestTypeDef",
579
608
  {
@@ -694,8 +723,8 @@ EnableKinesisStreamingConfigurationTypeDef = TypedDict(
694
723
  ],
695
724
  },
696
725
  )
697
- IncrementalExportSpecificationTypeDef = TypedDict(
698
- "IncrementalExportSpecificationTypeDef",
726
+ IncrementalExportSpecificationOutputTypeDef = TypedDict(
727
+ "IncrementalExportSpecificationOutputTypeDef",
699
728
  {
700
729
  "ExportFromTime": NotRequired[datetime],
701
730
  "ExportToTime": NotRequired[datetime],
@@ -711,6 +740,19 @@ ExportSummaryTypeDef = TypedDict(
711
740
  },
712
741
  )
713
742
  TimestampTypeDef = Union[datetime, str]
743
+ GetResourcePolicyInputRequestTypeDef = TypedDict(
744
+ "GetResourcePolicyInputRequestTypeDef",
745
+ {
746
+ "ResourceArn": str,
747
+ },
748
+ )
749
+ ProjectionExtraOutputTypeDef = TypedDict(
750
+ "ProjectionExtraOutputTypeDef",
751
+ {
752
+ "ProjectionType": NotRequired[ProjectionTypeType],
753
+ "NonKeyAttributes": NotRequired[List[str]],
754
+ },
755
+ )
714
756
  ProvisionedThroughputDescriptionTypeDef = TypedDict(
715
757
  "ProvisionedThroughputDescriptionTypeDef",
716
758
  {
@@ -721,6 +763,13 @@ ProvisionedThroughputDescriptionTypeDef = TypedDict(
721
763
  "WriteCapacityUnits": NotRequired[int],
722
764
  },
723
765
  )
766
+ ProjectionOutputTypeDef = TypedDict(
767
+ "ProjectionOutputTypeDef",
768
+ {
769
+ "ProjectionType": NotRequired[ProjectionTypeType],
770
+ "NonKeyAttributes": NotRequired[List[str]],
771
+ },
772
+ )
724
773
  S3BucketSourceTypeDef = TypedDict(
725
774
  "S3BucketSourceTypeDef",
726
775
  {
@@ -789,6 +838,15 @@ PointInTimeRecoverySpecificationTypeDef = TypedDict(
789
838
  "PointInTimeRecoveryEnabled": bool,
790
839
  },
791
840
  )
841
+ PutResourcePolicyInputRequestTypeDef = TypedDict(
842
+ "PutResourcePolicyInputRequestTypeDef",
843
+ {
844
+ "ResourceArn": str,
845
+ "Policy": str,
846
+ "ExpectedRevisionId": NotRequired[str],
847
+ "ConfirmRemoveSelfResourceAccess": NotRequired[bool],
848
+ },
849
+ )
792
850
  TableClassSummaryTypeDef = TypedDict(
793
851
  "TableClassSummaryTypeDef",
794
852
  {
@@ -867,6 +925,13 @@ BillingModeSummaryResponseTypeDef = TypedDict(
867
925
  "ResponseMetadata": ResponseMetadataTypeDef,
868
926
  },
869
927
  )
928
+ DeleteResourcePolicyOutputTypeDef = TypedDict(
929
+ "DeleteResourcePolicyOutputTypeDef",
930
+ {
931
+ "RevisionId": str,
932
+ "ResponseMetadata": ResponseMetadataTypeDef,
933
+ },
934
+ )
870
935
  DescribeLimitsOutputTypeDef = TypedDict(
871
936
  "DescribeLimitsOutputTypeDef",
872
937
  {
@@ -883,6 +948,14 @@ EmptyResponseMetadataTypeDef = TypedDict(
883
948
  "ResponseMetadata": ResponseMetadataTypeDef,
884
949
  },
885
950
  )
951
+ GetResourcePolicyOutputTypeDef = TypedDict(
952
+ "GetResourcePolicyOutputTypeDef",
953
+ {
954
+ "Policy": str,
955
+ "RevisionId": str,
956
+ "ResponseMetadata": ResponseMetadataTypeDef,
957
+ },
958
+ )
886
959
  ListTablesOutputTypeDef = TypedDict(
887
960
  "ListTablesOutputTypeDef",
888
961
  {
@@ -902,6 +975,13 @@ ProvisionedThroughputDescriptionResponseTypeDef = TypedDict(
902
975
  "ResponseMetadata": ResponseMetadataTypeDef,
903
976
  },
904
977
  )
978
+ PutResourcePolicyOutputTypeDef = TypedDict(
979
+ "PutResourcePolicyOutputTypeDef",
980
+ {
981
+ "RevisionId": str,
982
+ "ResponseMetadata": ResponseMetadataTypeDef,
983
+ },
984
+ )
905
985
  RestoreSummaryResponseTypeDef = TypedDict(
906
986
  "RestoreSummaryResponseTypeDef",
907
987
  {
@@ -955,6 +1035,12 @@ BatchStatementErrorTypeDef = TypedDict(
955
1035
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
956
1036
  },
957
1037
  )
1038
+ DeleteRequestOutputTypeDef = TypedDict(
1039
+ "DeleteRequestOutputTypeDef",
1040
+ {
1041
+ "Key": Dict[str, AttributeValueTypeDef],
1042
+ },
1043
+ )
958
1044
  ItemCollectionMetricsTypeDef = TypedDict(
959
1045
  "ItemCollectionMetricsTypeDef",
960
1046
  {
@@ -968,6 +1054,22 @@ ItemResponseTypeDef = TypedDict(
968
1054
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
969
1055
  },
970
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
+ )
971
1073
  UniversalAttributeValueTypeDef = Union[
972
1074
  AttributeValueTypeDef,
973
1075
  bytes,
@@ -999,6 +1101,12 @@ ConditionTableTypeDef = TypedDict(
999
1101
  "AttributeValueList": NotRequired[Sequence[TableAttributeValueTypeDef]],
1000
1102
  },
1001
1103
  )
1104
+ DeleteRequestServiceResourceOutputTypeDef = TypedDict(
1105
+ "DeleteRequestServiceResourceOutputTypeDef",
1106
+ {
1107
+ "Key": Dict[str, TableAttributeValueTypeDef],
1108
+ },
1109
+ )
1002
1110
  DeleteRequestServiceResourceTypeDef = TypedDict(
1003
1111
  "DeleteRequestServiceResourceTypeDef",
1004
1112
  {
@@ -1039,6 +1147,16 @@ ItemCollectionMetricsTableTypeDef = TypedDict(
1039
1147
  "SizeEstimateRangeGB": NotRequired[List[float]],
1040
1148
  },
1041
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
+ )
1042
1160
  KeysAndAttributesServiceResourceTypeDef = TypedDict(
1043
1161
  "KeysAndAttributesServiceResourceTypeDef",
1044
1162
  {
@@ -1049,6 +1167,12 @@ KeysAndAttributesServiceResourceTypeDef = TypedDict(
1049
1167
  "ExpressionAttributeNames": NotRequired[Mapping[str, str]],
1050
1168
  },
1051
1169
  )
1170
+ PutRequestServiceResourceOutputTypeDef = TypedDict(
1171
+ "PutRequestServiceResourceOutputTypeDef",
1172
+ {
1173
+ "Item": Dict[str, TableAttributeValueTypeDef],
1174
+ },
1175
+ )
1052
1176
  PutRequestServiceResourceTypeDef = TypedDict(
1053
1177
  "PutRequestServiceResourceTypeDef",
1054
1178
  {
@@ -1109,49 +1233,16 @@ ListContributorInsightsOutputTypeDef = TypedDict(
1109
1233
  "ListContributorInsightsOutputTypeDef",
1110
1234
  {
1111
1235
  "ContributorInsightsSummaries": List[ContributorInsightsSummaryTypeDef],
1112
- "NextToken": str,
1113
1236
  "ResponseMetadata": ResponseMetadataTypeDef,
1237
+ "NextToken": NotRequired[str],
1114
1238
  },
1115
1239
  )
1116
- LocalSecondaryIndexDescriptionTableTypeDef = TypedDict(
1117
- "LocalSecondaryIndexDescriptionTableTypeDef",
1118
- {
1119
- "IndexName": NotRequired[str],
1120
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1121
- "Projection": NotRequired[ProjectionTableTypeDef],
1122
- "IndexSizeBytes": NotRequired[int],
1123
- "ItemCount": NotRequired[int],
1124
- "IndexArn": NotRequired[str],
1125
- },
1126
- )
1127
- CreateGlobalSecondaryIndexActionTableTypeDef = TypedDict(
1128
- "CreateGlobalSecondaryIndexActionTableTypeDef",
1240
+ LocalSecondaryIndexTypeDef = TypedDict(
1241
+ "LocalSecondaryIndexTypeDef",
1129
1242
  {
1130
1243
  "IndexName": str,
1131
1244
  "KeySchema": Sequence[KeySchemaElementTypeDef],
1132
- "Projection": ProjectionTableTypeDef,
1133
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1134
- },
1135
- )
1136
- SourceTableDetailsTypeDef = TypedDict(
1137
- "SourceTableDetailsTypeDef",
1138
- {
1139
- "TableName": str,
1140
- "TableId": str,
1141
- "KeySchema": List[KeySchemaElementTypeDef],
1142
- "TableCreationDateTime": datetime,
1143
- "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1144
- "TableArn": NotRequired[str],
1145
- "TableSizeBytes": NotRequired[int],
1146
- "ItemCount": NotRequired[int],
1147
- "BillingMode": NotRequired[BillingModeType],
1148
- },
1149
- )
1150
- UpdateGlobalSecondaryIndexActionTypeDef = TypedDict(
1151
- "UpdateGlobalSecondaryIndexActionTypeDef",
1152
- {
1153
- "IndexName": str,
1154
- "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1245
+ "Projection": ProjectionTypeDef,
1155
1246
  },
1156
1247
  )
1157
1248
  CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
@@ -1163,15 +1254,6 @@ CreateGlobalSecondaryIndexActionTypeDef = TypedDict(
1163
1254
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1164
1255
  },
1165
1256
  )
1166
- GlobalSecondaryIndexInfoTypeDef = TypedDict(
1167
- "GlobalSecondaryIndexInfoTypeDef",
1168
- {
1169
- "IndexName": NotRequired[str],
1170
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1171
- "Projection": NotRequired[ProjectionTypeDef],
1172
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1173
- },
1174
- )
1175
1257
  GlobalSecondaryIndexTypeDef = TypedDict(
1176
1258
  "GlobalSecondaryIndexTypeDef",
1177
1259
  {
@@ -1181,31 +1263,25 @@ GlobalSecondaryIndexTypeDef = TypedDict(
1181
1263
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1182
1264
  },
1183
1265
  )
1184
- LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1185
- "LocalSecondaryIndexDescriptionTypeDef",
1266
+ SourceTableDetailsTypeDef = TypedDict(
1267
+ "SourceTableDetailsTypeDef",
1186
1268
  {
1187
- "IndexName": NotRequired[str],
1188
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1189
- "Projection": NotRequired[ProjectionTypeDef],
1190
- "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],
1191
1276
  "ItemCount": NotRequired[int],
1192
- "IndexArn": NotRequired[str],
1193
- },
1194
- )
1195
- LocalSecondaryIndexInfoTypeDef = TypedDict(
1196
- "LocalSecondaryIndexInfoTypeDef",
1197
- {
1198
- "IndexName": NotRequired[str],
1199
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1200
- "Projection": NotRequired[ProjectionTypeDef],
1277
+ "BillingMode": NotRequired[BillingModeType],
1201
1278
  },
1202
1279
  )
1203
- LocalSecondaryIndexTypeDef = TypedDict(
1204
- "LocalSecondaryIndexTypeDef",
1280
+ UpdateGlobalSecondaryIndexActionTypeDef = TypedDict(
1281
+ "UpdateGlobalSecondaryIndexActionTypeDef",
1205
1282
  {
1206
1283
  "IndexName": str,
1207
- "KeySchema": Sequence[KeySchemaElementTypeDef],
1208
- "Projection": ProjectionTypeDef,
1284
+ "ProvisionedThroughput": ProvisionedThroughputTypeDef,
1209
1285
  },
1210
1286
  )
1211
1287
  CreateGlobalTableInputRequestTypeDef = TypedDict(
@@ -1240,8 +1316,8 @@ ListTagsOfResourceOutputTypeDef = TypedDict(
1240
1316
  "ListTagsOfResourceOutputTypeDef",
1241
1317
  {
1242
1318
  "Tags": List[TagTypeDef],
1243
- "NextToken": str,
1244
1319
  "ResponseMetadata": ResponseMetadataTypeDef,
1320
+ "NextToken": NotRequired[str],
1245
1321
  },
1246
1322
  )
1247
1323
  TagResourceInputRequestTypeDef = TypedDict(
@@ -1251,6 +1327,12 @@ TagResourceInputRequestTypeDef = TypedDict(
1251
1327
  "Tags": Sequence[TagTypeDef],
1252
1328
  },
1253
1329
  )
1330
+ InputFormatOptionsOutputTypeDef = TypedDict(
1331
+ "InputFormatOptionsOutputTypeDef",
1332
+ {
1333
+ "Csv": NotRequired[CsvOptionsOutputTypeDef],
1334
+ },
1335
+ )
1254
1336
  InputFormatOptionsTypeDef = TypedDict(
1255
1337
  "InputFormatOptionsTypeDef",
1256
1338
  {
@@ -1355,31 +1437,23 @@ ExportDescriptionTypeDef = TypedDict(
1355
1437
  "BilledSizeBytes": NotRequired[int],
1356
1438
  "ItemCount": NotRequired[int],
1357
1439
  "ExportType": NotRequired[ExportTypeType],
1358
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
1440
+ "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationOutputTypeDef],
1359
1441
  },
1360
1442
  )
1361
1443
  ListExportsOutputTypeDef = TypedDict(
1362
1444
  "ListExportsOutputTypeDef",
1363
1445
  {
1364
1446
  "ExportSummaries": List[ExportSummaryTypeDef],
1365
- "NextToken": str,
1366
1447
  "ResponseMetadata": ResponseMetadataTypeDef,
1448
+ "NextToken": NotRequired[str],
1367
1449
  },
1368
1450
  )
1369
- ExportTableToPointInTimeInputRequestTypeDef = TypedDict(
1370
- "ExportTableToPointInTimeInputRequestTypeDef",
1451
+ IncrementalExportSpecificationTypeDef = TypedDict(
1452
+ "IncrementalExportSpecificationTypeDef",
1371
1453
  {
1372
- "TableArn": str,
1373
- "S3Bucket": str,
1374
- "ExportTime": NotRequired[TimestampTypeDef],
1375
- "ClientToken": NotRequired[str],
1376
- "S3BucketOwner": NotRequired[str],
1377
- "S3Prefix": NotRequired[str],
1378
- "S3SseAlgorithm": NotRequired[S3SseAlgorithmType],
1379
- "S3SseKmsKeyId": NotRequired[str],
1380
- "ExportFormat": NotRequired[ExportFormatType],
1381
- "ExportType": NotRequired[ExportTypeType],
1382
- "IncrementalExportSpecification": NotRequired[IncrementalExportSpecificationTypeDef],
1454
+ "ExportFromTime": NotRequired[TimestampTypeDef],
1455
+ "ExportToTime": NotRequired[TimestampTypeDef],
1456
+ "ExportViewType": NotRequired[ExportViewTypeType],
1383
1457
  },
1384
1458
  )
1385
1459
  ListBackupsInputRequestTypeDef = TypedDict(
@@ -1393,15 +1467,12 @@ ListBackupsInputRequestTypeDef = TypedDict(
1393
1467
  "BackupType": NotRequired[BackupTypeFilterType],
1394
1468
  },
1395
1469
  )
1396
- GlobalSecondaryIndexDescriptionTableTypeDef = TypedDict(
1397
- "GlobalSecondaryIndexDescriptionTableTypeDef",
1470
+ LocalSecondaryIndexDescriptionTypeDef = TypedDict(
1471
+ "LocalSecondaryIndexDescriptionTypeDef",
1398
1472
  {
1399
1473
  "IndexName": NotRequired[str],
1400
1474
  "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1401
- "Projection": NotRequired[ProjectionTableTypeDef],
1402
- "IndexStatus": NotRequired[IndexStatusType],
1403
- "Backfilling": NotRequired[bool],
1404
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
1475
+ "Projection": NotRequired[ProjectionExtraOutputTypeDef],
1405
1476
  "IndexSizeBytes": NotRequired[int],
1406
1477
  "ItemCount": NotRequired[int],
1407
1478
  "IndexArn": NotRequired[str],
@@ -1412,7 +1483,7 @@ GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1412
1483
  {
1413
1484
  "IndexName": NotRequired[str],
1414
1485
  "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
1415
- "Projection": NotRequired[ProjectionTypeDef],
1486
+ "Projection": NotRequired[ProjectionExtraOutputTypeDef],
1416
1487
  "IndexStatus": NotRequired[IndexStatusType],
1417
1488
  "Backfilling": NotRequired[bool],
1418
1489
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
@@ -1421,6 +1492,32 @@ GlobalSecondaryIndexDescriptionTypeDef = TypedDict(
1421
1492
  "IndexArn": NotRequired[str],
1422
1493
  },
1423
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
+ )
1424
1521
  ImportSummaryTypeDef = TypedDict(
1425
1522
  "ImportSummaryTypeDef",
1426
1523
  {
@@ -1506,6 +1603,13 @@ BatchStatementResponseTypeDef = TypedDict(
1506
1603
  "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1507
1604
  },
1508
1605
  )
1606
+ WriteRequestOutputTypeDef = TypedDict(
1607
+ "WriteRequestOutputTypeDef",
1608
+ {
1609
+ "PutRequest": NotRequired[PutRequestOutputTypeDef],
1610
+ "DeleteRequest": NotRequired[DeleteRequestOutputTypeDef],
1611
+ },
1612
+ )
1509
1613
  AttributeValueUpdateTypeDef = TypedDict(
1510
1614
  "AttributeValueUpdateTypeDef",
1511
1615
  {
@@ -1734,11 +1838,14 @@ UpdateItemInputTableUpdateItemTypeDef = TypedDict(
1734
1838
  "ReturnValuesOnConditionCheckFailure": NotRequired[ReturnValuesOnConditionCheckFailureType],
1735
1839
  },
1736
1840
  )
1737
- BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
1738
- "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
1841
+ KeysAndAttributesServiceResourceUnionTypeDef = Union[
1842
+ KeysAndAttributesServiceResourceTypeDef, KeysAndAttributesServiceResourceOutputTypeDef
1843
+ ]
1844
+ WriteRequestServiceResourceOutputTypeDef = TypedDict(
1845
+ "WriteRequestServiceResourceOutputTypeDef",
1739
1846
  {
1740
- "RequestItems": Mapping[str, KeysAndAttributesServiceResourceTypeDef],
1741
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
1847
+ "PutRequest": NotRequired[PutRequestServiceResourceOutputTypeDef],
1848
+ "DeleteRequest": NotRequired[DeleteRequestServiceResourceOutputTypeDef],
1742
1849
  },
1743
1850
  )
1744
1851
  WriteRequestServiceResourceTypeDef = TypedDict(
@@ -1772,7 +1879,16 @@ BatchGetItemOutputServiceResourceTypeDef = TypedDict(
1772
1879
  "BatchGetItemOutputServiceResourceTypeDef",
1773
1880
  {
1774
1881
  "Responses": Dict[str, List[Dict[str, TableAttributeValueTypeDef]]],
1775
- "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],
1776
1892
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
1777
1893
  "ResponseMetadata": ResponseMetadataTypeDef,
1778
1894
  },
@@ -1799,10 +1915,10 @@ ExecuteStatementOutputTypeDef = TypedDict(
1799
1915
  "ExecuteStatementOutputTypeDef",
1800
1916
  {
1801
1917
  "Items": List[Dict[str, AttributeValueTypeDef]],
1802
- "NextToken": str,
1803
1918
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1804
1919
  "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
1805
1920
  "ResponseMetadata": ResponseMetadataTypeDef,
1921
+ "NextToken": NotRequired[str],
1806
1922
  },
1807
1923
  )
1808
1924
  ExecuteTransactionOutputTypeDef = TypedDict(
@@ -1816,17 +1932,17 @@ ExecuteTransactionOutputTypeDef = TypedDict(
1816
1932
  GetItemOutputTableTypeDef = TypedDict(
1817
1933
  "GetItemOutputTableTypeDef",
1818
1934
  {
1819
- "Item": Dict[str, TableAttributeValueTypeDef],
1820
1935
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1821
1936
  "ResponseMetadata": ResponseMetadataTypeDef,
1937
+ "Item": NotRequired[Dict[str, TableAttributeValueTypeDef]],
1822
1938
  },
1823
1939
  )
1824
1940
  GetItemOutputTypeDef = TypedDict(
1825
1941
  "GetItemOutputTypeDef",
1826
1942
  {
1827
- "Item": Dict[str, AttributeValueTypeDef],
1828
1943
  "ConsumedCapacity": ConsumedCapacityTypeDef,
1829
1944
  "ResponseMetadata": ResponseMetadataTypeDef,
1945
+ "Item": NotRequired[Dict[str, AttributeValueTypeDef]],
1830
1946
  },
1831
1947
  )
1832
1948
  PutItemOutputTableTypeDef = TypedDict(
@@ -1939,103 +2055,24 @@ UpdateContinuousBackupsOutputTypeDef = TypedDict(
1939
2055
  "ResponseMetadata": ResponseMetadataTypeDef,
1940
2056
  },
1941
2057
  )
1942
- GlobalSecondaryIndexUpdateTableTypeDef = TypedDict(
1943
- "GlobalSecondaryIndexUpdateTableTypeDef",
1944
- {
1945
- "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
1946
- "Create": NotRequired[CreateGlobalSecondaryIndexActionTableTypeDef],
1947
- "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
1948
- },
1949
- )
1950
- GlobalSecondaryIndexUpdateTypeDef = TypedDict(
1951
- "GlobalSecondaryIndexUpdateTypeDef",
1952
- {
1953
- "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
1954
- "Create": NotRequired[CreateGlobalSecondaryIndexActionTypeDef],
1955
- "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
1956
- },
1957
- )
1958
2058
  TableCreationParametersTypeDef = TypedDict(
1959
2059
  "TableCreationParametersTypeDef",
1960
2060
  {
1961
2061
  "TableName": str,
1962
- "AttributeDefinitions": List[AttributeDefinitionTypeDef],
1963
- "KeySchema": List[KeySchemaElementTypeDef],
1964
- "BillingMode": NotRequired[BillingModeType],
1965
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1966
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
1967
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexTypeDef]],
1968
- },
1969
- )
1970
- SourceTableFeatureDetailsTypeDef = TypedDict(
1971
- "SourceTableFeatureDetailsTypeDef",
1972
- {
1973
- "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexInfoTypeDef]],
1974
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexInfoTypeDef]],
1975
- "StreamDescription": NotRequired[StreamSpecificationTypeDef],
1976
- "TimeToLiveDescription": NotRequired[TimeToLiveDescriptionTypeDef],
1977
- "SSEDescription": NotRequired[SSEDescriptionTypeDef],
1978
- },
1979
- )
1980
- CreateTableInputRequestTypeDef = TypedDict(
1981
- "CreateTableInputRequestTypeDef",
1982
- {
1983
2062
  "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
1984
- "TableName": str,
1985
2063
  "KeySchema": Sequence[KeySchemaElementTypeDef],
1986
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
1987
- "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
1988
2064
  "BillingMode": NotRequired[BillingModeType],
1989
2065
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
1990
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
1991
2066
  "SSESpecification": NotRequired[SSESpecificationTypeDef],
1992
- "Tags": NotRequired[Sequence[TagTypeDef]],
1993
- "TableClass": NotRequired[TableClassType],
1994
- "DeletionProtectionEnabled": NotRequired[bool],
1995
- },
1996
- )
1997
- CreateTableInputServiceResourceCreateTableTypeDef = TypedDict(
1998
- "CreateTableInputServiceResourceCreateTableTypeDef",
1999
- {
2000
- "AttributeDefinitions": Sequence[AttributeDefinitionTypeDef],
2001
- "TableName": str,
2002
- "KeySchema": Sequence[KeySchemaElementTypeDef],
2003
- "LocalSecondaryIndexes": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2004
2067
  "GlobalSecondaryIndexes": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2005
- "BillingMode": NotRequired[BillingModeType],
2006
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2007
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2008
- "SSESpecification": NotRequired[SSESpecificationTypeDef],
2009
- "Tags": NotRequired[Sequence[TagTypeDef]],
2010
- "TableClass": NotRequired[TableClassType],
2011
- "DeletionProtectionEnabled": NotRequired[bool],
2012
2068
  },
2013
2069
  )
2014
- RestoreTableFromBackupInputRequestTypeDef = TypedDict(
2015
- "RestoreTableFromBackupInputRequestTypeDef",
2016
- {
2017
- "TargetTableName": str,
2018
- "BackupArn": str,
2019
- "BillingModeOverride": NotRequired[BillingModeType],
2020
- "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2021
- "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2022
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2023
- "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2024
- },
2025
- )
2026
- RestoreTableToPointInTimeInputRequestTypeDef = TypedDict(
2027
- "RestoreTableToPointInTimeInputRequestTypeDef",
2070
+ GlobalSecondaryIndexUpdateTypeDef = TypedDict(
2071
+ "GlobalSecondaryIndexUpdateTypeDef",
2028
2072
  {
2029
- "TargetTableName": str,
2030
- "SourceTableArn": NotRequired[str],
2031
- "SourceTableName": NotRequired[str],
2032
- "UseLatestRestorableTime": NotRequired[bool],
2033
- "RestoreDateTime": NotRequired[TimestampTypeDef],
2034
- "BillingModeOverride": NotRequired[BillingModeType],
2035
- "GlobalSecondaryIndexOverride": NotRequired[Sequence[GlobalSecondaryIndexTypeDef]],
2036
- "LocalSecondaryIndexOverride": NotRequired[Sequence[LocalSecondaryIndexTypeDef]],
2037
- "ProvisionedThroughputOverride": NotRequired[ProvisionedThroughputTypeDef],
2038
- "SSESpecificationOverride": NotRequired[SSESpecificationTypeDef],
2073
+ "Update": NotRequired[UpdateGlobalSecondaryIndexActionTypeDef],
2074
+ "Create": NotRequired[CreateGlobalSecondaryIndexActionTypeDef],
2075
+ "Delete": NotRequired[DeleteGlobalSecondaryIndexActionTypeDef],
2039
2076
  },
2040
2077
  )
2041
2078
  ListGlobalTablesOutputTypeDef = TypedDict(
@@ -2080,6 +2117,7 @@ UpdateReplicationGroupMemberActionTypeDef = TypedDict(
2080
2117
  "TableClassOverride": NotRequired[TableClassType],
2081
2118
  },
2082
2119
  )
2120
+ InputFormatOptionsUnionTypeDef = Union[InputFormatOptionsTypeDef, InputFormatOptionsOutputTypeDef]
2083
2121
  UpdateGlobalTableInputRequestTypeDef = TypedDict(
2084
2122
  "UpdateGlobalTableInputRequestTypeDef",
2085
2123
  {
@@ -2101,12 +2139,56 @@ ExportTableToPointInTimeOutputTypeDef = TypedDict(
2101
2139
  "ResponseMetadata": ResponseMetadataTypeDef,
2102
2140
  },
2103
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
+ )
2104
2186
  ListImportsOutputTypeDef = TypedDict(
2105
2187
  "ListImportsOutputTypeDef",
2106
2188
  {
2107
2189
  "ImportSummaryList": List[ImportSummaryTypeDef],
2108
- "NextToken": str,
2109
2190
  "ResponseMetadata": ResponseMetadataTypeDef,
2191
+ "NextToken": NotRequired[str],
2110
2192
  },
2111
2193
  )
2112
2194
  BatchExecuteStatementOutputTypeDef = TypedDict(
@@ -2117,6 +2199,15 @@ BatchExecuteStatementOutputTypeDef = TypedDict(
2117
2199
  "ResponseMetadata": ResponseMetadataTypeDef,
2118
2200
  },
2119
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
+ )
2120
2211
  BatchExecuteStatementInputRequestTypeDef = TypedDict(
2121
2212
  "BatchExecuteStatementInputRequestTypeDef",
2122
2213
  {
@@ -2264,22 +2355,7 @@ TransactGetItemTypeDef = TypedDict(
2264
2355
  "Get": GetTypeDef,
2265
2356
  },
2266
2357
  )
2267
- BatchGetItemInputRequestTypeDef = TypedDict(
2268
- "BatchGetItemInputRequestTypeDef",
2269
- {
2270
- "RequestItems": Mapping[str, KeysAndAttributesTypeDef],
2271
- "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2272
- },
2273
- )
2274
- BatchGetItemOutputTypeDef = TypedDict(
2275
- "BatchGetItemOutputTypeDef",
2276
- {
2277
- "Responses": Dict[str, List[Dict[str, AttributeValueTypeDef]]],
2278
- "UnprocessedKeys": Dict[str, KeysAndAttributesTypeDef],
2279
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2280
- "ResponseMetadata": ResponseMetadataTypeDef,
2281
- },
2282
- )
2358
+ KeysAndAttributesUnionTypeDef = Union[KeysAndAttributesTypeDef, KeysAndAttributesOutputTypeDef]
2283
2359
  ExecuteTransactionInputRequestTypeDef = TypedDict(
2284
2360
  "ExecuteTransactionInputRequestTypeDef",
2285
2361
  {
@@ -2304,23 +2380,25 @@ TransactWriteItemTypeDef = TypedDict(
2304
2380
  "Update": NotRequired[UpdateTypeDef],
2305
2381
  },
2306
2382
  )
2307
- BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2308
- "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2383
+ BatchGetItemInputServiceResourceBatchGetItemTypeDef = TypedDict(
2384
+ "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
2309
2385
  {
2310
- "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceTypeDef]],
2386
+ "RequestItems": Mapping[str, KeysAndAttributesServiceResourceUnionTypeDef],
2311
2387
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2312
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2313
2388
  },
2314
2389
  )
2315
2390
  BatchWriteItemOutputServiceResourceTypeDef = TypedDict(
2316
2391
  "BatchWriteItemOutputServiceResourceTypeDef",
2317
2392
  {
2318
- "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceTypeDef]],
2393
+ "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceOutputTypeDef]],
2319
2394
  "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]],
2320
2395
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2321
2396
  "ResponseMetadata": ResponseMetadataTypeDef,
2322
2397
  },
2323
2398
  )
2399
+ WriteRequestServiceResourceUnionTypeDef = Union[
2400
+ WriteRequestServiceResourceTypeDef, WriteRequestServiceResourceOutputTypeDef
2401
+ ]
2324
2402
  ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef = TypedDict(
2325
2403
  "ReplicaGlobalSecondaryIndexAutoScalingDescriptionTypeDef",
2326
2404
  {
@@ -2383,30 +2461,6 @@ ReplicaGlobalSecondaryIndexSettingsUpdateTypeDef = TypedDict(
2383
2461
  ],
2384
2462
  },
2385
2463
  )
2386
- ImportTableDescriptionTypeDef = TypedDict(
2387
- "ImportTableDescriptionTypeDef",
2388
- {
2389
- "ImportArn": NotRequired[str],
2390
- "ImportStatus": NotRequired[ImportStatusType],
2391
- "TableArn": NotRequired[str],
2392
- "TableId": NotRequired[str],
2393
- "ClientToken": NotRequired[str],
2394
- "S3BucketSource": NotRequired[S3BucketSourceTypeDef],
2395
- "ErrorCount": NotRequired[int],
2396
- "CloudWatchLogGroupArn": NotRequired[str],
2397
- "InputFormat": NotRequired[InputFormatType],
2398
- "InputFormatOptions": NotRequired[InputFormatOptionsTypeDef],
2399
- "InputCompressionType": NotRequired[InputCompressionTypeType],
2400
- "TableCreationParameters": NotRequired[TableCreationParametersTypeDef],
2401
- "StartTime": NotRequired[datetime],
2402
- "EndTime": NotRequired[datetime],
2403
- "ProcessedSizeBytes": NotRequired[int],
2404
- "ProcessedItemCount": NotRequired[int],
2405
- "ImportedItemCount": NotRequired[int],
2406
- "FailureCode": NotRequired[str],
2407
- "FailureMessage": NotRequired[str],
2408
- },
2409
- )
2410
2464
  ImportTableInputRequestTypeDef = TypedDict(
2411
2465
  "ImportTableInputRequestTypeDef",
2412
2466
  {
@@ -2418,14 +2472,6 @@ ImportTableInputRequestTypeDef = TypedDict(
2418
2472
  "InputCompressionType": NotRequired[InputCompressionTypeType],
2419
2473
  },
2420
2474
  )
2421
- BackupDescriptionTypeDef = TypedDict(
2422
- "BackupDescriptionTypeDef",
2423
- {
2424
- "BackupDetails": NotRequired[BackupDetailsTypeDef],
2425
- "SourceTableDetails": NotRequired[SourceTableDetailsTypeDef],
2426
- "SourceTableFeatureDetails": NotRequired[SourceTableFeatureDetailsTypeDef],
2427
- },
2428
- )
2429
2475
  GlobalTableDescriptionTypeDef = TypedDict(
2430
2476
  "GlobalTableDescriptionTypeDef",
2431
2477
  {
@@ -2436,34 +2482,6 @@ GlobalTableDescriptionTypeDef = TypedDict(
2436
2482
  "GlobalTableName": NotRequired[str],
2437
2483
  },
2438
2484
  )
2439
- TableDescriptionTableTypeDef = TypedDict(
2440
- "TableDescriptionTableTypeDef",
2441
- {
2442
- "AttributeDefinitions": NotRequired[List[AttributeDefinitionTypeDef]],
2443
- "TableName": NotRequired[str],
2444
- "KeySchema": NotRequired[List[KeySchemaElementTypeDef]],
2445
- "TableStatus": NotRequired[TableStatusType],
2446
- "CreationDateTime": NotRequired[datetime],
2447
- "ProvisionedThroughput": NotRequired[ProvisionedThroughputDescriptionTypeDef],
2448
- "TableSizeBytes": NotRequired[int],
2449
- "ItemCount": NotRequired[int],
2450
- "TableArn": NotRequired[str],
2451
- "TableId": NotRequired[str],
2452
- "BillingModeSummary": NotRequired[BillingModeSummaryTypeDef],
2453
- "LocalSecondaryIndexes": NotRequired[List[LocalSecondaryIndexDescriptionTableTypeDef]],
2454
- "GlobalSecondaryIndexes": NotRequired[List[GlobalSecondaryIndexDescriptionTableTypeDef]],
2455
- "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2456
- "LatestStreamLabel": NotRequired[str],
2457
- "LatestStreamArn": NotRequired[str],
2458
- "GlobalTableVersion": NotRequired[str],
2459
- "Replicas": NotRequired[List[ReplicaDescriptionTypeDef]],
2460
- "RestoreSummary": NotRequired[RestoreSummaryTypeDef],
2461
- "SSEDescription": NotRequired[SSEDescriptionTypeDef],
2462
- "ArchivalSummary": NotRequired[ArchivalSummaryTypeDef],
2463
- "TableClassSummary": NotRequired[TableClassSummaryTypeDef],
2464
- "DeletionProtectionEnabled": NotRequired[bool],
2465
- },
2466
- )
2467
2485
  TableDescriptionTypeDef = TypedDict(
2468
2486
  "TableDescriptionTypeDef",
2469
2487
  {
@@ -2500,6 +2518,104 @@ ReplicationGroupUpdateTypeDef = TypedDict(
2500
2518
  "Delete": NotRequired[DeleteReplicationGroupMemberActionTypeDef],
2501
2519
  },
2502
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
+ )
2503
2619
  TransactGetItemsInputRequestTypeDef = TypedDict(
2504
2620
  "TransactGetItemsInputRequestTypeDef",
2505
2621
  {
@@ -2507,23 +2623,14 @@ TransactGetItemsInputRequestTypeDef = TypedDict(
2507
2623
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2508
2624
  },
2509
2625
  )
2510
- BatchWriteItemInputRequestTypeDef = TypedDict(
2511
- "BatchWriteItemInputRequestTypeDef",
2626
+ BatchGetItemInputRequestTypeDef = TypedDict(
2627
+ "BatchGetItemInputRequestTypeDef",
2512
2628
  {
2513
- "RequestItems": Mapping[str, Sequence[WriteRequestTypeDef]],
2629
+ "RequestItems": Mapping[str, KeysAndAttributesUnionTypeDef],
2514
2630
  "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2515
- "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2516
- },
2517
- )
2518
- BatchWriteItemOutputTypeDef = TypedDict(
2519
- "BatchWriteItemOutputTypeDef",
2520
- {
2521
- "UnprocessedItems": Dict[str, List[WriteRequestTypeDef]],
2522
- "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
2523
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
2524
- "ResponseMetadata": ResponseMetadataTypeDef,
2525
2631
  },
2526
2632
  )
2633
+ WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
2527
2634
  TransactWriteItemsInputRequestTypeDef = TypedDict(
2528
2635
  "TransactWriteItemsInputRequestTypeDef",
2529
2636
  {
@@ -2533,6 +2640,14 @@ TransactWriteItemsInputRequestTypeDef = TypedDict(
2533
2640
  "ClientRequestToken": NotRequired[str],
2534
2641
  },
2535
2642
  )
2643
+ BatchWriteItemInputServiceResourceBatchWriteItemTypeDef = TypedDict(
2644
+ "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
2645
+ {
2646
+ "RequestItems": Mapping[str, Sequence[WriteRequestServiceResourceUnionTypeDef]],
2647
+ "ReturnConsumedCapacity": NotRequired[ReturnConsumedCapacityType],
2648
+ "ReturnItemCollectionMetrics": NotRequired[ReturnItemCollectionMetricsType],
2649
+ },
2650
+ )
2536
2651
  ReplicaAutoScalingDescriptionTypeDef = TypedDict(
2537
2652
  "ReplicaAutoScalingDescriptionTypeDef",
2538
2653
  {
@@ -2595,34 +2710,6 @@ ReplicaSettingsUpdateTypeDef = TypedDict(
2595
2710
  "ReplicaTableClass": NotRequired[TableClassType],
2596
2711
  },
2597
2712
  )
2598
- DescribeImportOutputTypeDef = TypedDict(
2599
- "DescribeImportOutputTypeDef",
2600
- {
2601
- "ImportTableDescription": ImportTableDescriptionTypeDef,
2602
- "ResponseMetadata": ResponseMetadataTypeDef,
2603
- },
2604
- )
2605
- ImportTableOutputTypeDef = TypedDict(
2606
- "ImportTableOutputTypeDef",
2607
- {
2608
- "ImportTableDescription": ImportTableDescriptionTypeDef,
2609
- "ResponseMetadata": ResponseMetadataTypeDef,
2610
- },
2611
- )
2612
- DeleteBackupOutputTypeDef = TypedDict(
2613
- "DeleteBackupOutputTypeDef",
2614
- {
2615
- "BackupDescription": BackupDescriptionTypeDef,
2616
- "ResponseMetadata": ResponseMetadataTypeDef,
2617
- },
2618
- )
2619
- DescribeBackupOutputTypeDef = TypedDict(
2620
- "DescribeBackupOutputTypeDef",
2621
- {
2622
- "BackupDescription": BackupDescriptionTypeDef,
2623
- "ResponseMetadata": ResponseMetadataTypeDef,
2624
- },
2625
- )
2626
2713
  CreateGlobalTableOutputTypeDef = TypedDict(
2627
2714
  "CreateGlobalTableOutputTypeDef",
2628
2715
  {
@@ -2644,13 +2731,6 @@ UpdateGlobalTableOutputTypeDef = TypedDict(
2644
2731
  "ResponseMetadata": ResponseMetadataTypeDef,
2645
2732
  },
2646
2733
  )
2647
- DeleteTableOutputTableTypeDef = TypedDict(
2648
- "DeleteTableOutputTableTypeDef",
2649
- {
2650
- "TableDescription": TableDescriptionTableTypeDef,
2651
- "ResponseMetadata": ResponseMetadataTypeDef,
2652
- },
2653
- )
2654
2734
  CreateTableOutputTypeDef = TypedDict(
2655
2735
  "CreateTableOutputTypeDef",
2656
2736
  {
@@ -2714,9 +2794,7 @@ UpdateTableInputTableUpdateTypeDef = TypedDict(
2714
2794
  "AttributeDefinitions": NotRequired[Sequence[AttributeDefinitionTypeDef]],
2715
2795
  "BillingMode": NotRequired[BillingModeType],
2716
2796
  "ProvisionedThroughput": NotRequired[ProvisionedThroughputTypeDef],
2717
- "GlobalSecondaryIndexUpdates": NotRequired[
2718
- Sequence[GlobalSecondaryIndexUpdateTableTypeDef]
2719
- ],
2797
+ "GlobalSecondaryIndexUpdates": NotRequired[Sequence[GlobalSecondaryIndexUpdateTypeDef]],
2720
2798
  "StreamSpecification": NotRequired[StreamSpecificationTypeDef],
2721
2799
  "SSESpecification": NotRequired[SSESpecificationTypeDef],
2722
2800
  "ReplicaUpdates": NotRequired[Sequence[ReplicationGroupUpdateTypeDef]],
@@ -2724,6 +2802,42 @@ UpdateTableInputTableUpdateTypeDef = TypedDict(
2724
2802
  "DeletionProtectionEnabled": NotRequired[bool],
2725
2803
  },
2726
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
+ )
2727
2841
  TableAutoScalingDescriptionTypeDef = TypedDict(
2728
2842
  "TableAutoScalingDescriptionTypeDef",
2729
2843
  {