types-boto3-dynamodb 1.36.0__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.
- types_boto3_dynamodb/__init__.py +74 -0
- types_boto3_dynamodb/__init__.pyi +71 -0
- types_boto3_dynamodb/__main__.py +43 -0
- types_boto3_dynamodb/client.py +896 -0
- types_boto3_dynamodb/client.pyi +893 -0
- types_boto3_dynamodb/literals.py +626 -0
- types_boto3_dynamodb/literals.pyi +624 -0
- types_boto3_dynamodb/paginator.py +170 -0
- types_boto3_dynamodb/paginator.pyi +154 -0
- types_boto3_dynamodb/py.typed +0 -0
- types_boto3_dynamodb/service_resource.py +363 -0
- types_boto3_dynamodb/service_resource.pyi +356 -0
- types_boto3_dynamodb/type_defs.py +2410 -0
- types_boto3_dynamodb/type_defs.pyi +2134 -0
- types_boto3_dynamodb/version.py +7 -0
- types_boto3_dynamodb/waiter.py +71 -0
- types_boto3_dynamodb/waiter.pyi +66 -0
- types_boto3_dynamodb-1.36.0.dist-info/LICENSE +21 -0
- types_boto3_dynamodb-1.36.0.dist-info/METADATA +572 -0
- types_boto3_dynamodb-1.36.0.dist-info/RECORD +22 -0
- types_boto3_dynamodb-1.36.0.dist-info/WHEEL +5 -0
- types_boto3_dynamodb-1.36.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for dynamodb service client paginators.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
|
|
11
|
+
from types_boto3_dynamodb.client import DynamoDBClient
|
|
12
|
+
from types_boto3_dynamodb.paginator import (
|
|
13
|
+
ListBackupsPaginator,
|
|
14
|
+
ListTablesPaginator,
|
|
15
|
+
ListTagsOfResourcePaginator,
|
|
16
|
+
QueryPaginator,
|
|
17
|
+
ScanPaginator,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
session = Session()
|
|
21
|
+
client: DynamoDBClient = session.client("dynamodb")
|
|
22
|
+
|
|
23
|
+
list_backups_paginator: ListBackupsPaginator = client.get_paginator("list_backups")
|
|
24
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
25
|
+
list_tags_of_resource_paginator: ListTagsOfResourcePaginator = client.get_paginator("list_tags_of_resource")
|
|
26
|
+
query_paginator: QueryPaginator = client.get_paginator("query")
|
|
27
|
+
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
35
|
+
import sys
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
37
|
+
|
|
38
|
+
from botocore.paginate import PageIterator, Paginator
|
|
39
|
+
|
|
40
|
+
from .type_defs import (
|
|
41
|
+
ListBackupsInputPaginateTypeDef,
|
|
42
|
+
ListBackupsOutputTypeDef,
|
|
43
|
+
ListTablesInputPaginateTypeDef,
|
|
44
|
+
ListTablesOutputTypeDef,
|
|
45
|
+
ListTagsOfResourceInputPaginateTypeDef,
|
|
46
|
+
ListTagsOfResourceOutputTypeDef,
|
|
47
|
+
QueryInputPaginateTypeDef,
|
|
48
|
+
QueryOutputTypeDef,
|
|
49
|
+
ScanInputPaginateTypeDef,
|
|
50
|
+
ScanOutputTypeDef,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
if sys.version_info >= (3, 12):
|
|
54
|
+
from typing import Unpack
|
|
55
|
+
else:
|
|
56
|
+
from typing_extensions import Unpack
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
__all__ = (
|
|
60
|
+
"ListBackupsPaginator",
|
|
61
|
+
"ListTablesPaginator",
|
|
62
|
+
"ListTagsOfResourcePaginator",
|
|
63
|
+
"QueryPaginator",
|
|
64
|
+
"ScanPaginator",
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
if TYPE_CHECKING:
|
|
69
|
+
_ListBackupsPaginatorBase = Paginator[ListBackupsOutputTypeDef]
|
|
70
|
+
else:
|
|
71
|
+
_ListBackupsPaginatorBase = Paginator # type: ignore[assignment]
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class ListBackupsPaginator(_ListBackupsPaginatorBase):
|
|
75
|
+
"""
|
|
76
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups)
|
|
77
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
def paginate( # type: ignore[override]
|
|
81
|
+
self, **kwargs: Unpack[ListBackupsInputPaginateTypeDef]
|
|
82
|
+
) -> PageIterator[ListBackupsOutputTypeDef]:
|
|
83
|
+
"""
|
|
84
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
85
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
if TYPE_CHECKING:
|
|
90
|
+
_ListTablesPaginatorBase = Paginator[ListTablesOutputTypeDef]
|
|
91
|
+
else:
|
|
92
|
+
_ListTablesPaginatorBase = Paginator # type: ignore[assignment]
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class ListTablesPaginator(_ListTablesPaginatorBase):
|
|
96
|
+
"""
|
|
97
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables)
|
|
98
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtablespaginator)
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
def paginate( # type: ignore[override]
|
|
102
|
+
self, **kwargs: Unpack[ListTablesInputPaginateTypeDef]
|
|
103
|
+
) -> PageIterator[ListTablesOutputTypeDef]:
|
|
104
|
+
"""
|
|
105
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables.paginate)
|
|
106
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtablespaginator)
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
if TYPE_CHECKING:
|
|
111
|
+
_ListTagsOfResourcePaginatorBase = Paginator[ListTagsOfResourceOutputTypeDef]
|
|
112
|
+
else:
|
|
113
|
+
_ListTagsOfResourcePaginatorBase = Paginator # type: ignore[assignment]
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class ListTagsOfResourcePaginator(_ListTagsOfResourcePaginatorBase):
|
|
117
|
+
"""
|
|
118
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
119
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
def paginate( # type: ignore[override]
|
|
123
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputPaginateTypeDef]
|
|
124
|
+
) -> PageIterator[ListTagsOfResourceOutputTypeDef]:
|
|
125
|
+
"""
|
|
126
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
127
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
if TYPE_CHECKING:
|
|
132
|
+
_QueryPaginatorBase = Paginator[QueryOutputTypeDef]
|
|
133
|
+
else:
|
|
134
|
+
_QueryPaginatorBase = Paginator # type: ignore[assignment]
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class QueryPaginator(_QueryPaginatorBase):
|
|
138
|
+
"""
|
|
139
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query)
|
|
140
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#querypaginator)
|
|
141
|
+
"""
|
|
142
|
+
|
|
143
|
+
def paginate( # type: ignore[override]
|
|
144
|
+
self, **kwargs: Unpack[QueryInputPaginateTypeDef]
|
|
145
|
+
) -> PageIterator[QueryOutputTypeDef]:
|
|
146
|
+
"""
|
|
147
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query.paginate)
|
|
148
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#querypaginator)
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
if TYPE_CHECKING:
|
|
153
|
+
_ScanPaginatorBase = Paginator[ScanOutputTypeDef]
|
|
154
|
+
else:
|
|
155
|
+
_ScanPaginatorBase = Paginator # type: ignore[assignment]
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class ScanPaginator(_ScanPaginatorBase):
|
|
159
|
+
"""
|
|
160
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan)
|
|
161
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#scanpaginator)
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
def paginate( # type: ignore[override]
|
|
165
|
+
self, **kwargs: Unpack[ScanInputPaginateTypeDef]
|
|
166
|
+
) -> PageIterator[ScanOutputTypeDef]:
|
|
167
|
+
"""
|
|
168
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan.paginate)
|
|
169
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#scanpaginator)
|
|
170
|
+
"""
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for dynamodb service client paginators.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
|
|
11
|
+
from types_boto3_dynamodb.client import DynamoDBClient
|
|
12
|
+
from types_boto3_dynamodb.paginator import (
|
|
13
|
+
ListBackupsPaginator,
|
|
14
|
+
ListTablesPaginator,
|
|
15
|
+
ListTagsOfResourcePaginator,
|
|
16
|
+
QueryPaginator,
|
|
17
|
+
ScanPaginator,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
session = Session()
|
|
21
|
+
client: DynamoDBClient = session.client("dynamodb")
|
|
22
|
+
|
|
23
|
+
list_backups_paginator: ListBackupsPaginator = client.get_paginator("list_backups")
|
|
24
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
25
|
+
list_tags_of_resource_paginator: ListTagsOfResourcePaginator = client.get_paginator("list_tags_of_resource")
|
|
26
|
+
query_paginator: QueryPaginator = client.get_paginator("query")
|
|
27
|
+
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
35
|
+
import sys
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
37
|
+
|
|
38
|
+
from botocore.paginate import PageIterator, Paginator
|
|
39
|
+
|
|
40
|
+
from .type_defs import (
|
|
41
|
+
ListBackupsInputPaginateTypeDef,
|
|
42
|
+
ListBackupsOutputTypeDef,
|
|
43
|
+
ListTablesInputPaginateTypeDef,
|
|
44
|
+
ListTablesOutputTypeDef,
|
|
45
|
+
ListTagsOfResourceInputPaginateTypeDef,
|
|
46
|
+
ListTagsOfResourceOutputTypeDef,
|
|
47
|
+
QueryInputPaginateTypeDef,
|
|
48
|
+
QueryOutputTypeDef,
|
|
49
|
+
ScanInputPaginateTypeDef,
|
|
50
|
+
ScanOutputTypeDef,
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
if sys.version_info >= (3, 12):
|
|
54
|
+
from typing import Unpack
|
|
55
|
+
else:
|
|
56
|
+
from typing_extensions import Unpack
|
|
57
|
+
|
|
58
|
+
__all__ = (
|
|
59
|
+
"ListBackupsPaginator",
|
|
60
|
+
"ListTablesPaginator",
|
|
61
|
+
"ListTagsOfResourcePaginator",
|
|
62
|
+
"QueryPaginator",
|
|
63
|
+
"ScanPaginator",
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
if TYPE_CHECKING:
|
|
67
|
+
_ListBackupsPaginatorBase = Paginator[ListBackupsOutputTypeDef]
|
|
68
|
+
else:
|
|
69
|
+
_ListBackupsPaginatorBase = Paginator # type: ignore[assignment]
|
|
70
|
+
|
|
71
|
+
class ListBackupsPaginator(_ListBackupsPaginatorBase):
|
|
72
|
+
"""
|
|
73
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups)
|
|
74
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
75
|
+
"""
|
|
76
|
+
def paginate( # type: ignore[override]
|
|
77
|
+
self, **kwargs: Unpack[ListBackupsInputPaginateTypeDef]
|
|
78
|
+
) -> PageIterator[ListBackupsOutputTypeDef]:
|
|
79
|
+
"""
|
|
80
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
81
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
if TYPE_CHECKING:
|
|
85
|
+
_ListTablesPaginatorBase = Paginator[ListTablesOutputTypeDef]
|
|
86
|
+
else:
|
|
87
|
+
_ListTablesPaginatorBase = Paginator # type: ignore[assignment]
|
|
88
|
+
|
|
89
|
+
class ListTablesPaginator(_ListTablesPaginatorBase):
|
|
90
|
+
"""
|
|
91
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables)
|
|
92
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtablespaginator)
|
|
93
|
+
"""
|
|
94
|
+
def paginate( # type: ignore[override]
|
|
95
|
+
self, **kwargs: Unpack[ListTablesInputPaginateTypeDef]
|
|
96
|
+
) -> PageIterator[ListTablesOutputTypeDef]:
|
|
97
|
+
"""
|
|
98
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables.paginate)
|
|
99
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtablespaginator)
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
if TYPE_CHECKING:
|
|
103
|
+
_ListTagsOfResourcePaginatorBase = Paginator[ListTagsOfResourceOutputTypeDef]
|
|
104
|
+
else:
|
|
105
|
+
_ListTagsOfResourcePaginatorBase = Paginator # type: ignore[assignment]
|
|
106
|
+
|
|
107
|
+
class ListTagsOfResourcePaginator(_ListTagsOfResourcePaginatorBase):
|
|
108
|
+
"""
|
|
109
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
110
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
111
|
+
"""
|
|
112
|
+
def paginate( # type: ignore[override]
|
|
113
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputPaginateTypeDef]
|
|
114
|
+
) -> PageIterator[ListTagsOfResourceOutputTypeDef]:
|
|
115
|
+
"""
|
|
116
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
117
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
if TYPE_CHECKING:
|
|
121
|
+
_QueryPaginatorBase = Paginator[QueryOutputTypeDef]
|
|
122
|
+
else:
|
|
123
|
+
_QueryPaginatorBase = Paginator # type: ignore[assignment]
|
|
124
|
+
|
|
125
|
+
class QueryPaginator(_QueryPaginatorBase):
|
|
126
|
+
"""
|
|
127
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query)
|
|
128
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#querypaginator)
|
|
129
|
+
"""
|
|
130
|
+
def paginate( # type: ignore[override]
|
|
131
|
+
self, **kwargs: Unpack[QueryInputPaginateTypeDef]
|
|
132
|
+
) -> PageIterator[QueryOutputTypeDef]:
|
|
133
|
+
"""
|
|
134
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query.paginate)
|
|
135
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#querypaginator)
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
if TYPE_CHECKING:
|
|
139
|
+
_ScanPaginatorBase = Paginator[ScanOutputTypeDef]
|
|
140
|
+
else:
|
|
141
|
+
_ScanPaginatorBase = Paginator # type: ignore[assignment]
|
|
142
|
+
|
|
143
|
+
class ScanPaginator(_ScanPaginatorBase):
|
|
144
|
+
"""
|
|
145
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan)
|
|
146
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#scanpaginator)
|
|
147
|
+
"""
|
|
148
|
+
def paginate( # type: ignore[override]
|
|
149
|
+
self, **kwargs: Unpack[ScanInputPaginateTypeDef]
|
|
150
|
+
) -> PageIterator[ScanOutputTypeDef]:
|
|
151
|
+
"""
|
|
152
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan.paginate)
|
|
153
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_dynamodb/paginators/#scanpaginator)
|
|
154
|
+
"""
|
|
File without changes
|