mypy-boto3-dynamodb 1.35.74__tar.gz → 1.35.94__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.
Files changed (29) hide show
  1. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/LICENSE +1 -1
  2. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/PKG-INFO +25 -12
  3. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/README.md +22 -9
  4. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/__init__.pyi → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/__init__.py +9 -2
  5. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/__init__.py → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/__init__.pyi +6 -4
  6. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/__main__.py +9 -8
  7. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/client.py +40 -33
  8. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/client.pyi +40 -32
  9. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/literals.py +5 -4
  10. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/literals.pyi +5 -4
  11. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/paginator.pyi → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/paginator.py +69 -34
  12. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/paginator.py → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/paginator.pyi +50 -44
  13. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/service_resource.pyi → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/service_resource.py +30 -17
  14. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/service_resource.py → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/service_resource.pyi +23 -24
  15. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/type_defs.py +67 -68
  16. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/type_defs.pyi +63 -62
  17. mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/version.py +7 -0
  18. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/waiter.pyi → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/waiter.py +16 -8
  19. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/waiter.py → mypy_boto3_dynamodb-1.35.94/mypy_boto3_dynamodb/waiter.pyi +11 -13
  20. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb.egg-info/PKG-INFO +25 -12
  21. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb.egg-info/requires.txt +1 -1
  22. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/setup.py +4 -6
  23. mypy_boto3_dynamodb-1.35.74/mypy_boto3_dynamodb/version.py +0 -7
  24. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb/py.typed +0 -0
  25. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb.egg-info/SOURCES.txt +0 -0
  26. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb.egg-info/dependency_links.txt +0 -0
  27. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb.egg-info/not-zip-safe +0 -0
  28. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/mypy_boto3_dynamodb.egg-info/top_level.txt +0 -0
  29. {mypy_boto3_dynamodb-1.35.74 → mypy_boto3_dynamodb-1.35.94}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Vlad Emelianov
3
+ Copyright (c) 2025 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-dynamodb
3
- Version: 1.35.74
4
- Summary: Type annotations for boto3 DynamoDB 1.35.74 service generated with mypy-boto3-builder 8.5.0
3
+ Version: 1.35.94
4
+ Summary: Type annotations for boto3 DynamoDB 1.35.94 service generated with mypy-boto3-builder 8.8.0
5
5
  Home-page: https://github.com/youtype/mypy_boto3_builder
6
6
  Author: Vlad Emelianov
7
7
  Author-email: vlad.emelianov.nz@gmail.com
@@ -30,7 +30,7 @@ Classifier: Typing :: Stubs Only
30
30
  Requires-Python: >=3.8
31
31
  Description-Content-Type: text/markdown
32
32
  License-File: LICENSE
33
- Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
+ Requires-Dist: typing-extensions; python_version < "3.12"
34
34
 
35
35
  <a id="mypy-boto3-dynamodb"></a>
36
36
 
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
43
43
 
44
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
45
 
