mypy-boto3-dynamodb 1.35.74__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 +7 -2
- mypy_boto3_dynamodb/__init__.pyi +6 -2
- mypy_boto3_dynamodb/__main__.py +9 -8
- mypy_boto3_dynamodb/client.py +40 -33
- mypy_boto3_dynamodb/client.pyi +40 -32
- mypy_boto3_dynamodb/literals.py +5 -2
- mypy_boto3_dynamodb/literals.pyi +5 -2
- mypy_boto3_dynamodb/paginator.py +58 -36
- mypy_boto3_dynamodb/paginator.pyi +54 -35
- mypy_boto3_dynamodb/service_resource.py +23 -17
- mypy_boto3_dynamodb/service_resource.pyi +23 -17
- mypy_boto3_dynamodb/type_defs.py +65 -68
- mypy_boto3_dynamodb/type_defs.pyi +61 -62
- mypy_boto3_dynamodb/version.py +2 -2
- mypy_boto3_dynamodb/waiter.py +11 -8
- mypy_boto3_dynamodb/waiter.pyi +11 -8
- {mypy_boto3_dynamodb-1.35.74.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_dynamodb-1.35.74.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/METADATA +25 -12
- mypy_boto3_dynamodb-1.35.93.dist-info/RECORD +22 -0
- {mypy_boto3_dynamodb-1.35.74.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/WHEEL +1 -1
- mypy_boto3_dynamodb-1.35.74.dist-info/RECORD +0 -22
- {mypy_boto3_dynamodb-1.35.74.dist-info → mypy_boto3_dynamodb-1.35.93.dist-info}/top_level.txt +0 -0
mypy_boto3_dynamodb/__init__.py
CHANGED
|
@@ -34,7 +34,7 @@ Usage::
|
|
|
34
34
|
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Copyright
|
|
37
|
+
Copyright 2025 Vlad Emelianov
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
from .client import DynamoDBClient
|
|
@@ -45,9 +45,14 @@ from .paginator import (
|
|
|
45
45
|
QueryPaginator,
|
|
46
46
|
ScanPaginator,
|
|
47
47
|
)
|
|
48
|
-
from .service_resource import DynamoDBServiceResource
|
|
49
48
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
50
49
|
|
|
50
|
+
try:
|
|
51
|
+
from .service_resource import DynamoDBServiceResource
|
|
52
|
+
except ImportError:
|
|
53
|
+
from builtins import object as DynamoDBServiceResource # type: ignore[assignment]
|
|
54
|
+
|
|
55
|
+
|
|
51
56
|
Client = DynamoDBClient
|
|
52
57
|
|
|
53
58
|
|
mypy_boto3_dynamodb/__init__.pyi
CHANGED
|
@@ -34,7 +34,7 @@ Usage::
|
|
|
34
34
|
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Copyright
|
|
37
|
+
Copyright 2025 Vlad Emelianov
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
40
|
from .client import DynamoDBClient
|
|
@@ -45,9 +45,13 @@ from .paginator import (
|
|
|
45
45
|
QueryPaginator,
|
|
46
46
|
ScanPaginator,
|
|
47
47
|
)
|
|
48
|
-
from .service_resource import DynamoDBServiceResource
|
|
49
48
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
50
49
|
|
|
50
|
+
try:
|
|
51
|
+
from .service_resource import DynamoDBServiceResource
|
|
52
|
+
except ImportError:
|
|
53
|
+
from builtins import object as DynamoDBServiceResource # type: ignore[assignment]
|
|
54
|
+
|
|
51
55
|
Client = DynamoDBClient
|
|
52
56
|
|
|
53
57
|
ServiceResource = DynamoDBServiceResource
|
mypy_boto3_dynamodb/__main__.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
import sys
|
|
@@ -11,14 +11,14 @@ def print_info() -> None:
|
|
|
11
11
|
"""
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
|
-
|
|
15
|
-
"Type annotations for boto3 DynamoDB 1.35.
|
|
16
|
-
"Version: 1.35.
|
|
17
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 DynamoDB 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#dynamodb\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -34,7 +34,8 @@ def main() -> None:
|
|
|
34
34
|
Main CLI entrypoint.
|
|
35
35
|
"""
|
|
36
36
|
if "--version" in sys.argv:
|
|
37
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
38
39
|
print_info()
|
|
39
40
|
|
|
40
41
|
|
mypy_boto3_dynamodb/client.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for dynamodb service
|
|
2
|
+
Type annotations for dynamodb service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: DynamoDBClient = session.client("dynamodb")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import (
|
|
25
29
|
ListBackupsPaginator,
|
|
@@ -141,6 +145,11 @@ from .type_defs import (
|
|
|
141
145
|
)
|
|
142
146
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
143
147
|
|
|
148
|
+
if sys.version_info >= (3, 9):
|
|
149
|
+
from builtins import type as Type
|
|
150
|
+
from collections.abc import Mapping
|
|
151
|
+
else:
|
|
152
|
+
from typing import Mapping, Type
|
|
144
153
|
if sys.version_info >= (3, 12):
|
|
145
154
|
from typing import Literal, Unpack
|
|
146
155
|
else:
|
|
@@ -150,15 +159,7 @@ else:
|
|
|
150
159
|
__all__ = ("DynamoDBClient",)
|
|
151
160
|
|
|
152
161
|
|
|
153
|
-
class
|
|
154
|
-
MSG_TEMPLATE: str
|
|
155
|
-
|
|
156
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
157
|
-
self.response: Dict[str, Any]
|
|
158
|
-
self.operation_name: str
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
class Exceptions:
|
|
162
|
+
class Exceptions(BaseClientExceptions):
|
|
162
163
|
BackupInUseException: Type[BotocoreClientError]
|
|
163
164
|
BackupNotFoundException: Type[BotocoreClientError]
|
|
164
165
|
ClientError: Type[BotocoreClientError]
|
|
@@ -230,12 +231,6 @@ class DynamoDBClient(BaseClient):
|
|
|
230
231
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
231
232
|
"""
|
|
232
233
|
|
|
233
|
-
def close(self) -> None:
|
|
234
|
-
"""
|
|
235
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/close.html)
|
|
236
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
|
|
237
|
-
"""
|
|
238
|
-
|
|
239
234
|
def batch_execute_statement(
|
|
240
235
|
self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
|
|
241
236
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
@@ -823,8 +818,10 @@ class DynamoDBClient(BaseClient):
|
|
|
823
818
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_time_to_live)
|
|
824
819
|
"""
|
|
825
820
|
|
|
826
|
-
@overload
|
|
827
|
-
def get_paginator(
|
|
821
|
+
@overload # type: ignore[override]
|
|
822
|
+
def get_paginator( # type: ignore[override]
|
|
823
|
+
self, operation_name: Literal["list_backups"]
|
|
824
|
+
) -> ListBackupsPaginator:
|
|
828
825
|
"""
|
|
829
826
|
Create a paginator for an operation.
|
|
830
827
|
|
|
@@ -832,8 +829,10 @@ class DynamoDBClient(BaseClient):
|
|
|
832
829
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
833
830
|
"""
|
|
834
831
|
|
|
835
|
-
@overload
|
|
836
|
-
def get_paginator(
|
|
832
|
+
@overload # type: ignore[override]
|
|
833
|
+
def get_paginator( # type: ignore[override]
|
|
834
|
+
self, operation_name: Literal["list_tables"]
|
|
835
|
+
) -> ListTablesPaginator:
|
|
837
836
|
"""
|
|
838
837
|
Create a paginator for an operation.
|
|
839
838
|
|
|
@@ -841,8 +840,8 @@ class DynamoDBClient(BaseClient):
|
|
|
841
840
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
842
841
|
"""
|
|
843
842
|
|
|
844
|
-
@overload
|
|
845
|
-
def get_paginator(
|
|
843
|
+
@overload # type: ignore[override]
|
|
844
|
+
def get_paginator( # type: ignore[override]
|
|
846
845
|
self, operation_name: Literal["list_tags_of_resource"]
|
|
847
846
|
) -> ListTagsOfResourcePaginator:
|
|
848
847
|
"""
|
|
@@ -852,8 +851,10 @@ class DynamoDBClient(BaseClient):
|
|
|
852
851
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
853
852
|
"""
|
|
854
853
|
|
|
855
|
-
@overload
|
|
856
|
-
def get_paginator(
|
|
854
|
+
@overload # type: ignore[override]
|
|
855
|
+
def get_paginator( # type: ignore[override]
|
|
856
|
+
self, operation_name: Literal["query"]
|
|
857
|
+
) -> QueryPaginator:
|
|
857
858
|
"""
|
|
858
859
|
Create a paginator for an operation.
|
|
859
860
|
|
|
@@ -861,8 +862,10 @@ class DynamoDBClient(BaseClient):
|
|
|
861
862
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
862
863
|
"""
|
|
863
864
|
|
|
864
|
-
@overload
|
|
865
|
-
def get_paginator(
|
|
865
|
+
@overload # type: ignore[override]
|
|
866
|
+
def get_paginator( # type: ignore[override]
|
|
867
|
+
self, operation_name: Literal["scan"]
|
|
868
|
+
) -> ScanPaginator:
|
|
866
869
|
"""
|
|
867
870
|
Create a paginator for an operation.
|
|
868
871
|
|
|
@@ -870,8 +873,10 @@ class DynamoDBClient(BaseClient):
|
|
|
870
873
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
871
874
|
"""
|
|
872
875
|
|
|
873
|
-
@overload
|
|
874
|
-
def get_waiter(
|
|
876
|
+
@overload # type: ignore[override]
|
|
877
|
+
def get_waiter( # type: ignore[override]
|
|
878
|
+
self, waiter_name: Literal["table_exists"]
|
|
879
|
+
) -> TableExistsWaiter:
|
|
875
880
|
"""
|
|
876
881
|
Returns an object that can wait for some condition.
|
|
877
882
|
|
|
@@ -879,8 +884,10 @@ class DynamoDBClient(BaseClient):
|
|
|
879
884
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_waiter)
|
|
880
885
|
"""
|
|
881
886
|
|
|
882
|
-
@overload
|
|
883
|
-
def get_waiter(
|
|
887
|
+
@overload # type: ignore[override]
|
|
888
|
+
def get_waiter( # type: ignore[override]
|
|
889
|
+
self, waiter_name: Literal["table_not_exists"]
|
|
890
|
+
) -> TableNotExistsWaiter:
|
|
884
891
|
"""
|
|
885
892
|
Returns an object that can wait for some condition.
|
|
886
893
|
|
mypy_boto3_dynamodb/client.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for dynamodb service
|
|
2
|
+
Type annotations for dynamodb service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: DynamoDBClient = session.client("dynamodb")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import (
|
|
25
29
|
ListBackupsPaginator,
|
|
@@ -141,6 +145,11 @@ from .type_defs import (
|
|
|
141
145
|
)
|
|
142
146
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
143
147
|
|
|
148
|
+
if sys.version_info >= (3, 9):
|
|
149
|
+
from builtins import type as Type
|
|
150
|
+
from collections.abc import Mapping
|
|
151
|
+
else:
|
|
152
|
+
from typing import Mapping, Type
|
|
144
153
|
if sys.version_info >= (3, 12):
|
|
145
154
|
from typing import Literal, Unpack
|
|
146
155
|
else:
|
|
@@ -148,14 +157,7 @@ else:
|
|
|
148
157
|
|
|
149
158
|
__all__ = ("DynamoDBClient",)
|
|
150
159
|
|
|
151
|
-
class
|
|
152
|
-
MSG_TEMPLATE: str
|
|
153
|
-
|
|
154
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
155
|
-
self.response: Dict[str, Any]
|
|
156
|
-
self.operation_name: str
|
|
157
|
-
|
|
158
|
-
class Exceptions:
|
|
160
|
+
class Exceptions(BaseClientExceptions):
|
|
159
161
|
BackupInUseException: Type[BotocoreClientError]
|
|
160
162
|
BackupNotFoundException: Type[BotocoreClientError]
|
|
161
163
|
ClientError: Type[BotocoreClientError]
|
|
@@ -226,12 +228,6 @@ class DynamoDBClient(BaseClient):
|
|
|
226
228
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#generate_presigned_url)
|
|
227
229
|
"""
|
|
228
230
|
|
|
229
|
-
def close(self) -> None:
|
|
230
|
-
"""
|
|
231
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/close.html)
|
|
232
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#close)
|
|
233
|
-
"""
|
|
234
|
-
|
|
235
231
|
def batch_execute_statement(
|
|
236
232
|
self, **kwargs: Unpack[BatchExecuteStatementInputRequestTypeDef]
|
|
237
233
|
) -> BatchExecuteStatementOutputTypeDef:
|
|
@@ -819,8 +815,10 @@ class DynamoDBClient(BaseClient):
|
|
|
819
815
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#update_time_to_live)
|
|
820
816
|
"""
|
|
821
817
|
|
|
822
|
-
@overload
|
|
823
|
-
def get_paginator(
|
|
818
|
+
@overload # type: ignore[override]
|
|
819
|
+
def get_paginator( # type: ignore[override]
|
|
820
|
+
self, operation_name: Literal["list_backups"]
|
|
821
|
+
) -> ListBackupsPaginator:
|
|
824
822
|
"""
|
|
825
823
|
Create a paginator for an operation.
|
|
826
824
|
|
|
@@ -828,8 +826,10 @@ class DynamoDBClient(BaseClient):
|
|
|
828
826
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
829
827
|
"""
|
|
830
828
|
|
|
831
|
-
@overload
|
|
832
|
-
def get_paginator(
|
|
829
|
+
@overload # type: ignore[override]
|
|
830
|
+
def get_paginator( # type: ignore[override]
|
|
831
|
+
self, operation_name: Literal["list_tables"]
|
|
832
|
+
) -> ListTablesPaginator:
|
|
833
833
|
"""
|
|
834
834
|
Create a paginator for an operation.
|
|
835
835
|
|
|
@@ -837,8 +837,8 @@ class DynamoDBClient(BaseClient):
|
|
|
837
837
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
838
838
|
"""
|
|
839
839
|
|
|
840
|
-
@overload
|
|
841
|
-
def get_paginator(
|
|
840
|
+
@overload # type: ignore[override]
|
|
841
|
+
def get_paginator( # type: ignore[override]
|
|
842
842
|
self, operation_name: Literal["list_tags_of_resource"]
|
|
843
843
|
) -> ListTagsOfResourcePaginator:
|
|
844
844
|
"""
|
|
@@ -848,8 +848,10 @@ class DynamoDBClient(BaseClient):
|
|
|
848
848
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
849
849
|
"""
|
|
850
850
|
|
|
851
|
-
@overload
|
|
852
|
-
def get_paginator(
|
|
851
|
+
@overload # type: ignore[override]
|
|
852
|
+
def get_paginator( # type: ignore[override]
|
|
853
|
+
self, operation_name: Literal["query"]
|
|
854
|
+
) -> QueryPaginator:
|
|
853
855
|
"""
|
|
854
856
|
Create a paginator for an operation.
|
|
855
857
|
|
|
@@ -857,8 +859,10 @@ class DynamoDBClient(BaseClient):
|
|
|
857
859
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
858
860
|
"""
|
|
859
861
|
|
|
860
|
-
@overload
|
|
861
|
-
def get_paginator(
|
|
862
|
+
@overload # type: ignore[override]
|
|
863
|
+
def get_paginator( # type: ignore[override]
|
|
864
|
+
self, operation_name: Literal["scan"]
|
|
865
|
+
) -> ScanPaginator:
|
|
862
866
|
"""
|
|
863
867
|
Create a paginator for an operation.
|
|
864
868
|
|
|
@@ -866,8 +870,10 @@ class DynamoDBClient(BaseClient):
|
|
|
866
870
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_paginator)
|
|
867
871
|
"""
|
|
868
872
|
|
|
869
|
-
@overload
|
|
870
|
-
def get_waiter(
|
|
873
|
+
@overload # type: ignore[override]
|
|
874
|
+
def get_waiter( # type: ignore[override]
|
|
875
|
+
self, waiter_name: Literal["table_exists"]
|
|
876
|
+
) -> TableExistsWaiter:
|
|
871
877
|
"""
|
|
872
878
|
Returns an object that can wait for some condition.
|
|
873
879
|
|
|
@@ -875,8 +881,10 @@ class DynamoDBClient(BaseClient):
|
|
|
875
881
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/#get_waiter)
|
|
876
882
|
"""
|
|
877
883
|
|
|
878
|
-
@overload
|
|
879
|
-
def get_waiter(
|
|
884
|
+
@overload # type: ignore[override]
|
|
885
|
+
def get_waiter( # type: ignore[override]
|
|
886
|
+
self, waiter_name: Literal["table_not_exists"]
|
|
887
|
+
) -> TableNotExistsWaiter:
|
|
880
888
|
"""
|
|
881
889
|
Returns an object that can wait for some condition.
|
|
882
890
|
|
mypy_boto3_dynamodb/literals.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for dynamodb service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ Usage::
|
|
|
11
11
|
data: ApproximateCreationDateTimePrecisionType = "MICROSECOND"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
@@ -206,12 +206,15 @@ ServiceName = Literal[
|
|
|
206
206
|
"b2bi",
|
|
207
207
|
"backup",
|
|
208
208
|
"backup-gateway",
|
|
209
|
+
"backupsearch",
|
|
209
210
|
"batch",
|
|
210
211
|
"bcm-data-exports",
|
|
211
212
|
"bcm-pricing-calculator",
|
|
212
213
|
"bedrock",
|
|
213
214
|
"bedrock-agent",
|
|
214
215
|
"bedrock-agent-runtime",
|
|
216
|
+
"bedrock-data-automation",
|
|
217
|
+
"bedrock-data-automation-runtime",
|
|
215
218
|
"bedrock-runtime",
|
|
216
219
|
"billing",
|
|
217
220
|
"billingconductor",
|
mypy_boto3_dynamodb/literals.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for dynamodb service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ Usage::
|
|
|
11
11
|
data: ApproximateCreationDateTimePrecisionType = "MICROSECOND"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
@@ -204,12 +204,15 @@ ServiceName = Literal[
|
|
|
204
204
|
"b2bi",
|
|
205
205
|
"backup",
|
|
206
206
|
"backup-gateway",
|
|
207
|
+
"backupsearch",
|
|
207
208
|
"batch",
|
|
208
209
|
"bcm-data-exports",
|
|
209
210
|
"bcm-pricing-calculator",
|
|
210
211
|
"bedrock",
|
|
211
212
|
"bedrock-agent",
|
|
212
213
|
"bedrock-agent-runtime",
|
|
214
|
+
"bedrock-data-automation",
|
|
215
|
+
"bedrock-data-automation-runtime",
|
|
213
216
|
"bedrock-runtime",
|
|
214
217
|
"billing",
|
|
215
218
|
"billingconductor",
|
mypy_boto3_dynamodb/paginator.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for dynamodb service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -27,24 +27,26 @@ Usage::
|
|
|
27
27
|
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Copyright
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
33
35
|
import sys
|
|
34
|
-
from typing import
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
35
37
|
|
|
36
38
|
from botocore.paginate import PageIterator, Paginator
|
|
37
39
|
|
|
38
40
|
from .type_defs import (
|
|
39
|
-
|
|
41
|
+
ListBackupsInputPaginateTypeDef,
|
|
40
42
|
ListBackupsOutputTypeDef,
|
|
41
|
-
|
|
43
|
+
ListTablesInputPaginateTypeDef,
|
|
42
44
|
ListTablesOutputTypeDef,
|
|
43
|
-
|
|
45
|
+
ListTagsOfResourceInputPaginateTypeDef,
|
|
44
46
|
ListTagsOfResourceOutputTypeDef,
|
|
45
|
-
|
|
47
|
+
QueryInputPaginateTypeDef,
|
|
46
48
|
QueryOutputTypeDef,
|
|
47
|
-
|
|
49
|
+
ScanInputPaginateTypeDef,
|
|
48
50
|
ScanOutputTypeDef,
|
|
49
51
|
)
|
|
50
52
|
|
|
@@ -63,85 +65,105 @@ __all__ = (
|
|
|
63
65
|
)
|
|
64
66
|
|
|
65
67
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
71
|
-
"""
|
|
72
|
-
Proxy method to specify iterator item type.
|
|
73
|
-
"""
|
|
68
|
+
if TYPE_CHECKING:
|
|
69
|
+
_ListBackupsPaginatorBase = Paginator[ListBackupsOutputTypeDef]
|
|
70
|
+
else:
|
|
71
|
+
_ListBackupsPaginatorBase = Paginator # type: ignore[assignment]
|
|
74
72
|
|
|
75
73
|
|
|
76
|
-
class ListBackupsPaginator(
|
|
74
|
+
class ListBackupsPaginator(_ListBackupsPaginatorBase):
|
|
77
75
|
"""
|
|
78
76
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups)
|
|
79
77
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
80
78
|
"""
|
|
81
79
|
|
|
82
|
-
def paginate(
|
|
83
|
-
self, **kwargs: Unpack[
|
|
84
|
-
) ->
|
|
80
|
+
def paginate( # type: ignore[override]
|
|
81
|
+
self, **kwargs: Unpack[ListBackupsInputPaginateTypeDef]
|
|
82
|
+
) -> PageIterator[ListBackupsOutputTypeDef]:
|
|
85
83
|
"""
|
|
86
84
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
87
85
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
88
86
|
"""
|
|
89
87
|
|
|
90
88
|
|
|
91
|
-
|
|
89
|
+
if TYPE_CHECKING:
|
|
90
|
+
_ListTablesPaginatorBase = Paginator[ListTablesOutputTypeDef]
|
|
91
|
+
else:
|
|
92
|
+
_ListTablesPaginatorBase = Paginator # type: ignore[assignment]
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class ListTablesPaginator(_ListTablesPaginatorBase):
|
|
92
96
|
"""
|
|
93
97
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables)
|
|
94
98
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtablespaginator)
|
|
95
99
|
"""
|
|
96
100
|
|
|
97
|
-
def paginate(
|
|
98
|
-
self, **kwargs: Unpack[
|
|
99
|
-
) ->
|
|
101
|
+
def paginate( # type: ignore[override]
|
|
102
|
+
self, **kwargs: Unpack[ListTablesInputPaginateTypeDef]
|
|
103
|
+
) -> PageIterator[ListTablesOutputTypeDef]:
|
|
100
104
|
"""
|
|
101
105
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables.paginate)
|
|
102
106
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtablespaginator)
|
|
103
107
|
"""
|
|
104
108
|
|
|
105
109
|
|
|
106
|
-
|
|
110
|
+
if TYPE_CHECKING:
|
|
111
|
+
_ListTagsOfResourcePaginatorBase = Paginator[ListTagsOfResourceOutputTypeDef]
|
|
112
|
+
else:
|
|
113
|
+
_ListTagsOfResourcePaginatorBase = Paginator # type: ignore[assignment]
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class ListTagsOfResourcePaginator(_ListTagsOfResourcePaginatorBase):
|
|
107
117
|
"""
|
|
108
118
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
109
119
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
110
120
|
"""
|
|
111
121
|
|
|
112
|
-
def paginate(
|
|
113
|
-
self, **kwargs: Unpack[
|
|
114
|
-
) ->
|
|
122
|
+
def paginate( # type: ignore[override]
|
|
123
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputPaginateTypeDef]
|
|
124
|
+
) -> PageIterator[ListTagsOfResourceOutputTypeDef]:
|
|
115
125
|
"""
|
|
116
126
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
117
127
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
118
128
|
"""
|
|
119
129
|
|
|
120
130
|
|
|
121
|
-
|
|
131
|
+
if TYPE_CHECKING:
|
|
132
|
+
_QueryPaginatorBase = Paginator[QueryOutputTypeDef]
|
|
133
|
+
else:
|
|
134
|
+
_QueryPaginatorBase = Paginator # type: ignore[assignment]
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class QueryPaginator(_QueryPaginatorBase):
|
|
122
138
|
"""
|
|
123
139
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query)
|
|
124
140
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#querypaginator)
|
|
125
141
|
"""
|
|
126
142
|
|
|
127
|
-
def paginate(
|
|
128
|
-
self, **kwargs: Unpack[
|
|
129
|
-
) ->
|
|
143
|
+
def paginate( # type: ignore[override]
|
|
144
|
+
self, **kwargs: Unpack[QueryInputPaginateTypeDef]
|
|
145
|
+
) -> PageIterator[QueryOutputTypeDef]:
|
|
130
146
|
"""
|
|
131
147
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query.paginate)
|
|
132
148
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#querypaginator)
|
|
133
149
|
"""
|
|
134
150
|
|
|
135
151
|
|
|
136
|
-
|
|
152
|
+
if TYPE_CHECKING:
|
|
153
|
+
_ScanPaginatorBase = Paginator[ScanOutputTypeDef]
|
|
154
|
+
else:
|
|
155
|
+
_ScanPaginatorBase = Paginator # type: ignore[assignment]
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class ScanPaginator(_ScanPaginatorBase):
|
|
137
159
|
"""
|
|
138
160
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan)
|
|
139
161
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#scanpaginator)
|
|
140
162
|
"""
|
|
141
163
|
|
|
142
|
-
def paginate(
|
|
143
|
-
self, **kwargs: Unpack[
|
|
144
|
-
) ->
|
|
164
|
+
def paginate( # type: ignore[override]
|
|
165
|
+
self, **kwargs: Unpack[ScanInputPaginateTypeDef]
|
|
166
|
+
) -> PageIterator[ScanOutputTypeDef]:
|
|
145
167
|
"""
|
|
146
168
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan.paginate)
|
|
147
169
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#scanpaginator)
|