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
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
|
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ApproximateCreationDateTimePrecisionType = "MICROSECOND"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -48,6 +50,7 @@ __all__ = (
|
|
|
48
50
|
"ListBackupsPaginatorName",
|
|
49
51
|
"ListTablesPaginatorName",
|
|
50
52
|
"ListTagsOfResourcePaginatorName",
|
|
53
|
+
"MultiRegionConsistencyType",
|
|
51
54
|
"PaginatorName",
|
|
52
55
|
"PointInTimeRecoveryStatusType",
|
|
53
56
|
"ProjectionTypeType",
|
|
@@ -130,6 +133,7 @@ KeyTypeType = Literal["HASH", "RANGE"]
|
|
|
130
133
|
ListBackupsPaginatorName = Literal["list_backups"]
|
|
131
134
|
ListTablesPaginatorName = Literal["list_tables"]
|
|
132
135
|
ListTagsOfResourcePaginatorName = Literal["list_tags_of_resource"]
|
|
136
|
+
MultiRegionConsistencyType = Literal["EVENTUAL", "STRONG"]
|
|
133
137
|
PointInTimeRecoveryStatusType = Literal["DISABLED", "ENABLED"]
|
|
134
138
|
ProjectionTypeType = Literal["ALL", "INCLUDE", "KEYS_ONLY"]
|
|
135
139
|
QueryPaginatorName = Literal["query"]
|
|
@@ -202,11 +206,15 @@ ServiceName = Literal[
|
|
|
202
206
|
"b2bi",
|
|
203
207
|
"backup",
|
|
204
208
|
"backup-gateway",
|
|
209
|
+
"backupsearch",
|
|
205
210
|
"batch",
|
|
206
211
|
"bcm-data-exports",
|
|
212
|
+
"bcm-pricing-calculator",
|
|
207
213
|
"bedrock",
|
|
208
214
|
"bedrock-agent",
|
|
209
215
|
"bedrock-agent-runtime",
|
|
216
|
+
"bedrock-data-automation",
|
|
217
|
+
"bedrock-data-automation-runtime",
|
|
210
218
|
"bedrock-runtime",
|
|
211
219
|
"billing",
|
|
212
220
|
"billingconductor",
|
|
@@ -257,6 +265,7 @@ ServiceName = Literal[
|
|
|
257
265
|
"connect",
|
|
258
266
|
"connect-contact-lens",
|
|
259
267
|
"connectcampaigns",
|
|
268
|
+
"connectcampaignsv2",
|
|
260
269
|
"connectcases",
|
|
261
270
|
"connectparticipant",
|
|
262
271
|
"controlcatalog",
|
|
@@ -283,6 +292,7 @@ ServiceName = Literal[
|
|
|
283
292
|
"drs",
|
|
284
293
|
"ds",
|
|
285
294
|
"ds-data",
|
|
295
|
+
"dsql",
|
|
286
296
|
"dynamodb",
|
|
287
297
|
"dynamodbstreams",
|
|
288
298
|
"ebs",
|
|
@@ -339,6 +349,7 @@ ServiceName = Literal[
|
|
|
339
349
|
"inspector-scan",
|
|
340
350
|
"inspector2",
|
|
341
351
|
"internetmonitor",
|
|
352
|
+
"invoicing",
|
|
342
353
|
"iot",
|
|
343
354
|
"iot-data",
|
|
344
355
|
"iot-jobs-data",
|
|
@@ -425,9 +436,13 @@ ServiceName = Literal[
|
|
|
425
436
|
"neptune-graph",
|
|
426
437
|
"neptunedata",
|
|
427
438
|
"network-firewall",
|
|
439
|
+
"networkflowmonitor",
|
|
428
440
|
"networkmanager",
|
|
429
441
|
"networkmonitor",
|
|
442
|
+
"notifications",
|
|
443
|
+
"notificationscontacts",
|
|
430
444
|
"oam",
|
|
445
|
+
"observabilityadmin",
|
|
431
446
|
"omics",
|
|
432
447
|
"opensearch",
|
|
433
448
|
"opensearchserverless",
|
|
@@ -437,6 +452,7 @@ ServiceName = Literal[
|
|
|
437
452
|
"osis",
|
|
438
453
|
"outposts",
|
|
439
454
|
"panorama",
|
|
455
|
+
"partnercentral-selling",
|
|
440
456
|
"payment-cryptography",
|
|
441
457
|
"payment-cryptography-data",
|
|
442
458
|
"pca-connector-ad",
|
|
@@ -487,6 +503,7 @@ ServiceName = Literal[
|
|
|
487
503
|
"s3",
|
|
488
504
|
"s3control",
|
|
489
505
|
"s3outposts",
|
|
506
|
+
"s3tables",
|
|
490
507
|
"sagemaker",
|
|
491
508
|
"sagemaker-a2i-runtime",
|
|
492
509
|
"sagemaker-edge",
|
|
@@ -499,6 +516,7 @@ ServiceName = Literal[
|
|
|
499
516
|
"schemas",
|
|
500
517
|
"sdb",
|
|
501
518
|
"secretsmanager",
|
|
519
|
+
"security-ir",
|
|
502
520
|
"securityhub",
|
|
503
521
|
"securitylake",
|
|
504
522
|
"serverlessrepo",
|
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
|
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ApproximateCreationDateTimePrecisionType = "MICROSECOND"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -47,6 +49,7 @@ __all__ = (
|
|
|
47
49
|
"ListBackupsPaginatorName",
|
|
48
50
|
"ListTablesPaginatorName",
|
|
49
51
|
"ListTagsOfResourcePaginatorName",
|
|
52
|
+
"MultiRegionConsistencyType",
|
|
50
53
|
"PaginatorName",
|
|
51
54
|
"PointInTimeRecoveryStatusType",
|
|
52
55
|
"ProjectionTypeType",
|
|
@@ -128,6 +131,7 @@ KeyTypeType = Literal["HASH", "RANGE"]
|
|
|
128
131
|
ListBackupsPaginatorName = Literal["list_backups"]
|
|
129
132
|
ListTablesPaginatorName = Literal["list_tables"]
|
|
130
133
|
ListTagsOfResourcePaginatorName = Literal["list_tags_of_resource"]
|
|
134
|
+
MultiRegionConsistencyType = Literal["EVENTUAL", "STRONG"]
|
|
131
135
|
PointInTimeRecoveryStatusType = Literal["DISABLED", "ENABLED"]
|
|
132
136
|
ProjectionTypeType = Literal["ALL", "INCLUDE", "KEYS_ONLY"]
|
|
133
137
|
QueryPaginatorName = Literal["query"]
|
|
@@ -200,11 +204,15 @@ ServiceName = Literal[
|
|
|
200
204
|
"b2bi",
|
|
201
205
|
"backup",
|
|
202
206
|
"backup-gateway",
|
|
207
|
+
"backupsearch",
|
|
203
208
|
"batch",
|
|
204
209
|
"bcm-data-exports",
|
|
210
|
+
"bcm-pricing-calculator",
|
|
205
211
|
"bedrock",
|
|
206
212
|
"bedrock-agent",
|
|
207
213
|
"bedrock-agent-runtime",
|
|
214
|
+
"bedrock-data-automation",
|
|
215
|
+
"bedrock-data-automation-runtime",
|
|
208
216
|
"bedrock-runtime",
|
|
209
217
|
"billing",
|
|
210
218
|
"billingconductor",
|
|
@@ -255,6 +263,7 @@ ServiceName = Literal[
|
|
|
255
263
|
"connect",
|
|
256
264
|
"connect-contact-lens",
|
|
257
265
|
"connectcampaigns",
|
|
266
|
+
"connectcampaignsv2",
|
|
258
267
|
"connectcases",
|
|
259
268
|
"connectparticipant",
|
|
260
269
|
"controlcatalog",
|
|
@@ -281,6 +290,7 @@ ServiceName = Literal[
|
|
|
281
290
|
"drs",
|
|
282
291
|
"ds",
|
|
283
292
|
"ds-data",
|
|
293
|
+
"dsql",
|
|
284
294
|
"dynamodb",
|
|
285
295
|
"dynamodbstreams",
|
|
286
296
|
"ebs",
|
|
@@ -337,6 +347,7 @@ ServiceName = Literal[
|
|
|
337
347
|
"inspector-scan",
|
|
338
348
|
"inspector2",
|
|
339
349
|
"internetmonitor",
|
|
350
|
+
"invoicing",
|
|
340
351
|
"iot",
|
|
341
352
|
"iot-data",
|
|
342
353
|
"iot-jobs-data",
|
|
@@ -423,9 +434,13 @@ ServiceName = Literal[
|
|
|
423
434
|
"neptune-graph",
|
|
424
435
|
"neptunedata",
|
|
425
436
|
"network-firewall",
|
|
437
|
+
"networkflowmonitor",
|
|
426
438
|
"networkmanager",
|
|
427
439
|
"networkmonitor",
|
|
440
|
+
"notifications",
|
|
441
|
+
"notificationscontacts",
|
|
428
442
|
"oam",
|
|
443
|
+
"observabilityadmin",
|
|
429
444
|
"omics",
|
|
430
445
|
"opensearch",
|
|
431
446
|
"opensearchserverless",
|
|
@@ -435,6 +450,7 @@ ServiceName = Literal[
|
|
|
435
450
|
"osis",
|
|
436
451
|
"outposts",
|
|
437
452
|
"panorama",
|
|
453
|
+
"partnercentral-selling",
|
|
438
454
|
"payment-cryptography",
|
|
439
455
|
"payment-cryptography-data",
|
|
440
456
|
"pca-connector-ad",
|
|
@@ -485,6 +501,7 @@ ServiceName = Literal[
|
|
|
485
501
|
"s3",
|
|
486
502
|
"s3control",
|
|
487
503
|
"s3outposts",
|
|
504
|
+
"s3tables",
|
|
488
505
|
"sagemaker",
|
|
489
506
|
"sagemaker-a2i-runtime",
|
|
490
507
|
"sagemaker-edge",
|
|
@@ -497,6 +514,7 @@ ServiceName = Literal[
|
|
|
497
514
|
"schemas",
|
|
498
515
|
"sdb",
|
|
499
516
|
"secretsmanager",
|
|
517
|
+
"security-ir",
|
|
500
518
|
"securityhub",
|
|
501
519
|
"securitylake",
|
|
502
520
|
"serverlessrepo",
|
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
|
|
|
@@ -26,23 +26,27 @@ Usage::
|
|
|
26
26
|
query_paginator: QueryPaginator = client.get_paginator("query")
|
|
27
27
|
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
28
28
|
```
|
|
29
|
+
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
29
31
|
"""
|
|
30
32
|
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
31
35
|
import sys
|
|
32
|
-
from typing import
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
33
37
|
|
|
34
38
|
from botocore.paginate import PageIterator, Paginator
|
|
35
39
|
|
|
36
40
|
from .type_defs import (
|
|
37
|
-
|
|
41
|
+
ListBackupsInputPaginateTypeDef,
|
|
38
42
|
ListBackupsOutputTypeDef,
|
|
39
|
-
|
|
43
|
+
ListTablesInputPaginateTypeDef,
|
|
40
44
|
ListTablesOutputTypeDef,
|
|
41
|
-
|
|
45
|
+
ListTagsOfResourceInputPaginateTypeDef,
|
|
42
46
|
ListTagsOfResourceOutputTypeDef,
|
|
43
|
-
|
|
47
|
+
QueryInputPaginateTypeDef,
|
|
44
48
|
QueryOutputTypeDef,
|
|
45
|
-
|
|
49
|
+
ScanInputPaginateTypeDef,
|
|
46
50
|
ScanOutputTypeDef,
|
|
47
51
|
)
|
|
48
52
|
|
|
@@ -61,86 +65,106 @@ __all__ = (
|
|
|
61
65
|
)
|
|
62
66
|
|
|
63
67
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
69
|
-
"""
|
|
70
|
-
Proxy method to specify iterator item type.
|
|
71
|
-
"""
|
|
68
|
+
if TYPE_CHECKING:
|
|
69
|
+
_ListBackupsPaginatorBase = Paginator[ListBackupsOutputTypeDef]
|
|
70
|
+
else:
|
|
71
|
+
_ListBackupsPaginatorBase = Paginator # type: ignore[assignment]
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
class ListBackupsPaginator(
|
|
74
|
+
class ListBackupsPaginator(_ListBackupsPaginatorBase):
|
|
75
75
|
"""
|
|
76
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListBackups)
|
|
76
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups)
|
|
77
77
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
|
-
def paginate(
|
|
81
|
-
self, **kwargs: Unpack[
|
|
82
|
-
) ->
|
|
80
|
+
def paginate( # type: ignore[override]
|
|
81
|
+
self, **kwargs: Unpack[ListBackupsInputPaginateTypeDef]
|
|
82
|
+
) -> PageIterator[ListBackupsOutputTypeDef]:
|
|
83
83
|
"""
|
|
84
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
84
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
85
85
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
86
86
|
"""
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
if TYPE_CHECKING:
|
|
90
|
+
_ListTablesPaginatorBase = Paginator[ListTablesOutputTypeDef]
|
|
91
|
+
else:
|
|
92
|
+
_ListTablesPaginatorBase = Paginator # type: ignore[assignment]
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class ListTablesPaginator(_ListTablesPaginatorBase):
|
|
90
96
|
"""
|
|
91
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTables)
|
|
97
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables)
|
|
92
98
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtablespaginator)
|
|
93
99
|
"""
|
|
94
100
|
|
|
95
|
-
def paginate(
|
|
96
|
-
self, **kwargs: Unpack[
|
|
97
|
-
) ->
|
|
101
|
+
def paginate( # type: ignore[override]
|
|
102
|
+
self, **kwargs: Unpack[ListTablesInputPaginateTypeDef]
|
|
103
|
+
) -> PageIterator[ListTablesOutputTypeDef]:
|
|
98
104
|
"""
|
|
99
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTables.paginate)
|
|
105
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables.paginate)
|
|
100
106
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtablespaginator)
|
|
101
107
|
"""
|
|
102
108
|
|
|
103
109
|
|
|
104
|
-
|
|
110
|
+
if TYPE_CHECKING:
|
|
111
|
+
_ListTagsOfResourcePaginatorBase = Paginator[ListTagsOfResourceOutputTypeDef]
|
|
112
|
+
else:
|
|
113
|
+
_ListTagsOfResourcePaginatorBase = Paginator # type: ignore[assignment]
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class ListTagsOfResourcePaginator(_ListTagsOfResourcePaginatorBase):
|
|
105
117
|
"""
|
|
106
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
118
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
107
119
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
108
120
|
"""
|
|
109
121
|
|
|
110
|
-
def paginate(
|
|
111
|
-
self, **kwargs: Unpack[
|
|
112
|
-
) ->
|
|
122
|
+
def paginate( # type: ignore[override]
|
|
123
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputPaginateTypeDef]
|
|
124
|
+
) -> PageIterator[ListTagsOfResourceOutputTypeDef]:
|
|
113
125
|
"""
|
|
114
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
126
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
115
127
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
116
128
|
"""
|
|
117
129
|
|
|
118
130
|
|
|
119
|
-
|
|
131
|
+
if TYPE_CHECKING:
|
|
132
|
+
_QueryPaginatorBase = Paginator[QueryOutputTypeDef]
|
|
133
|
+
else:
|
|
134
|
+
_QueryPaginatorBase = Paginator # type: ignore[assignment]
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class QueryPaginator(_QueryPaginatorBase):
|
|
120
138
|
"""
|
|
121
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Query)
|
|
139
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query)
|
|
122
140
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#querypaginator)
|
|
123
141
|
"""
|
|
124
142
|
|
|
125
|
-
def paginate(
|
|
126
|
-
self, **kwargs: Unpack[
|
|
127
|
-
) ->
|
|
143
|
+
def paginate( # type: ignore[override]
|
|
144
|
+
self, **kwargs: Unpack[QueryInputPaginateTypeDef]
|
|
145
|
+
) -> PageIterator[QueryOutputTypeDef]:
|
|
128
146
|
"""
|
|
129
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Query.paginate)
|
|
147
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query.paginate)
|
|
130
148
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#querypaginator)
|
|
131
149
|
"""
|
|
132
150
|
|
|
133
151
|
|
|
134
|
-
|
|
152
|
+
if TYPE_CHECKING:
|
|
153
|
+
_ScanPaginatorBase = Paginator[ScanOutputTypeDef]
|
|
154
|
+
else:
|
|
155
|
+
_ScanPaginatorBase = Paginator # type: ignore[assignment]
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class ScanPaginator(_ScanPaginatorBase):
|
|
135
159
|
"""
|
|
136
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Scan)
|
|
160
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan)
|
|
137
161
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#scanpaginator)
|
|
138
162
|
"""
|
|
139
163
|
|
|
140
|
-
def paginate(
|
|
141
|
-
self, **kwargs: Unpack[
|
|
142
|
-
) ->
|
|
164
|
+
def paginate( # type: ignore[override]
|
|
165
|
+
self, **kwargs: Unpack[ScanInputPaginateTypeDef]
|
|
166
|
+
) -> PageIterator[ScanOutputTypeDef]:
|
|
143
167
|
"""
|
|
144
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Scan.paginate)
|
|
168
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan.paginate)
|
|
145
169
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#scanpaginator)
|
|
146
170
|
"""
|
|
@@ -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
|
|
|
@@ -26,23 +26,27 @@ Usage::
|
|
|
26
26
|
query_paginator: QueryPaginator = client.get_paginator("query")
|
|
27
27
|
scan_paginator: ScanPaginator = client.get_paginator("scan")
|
|
28
28
|
```
|
|
29
|
+
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
29
31
|
"""
|
|
30
32
|
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
31
35
|
import sys
|
|
32
|
-
from typing import
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
33
37
|
|
|
34
38
|
from botocore.paginate import PageIterator, Paginator
|
|
35
39
|
|
|
36
40
|
from .type_defs import (
|
|
37
|
-
|
|
41
|
+
ListBackupsInputPaginateTypeDef,
|
|
38
42
|
ListBackupsOutputTypeDef,
|
|
39
|
-
|
|
43
|
+
ListTablesInputPaginateTypeDef,
|
|
40
44
|
ListTablesOutputTypeDef,
|
|
41
|
-
|
|
45
|
+
ListTagsOfResourceInputPaginateTypeDef,
|
|
42
46
|
ListTagsOfResourceOutputTypeDef,
|
|
43
|
-
|
|
47
|
+
QueryInputPaginateTypeDef,
|
|
44
48
|
QueryOutputTypeDef,
|
|
45
|
-
|
|
49
|
+
ScanInputPaginateTypeDef,
|
|
46
50
|
ScanOutputTypeDef,
|
|
47
51
|
)
|
|
48
52
|
|
|
@@ -59,75 +63,92 @@ __all__ = (
|
|
|
59
63
|
"ScanPaginator",
|
|
60
64
|
)
|
|
61
65
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"""
|
|
67
|
-
Proxy method to specify iterator item type.
|
|
68
|
-
"""
|
|
66
|
+
if TYPE_CHECKING:
|
|
67
|
+
_ListBackupsPaginatorBase = Paginator[ListBackupsOutputTypeDef]
|
|
68
|
+
else:
|
|
69
|
+
_ListBackupsPaginatorBase = Paginator # type: ignore[assignment]
|
|
69
70
|
|
|
70
|
-
class ListBackupsPaginator(
|
|
71
|
+
class ListBackupsPaginator(_ListBackupsPaginatorBase):
|
|
71
72
|
"""
|
|
72
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListBackups)
|
|
73
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups)
|
|
73
74
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
74
75
|
"""
|
|
75
|
-
def paginate(
|
|
76
|
-
self, **kwargs: Unpack[
|
|
77
|
-
) ->
|
|
76
|
+
def paginate( # type: ignore[override]
|
|
77
|
+
self, **kwargs: Unpack[ListBackupsInputPaginateTypeDef]
|
|
78
|
+
) -> PageIterator[ListBackupsOutputTypeDef]:
|
|
78
79
|
"""
|
|
79
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
80
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListBackups.html#DynamoDB.Paginator.ListBackups.paginate)
|
|
80
81
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listbackupspaginator)
|
|
81
82
|
"""
|
|
82
83
|
|
|
83
|
-
|
|
84
|
+
if TYPE_CHECKING:
|
|
85
|
+
_ListTablesPaginatorBase = Paginator[ListTablesOutputTypeDef]
|
|
86
|
+
else:
|
|
87
|
+
_ListTablesPaginatorBase = Paginator # type: ignore[assignment]
|
|
88
|
+
|
|
89
|
+
class ListTablesPaginator(_ListTablesPaginatorBase):
|
|
84
90
|
"""
|
|
85
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTables)
|
|
91
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables)
|
|
86
92
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtablespaginator)
|
|
87
93
|
"""
|
|
88
|
-
def paginate(
|
|
89
|
-
self, **kwargs: Unpack[
|
|
90
|
-
) ->
|
|
94
|
+
def paginate( # type: ignore[override]
|
|
95
|
+
self, **kwargs: Unpack[ListTablesInputPaginateTypeDef]
|
|
96
|
+
) -> PageIterator[ListTablesOutputTypeDef]:
|
|
91
97
|
"""
|
|
92
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTables.paginate)
|
|
98
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTables.html#DynamoDB.Paginator.ListTables.paginate)
|
|
93
99
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtablespaginator)
|
|
94
100
|
"""
|
|
95
101
|
|
|
96
|
-
|
|
102
|
+
if TYPE_CHECKING:
|
|
103
|
+
_ListTagsOfResourcePaginatorBase = Paginator[ListTagsOfResourceOutputTypeDef]
|
|
104
|
+
else:
|
|
105
|
+
_ListTagsOfResourcePaginatorBase = Paginator # type: ignore[assignment]
|
|
106
|
+
|
|
107
|
+
class ListTagsOfResourcePaginator(_ListTagsOfResourcePaginatorBase):
|
|
97
108
|
"""
|
|
98
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
109
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource)
|
|
99
110
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
100
111
|
"""
|
|
101
|
-
def paginate(
|
|
102
|
-
self, **kwargs: Unpack[
|
|
103
|
-
) ->
|
|
112
|
+
def paginate( # type: ignore[override]
|
|
113
|
+
self, **kwargs: Unpack[ListTagsOfResourceInputPaginateTypeDef]
|
|
114
|
+
) -> PageIterator[ListTagsOfResourceOutputTypeDef]:
|
|
104
115
|
"""
|
|
105
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
116
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/ListTagsOfResource.html#DynamoDB.Paginator.ListTagsOfResource.paginate)
|
|
106
117
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#listtagsofresourcepaginator)
|
|
107
118
|
"""
|
|
108
119
|
|
|
109
|
-
|
|
120
|
+
if TYPE_CHECKING:
|
|
121
|
+
_QueryPaginatorBase = Paginator[QueryOutputTypeDef]
|
|
122
|
+
else:
|
|
123
|
+
_QueryPaginatorBase = Paginator # type: ignore[assignment]
|
|
124
|
+
|
|
125
|
+
class QueryPaginator(_QueryPaginatorBase):
|
|
110
126
|
"""
|
|
111
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Query)
|
|
127
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query)
|
|
112
128
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#querypaginator)
|
|
113
129
|
"""
|
|
114
|
-
def paginate(
|
|
115
|
-
self, **kwargs: Unpack[
|
|
116
|
-
) ->
|
|
130
|
+
def paginate( # type: ignore[override]
|
|
131
|
+
self, **kwargs: Unpack[QueryInputPaginateTypeDef]
|
|
132
|
+
) -> PageIterator[QueryOutputTypeDef]:
|
|
117
133
|
"""
|
|
118
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Query.paginate)
|
|
134
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Query.html#DynamoDB.Paginator.Query.paginate)
|
|
119
135
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#querypaginator)
|
|
120
136
|
"""
|
|
121
137
|
|
|
122
|
-
|
|
138
|
+
if TYPE_CHECKING:
|
|
139
|
+
_ScanPaginatorBase = Paginator[ScanOutputTypeDef]
|
|
140
|
+
else:
|
|
141
|
+
_ScanPaginatorBase = Paginator # type: ignore[assignment]
|
|
142
|
+
|
|
143
|
+
class ScanPaginator(_ScanPaginatorBase):
|
|
123
144
|
"""
|
|
124
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Scan)
|
|
145
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan)
|
|
125
146
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#scanpaginator)
|
|
126
147
|
"""
|
|
127
|
-
def paginate(
|
|
128
|
-
self, **kwargs: Unpack[
|
|
129
|
-
) ->
|
|
148
|
+
def paginate( # type: ignore[override]
|
|
149
|
+
self, **kwargs: Unpack[ScanInputPaginateTypeDef]
|
|
150
|
+
) -> PageIterator[ScanOutputTypeDef]:
|
|
130
151
|
"""
|
|
131
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb.html#DynamoDB.Paginator.Scan.paginate)
|
|
152
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/paginator/Scan.html#DynamoDB.Paginator.Scan.paginate)
|
|
132
153
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/paginators/#scanpaginator)
|
|
133
154
|
"""
|