mypy-boto3-dynamodb 1.40.56__tar.gz → 1.42.3__tar.gz
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-1.40.56 → mypy_boto3_dynamodb-1.42.3}/PKG-INFO +11 -25
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/README.md +3 -3
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/__main__.py +4 -4
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/client.py +36 -40
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/client.pyi +36 -40
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/literals.py +9 -7
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/literals.pyi +9 -7
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/service_resource.py +9 -13
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/service_resource.pyi +9 -13
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/type_defs.py +110 -116
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/type_defs.pyi +110 -116
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/version.py +1 -1
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb.egg-info/PKG-INFO +11 -25
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb.egg-info/SOURCES.txt +1 -2
- mypy_boto3_dynamodb-1.42.3/pyproject.toml +61 -0
- mypy_boto3_dynamodb-1.40.56/mypy_boto3_dynamodb.egg-info/not-zip-safe +0 -1
- mypy_boto3_dynamodb-1.40.56/setup.py +0 -54
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/LICENSE +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/__init__.py +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/__init__.pyi +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/paginator.py +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/paginator.pyi +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/py.typed +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/waiter.py +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/waiter.pyi +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb.egg-info/requires.txt +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb.egg-info/top_level.txt +0 -0
- {mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/setup.cfg +0 -0
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mypy-boto3-dynamodb
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 DynamoDB 1.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: MIT License
|
|
3
|
+
Version: 1.42.3
|
|
4
|
+
Summary: Type annotations for boto3 DynamoDB 1.42.3 service generated with mypy-boto3-builder 8.12.0
|
|
5
|
+
Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
|
|
9
8
|
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/
|
|
10
9
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
10
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3
|
|
11
|
+
Keywords: boto3,dynamodb,boto3-stubs,type-annotations,mypy,typeshed,autocomplete
|
|
12
|
+
Platform: any
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
16
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
17
16
|
Classifier: Natural Language :: English
|
|
18
17
|
Classifier: Operating System :: OS Independent
|
|
19
18
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -27,23 +25,11 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
27
25
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
28
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
27
|
Classifier: Typing :: Stubs Only
|
|
30
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.9
|
|
31
29
|
Description-Content-Type: text/markdown
|
|
32
30
|
License-File: LICENSE
|
|
33
31
|
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
|
-
Dynamic: author
|
|
35
|
-
Dynamic: author-email
|
|
36
|
-
Dynamic: classifier
|
|
37
|
-
Dynamic: description
|
|
38
|
-
Dynamic: description-content-type
|
|
39
|
-
Dynamic: home-page
|
|
40
|
-
Dynamic: keywords
|
|
41
|
-
Dynamic: license
|
|
42
32
|
Dynamic: license-file
|
|
43
|
-
Dynamic: project-url
|
|
44
|
-
Dynamic: requires-dist
|
|
45
|
-
Dynamic: requires-python
|
|
46
|
-
Dynamic: summary
|
|
47
33
|
|
|
48
34
|
<a id="mypy-boto3-dynamodb"></a>
|
|
49
35
|
|
|
@@ -56,7 +42,7 @@ Dynamic: summary
|
|
|
56
42
|
|
|
57
43
|

|
|
58
44
|
|
|
59
|
-
Type annotations for [boto3 DynamoDB 1.
|
|
45
|
+
Type annotations for [boto3 DynamoDB 1.42.3](https://pypi.org/project/boto3/)
|
|
60
46
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
61
47
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
62
48
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -65,7 +51,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
65
51
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
66
52
|
|
|
67
53
|
Generated with
|
|
68
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
[mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
|
|
69
55
|
|
|
70
56
|
More information can be found on
|
|
71
57
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -123,7 +109,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
123
109
|
isolation.
|
|
124
110
|
|
|
125
111
|
1. Run mypy-boto3-builder in your package root directory:
|
|
126
|
-
`uvx --with 'boto3==1.
|
|
112
|
+
`uvx --with 'boto3==1.42.3' mypy-boto3-builder`
|
|
127
113
|
2. Select `boto3-stubs` AWS SDK.
|
|
128
114
|
3. Add `DynamoDB` service.
|
|
129
115
|
4. Use provided commands to install generated packages.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 DynamoDB 1.
|
|
12
|
+
Type annotations for [boto3 DynamoDB 1.42.3](https://pypi.org/project/boto3/)
|
|
13
13
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
14
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
15
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -18,7 +18,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
18
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
19
19
|
|
|
20
20
|
Generated with
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
|
|
22
22
|
|
|
23
23
|
More information can be found on
|
|
24
24
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -76,7 +76,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
76
76
|
isolation.
|
|
77
77
|
|
|
78
78
|
1. Run mypy-boto3-builder in your package root directory:
|
|
79
|
-
`uvx --with 'boto3==1.
|
|
79
|
+
`uvx --with 'boto3==1.42.3' mypy-boto3-builder`
|
|
80
80
|
2. Select `boto3-stubs` AWS SDK.
|
|
81
81
|
3. Add `DynamoDB` service.
|
|
82
82
|
4. Use provided commands to install generated packages.
|
|
@@ -12,9 +12,9 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 DynamoDB 1.
|
|
16
|
-
"Version: 1.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 DynamoDB 1.42.3\n"
|
|
16
|
+
"Version: 1.42.3\n"
|
|
17
|
+
"Builder version: 8.12.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"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.42.3\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -19,6 +19,7 @@ Usage::
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
22
23
|
from typing import Any, overload
|
|
23
24
|
|
|
24
25
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -146,11 +147,6 @@ from .type_defs import (
|
|
|
146
147
|
)
|
|
147
148
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
148
149
|
|
|
149
|
-
if sys.version_info >= (3, 9):
|
|
150
|
-
from builtins import type as Type
|
|
151
|
-
from collections.abc import Mapping
|
|
152
|
-
else:
|
|
153
|
-
from typing import Mapping, Type
|
|
154
150
|
if sys.version_info >= (3, 12):
|
|
155
151
|
from typing import Literal, Unpack
|
|
156
152
|
else:
|
|
@@ -161,41 +157,41 @@ __all__ = ("DynamoDBClient",)
|
|
|
161
157
|
|
|
162
158
|
|
|
163
159
|
class Exceptions(BaseClientExceptions):
|
|
164
|
-
BackupInUseException:
|
|
165
|
-
BackupNotFoundException:
|
|
166
|
-
ClientError:
|
|
167
|
-
ConditionalCheckFailedException:
|
|
168
|
-
ContinuousBackupsUnavailableException:
|
|
169
|
-
DuplicateItemException:
|
|
170
|
-
ExportConflictException:
|
|
171
|
-
ExportNotFoundException:
|
|
172
|
-
GlobalTableAlreadyExistsException:
|
|
173
|
-
GlobalTableNotFoundException:
|
|
174
|
-
IdempotentParameterMismatchException:
|
|
175
|
-
ImportConflictException:
|
|
176
|
-
ImportNotFoundException:
|
|
177
|
-
IndexNotFoundException:
|
|
178
|
-
InternalServerError:
|
|
179
|
-
InvalidExportTimeException:
|
|
180
|
-
InvalidRestoreTimeException:
|
|
181
|
-
ItemCollectionSizeLimitExceededException:
|
|
182
|
-
LimitExceededException:
|
|
183
|
-
PointInTimeRecoveryUnavailableException:
|
|
184
|
-
PolicyNotFoundException:
|
|
185
|
-
ProvisionedThroughputExceededException:
|
|
186
|
-
ReplicaAlreadyExistsException:
|
|
187
|
-
ReplicaNotFoundException:
|
|
188
|
-
ReplicatedWriteConflictException:
|
|
189
|
-
RequestLimitExceeded:
|
|
190
|
-
ResourceInUseException:
|
|
191
|
-
ResourceNotFoundException:
|
|
192
|
-
TableAlreadyExistsException:
|
|
193
|
-
TableInUseException:
|
|
194
|
-
TableNotFoundException:
|
|
195
|
-
ThrottlingException:
|
|
196
|
-
TransactionCanceledException:
|
|
197
|
-
TransactionConflictException:
|
|
198
|
-
TransactionInProgressException:
|
|
160
|
+
BackupInUseException: type[BotocoreClientError]
|
|
161
|
+
BackupNotFoundException: type[BotocoreClientError]
|
|
162
|
+
ClientError: type[BotocoreClientError]
|
|
163
|
+
ConditionalCheckFailedException: type[BotocoreClientError]
|
|
164
|
+
ContinuousBackupsUnavailableException: type[BotocoreClientError]
|
|
165
|
+
DuplicateItemException: type[BotocoreClientError]
|
|
166
|
+
ExportConflictException: type[BotocoreClientError]
|
|
167
|
+
ExportNotFoundException: type[BotocoreClientError]
|
|
168
|
+
GlobalTableAlreadyExistsException: type[BotocoreClientError]
|
|
169
|
+
GlobalTableNotFoundException: type[BotocoreClientError]
|
|
170
|
+
IdempotentParameterMismatchException: type[BotocoreClientError]
|
|
171
|
+
ImportConflictException: type[BotocoreClientError]
|
|
172
|
+
ImportNotFoundException: type[BotocoreClientError]
|
|
173
|
+
IndexNotFoundException: type[BotocoreClientError]
|
|
174
|
+
InternalServerError: type[BotocoreClientError]
|
|
175
|
+
InvalidExportTimeException: type[BotocoreClientError]
|
|
176
|
+
InvalidRestoreTimeException: type[BotocoreClientError]
|
|
177
|
+
ItemCollectionSizeLimitExceededException: type[BotocoreClientError]
|
|
178
|
+
LimitExceededException: type[BotocoreClientError]
|
|
179
|
+
PointInTimeRecoveryUnavailableException: type[BotocoreClientError]
|
|
180
|
+
PolicyNotFoundException: type[BotocoreClientError]
|
|
181
|
+
ProvisionedThroughputExceededException: type[BotocoreClientError]
|
|
182
|
+
ReplicaAlreadyExistsException: type[BotocoreClientError]
|
|
183
|
+
ReplicaNotFoundException: type[BotocoreClientError]
|
|
184
|
+
ReplicatedWriteConflictException: type[BotocoreClientError]
|
|
185
|
+
RequestLimitExceeded: type[BotocoreClientError]
|
|
186
|
+
ResourceInUseException: type[BotocoreClientError]
|
|
187
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
188
|
+
TableAlreadyExistsException: type[BotocoreClientError]
|
|
189
|
+
TableInUseException: type[BotocoreClientError]
|
|
190
|
+
TableNotFoundException: type[BotocoreClientError]
|
|
191
|
+
ThrottlingException: type[BotocoreClientError]
|
|
192
|
+
TransactionCanceledException: type[BotocoreClientError]
|
|
193
|
+
TransactionConflictException: type[BotocoreClientError]
|
|
194
|
+
TransactionInProgressException: type[BotocoreClientError]
|
|
199
195
|
|
|
200
196
|
|
|
201
197
|
class DynamoDBClient(BaseClient):
|
|
@@ -19,6 +19,7 @@ Usage::
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
22
23
|
from typing import Any, overload
|
|
23
24
|
|
|
24
25
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -146,11 +147,6 @@ from .type_defs import (
|
|
|
146
147
|
)
|
|
147
148
|
from .waiter import TableExistsWaiter, TableNotExistsWaiter
|
|
148
149
|
|
|
149
|
-
if sys.version_info >= (3, 9):
|
|
150
|
-
from builtins import type as Type
|
|
151
|
-
from collections.abc import Mapping
|
|
152
|
-
else:
|
|
153
|
-
from typing import Mapping, Type
|
|
154
150
|
if sys.version_info >= (3, 12):
|
|
155
151
|
from typing import Literal, Unpack
|
|
156
152
|
else:
|
|
@@ -159,41 +155,41 @@ else:
|
|
|
159
155
|
__all__ = ("DynamoDBClient",)
|
|
160
156
|
|
|
161
157
|
class Exceptions(BaseClientExceptions):
|
|
162
|
-
BackupInUseException:
|
|
163
|
-
BackupNotFoundException:
|
|
164
|
-
ClientError:
|
|
165
|
-
ConditionalCheckFailedException:
|
|
166
|
-
ContinuousBackupsUnavailableException:
|
|
167
|
-
DuplicateItemException:
|
|
168
|
-
ExportConflictException:
|
|
169
|
-
ExportNotFoundException:
|
|
170
|
-
GlobalTableAlreadyExistsException:
|
|
171
|
-
GlobalTableNotFoundException:
|
|
172
|
-
IdempotentParameterMismatchException:
|
|
173
|
-
ImportConflictException:
|
|
174
|
-
ImportNotFoundException:
|
|
175
|
-
IndexNotFoundException:
|
|
176
|
-
InternalServerError:
|
|
177
|
-
InvalidExportTimeException:
|
|
178
|
-
InvalidRestoreTimeException:
|
|
179
|
-
ItemCollectionSizeLimitExceededException:
|
|
180
|
-
LimitExceededException:
|
|
181
|
-
PointInTimeRecoveryUnavailableException:
|
|
182
|
-
PolicyNotFoundException:
|
|
183
|
-
ProvisionedThroughputExceededException:
|
|
184
|
-
ReplicaAlreadyExistsException:
|
|
185
|
-
ReplicaNotFoundException:
|
|
186
|
-
ReplicatedWriteConflictException:
|
|
187
|
-
RequestLimitExceeded:
|
|
188
|
-
ResourceInUseException:
|
|
189
|
-
ResourceNotFoundException:
|
|
190
|
-
TableAlreadyExistsException:
|
|
191
|
-
TableInUseException:
|
|
192
|
-
TableNotFoundException:
|
|
193
|
-
ThrottlingException:
|
|
194
|
-
TransactionCanceledException:
|
|
195
|
-
TransactionConflictException:
|
|
196
|
-
TransactionInProgressException:
|
|
158
|
+
BackupInUseException: type[BotocoreClientError]
|
|
159
|
+
BackupNotFoundException: type[BotocoreClientError]
|
|
160
|
+
ClientError: type[BotocoreClientError]
|
|
161
|
+
ConditionalCheckFailedException: type[BotocoreClientError]
|
|
162
|
+
ContinuousBackupsUnavailableException: type[BotocoreClientError]
|
|
163
|
+
DuplicateItemException: type[BotocoreClientError]
|
|
164
|
+
ExportConflictException: type[BotocoreClientError]
|
|
165
|
+
ExportNotFoundException: type[BotocoreClientError]
|
|
166
|
+
GlobalTableAlreadyExistsException: type[BotocoreClientError]
|
|
167
|
+
GlobalTableNotFoundException: type[BotocoreClientError]
|
|
168
|
+
IdempotentParameterMismatchException: type[BotocoreClientError]
|
|
169
|
+
ImportConflictException: type[BotocoreClientError]
|
|
170
|
+
ImportNotFoundException: type[BotocoreClientError]
|
|
171
|
+
IndexNotFoundException: type[BotocoreClientError]
|
|
172
|
+
InternalServerError: type[BotocoreClientError]
|
|
173
|
+
InvalidExportTimeException: type[BotocoreClientError]
|
|
174
|
+
InvalidRestoreTimeException: type[BotocoreClientError]
|
|
175
|
+
ItemCollectionSizeLimitExceededException: type[BotocoreClientError]
|
|
176
|
+
LimitExceededException: type[BotocoreClientError]
|
|
177
|
+
PointInTimeRecoveryUnavailableException: type[BotocoreClientError]
|
|
178
|
+
PolicyNotFoundException: type[BotocoreClientError]
|
|
179
|
+
ProvisionedThroughputExceededException: type[BotocoreClientError]
|
|
180
|
+
ReplicaAlreadyExistsException: type[BotocoreClientError]
|
|
181
|
+
ReplicaNotFoundException: type[BotocoreClientError]
|
|
182
|
+
ReplicatedWriteConflictException: type[BotocoreClientError]
|
|
183
|
+
RequestLimitExceeded: type[BotocoreClientError]
|
|
184
|
+
ResourceInUseException: type[BotocoreClientError]
|
|
185
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
186
|
+
TableAlreadyExistsException: type[BotocoreClientError]
|
|
187
|
+
TableInUseException: type[BotocoreClientError]
|
|
188
|
+
TableNotFoundException: type[BotocoreClientError]
|
|
189
|
+
ThrottlingException: type[BotocoreClientError]
|
|
190
|
+
TransactionCanceledException: type[BotocoreClientError]
|
|
191
|
+
TransactionConflictException: type[BotocoreClientError]
|
|
192
|
+
TransactionInProgressException: type[BotocoreClientError]
|
|
197
193
|
|
|
198
194
|
class DynamoDBClient(BaseClient):
|
|
199
195
|
"""
|
|
@@ -205,7 +205,6 @@ ServiceName = Literal[
|
|
|
205
205
|
"apprunner",
|
|
206
206
|
"appstream",
|
|
207
207
|
"appsync",
|
|
208
|
-
"apptest",
|
|
209
208
|
"arc-region-switch",
|
|
210
209
|
"arc-zonal-shift",
|
|
211
210
|
"artifact",
|
|
@@ -275,6 +274,7 @@ ServiceName = Literal[
|
|
|
275
274
|
"comprehend",
|
|
276
275
|
"comprehendmedical",
|
|
277
276
|
"compute-optimizer",
|
|
277
|
+
"compute-optimizer-automation",
|
|
278
278
|
"config",
|
|
279
279
|
"connect",
|
|
280
280
|
"connect-contact-lens",
|
|
@@ -373,7 +373,6 @@ ServiceName = Literal[
|
|
|
373
373
|
"iotdeviceadvisor",
|
|
374
374
|
"iotevents",
|
|
375
375
|
"iotevents-data",
|
|
376
|
-
"iotfleethub",
|
|
377
376
|
"iotfleetwise",
|
|
378
377
|
"iotsecuretunneling",
|
|
379
378
|
"iotsitewise",
|
|
@@ -412,8 +411,6 @@ ServiceName = Literal[
|
|
|
412
411
|
"location",
|
|
413
412
|
"logs",
|
|
414
413
|
"lookoutequipment",
|
|
415
|
-
"lookoutmetrics",
|
|
416
|
-
"lookoutvision",
|
|
417
414
|
"m2",
|
|
418
415
|
"machinelearning",
|
|
419
416
|
"macie2",
|
|
@@ -448,6 +445,7 @@ ServiceName = Literal[
|
|
|
448
445
|
"mq",
|
|
449
446
|
"mturk",
|
|
450
447
|
"mwaa",
|
|
448
|
+
"mwaa-serverless",
|
|
451
449
|
"neptune",
|
|
452
450
|
"neptune-graph",
|
|
453
451
|
"neptunedata",
|
|
@@ -457,6 +455,7 @@ ServiceName = Literal[
|
|
|
457
455
|
"networkmonitor",
|
|
458
456
|
"notifications",
|
|
459
457
|
"notificationscontacts",
|
|
458
|
+
"nova-act",
|
|
460
459
|
"oam",
|
|
461
460
|
"observabilityadmin",
|
|
462
461
|
"odb",
|
|
@@ -467,6 +466,9 @@ ServiceName = Literal[
|
|
|
467
466
|
"osis",
|
|
468
467
|
"outposts",
|
|
469
468
|
"panorama",
|
|
469
|
+
"partnercentral-account",
|
|
470
|
+
"partnercentral-benefits",
|
|
471
|
+
"partnercentral-channel",
|
|
470
472
|
"partnercentral-selling",
|
|
471
473
|
"payment-cryptography",
|
|
472
474
|
"payment-cryptography-data",
|
|
@@ -488,8 +490,6 @@ ServiceName = Literal[
|
|
|
488
490
|
"qapps",
|
|
489
491
|
"qbusiness",
|
|
490
492
|
"qconnect",
|
|
491
|
-
"qldb",
|
|
492
|
-
"qldb-session",
|
|
493
493
|
"quicksight",
|
|
494
494
|
"ram",
|
|
495
495
|
"rbin",
|
|
@@ -504,15 +504,16 @@ ServiceName = Literal[
|
|
|
504
504
|
"resource-explorer-2",
|
|
505
505
|
"resource-groups",
|
|
506
506
|
"resourcegroupstaggingapi",
|
|
507
|
-
"robomaker",
|
|
508
507
|
"rolesanywhere",
|
|
509
508
|
"route53",
|
|
510
509
|
"route53-recovery-cluster",
|
|
511
510
|
"route53-recovery-control-config",
|
|
512
511
|
"route53-recovery-readiness",
|
|
513
512
|
"route53domains",
|
|
513
|
+
"route53globalresolver",
|
|
514
514
|
"route53profiles",
|
|
515
515
|
"route53resolver",
|
|
516
|
+
"rtbfabric",
|
|
516
517
|
"rum",
|
|
517
518
|
"s3",
|
|
518
519
|
"s3control",
|
|
@@ -543,6 +544,7 @@ ServiceName = Literal[
|
|
|
543
544
|
"sesv2",
|
|
544
545
|
"shield",
|
|
545
546
|
"signer",
|
|
547
|
+
"signin",
|
|
546
548
|
"simspaceweaver",
|
|
547
549
|
"snow-device-management",
|
|
548
550
|
"snowball",
|
|
@@ -203,7 +203,6 @@ ServiceName = Literal[
|
|
|
203
203
|
"apprunner",
|
|
204
204
|
"appstream",
|
|
205
205
|
"appsync",
|
|
206
|
-
"apptest",
|
|
207
206
|
"arc-region-switch",
|
|
208
207
|
"arc-zonal-shift",
|
|
209
208
|
"artifact",
|
|
@@ -273,6 +272,7 @@ ServiceName = Literal[
|
|
|
273
272
|
"comprehend",
|
|
274
273
|
"comprehendmedical",
|
|
275
274
|
"compute-optimizer",
|
|
275
|
+
"compute-optimizer-automation",
|
|
276
276
|
"config",
|
|
277
277
|
"connect",
|
|
278
278
|
"connect-contact-lens",
|
|
@@ -371,7 +371,6 @@ ServiceName = Literal[
|
|
|
371
371
|
"iotdeviceadvisor",
|
|
372
372
|
"iotevents",
|
|
373
373
|
"iotevents-data",
|
|
374
|
-
"iotfleethub",
|
|
375
374
|
"iotfleetwise",
|
|
376
375
|
"iotsecuretunneling",
|
|
377
376
|
"iotsitewise",
|
|
@@ -410,8 +409,6 @@ ServiceName = Literal[
|
|
|
410
409
|
"location",
|
|
411
410
|
"logs",
|
|
412
411
|
"lookoutequipment",
|
|
413
|
-
"lookoutmetrics",
|
|
414
|
-
"lookoutvision",
|
|
415
412
|
"m2",
|
|
416
413
|
"machinelearning",
|
|
417
414
|
"macie2",
|
|
@@ -446,6 +443,7 @@ ServiceName = Literal[
|
|
|
446
443
|
"mq",
|
|
447
444
|
"mturk",
|
|
448
445
|
"mwaa",
|
|
446
|
+
"mwaa-serverless",
|
|
449
447
|
"neptune",
|
|
450
448
|
"neptune-graph",
|
|
451
449
|
"neptunedata",
|
|
@@ -455,6 +453,7 @@ ServiceName = Literal[
|
|
|
455
453
|
"networkmonitor",
|
|
456
454
|
"notifications",
|
|
457
455
|
"notificationscontacts",
|
|
456
|
+
"nova-act",
|
|
458
457
|
"oam",
|
|
459
458
|
"observabilityadmin",
|
|
460
459
|
"odb",
|
|
@@ -465,6 +464,9 @@ ServiceName = Literal[
|
|
|
465
464
|
"osis",
|
|
466
465
|
"outposts",
|
|
467
466
|
"panorama",
|
|
467
|
+
"partnercentral-account",
|
|
468
|
+
"partnercentral-benefits",
|
|
469
|
+
"partnercentral-channel",
|
|
468
470
|
"partnercentral-selling",
|
|
469
471
|
"payment-cryptography",
|
|
470
472
|
"payment-cryptography-data",
|
|
@@ -486,8 +488,6 @@ ServiceName = Literal[
|
|
|
486
488
|
"qapps",
|
|
487
489
|
"qbusiness",
|
|
488
490
|
"qconnect",
|
|
489
|
-
"qldb",
|
|
490
|
-
"qldb-session",
|
|
491
491
|
"quicksight",
|
|
492
492
|
"ram",
|
|
493
493
|
"rbin",
|
|
@@ -502,15 +502,16 @@ ServiceName = Literal[
|
|
|
502
502
|
"resource-explorer-2",
|
|
503
503
|
"resource-groups",
|
|
504
504
|
"resourcegroupstaggingapi",
|
|
505
|
-
"robomaker",
|
|
506
505
|
"rolesanywhere",
|
|
507
506
|
"route53",
|
|
508
507
|
"route53-recovery-cluster",
|
|
509
508
|
"route53-recovery-control-config",
|
|
510
509
|
"route53-recovery-readiness",
|
|
511
510
|
"route53domains",
|
|
511
|
+
"route53globalresolver",
|
|
512
512
|
"route53profiles",
|
|
513
513
|
"route53resolver",
|
|
514
|
+
"rtbfabric",
|
|
514
515
|
"rum",
|
|
515
516
|
"s3",
|
|
516
517
|
"s3control",
|
|
@@ -541,6 +542,7 @@ ServiceName = Literal[
|
|
|
541
542
|
"sesv2",
|
|
542
543
|
"shield",
|
|
543
544
|
"signer",
|
|
545
|
+
"signin",
|
|
544
546
|
"simspaceweaver",
|
|
545
547
|
"snow-device-management",
|
|
546
548
|
"snowball",
|
{mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/service_resource.py
RENAMED
|
@@ -23,6 +23,7 @@ Usage::
|
|
|
23
23
|
from __future__ import annotations
|
|
24
24
|
|
|
25
25
|
import sys
|
|
26
|
+
from collections.abc import Iterator, Sequence
|
|
26
27
|
from datetime import datetime
|
|
27
28
|
|
|
28
29
|
from boto3.dynamodb.table import BatchWriter
|
|
@@ -68,11 +69,6 @@ from .type_defs import (
|
|
|
68
69
|
UpdateTableInputTableUpdateTypeDef,
|
|
69
70
|
)
|
|
70
71
|
|
|
71
|
-
if sys.version_info >= (3, 9):
|
|
72
|
-
from builtins import list as List
|
|
73
|
-
from collections.abc import Iterator, Sequence
|
|
74
|
-
else:
|
|
75
|
-
from typing import Iterator, List, Sequence
|
|
76
72
|
if sys.version_info >= (3, 12):
|
|
77
73
|
from typing import Unpack
|
|
78
74
|
else:
|
|
@@ -125,7 +121,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
|
|
|
125
121
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
|
|
126
122
|
"""
|
|
127
123
|
|
|
128
|
-
def pages(self) -> Iterator[
|
|
124
|
+
def pages(self) -> Iterator[list[Table]]:
|
|
129
125
|
"""
|
|
130
126
|
A generator which yields pages of Tables.
|
|
131
127
|
|
|
@@ -149,9 +145,9 @@ class Table(ServiceResource):
|
|
|
149
145
|
"""
|
|
150
146
|
|
|
151
147
|
name: str
|
|
152
|
-
attribute_definitions:
|
|
148
|
+
attribute_definitions: list[AttributeDefinitionTypeDef]
|
|
153
149
|
table_name: str
|
|
154
|
-
key_schema:
|
|
150
|
+
key_schema: list[KeySchemaElementTypeDef]
|
|
155
151
|
table_status: TableStatusType
|
|
156
152
|
creation_date_time: datetime
|
|
157
153
|
provisioned_throughput: ProvisionedThroughputDescriptionTypeDef
|
|
@@ -160,14 +156,14 @@ class Table(ServiceResource):
|
|
|
160
156
|
table_arn: str
|
|
161
157
|
table_id: str
|
|
162
158
|
billing_mode_summary: BillingModeSummaryTypeDef
|
|
163
|
-
local_secondary_indexes:
|
|
164
|
-
global_secondary_indexes:
|
|
159
|
+
local_secondary_indexes: list[LocalSecondaryIndexDescriptionTypeDef]
|
|
160
|
+
global_secondary_indexes: list[GlobalSecondaryIndexDescriptionTypeDef]
|
|
165
161
|
stream_specification: StreamSpecificationTypeDef
|
|
166
162
|
latest_stream_label: str
|
|
167
163
|
latest_stream_arn: str
|
|
168
164
|
global_table_version: str
|
|
169
|
-
replicas:
|
|
170
|
-
global_table_witnesses:
|
|
165
|
+
replicas: list[ReplicaDescriptionTypeDef]
|
|
166
|
+
global_table_witnesses: list[GlobalTableWitnessDescriptionTypeDef]
|
|
171
167
|
restore_summary: RestoreSummaryTypeDef
|
|
172
168
|
sse_description: SSEDescriptionTypeDef
|
|
173
169
|
archival_summary: ArchivalSummaryTypeDef
|
|
@@ -279,7 +275,7 @@ class Table(ServiceResource):
|
|
|
279
275
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablewait_until_not_exists-method)
|
|
280
276
|
"""
|
|
281
277
|
|
|
282
|
-
def batch_writer(self, overwrite_by_pkeys:
|
|
278
|
+
def batch_writer(self, overwrite_by_pkeys: list[str] = ...) -> BatchWriter:
|
|
283
279
|
"""
|
|
284
280
|
Create a batch writer object.
|
|
285
281
|
|
{mypy_boto3_dynamodb-1.40.56 → mypy_boto3_dynamodb-1.42.3}/mypy_boto3_dynamodb/service_resource.pyi
RENAMED
|
@@ -23,6 +23,7 @@ Usage::
|
|
|
23
23
|
from __future__ import annotations
|
|
24
24
|
|
|
25
25
|
import sys
|
|
26
|
+
from collections.abc import Iterator, Sequence
|
|
26
27
|
from datetime import datetime
|
|
27
28
|
|
|
28
29
|
from boto3.dynamodb.table import BatchWriter
|
|
@@ -68,11 +69,6 @@ from .type_defs import (
|
|
|
68
69
|
UpdateTableInputTableUpdateTypeDef,
|
|
69
70
|
)
|
|
70
71
|
|
|
71
|
-
if sys.version_info >= (3, 9):
|
|
72
|
-
from builtins import list as List
|
|
73
|
-
from collections.abc import Iterator, Sequence
|
|
74
|
-
else:
|
|
75
|
-
from typing import Iterator, List, Sequence
|
|
76
72
|
if sys.version_info >= (3, 12):
|
|
77
73
|
from typing import Unpack
|
|
78
74
|
else:
|
|
@@ -122,7 +118,7 @@ class ServiceResourceTablesCollection(ResourceCollection):
|
|
|
122
118
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#serviceresourcetablescollection)
|
|
123
119
|
"""
|
|
124
120
|
|
|
125
|
-
def pages(self) -> Iterator[
|
|
121
|
+
def pages(self) -> Iterator[list[Table]]:
|
|
126
122
|
"""
|
|
127
123
|
A generator which yields pages of Tables.
|
|
128
124
|
|
|
@@ -145,9 +141,9 @@ class Table(ServiceResource):
|
|
|
145
141
|
"""
|
|
146
142
|
|
|
147
143
|
name: str
|
|
148
|
-
attribute_definitions:
|
|
144
|
+
attribute_definitions: list[AttributeDefinitionTypeDef]
|
|
149
145
|
table_name: str
|
|
150
|
-
key_schema:
|
|
146
|
+
key_schema: list[KeySchemaElementTypeDef]
|
|
151
147
|
table_status: TableStatusType
|
|
152
148
|
creation_date_time: datetime
|
|
153
149
|
provisioned_throughput: ProvisionedThroughputDescriptionTypeDef
|
|
@@ -156,14 +152,14 @@ class Table(ServiceResource):
|
|
|
156
152
|
table_arn: str
|
|
157
153
|
table_id: str
|
|
158
154
|
billing_mode_summary: BillingModeSummaryTypeDef
|
|
159
|
-
local_secondary_indexes:
|
|
160
|
-
global_secondary_indexes:
|
|
155
|
+
local_secondary_indexes: list[LocalSecondaryIndexDescriptionTypeDef]
|
|
156
|
+
global_secondary_indexes: list[GlobalSecondaryIndexDescriptionTypeDef]
|
|
161
157
|
stream_specification: StreamSpecificationTypeDef
|
|
162
158
|
latest_stream_label: str
|
|
163
159
|
latest_stream_arn: str
|
|
164
160
|
global_table_version: str
|
|
165
|
-
replicas:
|
|
166
|
-
global_table_witnesses:
|
|
161
|
+
replicas: list[ReplicaDescriptionTypeDef]
|
|
162
|
+
global_table_witnesses: list[GlobalTableWitnessDescriptionTypeDef]
|
|
167
163
|
restore_summary: RestoreSummaryTypeDef
|
|
168
164
|
sse_description: SSEDescriptionTypeDef
|
|
169
165
|
archival_summary: ArchivalSummaryTypeDef
|
|
@@ -275,7 +271,7 @@ class Table(ServiceResource):
|
|
|
275
271
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/service_resource/#tablewait_until_not_exists-method)
|
|
276
272
|
"""
|
|
277
273
|
|
|
278
|
-
def batch_writer(self, overwrite_by_pkeys:
|
|
274
|
+
def batch_writer(self, overwrite_by_pkeys: list[str] = ...) -> BatchWriter:
|
|
279
275
|
"""
|
|
280
276
|
Create a batch writer object.
|
|
281
277
|
|