mypy-boto3-dynamodb 1.26.152__py3-none-any.whl → 1.26.164__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.
@@ -6,9 +6,9 @@ Type annotations for dynamodb service type definitions.
6
6
  Usage::
7
7
 
8
8
  ```python
9
- from mypy_boto3_dynamodb.type_defs import ArchivalSummaryResponseMetadataTypeDef
9
+ from mypy_boto3_dynamodb.type_defs import ResponseMetadataTypeDef
10
10
 
11
- data: ArchivalSummaryResponseMetadataTypeDef = {...}
11
+ data: ResponseMetadataTypeDef = {...}
12
12
  ```
13
13
  """
14
14
  import sys
@@ -64,7 +64,7 @@ else:
64
64
 
65
65
 
66
66
  __all__ = (
67
- "ArchivalSummaryResponseMetadataTypeDef",
67
+ "ResponseMetadataTypeDef",
68
68
  "ArchivalSummaryTableTypeDef",
69
69
  "ArchivalSummaryTypeDef",
70
70
  "AttributeDefinitionServiceResourceTypeDef",
@@ -78,9 +78,7 @@ __all__ = (
78
78
  "BackupSummaryTableTypeDef",
79
79
  "BackupSummaryTypeDef",
80
80
  "KeysAndAttributesServiceResourceTypeDef",
81
- "BatchStatementErrorTypeDef",
82
81
  "ItemCollectionMetricsServiceResourceTypeDef",
83
- "BillingModeSummaryResponseMetadataTypeDef",
84
82
  "BillingModeSummaryTableTypeDef",
85
83
  "BillingModeSummaryTypeDef",
86
84
  "CapacityServiceResourceTypeDef",
@@ -131,13 +129,11 @@ __all__ = (
131
129
  "DescribeImportInputRequestTypeDef",
132
130
  "DescribeKinesisStreamingDestinationInputRequestTypeDef",
133
131
  "KinesisDataStreamDestinationTypeDef",
134
- "DescribeLimitsOutputTypeDef",
135
132
  "DescribeTableInputRequestTypeDef",
136
133
  "WaiterConfigTypeDef",
137
134
  "DescribeTableReplicaAutoScalingInputRequestTypeDef",
138
135
  "DescribeTimeToLiveInputRequestTypeDef",
139
136
  "TimeToLiveDescriptionTypeDef",
140
- "EmptyResponseMetadataTypeDef",
141
137
  "ExportSummaryTypeDef",
142
138
  "ExportTableToPointInTimeInputRequestTypeDef",
143
139
  "GetItemInputTableGetItemTypeDef",
@@ -146,43 +142,44 @@ __all__ = (
146
142
  "ProjectionServiceResourceTypeDef",
147
143
  "S3BucketSourceTypeDef",
148
144
  "KinesisStreamingDestinationInputRequestTypeDef",
149
- "KinesisStreamingDestinationOutputTypeDef",
150
- "ListBackupsInputListBackupsPaginateTypeDef",
145
+ "PaginatorConfigTypeDef",
151
146
  "ListBackupsInputRequestTypeDef",
152
147
  "ListContributorInsightsInputRequestTypeDef",
153
148
  "ListExportsInputRequestTypeDef",
154
149
  "ListGlobalTablesInputRequestTypeDef",
155
150
  "ListImportsInputRequestTypeDef",
156
- "ListTablesInputListTablesPaginateTypeDef",
157
151
  "ListTablesInputRequestTypeDef",
158
- "ListTablesOutputTableTypeDef",
159
- "ListTablesOutputTypeDef",
160
- "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
161
152
  "ListTagsOfResourceInputRequestTypeDef",
162
153
  "TagTableTypeDef",
163
- "PaginatorConfigTypeDef",
164
154
  "PointInTimeRecoverySpecificationTypeDef",
165
- "ProvisionedThroughputDescriptionResponseMetadataTypeDef",
166
155
  "PutRequestServiceResourceTypeDef",
167
156
  "TableClassSummaryTableTypeDef",
168
157
  "TableClassSummaryTypeDef",
169
- "ResponseMetadataTypeDef",
170
- "RestoreSummaryResponseMetadataTypeDef",
171
158
  "RestoreSummaryTableTypeDef",
172
159
  "RestoreSummaryTypeDef",
173
- "SSEDescriptionResponseMetadataTypeDef",
174
160
  "SSEDescriptionTableTypeDef",
175
161
  "SSEDescriptionTypeDef",
176
162
  "SSESpecificationTableTypeDef",
177
- "StreamSpecificationResponseMetadataTypeDef",
178
163
  "StreamSpecificationTableTypeDef",
179
164
  "TableBatchWriterRequestTypeDef",
180
- "TableClassSummaryResponseMetadataTypeDef",
181
165
  "TimeToLiveSpecificationTypeDef",
182
166
  "UntagResourceInputRequestTypeDef",
183
167
  "UpdateContributorInsightsInputRequestTypeDef",
168
+ "ArchivalSummaryResponseMetadataTypeDef",
169
+ "BillingModeSummaryResponseMetadataTypeDef",
170
+ "DescribeLimitsOutputTypeDef",
171
+ "EmptyResponseMetadataTypeDef",
172
+ "KinesisStreamingDestinationOutputTypeDef",
173
+ "ListTablesOutputTableTypeDef",
174
+ "ListTablesOutputTypeDef",
175
+ "ProvisionedThroughputDescriptionResponseMetadataTypeDef",
176
+ "RestoreSummaryResponseMetadataTypeDef",
177
+ "SSEDescriptionResponseMetadataTypeDef",
178
+ "StreamSpecificationResponseMetadataTypeDef",
179
+ "TableClassSummaryResponseMetadataTypeDef",
184
180
  "UpdateContributorInsightsOutputTypeDef",
185
181
  "AttributeValueUpdateTypeDef",
182
+ "BatchStatementErrorTypeDef",
186
183
  "BatchStatementRequestTypeDef",
187
184
  "ConditionCheckTypeDef",
188
185
  "ConditionTypeDef",
@@ -205,13 +202,10 @@ __all__ = (
205
202
  "ListBackupsOutputTableTypeDef",
206
203
  "ListBackupsOutputTypeDef",
207
204
  "BatchGetItemInputServiceResourceBatchGetItemTypeDef",
208
- "BatchStatementResponseTypeDef",
209
205
  "ConsumedCapacityServiceResourceTypeDef",
210
206
  "ConsumedCapacityTableTypeDef",
211
207
  "ConsumedCapacityTypeDef",
212
- "QueryInputQueryPaginateTypeDef",
213
208
  "QueryInputTableQueryTypeDef",
214
- "ScanInputScanPaginateTypeDef",
215
209
  "ScanInputTableScanTypeDef",
216
210
  "ContinuousBackupsDescriptionTypeDef",
217
211
  "ListContributorInsightsOutputTypeDef",
@@ -253,11 +247,17 @@ __all__ = (
253
247
  "GlobalSecondaryIndexServiceResourceTypeDef",
254
248
  "LocalSecondaryIndexServiceResourceTypeDef",
255
249
  "ImportSummaryTypeDef",
250
+ "ListBackupsInputListBackupsPaginateTypeDef",
251
+ "ListTablesInputListTablesPaginateTypeDef",
252
+ "ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
253
+ "QueryInputQueryPaginateTypeDef",
254
+ "ScanInputScanPaginateTypeDef",
256
255
  "ListTagsOfResourceOutputTableTypeDef",
257
256
  "UpdateContinuousBackupsInputRequestTypeDef",
258
257
  "WriteRequestServiceResourceTypeDef",
259
258
  "UpdateTimeToLiveInputRequestTypeDef",
260
259
  "UpdateTimeToLiveOutputTypeDef",
260
+ "BatchStatementResponseTypeDef",
261
261
  "BatchExecuteStatementInputRequestTypeDef",
262
262
  "QueryInputRequestTypeDef",
263
263
  "ScanInputRequestTypeDef",
@@ -278,7 +278,6 @@ __all__ = (
278
278
  "QueryOutputTableTypeDef",
279
279
  "ScanOutputTableTypeDef",
280
280
  "UpdateItemOutputTableTypeDef",
281
- "BatchExecuteStatementOutputTypeDef",
282
281
  "BatchGetItemOutputTypeDef",
283
282
  "DeleteItemOutputTypeDef",
284
283
  "ExecuteStatementOutputTypeDef",
@@ -311,6 +310,7 @@ __all__ = (
311
310
  "ListImportsOutputTypeDef",
312
311
  "BatchWriteItemInputServiceResourceBatchWriteItemTypeDef",
313
312
  "BatchWriteItemOutputServiceResourceTypeDef",
313
+ "BatchExecuteStatementOutputTypeDef",
314
314
  "TransactGetItemsInputRequestTypeDef",
315
315
  "BatchWriteItemInputRequestTypeDef",
316
316
  "BatchWriteItemOutputTypeDef",
@@ -358,13 +358,14 @@ __all__ = (
358
358
  "UpdateTableReplicaAutoScalingOutputTypeDef",
359
359
  )
360
360
 
361
- ArchivalSummaryResponseMetadataTypeDef = TypedDict(
362
- "ArchivalSummaryResponseMetadataTypeDef",
361
+ ResponseMetadataTypeDef = TypedDict(
362
+ "ResponseMetadataTypeDef",
363
363
  {
364
- "ArchivalDateTime": datetime,
365
- "ArchivalReason": str,
366
- "ArchivalBackupArn": str,
367
- "ResponseMetadata": "ResponseMetadataTypeDef",
364
+ "RequestId": str,
365
+ "HostId": str,
366
+ "HTTPStatusCode": int,
367
+ "HTTPHeaders": Dict[str, str],
368
+ "RetryAttempts": int,
368
369
  },
369
370
  )
370
371
 
@@ -604,15 +605,6 @@ class KeysAndAttributesServiceResourceTypeDef(
604
605
  pass
605
606
 
606
607
 
607
- BatchStatementErrorTypeDef = TypedDict(
608
- "BatchStatementErrorTypeDef",
609
- {
610
- "Code": BatchStatementErrorCodeEnumType,
611
- "Message": str,
612
- },
613
- total=False,
614
- )
615
-
616
608
  ItemCollectionMetricsServiceResourceTypeDef = TypedDict(
617
609
  "ItemCollectionMetricsServiceResourceTypeDef",
618
610
  {
@@ -640,15 +632,6 @@ ItemCollectionMetricsServiceResourceTypeDef = TypedDict(
640
632
  total=False,
641
633
  )
642
634
 
643
- BillingModeSummaryResponseMetadataTypeDef = TypedDict(
644
- "BillingModeSummaryResponseMetadataTypeDef",
645
- {
646
- "BillingMode": BillingModeType,
647
- "LastUpdateToPayPerRequestDateTime": datetime,
648
- "ResponseMetadata": "ResponseMetadataTypeDef",
649
- },
650
- )
651
-
652
635
  BillingModeSummaryTableTypeDef = TypedDict(
653
636
  "BillingModeSummaryTableTypeDef",
654
637
  {
@@ -1214,17 +1197,6 @@ KinesisDataStreamDestinationTypeDef = TypedDict(
1214
1197
  total=False,
1215
1198
  )
1216
1199
 
1217
- DescribeLimitsOutputTypeDef = TypedDict(
1218
- "DescribeLimitsOutputTypeDef",
1219
- {
1220
- "AccountMaxReadCapacityUnits": int,
1221
- "AccountMaxWriteCapacityUnits": int,
1222
- "TableMaxReadCapacityUnits": int,
1223
- "TableMaxWriteCapacityUnits": int,
1224
- "ResponseMetadata": "ResponseMetadataTypeDef",
1225
- },
1226
- )
1227
-
1228
1200
  DescribeTableInputRequestTypeDef = TypedDict(
1229
1201
  "DescribeTableInputRequestTypeDef",
1230
1202
  {
@@ -1264,13 +1236,6 @@ TimeToLiveDescriptionTypeDef = TypedDict(
1264
1236
  total=False,
1265
1237
  )
1266
1238
 
1267
- EmptyResponseMetadataTypeDef = TypedDict(
1268
- "EmptyResponseMetadataTypeDef",
1269
- {
1270
- "ResponseMetadata": "ResponseMetadataTypeDef",
1271
- },
1272
- )
1273
-
1274
1239
  ExportSummaryTypeDef = TypedDict(
1275
1240
  "ExportSummaryTypeDef",
1276
1241
  {
@@ -1413,24 +1378,12 @@ KinesisStreamingDestinationInputRequestTypeDef = TypedDict(
1413
1378
  },
1414
1379
  )
1415
1380
 
1416
- KinesisStreamingDestinationOutputTypeDef = TypedDict(
1417
- "KinesisStreamingDestinationOutputTypeDef",
1418
- {
1419
- "TableName": str,
1420
- "StreamArn": str,
1421
- "DestinationStatus": DestinationStatusType,
1422
- "ResponseMetadata": "ResponseMetadataTypeDef",
1423
- },
1424
- )
1425
-
1426
- ListBackupsInputListBackupsPaginateTypeDef = TypedDict(
1427
- "ListBackupsInputListBackupsPaginateTypeDef",
1381
+ PaginatorConfigTypeDef = TypedDict(
1382
+ "PaginatorConfigTypeDef",
1428
1383
  {
1429
- "TableName": str,
1430
- "TimeRangeLowerBound": Union[datetime, str],
1431
- "TimeRangeUpperBound": Union[datetime, str],
1432
- "BackupType": BackupTypeFilterType,
1433
- "PaginationConfig": "PaginatorConfigTypeDef",
1384
+ "MaxItems": int,
1385
+ "PageSize": int,
1386
+ "StartingToken": str,
1434
1387
  },
1435
1388
  total=False,
1436
1389
  )
@@ -1488,14 +1441,6 @@ ListImportsInputRequestTypeDef = TypedDict(
1488
1441
  total=False,
1489
1442
  )
1490
1443
 
1491
- ListTablesInputListTablesPaginateTypeDef = TypedDict(
1492
- "ListTablesInputListTablesPaginateTypeDef",
1493
- {
1494
- "PaginationConfig": "PaginatorConfigTypeDef",
1495
- },
1496
- total=False,
1497
- )
1498
-
1499
1444
  ListTablesInputRequestTypeDef = TypedDict(
1500
1445
  "ListTablesInputRequestTypeDef",
1501
1446
  {
@@ -1505,46 +1450,6 @@ ListTablesInputRequestTypeDef = TypedDict(
1505
1450
  total=False,
1506
1451
  )
1507
1452
 
1508
- ListTablesOutputTableTypeDef = TypedDict(
1509
- "ListTablesOutputTableTypeDef",
1510
- {
1511
- "TableNames": List[str],
1512
- "LastEvaluatedTableName": str,
1513
- "ResponseMetadata": "ResponseMetadataTypeDef",
1514
- },
1515
- )
1516
-
1517
- ListTablesOutputTypeDef = TypedDict(
1518
- "ListTablesOutputTypeDef",
1519
- {
1520
- "TableNames": List[str],
1521
- "LastEvaluatedTableName": str,
1522
- "ResponseMetadata": "ResponseMetadataTypeDef",
1523
- },
1524
- )
1525
-
1526
- _RequiredListTagsOfResourceInputListTagsOfResourcePaginateTypeDef = TypedDict(
1527
- "_RequiredListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
1528
- {
1529
- "ResourceArn": str,
1530
- },
1531
- )
1532
- _OptionalListTagsOfResourceInputListTagsOfResourcePaginateTypeDef = TypedDict(
1533
- "_OptionalListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
1534
- {
1535
- "PaginationConfig": "PaginatorConfigTypeDef",
1536
- },
1537
- total=False,
1538
- )
1539
-
1540
-
1541
- class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(
1542
- _RequiredListTagsOfResourceInputListTagsOfResourcePaginateTypeDef,
1543
- _OptionalListTagsOfResourceInputListTagsOfResourcePaginateTypeDef,
1544
- ):
1545
- pass
1546
-
1547
-
1548
1453
  _RequiredListTagsOfResourceInputRequestTypeDef = TypedDict(
1549
1454
  "_RequiredListTagsOfResourceInputRequestTypeDef",
1550
1455
  {
@@ -1574,16 +1479,6 @@ TagTableTypeDef = TypedDict(
1574
1479
  },
1575
1480
  )
1576
1481
 
1577
- PaginatorConfigTypeDef = TypedDict(
1578
- "PaginatorConfigTypeDef",
1579
- {
1580
- "MaxItems": int,
1581
- "PageSize": int,
1582
- "StartingToken": str,
1583
- },
1584
- total=False,
1585
- )
1586
-
1587
1482
  PointInTimeRecoverySpecificationTypeDef = TypedDict(
1588
1483
  "PointInTimeRecoverySpecificationTypeDef",
1589
1484
  {
@@ -1591,18 +1486,6 @@ PointInTimeRecoverySpecificationTypeDef = TypedDict(
1591
1486
  },
1592
1487
  )
1593
1488
 
1594
- ProvisionedThroughputDescriptionResponseMetadataTypeDef = TypedDict(
1595
- "ProvisionedThroughputDescriptionResponseMetadataTypeDef",
1596
- {
1597
- "LastIncreaseDateTime": datetime,
1598
- "LastDecreaseDateTime": datetime,
1599
- "NumberOfDecreasesToday": int,
1600
- "ReadCapacityUnits": int,
1601
- "WriteCapacityUnits": int,
1602
- "ResponseMetadata": "ResponseMetadataTypeDef",
1603
- },
1604
- )
1605
-
1606
1489
  PutRequestServiceResourceTypeDef = TypedDict(
1607
1490
  "PutRequestServiceResourceTypeDef",
1608
1491
  {
@@ -1646,28 +1529,6 @@ TableClassSummaryTypeDef = TypedDict(
1646
1529
  total=False,
1647
1530
  )
1648
1531
 
1649
- ResponseMetadataTypeDef = TypedDict(
1650
- "ResponseMetadataTypeDef",
1651
- {
1652
- "RequestId": str,
1653
- "HostId": str,
1654
- "HTTPStatusCode": int,
1655
- "HTTPHeaders": Dict[str, str],
1656
- "RetryAttempts": int,
1657
- },
1658
- )
1659
-
1660
- RestoreSummaryResponseMetadataTypeDef = TypedDict(
1661
- "RestoreSummaryResponseMetadataTypeDef",
1662
- {
1663
- "SourceBackupArn": str,
1664
- "SourceTableArn": str,
1665
- "RestoreDateTime": datetime,
1666
- "RestoreInProgress": bool,
1667
- "ResponseMetadata": "ResponseMetadataTypeDef",
1668
- },
1669
- )
1670
-
1671
1532
  _RequiredRestoreSummaryTableTypeDef = TypedDict(
1672
1533
  "_RequiredRestoreSummaryTableTypeDef",
1673
1534
  {
@@ -1712,17 +1573,6 @@ class RestoreSummaryTypeDef(_RequiredRestoreSummaryTypeDef, _OptionalRestoreSumm
1712
1573
  pass
1713
1574
 
1714
1575
 
1715
- SSEDescriptionResponseMetadataTypeDef = TypedDict(
1716
- "SSEDescriptionResponseMetadataTypeDef",
1717
- {
1718
- "Status": SSEStatusType,
1719
- "SSEType": SSETypeType,
1720
- "KMSMasterKeyArn": str,
1721
- "InaccessibleEncryptionDateTime": datetime,
1722
- "ResponseMetadata": "ResponseMetadataTypeDef",
1723
- },
1724
- )
1725
-
1726
1576
  SSEDescriptionTableTypeDef = TypedDict(
1727
1577
  "SSEDescriptionTableTypeDef",
1728
1578
  {
@@ -1755,15 +1605,6 @@ SSESpecificationTableTypeDef = TypedDict(
1755
1605
  total=False,
1756
1606
  )
1757
1607
 
1758
- StreamSpecificationResponseMetadataTypeDef = TypedDict(
1759
- "StreamSpecificationResponseMetadataTypeDef",
1760
- {
1761
- "StreamEnabled": bool,
1762
- "StreamViewType": StreamViewTypeType,
1763
- "ResponseMetadata": "ResponseMetadataTypeDef",
1764
- },
1765
- )
1766
-
1767
1608
  _RequiredStreamSpecificationTableTypeDef = TypedDict(
1768
1609
  "_RequiredStreamSpecificationTableTypeDef",
1769
1610
  {
@@ -1793,15 +1634,6 @@ TableBatchWriterRequestTypeDef = TypedDict(
1793
1634
  total=False,
1794
1635
  )
1795
1636
 
1796
- TableClassSummaryResponseMetadataTypeDef = TypedDict(
1797
- "TableClassSummaryResponseMetadataTypeDef",
1798
- {
1799
- "TableClass": TableClassType,
1800
- "LastUpdateDateTime": datetime,
1801
- "ResponseMetadata": "ResponseMetadataTypeDef",
1802
- },
1803
- )
1804
-
1805
1637
  TimeToLiveSpecificationTypeDef = TypedDict(
1806
1638
  "TimeToLiveSpecificationTypeDef",
1807
1639
  {
@@ -1841,13 +1673,130 @@ class UpdateContributorInsightsInputRequestTypeDef(
1841
1673
  pass
1842
1674
 
1843
1675
 
1676
+ ArchivalSummaryResponseMetadataTypeDef = TypedDict(
1677
+ "ArchivalSummaryResponseMetadataTypeDef",
1678
+ {
1679
+ "ArchivalDateTime": datetime,
1680
+ "ArchivalReason": str,
1681
+ "ArchivalBackupArn": str,
1682
+ "ResponseMetadata": ResponseMetadataTypeDef,
1683
+ },
1684
+ )
1685
+
1686
+ BillingModeSummaryResponseMetadataTypeDef = TypedDict(
1687
+ "BillingModeSummaryResponseMetadataTypeDef",
1688
+ {
1689
+ "BillingMode": BillingModeType,
1690
+ "LastUpdateToPayPerRequestDateTime": datetime,
1691
+ "ResponseMetadata": ResponseMetadataTypeDef,
1692
+ },
1693
+ )
1694
+
1695
+ DescribeLimitsOutputTypeDef = TypedDict(
1696
+ "DescribeLimitsOutputTypeDef",
1697
+ {
1698
+ "AccountMaxReadCapacityUnits": int,
1699
+ "AccountMaxWriteCapacityUnits": int,
1700
+ "TableMaxReadCapacityUnits": int,
1701
+ "TableMaxWriteCapacityUnits": int,
1702
+ "ResponseMetadata": ResponseMetadataTypeDef,
1703
+ },
1704
+ )
1705
+
1706
+ EmptyResponseMetadataTypeDef = TypedDict(
1707
+ "EmptyResponseMetadataTypeDef",
1708
+ {
1709
+ "ResponseMetadata": ResponseMetadataTypeDef,
1710
+ },
1711
+ )
1712
+
1713
+ KinesisStreamingDestinationOutputTypeDef = TypedDict(
1714
+ "KinesisStreamingDestinationOutputTypeDef",
1715
+ {
1716
+ "TableName": str,
1717
+ "StreamArn": str,
1718
+ "DestinationStatus": DestinationStatusType,
1719
+ "ResponseMetadata": ResponseMetadataTypeDef,
1720
+ },
1721
+ )
1722
+
1723
+ ListTablesOutputTableTypeDef = TypedDict(
1724
+ "ListTablesOutputTableTypeDef",
1725
+ {
1726
+ "TableNames": List[str],
1727
+ "LastEvaluatedTableName": str,
1728
+ "ResponseMetadata": ResponseMetadataTypeDef,
1729
+ },
1730
+ )
1731
+
1732
+ ListTablesOutputTypeDef = TypedDict(
1733
+ "ListTablesOutputTypeDef",
1734
+ {
1735
+ "TableNames": List[str],
1736
+ "LastEvaluatedTableName": str,
1737
+ "ResponseMetadata": ResponseMetadataTypeDef,
1738
+ },
1739
+ )
1740
+
1741
+ ProvisionedThroughputDescriptionResponseMetadataTypeDef = TypedDict(
1742
+ "ProvisionedThroughputDescriptionResponseMetadataTypeDef",
1743
+ {
1744
+ "LastIncreaseDateTime": datetime,
1745
+ "LastDecreaseDateTime": datetime,
1746
+ "NumberOfDecreasesToday": int,
1747
+ "ReadCapacityUnits": int,
1748
+ "WriteCapacityUnits": int,
1749
+ "ResponseMetadata": ResponseMetadataTypeDef,
1750
+ },
1751
+ )
1752
+
1753
+ RestoreSummaryResponseMetadataTypeDef = TypedDict(
1754
+ "RestoreSummaryResponseMetadataTypeDef",
1755
+ {
1756
+ "SourceBackupArn": str,
1757
+ "SourceTableArn": str,
1758
+ "RestoreDateTime": datetime,
1759
+ "RestoreInProgress": bool,
1760
+ "ResponseMetadata": ResponseMetadataTypeDef,
1761
+ },
1762
+ )
1763
+
1764
+ SSEDescriptionResponseMetadataTypeDef = TypedDict(
1765
+ "SSEDescriptionResponseMetadataTypeDef",
1766
+ {
1767
+ "Status": SSEStatusType,
1768
+ "SSEType": SSETypeType,
1769
+ "KMSMasterKeyArn": str,
1770
+ "InaccessibleEncryptionDateTime": datetime,
1771
+ "ResponseMetadata": ResponseMetadataTypeDef,
1772
+ },
1773
+ )
1774
+
1775
+ StreamSpecificationResponseMetadataTypeDef = TypedDict(
1776
+ "StreamSpecificationResponseMetadataTypeDef",
1777
+ {
1778
+ "StreamEnabled": bool,
1779
+ "StreamViewType": StreamViewTypeType,
1780
+ "ResponseMetadata": ResponseMetadataTypeDef,
1781
+ },
1782
+ )
1783
+
1784
+ TableClassSummaryResponseMetadataTypeDef = TypedDict(
1785
+ "TableClassSummaryResponseMetadataTypeDef",
1786
+ {
1787
+ "TableClass": TableClassType,
1788
+ "LastUpdateDateTime": datetime,
1789
+ "ResponseMetadata": ResponseMetadataTypeDef,
1790
+ },
1791
+ )
1792
+
1844
1793
  UpdateContributorInsightsOutputTypeDef = TypedDict(
1845
1794
  "UpdateContributorInsightsOutputTypeDef",
1846
1795
  {
1847
1796
  "TableName": str,
1848
1797
  "IndexName": str,
1849
1798
  "ContributorInsightsStatus": ContributorInsightsStatusType,
1850
- "ResponseMetadata": "ResponseMetadataTypeDef",
1799
+ "ResponseMetadata": ResponseMetadataTypeDef,
1851
1800
  },
1852
1801
  )
1853
1802
 
@@ -1878,6 +1827,16 @@ AttributeValueUpdateTypeDef = TypedDict(
1878
1827
  total=False,
1879
1828
  )
1880
1829
 
1830
+ BatchStatementErrorTypeDef = TypedDict(
1831
+ "BatchStatementErrorTypeDef",
1832
+ {
1833
+ "Code": BatchStatementErrorCodeEnumType,
1834
+ "Message": str,
1835
+ "Item": Dict[str, AttributeValueTypeDef],
1836
+ },
1837
+ total=False,
1838
+ )
1839
+
1881
1840
  _RequiredBatchStatementRequestTypeDef = TypedDict(
1882
1841
  "_RequiredBatchStatementRequestTypeDef",
1883
1842
  {
@@ -1909,6 +1868,7 @@ _OptionalBatchStatementRequestTypeDef = TypedDict(
1909
1868
  ]
1910
1869
  ],
1911
1870
  "ConsistentRead": bool,
1871
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
1912
1872
  },
1913
1873
  total=False,
1914
1874
  )
@@ -2151,6 +2111,7 @@ _OptionalExecuteStatementInputRequestTypeDef = TypedDict(
2151
2111
  "NextToken": str,
2152
2112
  "ReturnConsumedCapacity": ReturnConsumedCapacityType,
2153
2113
  "Limit": int,
2114
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
2154
2115
  },
2155
2116
  total=False,
2156
2117
  )
@@ -2394,6 +2355,7 @@ _OptionalParameterizedStatementTypeDef = TypedDict(
2394
2355
  ],
2395
2356
  ]
2396
2357
  ],
2358
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
2397
2359
  },
2398
2360
  total=False,
2399
2361
  )
@@ -2602,7 +2564,7 @@ CreateBackupOutputTypeDef = TypedDict(
2602
2564
  "CreateBackupOutputTypeDef",
2603
2565
  {
2604
2566
  "BackupDetails": BackupDetailsTypeDef,
2605
- "ResponseMetadata": "ResponseMetadataTypeDef",
2567
+ "ResponseMetadata": ResponseMetadataTypeDef,
2606
2568
  },
2607
2569
  )
2608
2570
 
@@ -2611,7 +2573,7 @@ ListBackupsOutputTableTypeDef = TypedDict(
2611
2573
  {
2612
2574
  "BackupSummaries": List[BackupSummaryTableTypeDef],
2613
2575
  "LastEvaluatedBackupArn": str,
2614
- "ResponseMetadata": "ResponseMetadataTypeDef",
2576
+ "ResponseMetadata": ResponseMetadataTypeDef,
2615
2577
  },
2616
2578
  )
2617
2579
 
@@ -2620,7 +2582,7 @@ ListBackupsOutputTypeDef = TypedDict(
2620
2582
  {
2621
2583
  "BackupSummaries": List[BackupSummaryTypeDef],
2622
2584
  "LastEvaluatedBackupArn": str,
2623
- "ResponseMetadata": "ResponseMetadataTypeDef",
2585
+ "ResponseMetadata": ResponseMetadataTypeDef,
2624
2586
  },
2625
2587
  )
2626
2588
 
@@ -2646,16 +2608,6 @@ class BatchGetItemInputServiceResourceBatchGetItemTypeDef(
2646
2608
  pass
2647
2609
 
2648
2610
 
2649
- BatchStatementResponseTypeDef = TypedDict(
2650
- "BatchStatementResponseTypeDef",
2651
- {
2652
- "Error": BatchStatementErrorTypeDef,
2653
- "TableName": str,
2654
- "Item": Dict[str, AttributeValueTypeDef],
2655
- },
2656
- total=False,
2657
- )
2658
-
2659
2611
  ConsumedCapacityServiceResourceTypeDef = TypedDict(
2660
2612
  "ConsumedCapacityServiceResourceTypeDef",
2661
2613
  {
@@ -2670,86 +2622,33 @@ ConsumedCapacityServiceResourceTypeDef = TypedDict(
2670
2622
  total=False,
2671
2623
  )
2672
2624
 
2673
- ConsumedCapacityTableTypeDef = TypedDict(
2674
- "ConsumedCapacityTableTypeDef",
2675
- {
2676
- "TableName": str,
2677
- "CapacityUnits": float,
2678
- "ReadCapacityUnits": float,
2679
- "WriteCapacityUnits": float,
2680
- "Table": CapacityTableTypeDef,
2681
- "LocalSecondaryIndexes": Dict[str, CapacityTableTypeDef],
2682
- "GlobalSecondaryIndexes": Dict[str, CapacityTableTypeDef],
2683
- },
2684
- total=False,
2685
- )
2686
-
2687
- ConsumedCapacityTypeDef = TypedDict(
2688
- "ConsumedCapacityTypeDef",
2689
- {
2690
- "TableName": str,
2691
- "CapacityUnits": float,
2692
- "ReadCapacityUnits": float,
2693
- "WriteCapacityUnits": float,
2694
- "Table": CapacityTypeDef,
2695
- "LocalSecondaryIndexes": Dict[str, CapacityTypeDef],
2696
- "GlobalSecondaryIndexes": Dict[str, CapacityTypeDef],
2697
- },
2698
- total=False,
2699
- )
2700
-
2701
- _RequiredQueryInputQueryPaginateTypeDef = TypedDict(
2702
- "_RequiredQueryInputQueryPaginateTypeDef",
2703
- {
2704
- "TableName": str,
2705
- },
2706
- )
2707
- _OptionalQueryInputQueryPaginateTypeDef = TypedDict(
2708
- "_OptionalQueryInputQueryPaginateTypeDef",
2709
- {
2710
- "IndexName": str,
2711
- "Select": SelectType,
2712
- "AttributesToGet": Sequence[str],
2713
- "ConsistentRead": bool,
2714
- "KeyConditions": Mapping[str, ConditionTableTypeDef],
2715
- "QueryFilter": Mapping[str, ConditionTableTypeDef],
2716
- "ConditionalOperator": ConditionalOperatorType,
2717
- "ScanIndexForward": bool,
2718
- "ReturnConsumedCapacity": ReturnConsumedCapacityType,
2719
- "ProjectionExpression": str,
2720
- "FilterExpression": str,
2721
- "KeyConditionExpression": str,
2722
- "ExpressionAttributeNames": Mapping[str, str],
2723
- "ExpressionAttributeValues": Mapping[
2724
- str,
2725
- Union[
2726
- bytes,
2727
- bytearray,
2728
- str,
2729
- int,
2730
- Decimal,
2731
- bool,
2732
- Set[int],
2733
- Set[Decimal],
2734
- Set[str],
2735
- Set[bytes],
2736
- Set[bytearray],
2737
- Sequence[Any],
2738
- Mapping[str, Any],
2739
- None,
2740
- ],
2741
- ],
2742
- "PaginationConfig": "PaginatorConfigTypeDef",
2743
- },
2744
- total=False,
2745
- )
2746
-
2747
-
2748
- class QueryInputQueryPaginateTypeDef(
2749
- _RequiredQueryInputQueryPaginateTypeDef, _OptionalQueryInputQueryPaginateTypeDef
2750
- ):
2751
- pass
2625
+ ConsumedCapacityTableTypeDef = TypedDict(
2626
+ "ConsumedCapacityTableTypeDef",
2627
+ {
2628
+ "TableName": str,
2629
+ "CapacityUnits": float,
2630
+ "ReadCapacityUnits": float,
2631
+ "WriteCapacityUnits": float,
2632
+ "Table": CapacityTableTypeDef,
2633
+ "LocalSecondaryIndexes": Dict[str, CapacityTableTypeDef],
2634
+ "GlobalSecondaryIndexes": Dict[str, CapacityTableTypeDef],
2635
+ },
2636
+ total=False,
2637
+ )
2752
2638
 
2639
+ ConsumedCapacityTypeDef = TypedDict(
2640
+ "ConsumedCapacityTypeDef",
2641
+ {
2642
+ "TableName": str,
2643
+ "CapacityUnits": float,
2644
+ "ReadCapacityUnits": float,
2645
+ "WriteCapacityUnits": float,
2646
+ "Table": CapacityTypeDef,
2647
+ "LocalSecondaryIndexes": Dict[str, CapacityTypeDef],
2648
+ "GlobalSecondaryIndexes": Dict[str, CapacityTypeDef],
2649
+ },
2650
+ total=False,
2651
+ )
2753
2652
 
2754
2653
  QueryInputTableQueryTypeDef = TypedDict(
2755
2654
  "QueryInputTableQueryTypeDef",
@@ -2810,58 +2709,6 @@ QueryInputTableQueryTypeDef = TypedDict(
2810
2709
  total=False,
2811
2710
  )
2812
2711
 
2813
- _RequiredScanInputScanPaginateTypeDef = TypedDict(
2814
- "_RequiredScanInputScanPaginateTypeDef",
2815
- {
2816
- "TableName": str,
2817
- },
2818
- )
2819
- _OptionalScanInputScanPaginateTypeDef = TypedDict(
2820
- "_OptionalScanInputScanPaginateTypeDef",
2821
- {
2822
- "IndexName": str,
2823
- "AttributesToGet": Sequence[str],
2824
- "Select": SelectType,
2825
- "ScanFilter": Mapping[str, ConditionTableTypeDef],
2826
- "ConditionalOperator": ConditionalOperatorType,
2827
- "ReturnConsumedCapacity": ReturnConsumedCapacityType,
2828
- "TotalSegments": int,
2829
- "Segment": int,
2830
- "ProjectionExpression": str,
2831
- "FilterExpression": str,
2832
- "ExpressionAttributeNames": Mapping[str, str],
2833
- "ExpressionAttributeValues": Mapping[
2834
- str,
2835
- Union[
2836
- bytes,
2837
- bytearray,
2838
- str,
2839
- int,
2840
- Decimal,
2841
- bool,
2842
- Set[int],
2843
- Set[Decimal],
2844
- Set[str],
2845
- Set[bytes],
2846
- Set[bytearray],
2847
- Sequence[Any],
2848
- Mapping[str, Any],
2849
- None,
2850
- ],
2851
- ],
2852
- "ConsistentRead": bool,
2853
- "PaginationConfig": "PaginatorConfigTypeDef",
2854
- },
2855
- total=False,
2856
- )
2857
-
2858
-
2859
- class ScanInputScanPaginateTypeDef(
2860
- _RequiredScanInputScanPaginateTypeDef, _OptionalScanInputScanPaginateTypeDef
2861
- ):
2862
- pass
2863
-
2864
-
2865
2712
  ScanInputTableScanTypeDef = TypedDict(
2866
2713
  "ScanInputTableScanTypeDef",
2867
2714
  {
@@ -2946,7 +2793,7 @@ ListContributorInsightsOutputTypeDef = TypedDict(
2946
2793
  {
2947
2794
  "ContributorInsightsSummaries": List[ContributorInsightsSummaryTypeDef],
2948
2795
  "NextToken": str,
2949
- "ResponseMetadata": "ResponseMetadataTypeDef",
2796
+ "ResponseMetadata": ResponseMetadataTypeDef,
2950
2797
  },
2951
2798
  )
2952
2799
 
@@ -3204,7 +3051,7 @@ ListTagsOfResourceOutputTypeDef = TypedDict(
3204
3051
  {
3205
3052
  "Tags": List[TagTypeDef],
3206
3053
  "NextToken": str,
3207
- "ResponseMetadata": "ResponseMetadataTypeDef",
3054
+ "ResponseMetadata": ResponseMetadataTypeDef,
3208
3055
  },
3209
3056
  )
3210
3057
 
@@ -3277,6 +3124,7 @@ _OptionalDeleteItemInputTableDeleteItemTypeDef = TypedDict(
3277
3124
  None,
3278
3125
  ],
3279
3126
  ],
3127
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
3280
3128
  },
3281
3129
  total=False,
3282
3130
  )
@@ -3341,6 +3189,7 @@ _OptionalPutItemInputTablePutItemTypeDef = TypedDict(
3341
3189
  None,
3342
3190
  ],
3343
3191
  ],
3192
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
3344
3193
  },
3345
3194
  total=False,
3346
3195
  )
@@ -3407,6 +3256,7 @@ _OptionalUpdateItemInputTableUpdateItemTypeDef = TypedDict(
3407
3256
  None,
3408
3257
  ],
3409
3258
  ],
3259
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
3410
3260
  },
3411
3261
  total=False,
3412
3262
  )
@@ -3436,7 +3286,7 @@ DescribeContributorInsightsOutputTypeDef = TypedDict(
3436
3286
  "ContributorInsightsStatus": ContributorInsightsStatusType,
3437
3287
  "LastUpdateDateTime": datetime,
3438
3288
  "FailureException": FailureExceptionTypeDef,
3439
- "ResponseMetadata": "ResponseMetadataTypeDef",
3289
+ "ResponseMetadata": ResponseMetadataTypeDef,
3440
3290
  },
3441
3291
  )
3442
3292
 
@@ -3444,7 +3294,7 @@ DescribeEndpointsResponseTypeDef = TypedDict(
3444
3294
  "DescribeEndpointsResponseTypeDef",
3445
3295
  {
3446
3296
  "Endpoints": List[EndpointTypeDef],
3447
- "ResponseMetadata": "ResponseMetadataTypeDef",
3297
+ "ResponseMetadata": ResponseMetadataTypeDef,
3448
3298
  },
3449
3299
  )
3450
3300
 
@@ -3452,7 +3302,7 @@ DescribeExportOutputTypeDef = TypedDict(
3452
3302
  "DescribeExportOutputTypeDef",
3453
3303
  {
3454
3304
  "ExportDescription": ExportDescriptionTypeDef,
3455
- "ResponseMetadata": "ResponseMetadataTypeDef",
3305
+ "ResponseMetadata": ResponseMetadataTypeDef,
3456
3306
  },
3457
3307
  )
3458
3308
 
@@ -3460,7 +3310,7 @@ ExportTableToPointInTimeOutputTypeDef = TypedDict(
3460
3310
  "ExportTableToPointInTimeOutputTypeDef",
3461
3311
  {
3462
3312
  "ExportDescription": ExportDescriptionTypeDef,
3463
- "ResponseMetadata": "ResponseMetadataTypeDef",
3313
+ "ResponseMetadata": ResponseMetadataTypeDef,
3464
3314
  },
3465
3315
  )
3466
3316
 
@@ -3469,7 +3319,7 @@ DescribeKinesisStreamingDestinationOutputTypeDef = TypedDict(
3469
3319
  {
3470
3320
  "TableName": str,
3471
3321
  "KinesisDataStreamDestinations": List[KinesisDataStreamDestinationTypeDef],
3472
- "ResponseMetadata": "ResponseMetadataTypeDef",
3322
+ "ResponseMetadata": ResponseMetadataTypeDef,
3473
3323
  },
3474
3324
  )
3475
3325
 
@@ -3521,7 +3371,7 @@ DescribeTimeToLiveOutputTypeDef = TypedDict(
3521
3371
  "DescribeTimeToLiveOutputTypeDef",
3522
3372
  {
3523
3373
  "TimeToLiveDescription": TimeToLiveDescriptionTypeDef,
3524
- "ResponseMetadata": "ResponseMetadataTypeDef",
3374
+ "ResponseMetadata": ResponseMetadataTypeDef,
3525
3375
  },
3526
3376
  )
3527
3377
 
@@ -3530,7 +3380,7 @@ ListExportsOutputTypeDef = TypedDict(
3530
3380
  {
3531
3381
  "ExportSummaries": List[ExportSummaryTypeDef],
3532
3382
  "NextToken": str,
3533
- "ResponseMetadata": "ResponseMetadataTypeDef",
3383
+ "ResponseMetadata": ResponseMetadataTypeDef,
3534
3384
  },
3535
3385
  )
3536
3386
 
@@ -3614,12 +3464,159 @@ ImportSummaryTypeDef = TypedDict(
3614
3464
  total=False,
3615
3465
  )
3616
3466
 
3467
+ ListBackupsInputListBackupsPaginateTypeDef = TypedDict(
3468
+ "ListBackupsInputListBackupsPaginateTypeDef",
3469
+ {
3470
+ "TableName": str,
3471
+ "TimeRangeLowerBound": Union[datetime, str],
3472
+ "TimeRangeUpperBound": Union[datetime, str],
3473
+ "BackupType": BackupTypeFilterType,
3474
+ "PaginationConfig": PaginatorConfigTypeDef,
3475
+ },
3476
+ total=False,
3477
+ )
3478
+
3479
+ ListTablesInputListTablesPaginateTypeDef = TypedDict(
3480
+ "ListTablesInputListTablesPaginateTypeDef",
3481
+ {
3482
+ "PaginationConfig": PaginatorConfigTypeDef,
3483
+ },
3484
+ total=False,
3485
+ )
3486
+
3487
+ _RequiredListTagsOfResourceInputListTagsOfResourcePaginateTypeDef = TypedDict(
3488
+ "_RequiredListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
3489
+ {
3490
+ "ResourceArn": str,
3491
+ },
3492
+ )
3493
+ _OptionalListTagsOfResourceInputListTagsOfResourcePaginateTypeDef = TypedDict(
3494
+ "_OptionalListTagsOfResourceInputListTagsOfResourcePaginateTypeDef",
3495
+ {
3496
+ "PaginationConfig": PaginatorConfigTypeDef,
3497
+ },
3498
+ total=False,
3499
+ )
3500
+
3501
+
3502
+ class ListTagsOfResourceInputListTagsOfResourcePaginateTypeDef(
3503
+ _RequiredListTagsOfResourceInputListTagsOfResourcePaginateTypeDef,
3504
+ _OptionalListTagsOfResourceInputListTagsOfResourcePaginateTypeDef,
3505
+ ):
3506
+ pass
3507
+
3508
+
3509
+ _RequiredQueryInputQueryPaginateTypeDef = TypedDict(
3510
+ "_RequiredQueryInputQueryPaginateTypeDef",
3511
+ {
3512
+ "TableName": str,
3513
+ },
3514
+ )
3515
+ _OptionalQueryInputQueryPaginateTypeDef = TypedDict(
3516
+ "_OptionalQueryInputQueryPaginateTypeDef",
3517
+ {
3518
+ "IndexName": str,
3519
+ "Select": SelectType,
3520
+ "AttributesToGet": Sequence[str],
3521
+ "ConsistentRead": bool,
3522
+ "KeyConditions": Mapping[str, ConditionTableTypeDef],
3523
+ "QueryFilter": Mapping[str, ConditionTableTypeDef],
3524
+ "ConditionalOperator": ConditionalOperatorType,
3525
+ "ScanIndexForward": bool,
3526
+ "ReturnConsumedCapacity": ReturnConsumedCapacityType,
3527
+ "ProjectionExpression": str,
3528
+ "FilterExpression": str,
3529
+ "KeyConditionExpression": str,
3530
+ "ExpressionAttributeNames": Mapping[str, str],
3531
+ "ExpressionAttributeValues": Mapping[
3532
+ str,
3533
+ Union[
3534
+ bytes,
3535
+ bytearray,
3536
+ str,
3537
+ int,
3538
+ Decimal,
3539
+ bool,
3540
+ Set[int],
3541
+ Set[Decimal],
3542
+ Set[str],
3543
+ Set[bytes],
3544
+ Set[bytearray],
3545
+ Sequence[Any],
3546
+ Mapping[str, Any],
3547
+ None,
3548
+ ],
3549
+ ],
3550
+ "PaginationConfig": PaginatorConfigTypeDef,
3551
+ },
3552
+ total=False,
3553
+ )
3554
+
3555
+
3556
+ class QueryInputQueryPaginateTypeDef(
3557
+ _RequiredQueryInputQueryPaginateTypeDef, _OptionalQueryInputQueryPaginateTypeDef
3558
+ ):
3559
+ pass
3560
+
3561
+
3562
+ _RequiredScanInputScanPaginateTypeDef = TypedDict(
3563
+ "_RequiredScanInputScanPaginateTypeDef",
3564
+ {
3565
+ "TableName": str,
3566
+ },
3567
+ )
3568
+ _OptionalScanInputScanPaginateTypeDef = TypedDict(
3569
+ "_OptionalScanInputScanPaginateTypeDef",
3570
+ {
3571
+ "IndexName": str,
3572
+ "AttributesToGet": Sequence[str],
3573
+ "Select": SelectType,
3574
+ "ScanFilter": Mapping[str, ConditionTableTypeDef],
3575
+ "ConditionalOperator": ConditionalOperatorType,
3576
+ "ReturnConsumedCapacity": ReturnConsumedCapacityType,
3577
+ "TotalSegments": int,
3578
+ "Segment": int,
3579
+ "ProjectionExpression": str,
3580
+ "FilterExpression": str,
3581
+ "ExpressionAttributeNames": Mapping[str, str],
3582
+ "ExpressionAttributeValues": Mapping[
3583
+ str,
3584
+ Union[
3585
+ bytes,
3586
+ bytearray,
3587
+ str,
3588
+ int,
3589
+ Decimal,
3590
+ bool,
3591
+ Set[int],
3592
+ Set[Decimal],
3593
+ Set[str],
3594
+ Set[bytes],
3595
+ Set[bytearray],
3596
+ Sequence[Any],
3597
+ Mapping[str, Any],
3598
+ None,
3599
+ ],
3600
+ ],
3601
+ "ConsistentRead": bool,
3602
+ "PaginationConfig": PaginatorConfigTypeDef,
3603
+ },
3604
+ total=False,
3605
+ )
3606
+
3607
+
3608
+ class ScanInputScanPaginateTypeDef(
3609
+ _RequiredScanInputScanPaginateTypeDef, _OptionalScanInputScanPaginateTypeDef
3610
+ ):
3611
+ pass
3612
+
3613
+
3617
3614
  ListTagsOfResourceOutputTableTypeDef = TypedDict(
3618
3615
  "ListTagsOfResourceOutputTableTypeDef",
3619
3616
  {
3620
3617
  "Tags": List[TagTableTypeDef],
3621
3618
  "NextToken": str,
3622
- "ResponseMetadata": "ResponseMetadataTypeDef",
3619
+ "ResponseMetadata": ResponseMetadataTypeDef,
3623
3620
  },
3624
3621
  )
3625
3622
 
@@ -3652,8 +3649,18 @@ UpdateTimeToLiveOutputTypeDef = TypedDict(
3652
3649
  "UpdateTimeToLiveOutputTypeDef",
3653
3650
  {
3654
3651
  "TimeToLiveSpecification": TimeToLiveSpecificationTypeDef,
3655
- "ResponseMetadata": "ResponseMetadataTypeDef",
3652
+ "ResponseMetadata": ResponseMetadataTypeDef,
3653
+ },
3654
+ )
3655
+
3656
+ BatchStatementResponseTypeDef = TypedDict(
3657
+ "BatchStatementResponseTypeDef",
3658
+ {
3659
+ "Error": BatchStatementErrorTypeDef,
3660
+ "TableName": str,
3661
+ "Item": Dict[str, AttributeValueTypeDef],
3656
3662
  },
3663
+ total=False,
3657
3664
  )
3658
3665
 
3659
3666
  _RequiredBatchExecuteStatementInputRequestTypeDef = TypedDict(
@@ -3891,6 +3898,7 @@ _OptionalDeleteItemInputRequestTypeDef = TypedDict(
3891
3898
  ],
3892
3899
  ],
3893
3900
  ],
3901
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
3894
3902
  },
3895
3903
  total=False,
3896
3904
  )
@@ -3962,6 +3970,7 @@ _OptionalPutItemInputRequestTypeDef = TypedDict(
3962
3970
  ],
3963
3971
  ],
3964
3972
  ],
3973
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
3965
3974
  },
3966
3975
  total=False,
3967
3976
  )
@@ -4035,6 +4044,7 @@ _OptionalUpdateItemInputRequestTypeDef = TypedDict(
4035
4044
  ],
4036
4045
  ],
4037
4046
  ],
4047
+ "ReturnValuesOnConditionCheckFailure": ReturnValuesOnConditionCheckFailureType,
4038
4048
  },
4039
4049
  total=False,
4040
4050
  )
@@ -4169,7 +4179,7 @@ BatchGetItemOutputServiceResourceTypeDef = TypedDict(
4169
4179
  ],
4170
4180
  "UnprocessedKeys": Dict[str, KeysAndAttributesServiceResourceTypeDef],
4171
4181
  "ConsumedCapacity": List[ConsumedCapacityServiceResourceTypeDef],
4172
- "ResponseMetadata": "ResponseMetadataTypeDef",
4182
+ "ResponseMetadata": ResponseMetadataTypeDef,
4173
4183
  },
4174
4184
  )
4175
4185
 
@@ -4197,7 +4207,7 @@ DeleteItemOutputTableTypeDef = TypedDict(
4197
4207
  ],
4198
4208
  "ConsumedCapacity": ConsumedCapacityTableTypeDef,
4199
4209
  "ItemCollectionMetrics": ItemCollectionMetricsTableTypeDef,
4200
- "ResponseMetadata": "ResponseMetadataTypeDef",
4210
+ "ResponseMetadata": ResponseMetadataTypeDef,
4201
4211
  },
4202
4212
  )
4203
4213
 
@@ -4224,7 +4234,7 @@ GetItemOutputTableTypeDef = TypedDict(
4224
4234
  ],
4225
4235
  ],
4226
4236
  "ConsumedCapacity": ConsumedCapacityTableTypeDef,
4227
- "ResponseMetadata": "ResponseMetadataTypeDef",
4237
+ "ResponseMetadata": ResponseMetadataTypeDef,
4228
4238
  },
4229
4239
  )
4230
4240
 
@@ -4252,7 +4262,7 @@ PutItemOutputTableTypeDef = TypedDict(
4252
4262
  ],
4253
4263
  "ConsumedCapacity": ConsumedCapacityTableTypeDef,
4254
4264
  "ItemCollectionMetrics": ItemCollectionMetricsTableTypeDef,
4255
- "ResponseMetadata": "ResponseMetadataTypeDef",
4265
+ "ResponseMetadata": ResponseMetadataTypeDef,
4256
4266
  },
4257
4267
  )
4258
4268
 
@@ -4302,7 +4312,7 @@ QueryOutputTableTypeDef = TypedDict(
4302
4312
  ],
4303
4313
  ],
4304
4314
  "ConsumedCapacity": ConsumedCapacityTableTypeDef,
4305
- "ResponseMetadata": "ResponseMetadataTypeDef",
4315
+ "ResponseMetadata": ResponseMetadataTypeDef,
4306
4316
  },
4307
4317
  )
4308
4318
 
@@ -4352,7 +4362,7 @@ ScanOutputTableTypeDef = TypedDict(
4352
4362
  ],
4353
4363
  ],
4354
4364
  "ConsumedCapacity": ConsumedCapacityTableTypeDef,
4355
- "ResponseMetadata": "ResponseMetadataTypeDef",
4365
+ "ResponseMetadata": ResponseMetadataTypeDef,
4356
4366
  },
4357
4367
  )
4358
4368
 
@@ -4380,16 +4390,7 @@ UpdateItemOutputTableTypeDef = TypedDict(
4380
4390
  ],
4381
4391
  "ConsumedCapacity": ConsumedCapacityTableTypeDef,
4382
4392
  "ItemCollectionMetrics": ItemCollectionMetricsTableTypeDef,
4383
- "ResponseMetadata": "ResponseMetadataTypeDef",
4384
- },
4385
- )
4386
-
4387
- BatchExecuteStatementOutputTypeDef = TypedDict(
4388
- "BatchExecuteStatementOutputTypeDef",
4389
- {
4390
- "Responses": List[BatchStatementResponseTypeDef],
4391
- "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4392
- "ResponseMetadata": "ResponseMetadataTypeDef",
4393
+ "ResponseMetadata": ResponseMetadataTypeDef,
4393
4394
  },
4394
4395
  )
4395
4396
 
@@ -4399,7 +4400,7 @@ BatchGetItemOutputTypeDef = TypedDict(
4399
4400
  "Responses": Dict[str, List[Dict[str, AttributeValueTypeDef]]],
4400
4401
  "UnprocessedKeys": Dict[str, KeysAndAttributesTypeDef],
4401
4402
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4402
- "ResponseMetadata": "ResponseMetadataTypeDef",
4403
+ "ResponseMetadata": ResponseMetadataTypeDef,
4403
4404
  },
4404
4405
  )
4405
4406
 
@@ -4409,7 +4410,7 @@ DeleteItemOutputTypeDef = TypedDict(
4409
4410
  "Attributes": Dict[str, AttributeValueTypeDef],
4410
4411
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4411
4412
  "ItemCollectionMetrics": ItemCollectionMetricsTypeDef,
4412
- "ResponseMetadata": "ResponseMetadataTypeDef",
4413
+ "ResponseMetadata": ResponseMetadataTypeDef,
4413
4414
  },
4414
4415
  )
4415
4416
 
@@ -4420,7 +4421,7 @@ ExecuteStatementOutputTypeDef = TypedDict(
4420
4421
  "NextToken": str,
4421
4422
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4422
4423
  "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
4423
- "ResponseMetadata": "ResponseMetadataTypeDef",
4424
+ "ResponseMetadata": ResponseMetadataTypeDef,
4424
4425
  },
4425
4426
  )
4426
4427
 
@@ -4429,7 +4430,7 @@ ExecuteTransactionOutputTypeDef = TypedDict(
4429
4430
  {
4430
4431
  "Responses": List[ItemResponseTypeDef],
4431
4432
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4432
- "ResponseMetadata": "ResponseMetadataTypeDef",
4433
+ "ResponseMetadata": ResponseMetadataTypeDef,
4433
4434
  },
4434
4435
  )
4435
4436
 
@@ -4438,7 +4439,7 @@ GetItemOutputTypeDef = TypedDict(
4438
4439
  {
4439
4440
  "Item": Dict[str, AttributeValueTypeDef],
4440
4441
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4441
- "ResponseMetadata": "ResponseMetadataTypeDef",
4442
+ "ResponseMetadata": ResponseMetadataTypeDef,
4442
4443
  },
4443
4444
  )
4444
4445
 
@@ -4448,7 +4449,7 @@ PutItemOutputTypeDef = TypedDict(
4448
4449
  "Attributes": Dict[str, AttributeValueTypeDef],
4449
4450
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4450
4451
  "ItemCollectionMetrics": ItemCollectionMetricsTypeDef,
4451
- "ResponseMetadata": "ResponseMetadataTypeDef",
4452
+ "ResponseMetadata": ResponseMetadataTypeDef,
4452
4453
  },
4453
4454
  )
4454
4455
 
@@ -4460,7 +4461,7 @@ QueryOutputTypeDef = TypedDict(
4460
4461
  "ScannedCount": int,
4461
4462
  "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
4462
4463
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4463
- "ResponseMetadata": "ResponseMetadataTypeDef",
4464
+ "ResponseMetadata": ResponseMetadataTypeDef,
4464
4465
  },
4465
4466
  )
4466
4467
 
@@ -4472,7 +4473,7 @@ ScanOutputTypeDef = TypedDict(
4472
4473
  "ScannedCount": int,
4473
4474
  "LastEvaluatedKey": Dict[str, AttributeValueTypeDef],
4474
4475
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4475
- "ResponseMetadata": "ResponseMetadataTypeDef",
4476
+ "ResponseMetadata": ResponseMetadataTypeDef,
4476
4477
  },
4477
4478
  )
4478
4479
 
@@ -4481,7 +4482,7 @@ TransactGetItemsOutputTypeDef = TypedDict(
4481
4482
  {
4482
4483
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4483
4484
  "Responses": List[ItemResponseTypeDef],
4484
- "ResponseMetadata": "ResponseMetadataTypeDef",
4485
+ "ResponseMetadata": ResponseMetadataTypeDef,
4485
4486
  },
4486
4487
  )
4487
4488
 
@@ -4490,7 +4491,7 @@ TransactWriteItemsOutputTypeDef = TypedDict(
4490
4491
  {
4491
4492
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4492
4493
  "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
4493
- "ResponseMetadata": "ResponseMetadataTypeDef",
4494
+ "ResponseMetadata": ResponseMetadataTypeDef,
4494
4495
  },
4495
4496
  )
4496
4497
 
@@ -4500,7 +4501,7 @@ UpdateItemOutputTypeDef = TypedDict(
4500
4501
  "Attributes": Dict[str, AttributeValueTypeDef],
4501
4502
  "ConsumedCapacity": ConsumedCapacityTypeDef,
4502
4503
  "ItemCollectionMetrics": ItemCollectionMetricsTypeDef,
4503
- "ResponseMetadata": "ResponseMetadataTypeDef",
4504
+ "ResponseMetadata": ResponseMetadataTypeDef,
4504
4505
  },
4505
4506
  )
4506
4507
 
@@ -4508,7 +4509,7 @@ DescribeContinuousBackupsOutputTypeDef = TypedDict(
4508
4509
  "DescribeContinuousBackupsOutputTypeDef",
4509
4510
  {
4510
4511
  "ContinuousBackupsDescription": ContinuousBackupsDescriptionTypeDef,
4511
- "ResponseMetadata": "ResponseMetadataTypeDef",
4512
+ "ResponseMetadata": ResponseMetadataTypeDef,
4512
4513
  },
4513
4514
  )
4514
4515
 
@@ -4516,7 +4517,7 @@ UpdateContinuousBackupsOutputTypeDef = TypedDict(
4516
4517
  "UpdateContinuousBackupsOutputTypeDef",
4517
4518
  {
4518
4519
  "ContinuousBackupsDescription": ContinuousBackupsDescriptionTypeDef,
4519
- "ResponseMetadata": "ResponseMetadataTypeDef",
4520
+ "ResponseMetadata": ResponseMetadataTypeDef,
4520
4521
  },
4521
4522
  )
4522
4523
 
@@ -4671,7 +4672,7 @@ ListGlobalTablesOutputTypeDef = TypedDict(
4671
4672
  {
4672
4673
  "GlobalTables": List[GlobalTableTypeDef],
4673
4674
  "LastEvaluatedGlobalTableName": str,
4674
- "ResponseMetadata": "ResponseMetadataTypeDef",
4675
+ "ResponseMetadata": ResponseMetadataTypeDef,
4675
4676
  },
4676
4677
  )
4677
4678
 
@@ -4852,7 +4853,7 @@ ListImportsOutputTypeDef = TypedDict(
4852
4853
  {
4853
4854
  "ImportSummaryList": List[ImportSummaryTypeDef],
4854
4855
  "NextToken": str,
4855
- "ResponseMetadata": "ResponseMetadataTypeDef",
4856
+ "ResponseMetadata": ResponseMetadataTypeDef,
4856
4857
  },
4857
4858
  )
4858
4859
 
@@ -4885,7 +4886,16 @@ BatchWriteItemOutputServiceResourceTypeDef = TypedDict(
4885
4886
  "UnprocessedItems": Dict[str, List[WriteRequestServiceResourceTypeDef]],
4886
4887
  "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsServiceResourceTypeDef]],
4887
4888
  "ConsumedCapacity": List[ConsumedCapacityServiceResourceTypeDef],
4888
- "ResponseMetadata": "ResponseMetadataTypeDef",
4889
+ "ResponseMetadata": ResponseMetadataTypeDef,
4890
+ },
4891
+ )
4892
+
4893
+ BatchExecuteStatementOutputTypeDef = TypedDict(
4894
+ "BatchExecuteStatementOutputTypeDef",
4895
+ {
4896
+ "Responses": List[BatchStatementResponseTypeDef],
4897
+ "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4898
+ "ResponseMetadata": ResponseMetadataTypeDef,
4889
4899
  },
4890
4900
  )
4891
4901
 
@@ -4938,7 +4948,7 @@ BatchWriteItemOutputTypeDef = TypedDict(
4938
4948
  "UnprocessedItems": Dict[str, List[WriteRequestTypeDef]],
4939
4949
  "ItemCollectionMetrics": Dict[str, List[ItemCollectionMetricsTypeDef]],
4940
4950
  "ConsumedCapacity": List[ConsumedCapacityTypeDef],
4941
- "ResponseMetadata": "ResponseMetadataTypeDef",
4951
+ "ResponseMetadata": ResponseMetadataTypeDef,
4942
4952
  },
4943
4953
  )
4944
4954
 
@@ -5315,7 +5325,7 @@ DeleteBackupOutputTypeDef = TypedDict(
5315
5325
  "DeleteBackupOutputTypeDef",
5316
5326
  {
5317
5327
  "BackupDescription": BackupDescriptionTypeDef,
5318
- "ResponseMetadata": "ResponseMetadataTypeDef",
5328
+ "ResponseMetadata": ResponseMetadataTypeDef,
5319
5329
  },
5320
5330
  )
5321
5331
 
@@ -5323,7 +5333,7 @@ DescribeBackupOutputTypeDef = TypedDict(
5323
5333
  "DescribeBackupOutputTypeDef",
5324
5334
  {
5325
5335
  "BackupDescription": BackupDescriptionTypeDef,
5326
- "ResponseMetadata": "ResponseMetadataTypeDef",
5336
+ "ResponseMetadata": ResponseMetadataTypeDef,
5327
5337
  },
5328
5338
  )
5329
5339
 
@@ -5331,7 +5341,7 @@ DescribeImportOutputTypeDef = TypedDict(
5331
5341
  "DescribeImportOutputTypeDef",
5332
5342
  {
5333
5343
  "ImportTableDescription": ImportTableDescriptionTypeDef,
5334
- "ResponseMetadata": "ResponseMetadataTypeDef",
5344
+ "ResponseMetadata": ResponseMetadataTypeDef,
5335
5345
  },
5336
5346
  )
5337
5347
 
@@ -5339,7 +5349,7 @@ ImportTableOutputTypeDef = TypedDict(
5339
5349
  "ImportTableOutputTypeDef",
5340
5350
  {
5341
5351
  "ImportTableDescription": ImportTableDescriptionTypeDef,
5342
- "ResponseMetadata": "ResponseMetadataTypeDef",
5352
+ "ResponseMetadata": ResponseMetadataTypeDef,
5343
5353
  },
5344
5354
  )
5345
5355
 
@@ -5347,7 +5357,7 @@ DeleteTableOutputTableTypeDef = TypedDict(
5347
5357
  "DeleteTableOutputTableTypeDef",
5348
5358
  {
5349
5359
  "TableDescription": TableDescriptionTableTypeDef,
5350
- "ResponseMetadata": "ResponseMetadataTypeDef",
5360
+ "ResponseMetadata": ResponseMetadataTypeDef,
5351
5361
  },
5352
5362
  )
5353
5363
 
@@ -5371,7 +5381,7 @@ CreateGlobalTableOutputTypeDef = TypedDict(
5371
5381
  "CreateGlobalTableOutputTypeDef",
5372
5382
  {
5373
5383
  "GlobalTableDescription": GlobalTableDescriptionTypeDef,
5374
- "ResponseMetadata": "ResponseMetadataTypeDef",
5384
+ "ResponseMetadata": ResponseMetadataTypeDef,
5375
5385
  },
5376
5386
  )
5377
5387
 
@@ -5379,7 +5389,7 @@ DescribeGlobalTableOutputTypeDef = TypedDict(
5379
5389
  "DescribeGlobalTableOutputTypeDef",
5380
5390
  {
5381
5391
  "GlobalTableDescription": GlobalTableDescriptionTypeDef,
5382
- "ResponseMetadata": "ResponseMetadataTypeDef",
5392
+ "ResponseMetadata": ResponseMetadataTypeDef,
5383
5393
  },
5384
5394
  )
5385
5395
 
@@ -5387,7 +5397,7 @@ UpdateGlobalTableOutputTypeDef = TypedDict(
5387
5397
  "UpdateGlobalTableOutputTypeDef",
5388
5398
  {
5389
5399
  "GlobalTableDescription": GlobalTableDescriptionTypeDef,
5390
- "ResponseMetadata": "ResponseMetadataTypeDef",
5400
+ "ResponseMetadata": ResponseMetadataTypeDef,
5391
5401
  },
5392
5402
  )
5393
5403
 
@@ -5395,7 +5405,7 @@ CreateTableOutputTypeDef = TypedDict(
5395
5405
  "CreateTableOutputTypeDef",
5396
5406
  {
5397
5407
  "TableDescription": TableDescriptionTypeDef,
5398
- "ResponseMetadata": "ResponseMetadataTypeDef",
5408
+ "ResponseMetadata": ResponseMetadataTypeDef,
5399
5409
  },
5400
5410
  )
5401
5411
 
@@ -5403,7 +5413,7 @@ DeleteTableOutputTypeDef = TypedDict(
5403
5413
  "DeleteTableOutputTypeDef",
5404
5414
  {
5405
5415
  "TableDescription": TableDescriptionTypeDef,
5406
- "ResponseMetadata": "ResponseMetadataTypeDef",
5416
+ "ResponseMetadata": ResponseMetadataTypeDef,
5407
5417
  },
5408
5418
  )
5409
5419
 
@@ -5411,7 +5421,7 @@ DescribeTableOutputTypeDef = TypedDict(
5411
5421
  "DescribeTableOutputTypeDef",
5412
5422
  {
5413
5423
  "Table": TableDescriptionTypeDef,
5414
- "ResponseMetadata": "ResponseMetadataTypeDef",
5424
+ "ResponseMetadata": ResponseMetadataTypeDef,
5415
5425
  },
5416
5426
  )
5417
5427
 
@@ -5419,7 +5429,7 @@ RestoreTableFromBackupOutputTypeDef = TypedDict(
5419
5429
  "RestoreTableFromBackupOutputTypeDef",
5420
5430
  {
5421
5431
  "TableDescription": TableDescriptionTypeDef,
5422
- "ResponseMetadata": "ResponseMetadataTypeDef",
5432
+ "ResponseMetadata": ResponseMetadataTypeDef,
5423
5433
  },
5424
5434
  )
5425
5435
 
@@ -5427,7 +5437,7 @@ RestoreTableToPointInTimeOutputTypeDef = TypedDict(
5427
5437
  "RestoreTableToPointInTimeOutputTypeDef",
5428
5438
  {
5429
5439
  "TableDescription": TableDescriptionTypeDef,
5430
- "ResponseMetadata": "ResponseMetadataTypeDef",
5440
+ "ResponseMetadata": ResponseMetadataTypeDef,
5431
5441
  },
5432
5442
  )
5433
5443
 
@@ -5435,7 +5445,7 @@ UpdateTableOutputTypeDef = TypedDict(
5435
5445
  "UpdateTableOutputTypeDef",
5436
5446
  {
5437
5447
  "TableDescription": TableDescriptionTypeDef,
5438
- "ResponseMetadata": "ResponseMetadataTypeDef",
5448
+ "ResponseMetadata": ResponseMetadataTypeDef,
5439
5449
  },
5440
5450
  )
5441
5451
 
@@ -5483,7 +5493,7 @@ DescribeGlobalTableSettingsOutputTypeDef = TypedDict(
5483
5493
  {
5484
5494
  "GlobalTableName": str,
5485
5495
  "ReplicaSettings": List[ReplicaSettingsDescriptionTypeDef],
5486
- "ResponseMetadata": "ResponseMetadataTypeDef",
5496
+ "ResponseMetadata": ResponseMetadataTypeDef,
5487
5497
  },
5488
5498
  )
5489
5499
 
@@ -5492,7 +5502,7 @@ UpdateGlobalTableSettingsOutputTypeDef = TypedDict(
5492
5502
  {
5493
5503
  "GlobalTableName": str,
5494
5504
  "ReplicaSettings": List[ReplicaSettingsDescriptionTypeDef],
5495
- "ResponseMetadata": "ResponseMetadataTypeDef",
5505
+ "ResponseMetadata": ResponseMetadataTypeDef,
5496
5506
  },
5497
5507
  )
5498
5508
 
@@ -5554,7 +5564,7 @@ DescribeTableReplicaAutoScalingOutputTypeDef = TypedDict(
5554
5564
  "DescribeTableReplicaAutoScalingOutputTypeDef",
5555
5565
  {
5556
5566
  "TableAutoScalingDescription": TableAutoScalingDescriptionTypeDef,
5557
- "ResponseMetadata": "ResponseMetadataTypeDef",
5567
+ "ResponseMetadata": ResponseMetadataTypeDef,
5558
5568
  },
5559
5569
  )
5560
5570
 
@@ -5562,6 +5572,6 @@ UpdateTableReplicaAutoScalingOutputTypeDef = TypedDict(
5562
5572
  "UpdateTableReplicaAutoScalingOutputTypeDef",
5563
5573
  {
5564
5574
  "TableAutoScalingDescription": TableAutoScalingDescriptionTypeDef,
5565
- "ResponseMetadata": "ResponseMetadataTypeDef",
5575
+ "ResponseMetadata": ResponseMetadataTypeDef,
5566
5576
  },
5567
5577
  )