mypy-boto3-dynamodb 1.35.60__py3-none-any.whl → 1.35.93__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.
- mypy_boto3_dynamodb/__init__.py +8 -1
- mypy_boto3_dynamodb/__init__.pyi +7 -1
- mypy_boto3_dynamodb/__main__.py +11 -8
- mypy_boto3_dynamodb/client.py +176 -181
- mypy_boto3_dynamodb/client.pyi +176 -180
- mypy_boto3_dynamodb/literals.py +19 -1
- mypy_boto3_dynamodb/literals.pyi +19 -1
- mypy_boto3_dynamodb/paginator.py +69 -45
- mypy_boto3_dynamodb/paginator.pyi +65 -44
- mypy_boto3_dynamodb/service_resource.py +100 -102
- mypy_boto3_dynamodb/service_resource.pyi +100 -102
- mypy_boto3_dynamodb/type_defs.py +70 -67
- mypy_boto3_dynamodb/type_defs.pyi +66 -61
- mypy_boto3_dynamodb/version.py +3 -1
- mypy_boto3_dynamodb/waiter.py +16 -11
- mypy_boto3_dynamodb/waiter.pyi +16 -11
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/METADATA +79 -26
- mypy_boto3_dynamodb-1.35.93.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.35.60.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.35.60.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for dynamodb service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -10,12 +10,16 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ArchivalSummaryTypeDef = ...
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
15
19
|
import sys
|
|
16
20
|
from datetime import datetime
|
|
17
21
|
from decimal import Decimal
|
|
18
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, Union
|
|
19
23
|
|
|
20
24
|
from boto3.dynamodb.conditions import ConditionBase
|
|
21
25
|
|
|
@@ -43,6 +47,7 @@ from .literals import (
|
|
|
43
47
|
InputCompressionTypeType,
|
|
44
48
|
InputFormatType,
|
|
45
49
|
KeyTypeType,
|
|
50
|
+
MultiRegionConsistencyType,
|
|
46
51
|
PointInTimeRecoveryStatusType,
|
|
47
52
|
ProjectionTypeType,
|
|
48
53
|
ReplicaStatusType,
|
|
@@ -61,6 +66,13 @@ from .literals import (
|
|
|
61
66
|
TimeToLiveStatusType,
|
|
62
67
|
)
|
|
63
68
|
|
|
69
|
+
if sys.version_info >= (3, 9):
|
|
70
|
+
from builtins import dict as Dict
|
|
71
|
+
from builtins import list as List
|
|
72
|
+
from builtins import set as Set
|
|
73
|
+
from collections.abc import Mapping, Sequence
|
|
74
|
+
else:
|
|
75
|
+
from typing import Dict, List, Mapping, Sequence, Set
|
|
64
76
|
if sys.version_info >= (3, 12):
|
|
65
77
|
from typing import NotRequired, TypedDict
|
|
66
78
|
else:
|
|
@@ -155,8 +167,7 @@ __all__ = (
|
|
|
155
167
|
"DescribeKinesisStreamingDestinationOutputTypeDef",
|
|
156
168
|
"DescribeLimitsOutputTypeDef",
|
|
157
169
|
"DescribeTableInputRequestTypeDef",
|
|
158
|
-
"
|
|
159
|
-
"DescribeTableInputTableNotExistsWaitTypeDef",
|
|
170
|
+
"DescribeTableInputWaitTypeDef",
|
|
160
171
|
"DescribeTableOutputTypeDef",
|
|
161
172
|
"DescribeTableReplicaAutoScalingInputRequestTypeDef",
|
|
162
173
|
"DescribeTableReplicaAutoScalingOutputTypeDef",
|
|
@@ -188,7 +199,6 @@ __all__ = (
|
|
|
188
199
|
"GlobalSecondaryIndexInfoTypeDef",
|
|
189
200
|
"GlobalSecondaryIndexOutputTypeDef",
|
|
190
201
|
"GlobalSecondaryIndexTypeDef",
|
|
191
|
-
"GlobalSecondaryIndexUnionTypeDef",
|
|
192
202
|
"GlobalSecondaryIndexUpdateTypeDef",
|
|
193
203
|
"GlobalSecondaryIndexWarmThroughputDescriptionTypeDef",
|
|
194
204
|
"GlobalTableDescriptionTypeDef",
|
|
@@ -216,7 +226,7 @@ __all__ = (
|
|
|
216
226
|
"KinesisDataStreamDestinationTypeDef",
|
|
217
227
|
"KinesisStreamingDestinationInputRequestTypeDef",
|
|
218
228
|
"KinesisStreamingDestinationOutputTypeDef",
|
|
219
|
-
"
|
|
229
|
+
"ListBackupsInputPaginateTypeDef",
|
|
220
230
|
"ListBackupsInputRequestTypeDef",
|
|
221
231
|
"ListBackupsOutputTypeDef",
|
|
222
232
|
"ListContributorInsightsInputRequestTypeDef",
|
|
@@ -227,10 +237,10 @@ __all__ = (
|
|
|
227
237
|
"ListGlobalTablesOutputTypeDef",
|
|
228
238
|
"ListImportsInputRequestTypeDef",
|
|
229
239
|
"ListImportsOutputTypeDef",
|
|
230
|
-
"
|
|
240
|
+
"ListTablesInputPaginateTypeDef",
|
|
231
241
|
"ListTablesInputRequestTypeDef",
|
|
232
242
|
"ListTablesOutputTypeDef",
|
|
233
|
-
"
|
|
243
|
+
"ListTagsOfResourceInputPaginateTypeDef",
|
|
234
244
|
"ListTagsOfResourceInputRequestTypeDef",
|
|
235
245
|
"ListTagsOfResourceOutputTypeDef",
|
|
236
246
|
"LocalSecondaryIndexDescriptionTypeDef",
|
|
@@ -261,7 +271,7 @@ __all__ = (
|
|
|
261
271
|
"PutResourcePolicyInputRequestTypeDef",
|
|
262
272
|
"PutResourcePolicyOutputTypeDef",
|
|
263
273
|
"PutTypeDef",
|
|
264
|
-
"
|
|
274
|
+
"QueryInputPaginateTypeDef",
|
|
265
275
|
"QueryInputRequestTypeDef",
|
|
266
276
|
"QueryInputTableQueryTypeDef",
|
|
267
277
|
"QueryOutputTableTypeDef",
|
|
@@ -289,8 +299,8 @@ __all__ = (
|
|
|
289
299
|
"S3BucketSourceTypeDef",
|
|
290
300
|
"SSEDescriptionTypeDef",
|
|
291
301
|
"SSESpecificationTypeDef",
|
|
302
|
+
"ScanInputPaginateTypeDef",
|
|
292
303
|
"ScanInputRequestTypeDef",
|
|
293
|
-
"ScanInputScanPaginateTypeDef",
|
|
294
304
|
"ScanInputTableScanTypeDef",
|
|
295
305
|
"ScanOutputTableTypeDef",
|
|
296
306
|
"ScanOutputTypeDef",
|
|
@@ -628,10 +638,6 @@ class ProvisionedThroughputDescriptionTypeDef(TypedDict):
|
|
|
628
638
|
ReadCapacityUnits: NotRequired[int]
|
|
629
639
|
WriteCapacityUnits: NotRequired[int]
|
|
630
640
|
|
|
631
|
-
class ProjectionTypeDef(TypedDict):
|
|
632
|
-
ProjectionType: NotRequired[ProjectionTypeType]
|
|
633
|
-
NonKeyAttributes: NotRequired[Sequence[str]]
|
|
634
|
-
|
|
635
641
|
class S3BucketSourceTypeDef(TypedDict):
|
|
636
642
|
S3Bucket: str
|
|
637
643
|
S3BucketOwner: NotRequired[str]
|
|
@@ -677,6 +683,10 @@ class ListTagsOfResourceInputRequestTypeDef(TypedDict):
|
|
|
677
683
|
class PointInTimeRecoverySpecificationTypeDef(TypedDict):
|
|
678
684
|
PointInTimeRecoveryEnabled: bool
|
|
679
685
|
|
|
686
|
+
class ProjectionTypeDef(TypedDict):
|
|
687
|
+
ProjectionType: NotRequired[ProjectionTypeType]
|
|
688
|
+
NonKeyAttributes: NotRequired[Sequence[str]]
|
|
689
|
+
|
|
680
690
|
class PutResourcePolicyInputRequestTypeDef(TypedDict):
|
|
681
691
|
ResourceArn: str
|
|
682
692
|
Policy: str
|
|
@@ -962,11 +972,7 @@ class DescribeKinesisStreamingDestinationOutputTypeDef(TypedDict):
|
|
|
962
972
|
KinesisDataStreamDestinations: List[KinesisDataStreamDestinationTypeDef]
|
|
963
973
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
964
974
|
|
|
965
|
-
class
|
|
966
|
-
TableName: str
|
|
967
|
-
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
968
|
-
|
|
969
|
-
class DescribeTableInputTableNotExistsWaitTypeDef(TypedDict):
|
|
975
|
+
class DescribeTableInputWaitTypeDef(TypedDict):
|
|
970
976
|
TableName: str
|
|
971
977
|
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
972
978
|
|
|
@@ -1074,16 +1080,6 @@ class GlobalSecondaryIndexDescriptionTypeDef(TypedDict):
|
|
|
1074
1080
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1075
1081
|
WarmThroughput: NotRequired[GlobalSecondaryIndexWarmThroughputDescriptionTypeDef]
|
|
1076
1082
|
|
|
1077
|
-
class GlobalSecondaryIndexTypeDef(TypedDict):
|
|
1078
|
-
IndexName: str
|
|
1079
|
-
KeySchema: Sequence[KeySchemaElementTypeDef]
|
|
1080
|
-
Projection: ProjectionTypeDef
|
|
1081
|
-
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1082
|
-
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1083
|
-
WarmThroughput: NotRequired[WarmThroughputTypeDef]
|
|
1084
|
-
|
|
1085
|
-
ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
|
|
1086
|
-
|
|
1087
1083
|
class ImportSummaryTypeDef(TypedDict):
|
|
1088
1084
|
ImportArn: NotRequired[str]
|
|
1089
1085
|
ImportStatus: NotRequired[ImportStatusType]
|
|
@@ -1094,17 +1090,17 @@ class ImportSummaryTypeDef(TypedDict):
|
|
|
1094
1090
|
StartTime: NotRequired[datetime]
|
|
1095
1091
|
EndTime: NotRequired[datetime]
|
|
1096
1092
|
|
|
1097
|
-
class
|
|
1093
|
+
class ListBackupsInputPaginateTypeDef(TypedDict):
|
|
1098
1094
|
TableName: NotRequired[str]
|
|
1099
1095
|
TimeRangeLowerBound: NotRequired[TimestampTypeDef]
|
|
1100
1096
|
TimeRangeUpperBound: NotRequired[TimestampTypeDef]
|
|
1101
1097
|
BackupType: NotRequired[BackupTypeFilterType]
|
|
1102
1098
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1103
1099
|
|
|
1104
|
-
class
|
|
1100
|
+
class ListTablesInputPaginateTypeDef(TypedDict):
|
|
1105
1101
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1106
1102
|
|
|
1107
|
-
class
|
|
1103
|
+
class ListTagsOfResourceInputPaginateTypeDef(TypedDict):
|
|
1108
1104
|
ResourceArn: str
|
|
1109
1105
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1110
1106
|
|
|
@@ -1112,6 +1108,8 @@ class UpdateContinuousBackupsInputRequestTypeDef(TypedDict):
|
|
|
1112
1108
|
TableName: str
|
|
1113
1109
|
PointInTimeRecoverySpecification: PointInTimeRecoverySpecificationTypeDef
|
|
1114
1110
|
|
|
1111
|
+
ProjectionUnionTypeDef = Union[ProjectionTypeDef, ProjectionOutputTypeDef]
|
|
1112
|
+
|
|
1115
1113
|
class UpdateTimeToLiveInputRequestTypeDef(TypedDict):
|
|
1116
1114
|
TableName: str
|
|
1117
1115
|
TimeToLiveSpecification: TimeToLiveSpecificationTypeDef
|
|
@@ -1549,9 +1547,10 @@ class SourceTableFeatureDetailsTypeDef(TypedDict):
|
|
|
1549
1547
|
TimeToLiveDescription: NotRequired[TimeToLiveDescriptionTypeDef]
|
|
1550
1548
|
SSEDescription: NotRequired[SSEDescriptionTypeDef]
|
|
1551
1549
|
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1550
|
+
class ListImportsOutputTypeDef(TypedDict):
|
|
1551
|
+
ImportSummaryList: List[ImportSummaryTypeDef]
|
|
1552
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1553
|
+
NextToken: NotRequired[str]
|
|
1555
1554
|
|
|
1556
1555
|
class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
|
|
1557
1556
|
IndexName: str
|
|
@@ -1561,15 +1560,18 @@ class CreateGlobalSecondaryIndexActionTypeDef(TypedDict):
|
|
|
1561
1560
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1562
1561
|
WarmThroughput: NotRequired[WarmThroughputTypeDef]
|
|
1563
1562
|
|
|
1564
|
-
class
|
|
1563
|
+
class GlobalSecondaryIndexTypeDef(TypedDict):
|
|
1565
1564
|
IndexName: str
|
|
1566
1565
|
KeySchema: Sequence[KeySchemaElementTypeDef]
|
|
1567
1566
|
Projection: ProjectionUnionTypeDef
|
|
1567
|
+
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1568
|
+
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1569
|
+
WarmThroughput: NotRequired[WarmThroughputTypeDef]
|
|
1568
1570
|
|
|
1569
|
-
class
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1571
|
+
class LocalSecondaryIndexTypeDef(TypedDict):
|
|
1572
|
+
IndexName: str
|
|
1573
|
+
KeySchema: Sequence[KeySchemaElementTypeDef]
|
|
1574
|
+
Projection: ProjectionUnionTypeDef
|
|
1573
1575
|
|
|
1574
1576
|
class BatchExecuteStatementOutputTypeDef(TypedDict):
|
|
1575
1577
|
Responses: List[BatchStatementResponseTypeDef]
|
|
@@ -1586,7 +1588,7 @@ class BatchExecuteStatementInputRequestTypeDef(TypedDict):
|
|
|
1586
1588
|
Statements: Sequence[BatchStatementRequestTypeDef]
|
|
1587
1589
|
ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
|
|
1588
1590
|
|
|
1589
|
-
class
|
|
1591
|
+
class QueryInputPaginateTypeDef(TypedDict):
|
|
1590
1592
|
TableName: str
|
|
1591
1593
|
IndexName: NotRequired[str]
|
|
1592
1594
|
Select: NotRequired[SelectType]
|
|
@@ -1623,15 +1625,13 @@ class QueryInputRequestTypeDef(TypedDict):
|
|
|
1623
1625
|
ExpressionAttributeNames: NotRequired[Mapping[str, str]]
|
|
1624
1626
|
ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
|
|
1625
1627
|
|
|
1626
|
-
class
|
|
1628
|
+
class ScanInputPaginateTypeDef(TypedDict):
|
|
1627
1629
|
TableName: str
|
|
1628
1630
|
IndexName: NotRequired[str]
|
|
1629
1631
|
AttributesToGet: NotRequired[Sequence[str]]
|
|
1630
|
-
Limit: NotRequired[int]
|
|
1631
1632
|
Select: NotRequired[SelectType]
|
|
1632
1633
|
ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
|
|
1633
1634
|
ConditionalOperator: NotRequired[ConditionalOperatorType]
|
|
1634
|
-
ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
|
|
1635
1635
|
ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
|
|
1636
1636
|
TotalSegments: NotRequired[int]
|
|
1637
1637
|
Segment: NotRequired[int]
|
|
@@ -1640,14 +1640,17 @@ class ScanInputRequestTypeDef(TypedDict):
|
|
|
1640
1640
|
ExpressionAttributeNames: NotRequired[Mapping[str, str]]
|
|
1641
1641
|
ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
|
|
1642
1642
|
ConsistentRead: NotRequired[bool]
|
|
1643
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1643
1644
|
|
|
1644
|
-
class
|
|
1645
|
+
class ScanInputRequestTypeDef(TypedDict):
|
|
1645
1646
|
TableName: str
|
|
1646
1647
|
IndexName: NotRequired[str]
|
|
1647
1648
|
AttributesToGet: NotRequired[Sequence[str]]
|
|
1649
|
+
Limit: NotRequired[int]
|
|
1648
1650
|
Select: NotRequired[SelectType]
|
|
1649
1651
|
ScanFilter: NotRequired[Mapping[str, ConditionTypeDef]]
|
|
1650
1652
|
ConditionalOperator: NotRequired[ConditionalOperatorType]
|
|
1653
|
+
ExclusiveStartKey: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
|
|
1651
1654
|
ReturnConsumedCapacity: NotRequired[ReturnConsumedCapacityType]
|
|
1652
1655
|
TotalSegments: NotRequired[int]
|
|
1653
1656
|
Segment: NotRequired[int]
|
|
@@ -1656,7 +1659,6 @@ class ScanInputScanPaginateTypeDef(TypedDict):
|
|
|
1656
1659
|
ExpressionAttributeNames: NotRequired[Mapping[str, str]]
|
|
1657
1660
|
ExpressionAttributeValues: NotRequired[Mapping[str, UniversalAttributeValueTypeDef]]
|
|
1658
1661
|
ConsistentRead: NotRequired[bool]
|
|
1659
|
-
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1660
1662
|
|
|
1661
1663
|
DeleteRequestUnionTypeDef = Union[DeleteRequestTypeDef, DeleteRequestOutputTypeDef]
|
|
1662
1664
|
|
|
@@ -1803,6 +1805,7 @@ class TableDescriptionTypeDef(TypedDict):
|
|
|
1803
1805
|
DeletionProtectionEnabled: NotRequired[bool]
|
|
1804
1806
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1805
1807
|
WarmThroughput: NotRequired[TableWarmThroughputDescriptionTypeDef]
|
|
1808
|
+
MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
|
|
1806
1809
|
|
|
1807
1810
|
class ImportTableDescriptionTypeDef(TypedDict):
|
|
1808
1811
|
ImportArn: NotRequired[str]
|
|
@@ -1830,6 +1833,11 @@ class BackupDescriptionTypeDef(TypedDict):
|
|
|
1830
1833
|
SourceTableDetails: NotRequired[SourceTableDetailsTypeDef]
|
|
1831
1834
|
SourceTableFeatureDetails: NotRequired[SourceTableFeatureDetailsTypeDef]
|
|
1832
1835
|
|
|
1836
|
+
class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
|
|
1837
|
+
Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
|
|
1838
|
+
Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
|
|
1839
|
+
Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
|
|
1840
|
+
|
|
1833
1841
|
class TableCreationParametersTypeDef(TypedDict):
|
|
1834
1842
|
TableName: str
|
|
1835
1843
|
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
|
|
@@ -1838,19 +1846,14 @@ class TableCreationParametersTypeDef(TypedDict):
|
|
|
1838
1846
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1839
1847
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
1840
1848
|
SSESpecification: NotRequired[SSESpecificationTypeDef]
|
|
1841
|
-
GlobalSecondaryIndexes: NotRequired[Sequence[
|
|
1842
|
-
|
|
1843
|
-
class GlobalSecondaryIndexUpdateTypeDef(TypedDict):
|
|
1844
|
-
Update: NotRequired[UpdateGlobalSecondaryIndexActionTypeDef]
|
|
1845
|
-
Create: NotRequired[CreateGlobalSecondaryIndexActionTypeDef]
|
|
1846
|
-
Delete: NotRequired[DeleteGlobalSecondaryIndexActionTypeDef]
|
|
1849
|
+
GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
|
|
1847
1850
|
|
|
1848
1851
|
class CreateTableInputRequestTypeDef(TypedDict):
|
|
1849
1852
|
AttributeDefinitions: Sequence[AttributeDefinitionTypeDef]
|
|
1850
1853
|
TableName: str
|
|
1851
1854
|
KeySchema: Sequence[KeySchemaElementTypeDef]
|
|
1852
1855
|
LocalSecondaryIndexes: NotRequired[Sequence[LocalSecondaryIndexTypeDef]]
|
|
1853
|
-
GlobalSecondaryIndexes: NotRequired[Sequence[
|
|
1856
|
+
GlobalSecondaryIndexes: NotRequired[Sequence[GlobalSecondaryIndexTypeDef]]
|
|
1854
1857
|
BillingMode: NotRequired[BillingModeType]
|
|
1855
1858
|
ProvisionedThroughput: NotRequired[ProvisionedThroughputTypeDef]
|
|
1856
1859
|
StreamSpecification: NotRequired[StreamSpecificationTypeDef]
|
|
@@ -2038,14 +2041,6 @@ class DescribeBackupOutputTypeDef(TypedDict):
|
|
|
2038
2041
|
BackupDescription: BackupDescriptionTypeDef
|
|
2039
2042
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
2040
2043
|
|
|
2041
|
-
class ImportTableInputRequestTypeDef(TypedDict):
|
|
2042
|
-
S3BucketSource: S3BucketSourceTypeDef
|
|
2043
|
-
InputFormat: InputFormatType
|
|
2044
|
-
TableCreationParameters: TableCreationParametersTypeDef
|
|
2045
|
-
ClientToken: NotRequired[str]
|
|
2046
|
-
InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
|
|
2047
|
-
InputCompressionType: NotRequired[InputCompressionTypeType]
|
|
2048
|
-
|
|
2049
2044
|
class UpdateTableInputRequestTypeDef(TypedDict):
|
|
2050
2045
|
TableName: str
|
|
2051
2046
|
AttributeDefinitions: NotRequired[Sequence[AttributeDefinitionTypeDef]]
|
|
@@ -2057,6 +2052,7 @@ class UpdateTableInputRequestTypeDef(TypedDict):
|
|
|
2057
2052
|
ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
|
|
2058
2053
|
TableClass: NotRequired[TableClassType]
|
|
2059
2054
|
DeletionProtectionEnabled: NotRequired[bool]
|
|
2055
|
+
MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
|
|
2060
2056
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
2061
2057
|
WarmThroughput: NotRequired[WarmThroughputTypeDef]
|
|
2062
2058
|
|
|
@@ -2070,9 +2066,18 @@ class UpdateTableInputTableUpdateTypeDef(TypedDict):
|
|
|
2070
2066
|
ReplicaUpdates: NotRequired[Sequence[ReplicationGroupUpdateTypeDef]]
|
|
2071
2067
|
TableClass: NotRequired[TableClassType]
|
|
2072
2068
|
DeletionProtectionEnabled: NotRequired[bool]
|
|
2069
|
+
MultiRegionConsistency: NotRequired[MultiRegionConsistencyType]
|
|
2073
2070
|
OnDemandThroughput: NotRequired[OnDemandThroughputTypeDef]
|
|
2074
2071
|
WarmThroughput: NotRequired[WarmThroughputTypeDef]
|
|
2075
2072
|
|
|
2073
|
+
class ImportTableInputRequestTypeDef(TypedDict):
|
|
2074
|
+
S3BucketSource: S3BucketSourceTypeDef
|
|
2075
|
+
InputFormat: InputFormatType
|
|
2076
|
+
TableCreationParameters: TableCreationParametersTypeDef
|
|
2077
|
+
ClientToken: NotRequired[str]
|
|
2078
|
+
InputFormatOptions: NotRequired[InputFormatOptionsTypeDef]
|
|
2079
|
+
InputCompressionType: NotRequired[InputCompressionTypeType]
|
|
2080
|
+
|
|
2076
2081
|
WriteRequestUnionTypeDef = Union[WriteRequestTypeDef, WriteRequestOutputTypeDef]
|
|
2077
2082
|
|
|
2078
2083
|
class BatchWriteItemInputServiceResourceBatchWriteItemTypeDef(TypedDict):
|
mypy_boto3_dynamodb/version.py
CHANGED
mypy_boto3_dynamodb/waiter.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for dynamodb service client waiters.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -20,16 +20,17 @@ Usage::
|
|
|
20
20
|
table_exists_waiter: TableExistsWaiter = client.get_waiter("table_exists")
|
|
21
21
|
table_not_exists_waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")
|
|
22
22
|
```
|
|
23
|
+
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
23
25
|
"""
|
|
24
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
25
29
|
import sys
|
|
26
30
|
|
|
27
31
|
from botocore.waiter import Waiter
|
|
28
32
|
|
|
29
|
-
from .type_defs import
|
|
30
|
-
DescribeTableInputTableExistsWaitTypeDef,
|
|
31
|
-
DescribeTableInputTableNotExistsWaitTypeDef,
|
|
32
|
-
)
|
|
33
|
+
from .type_defs import DescribeTableInputWaitTypeDef
|
|
33
34
|
|
|
34
35
|
if sys.version_info >= (3, 12):
|
|
35
36
|
from typing import Unpack
|
|
@@ -42,25 +43,29 @@ __all__ = ("TableExistsWaiter", "TableNotExistsWaiter")
|
|
|
42
43
|
|
|
43
44
|
class TableExistsWaiter(Waiter):
|
|
44
45
|
"""
|
|
45
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists)
|
|
46
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists)
|
|
46
47
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
|
|
47
48
|
"""
|
|
48
49
|
|
|
49
|
-
def wait(
|
|
50
|
+
def wait( # type: ignore[override]
|
|
51
|
+
self, **kwargs: Unpack[DescribeTableInputWaitTypeDef]
|
|
52
|
+
) -> None:
|
|
50
53
|
"""
|
|
51
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists.wait)
|
|
54
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists.wait)
|
|
52
55
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
|
|
53
56
|
"""
|
|
54
57
|
|
|
55
58
|
|
|
56
59
|
class TableNotExistsWaiter(Waiter):
|
|
57
60
|
"""
|
|
58
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists)
|
|
61
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists)
|
|
59
62
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
|
|
60
63
|
"""
|
|
61
64
|
|
|
62
|
-
def wait(
|
|
65
|
+
def wait( # type: ignore[override]
|
|
66
|
+
self, **kwargs: Unpack[DescribeTableInputWaitTypeDef]
|
|
67
|
+
) -> None:
|
|
63
68
|
"""
|
|
64
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists.wait)
|
|
69
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists.wait)
|
|
65
70
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
|
|
66
71
|
"""
|
mypy_boto3_dynamodb/waiter.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for dynamodb service client waiters.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -20,16 +20,17 @@ Usage::
|
|
|
20
20
|
table_exists_waiter: TableExistsWaiter = client.get_waiter("table_exists")
|
|
21
21
|
table_not_exists_waiter: TableNotExistsWaiter = client.get_waiter("table_not_exists")
|
|
22
22
|
```
|
|
23
|
+
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
23
25
|
"""
|
|
24
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
25
29
|
import sys
|
|
26
30
|
|
|
27
31
|
from botocore.waiter import Waiter
|
|
28
32
|
|
|
29
|
-
from .type_defs import
|
|
30
|
-
DescribeTableInputTableExistsWaitTypeDef,
|
|
31
|
-
DescribeTableInputTableNotExistsWaitTypeDef,
|
|
32
|
-
)
|
|
33
|
+
from .type_defs import DescribeTableInputWaitTypeDef
|
|
33
34
|
|
|
34
35
|
if sys.version_info >= (3, 12):
|
|
35
36
|
from typing import Unpack
|
|
@@ -40,22 +41,26 @@ __all__ = ("TableExistsWaiter", "TableNotExistsWaiter")
|
|
|
40
41
|
|
|
41
42
|
class TableExistsWaiter(Waiter):
|
|
42
43
|
"""
|
|
43
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists)
|
|
44
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists)
|
|
44
45
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
|
|
45
46
|
"""
|
|
46
|
-
def wait(
|
|
47
|
+
def wait( # type: ignore[override]
|
|
48
|
+
self, **kwargs: Unpack[DescribeTableInputWaitTypeDef]
|
|
49
|
+
) -> None:
|
|
47
50
|
"""
|
|
48
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableExists.wait)
|
|
51
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableExists.html#DynamoDB.Waiter.TableExists.wait)
|
|
49
52
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tableexistswaiter)
|
|
50
53
|
"""
|
|
51
54
|
|
|
52
55
|
class TableNotExistsWaiter(Waiter):
|
|
53
56
|
"""
|
|
54
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists)
|
|
57
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists)
|
|
55
58
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
|
|
56
59
|
"""
|
|
57
|
-
def wait(
|
|
60
|
+
def wait( # type: ignore[override]
|
|
61
|
+
self, **kwargs: Unpack[DescribeTableInputWaitTypeDef]
|
|
62
|
+
) -> None:
|
|
58
63
|
"""
|
|
59
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Waiter.TableNotExists.wait)
|
|
64
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/waiter/TableNotExists.html#DynamoDB.Waiter.TableNotExists.wait)
|
|
60
65
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/waiters/#tablenotexistswaiter)
|
|
61
66
|
"""
|