46
- Type annotations for [boto3 DynamoDB 1.35.74](https://pypi.org/project/boto3/)
46
+ Type annotations for [boto3 DynamoDB 1.35.94](https://pypi.org/project/boto3/)
47
47
  compatible with [VSCode](https://code.visualstudio.com/),
48
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
49
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -51,8 +51,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
51
51
  [mypy](https://github.com/python/mypy),
52
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
53
 
54
- Generated by
55
- [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
54
+ Generated with
55
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
56
56
 
57
57
  More information can be found on
58
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -64,6 +64,7 @@ See how it helps you find and fix potential bugs:
64
64
 
65
65
  - [mypy-boto3-dynamodb](#mypy-boto3-dynamodb)
66
66
  - [How to install](#how-to-install)
67
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
67
68
  - [VSCode extension](#vscode-extension)
68
69
  - [From PyPI with pip](#from-pypi-with-pip)
69
70
  - [From conda-forge](#from-conda-forge)
@@ -99,6 +100,21 @@ See how it helps you find and fix potential bugs:
99
100
 
100
101
  ## How to install
101
102
 
103
+ <a id="generate-locally-(recommended)"></a>
104
+
105
+ ### Generate locally (recommended)
106
+
107
+ You can generate type annotations for `boto3` package locally with
108
+ `mypy_boto3_builder`. Use
109
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
110
+ isolation.
111
+
112
+ 1. Run mypy-boto3-builder in your package root directory:
113
+ `uvx --with 'boto3==1.35.94' mypy_boto3_builder`
114
+ 2. Select `boto3-stubs` AWS SDK.
115
+ 3. Add `DynamoDB` service.
116
+ 4. Use provided commands to install generated packages.
117
+
102
118
  <a id="vscode-extension"></a>
103
119
 
104
120
  ### VSCode extension
@@ -119,12 +135,10 @@ Install `boto3-stubs` for `DynamoDB` service.
119
135
  # install with boto3 type annotations
120
136
  python -m pip install 'boto3-stubs[dynamodb]'
121
137
 
122
-
123
138
  # Lite version does not provide session.client/resource overloads
124
139
  # it is more RAM-friendly, but requires explicit type annotations
125
140
  python -m pip install 'boto3-stubs-lite[dynamodb]'
126
141
 
127
-
128
142
  # standalone installation
129
143
  python -m pip install mypy-boto3-dynamodb
130
144
  ```
@@ -133,8 +147,7 @@ python -m pip install mypy-boto3-dynamodb
133
147
 
134
148
  ### From conda-forge
135
149
 
136
- Installing `mypy-boto3-dynamodb` from the `conda-forge` channel can be achieved
137
- by adding `conda-forge` to your channels with:
150
+ Add `conda-forge` to your channels with:
138
151
 
139
152
  ```bash
140
153
  conda config --add channels conda-forge
@@ -148,8 +161,8 @@ installed with:
148
161
  conda install mypy-boto3-dynamodb
149
162
  ```
150
163
 
151
- It is possible to list all of the versions of `mypy-boto3-dynamodb` available
152
- on your platform with:
164
+ List all available versions of `mypy-boto3-dynamodb` available on your platform
165
+ with:
153
166
 
154
167
  ```bash
155
168
  conda search mypy-boto3-dynamodb --channel conda-forge
@@ -9,7 +9,7 @@
9
9
 
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
- Type annotations for [boto3 DynamoDB 1.35.74](https://pypi.org/project/boto3/)
12
+ Type annotations for [boto3 DynamoDB 1.35.94](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/),
@@ -17,8 +17,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
17
17
  [mypy](https://github.com/python/mypy),
18
18
  [pyright](https://github.com/microsoft/pyright) and other tools.
19
19
 
20
- Generated by
21
- [mypy-boto3-builder 8.5.0](https://github.com/youtype/mypy_boto3_builder).
20
+ Generated with
21
+ [mypy-boto3-builder 8.8.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
@@ -30,6 +30,7 @@ See how it helps you find and fix potential bugs:
30
30
 
31
31
  - [mypy-boto3-dynamodb](#mypy-boto3-dynamodb)
32
32
  - [How to install](#how-to-install)
33
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
33
34
  - [VSCode extension](#vscode-extension)
34
35
  - [From PyPI with pip](#from-pypi-with-pip)
35
36
  - [From conda-forge](#from-conda-forge)
@@ -65,6 +66,21 @@ See how it helps you find and fix potential bugs:
65
66
 
66
67
  ## How to install
67
68
 
69
+ <a id="generate-locally-(recommended)"></a>
70
+
71
+ ### Generate locally (recommended)
72
+
73
+ You can generate type annotations for `boto3` package locally with
74
+ `mypy_boto3_builder`. Use
75
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
76
+ isolation.
77
+
78
+ 1. Run mypy-boto3-builder in your package root directory:
79
+ `uvx --with 'boto3==1.35.94' mypy_boto3_builder`
80
+ 2. Select `boto3-stubs` AWS SDK.
81
+ 3. Add `DynamoDB` service.
82
+ 4. Use provided commands to install generated packages.
83
+
68
84
  <a id="vscode-extension"></a>
69
85
 
70
86
  ### VSCode extension
@@ -85,12 +101,10 @@ Install `boto3-stubs` for `DynamoDB` service.
85
101
  # install with boto3 type annotations
86
102
  python -m pip install 'boto3-stubs[dynamodb]'
87
103
 
88
-
89
104
  # Lite version does not provide session.client/resource overloads
90
105
  # it is more RAM-friendly, but requires explicit type annotations
91
106
  python -m pip install 'boto3-stubs-lite[dynamodb]'
92
107
 
93
-
94
108
  # standalone installation
95
109
  python -m pip install mypy-boto3-dynamodb
96
110
  ```
@@ -99,8 +113,7 @@ python -m pip install mypy-boto3-dynamodb
99
113
 
100
114
  ### From conda-forge
101
115
 
102
- Installing `mypy-boto3-dynamodb` from the `conda-forge` channel can be achieved
103
- by adding `conda-forge` to your channels with:
116
+ Add `conda-forge` to your channels with:
104
117
 
105
118
  ```bash
106
119
  conda config --add channels conda-forge
@@ -114,8 +127,8 @@ installed with:
114
127
  conda install mypy-boto3-dynamodb
115
128
  ```
116
129
 
117
- It is possible to list all of the versions of `mypy-boto3-dynamodb` available
118
- on your platform with:
130
+ List all available versions of `mypy-boto3-dynamodb` available on your platform
131
+ with:
119
132
 
120
133
  ```bash
121
134
  conda search mypy-boto3-dynamodb --channel conda-forge
@@ -34,7 +34,7 @@ Usage::
34
34
  scan_paginator: ScanPaginator = client.get_paginator("scan")
35
35
  ```
36
36
 
37
- Copyright 2024 Vlad Emelianov
37
+ Copyright 2025 Vlad Emelianov
38
38
  """
39
39
 
40
40
  from .client import DynamoDBClient
@@ -45,13 +45,20 @@ 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
 
58
+
53
59
  ServiceResource = DynamoDBServiceResource
54
60
 
61
+
55
62
  __all__ = (
56
63
  "Client",
57
64
  "DynamoDBClient",
@@ -34,7 +34,7 @@ Usage::
34
34
  scan_paginator: ScanPaginator = client.get_paginator("scan")
35
35
  ```
36
36
 
37
- Copyright 2024 Vlad Emelianov
37
+ Copyright 2025 Vlad Emelianov
38
38
  """
39
39
 
40
40
  from .client import DynamoDBClient
@@ -45,15 +45,17 @@ 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
 
51
- Client = DynamoDBClient
50
+ try:
51
+ from .service_resource import DynamoDBServiceResource
52
+ except ImportError:
53
+ from builtins import object as DynamoDBServiceResource # type: ignore[assignment]
52
54
 
55
+ Client = DynamoDBClient
53
56
 
54
57
  ServiceResource = DynamoDBServiceResource
55
58
 
56
-
57
59
  __all__ = (
58
60
  "Client",
59
61
  "DynamoDBClient",
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
3
 
4
- Copyright 2024 Vlad Emelianov
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
- print(
15
- "Type annotations for boto3 DynamoDB 1.35.74\n"
16
- "Version: 1.35.74\n"
17
- "Builder version: 8.5.0\n"
14
+ sys.stdout.write(
15
+ "Type annotations for boto3 DynamoDB 1.35.94\n"
16
+ "Version: 1.35.94\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
- print("1.35.74")
29
+ sys.stdout.write("1.35.94\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
- return print_version()
37
+ print_version()
38
+ return
38
39
  print_info()
39
40
 
40
41
 
@@ -1,7 +1,7 @@
1
1
  """
2
- Type annotations for dynamodb service client.
2
+ Type annotations for dynamodb service Client.
3
3
 
4
- [Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/)
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 2024 Vlad Emelianov
16
+ Copyright 2025 Vlad Emelianov
17
17
  """
18
18
 
19
+ from __future__ import annotations
20
+
19
21
  import sys
20
- from typing import Any, Dict, Mapping, Type, overload
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 BotocoreClientError(Exception):
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(self, operation_name: Literal["list_backups"]) -> ListBackupsPaginator:
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(self, operation_name: Literal["list_tables"]) -> ListTablesPaginator:
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(self, operation_name: Literal["query"]) -> QueryPaginator:
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(self, operation_name: Literal["scan"]) -> ScanPaginator:
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(self, waiter_name: Literal["table_exists"]) -> TableExistsWaiter:
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(self, waiter_name: Literal["table_not_exists"]) -> TableNotExistsWaiter:
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
 
@@ -1,7 +1,7 @@
1
1
  """
2
- Type annotations for dynamodb service client.
2
+ Type annotations for dynamodb service Client.
3
3
 
4
- [Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/client/)
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 2024 Vlad Emelianov
16
+ Copyright 2025 Vlad Emelianov
17
17
  """
18
18
 
19
+ from __future__ import annotations
20
+
19
21
  import sys
20
- from typing import Any, Dict, Mapping, Type, overload
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 BotocoreClientError(Exception):
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(self, operation_name: Literal["list_backups"]) -> ListBackupsPaginator:
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(self, operation_name: Literal["list_tables"]) -> ListTablesPaginator:
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(self, operation_name: Literal["query"]) -> QueryPaginator:
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(self, operation_name: Literal["scan"]) -> ScanPaginator:
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(self, waiter_name: Literal["table_exists"]) -> TableExistsWaiter:
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(self, waiter_name: Literal["table_not_exists"]) -> TableNotExistsWaiter:
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
 
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Type annotations for dynamodb service literal definitions.
3
3
 
4
- [Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_dynamodb/literals/)
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 2024 Vlad Emelianov
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",
@@ -350,8 +353,6 @@ ServiceName = Literal[
350
353
  "iot",
351
354
  "iot-data",
352
355
  "iot-jobs-data",
353
- "iot1click-devices",
354
- "iot1click-projects",
355
356
  "iotanalytics",
356
357
  "iotdeviceadvisor",
357
358
  "iotevents",