types-boto3-codebuild 1.35.71__tar.gz → 1.35.96__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.
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/LICENSE +1 -1
- {types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info → types_boto3_codebuild-1.35.96}/PKG-INFO +63 -11
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/README.md +46 -6
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/setup.py +5 -7
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/__init__.py +1 -1
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/__init__.pyi +1 -1
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/__main__.py +9 -8
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/client.py +45 -43
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/client.pyi +45 -42
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/literals.py +10 -4
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/literals.pyi +10 -4
- types_boto3_codebuild-1.35.71/types_boto3_codebuild/paginator.pyi → types_boto3_codebuild-1.35.96/types_boto3_codebuild/paginator.py +160 -71
- types_boto3_codebuild-1.35.71/types_boto3_codebuild/paginator.py → types_boto3_codebuild-1.35.96/types_boto3_codebuild/paginator.pyi +113 -88
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/type_defs.py +42 -32
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/type_defs.pyi +42 -32
- types_boto3_codebuild-1.35.96/types_boto3_codebuild/version.py +7 -0
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96/types_boto3_codebuild.egg-info}/PKG-INFO +63 -11
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild.egg-info/requires.txt +1 -1
- types_boto3_codebuild-1.35.71/types_boto3_codebuild/version.py +0 -7
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/setup.cfg +0 -0
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/py.typed +0 -0
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild.egg-info/SOURCES.txt +0 -0
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild.egg-info/dependency_links.txt +0 -0
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild.egg-info/not-zip-safe +0 -0
- {types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: types-boto3-codebuild
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3 CodeBuild 1.35.
|
|
3
|
+
Version: 1.35.96
|
|
4
|
+
Summary: Type annotations for boto3 CodeBuild 1.35.96 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
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 codebuild type-annotations
|
|
12
|
+
Keywords: boto3 codebuild boto3-stubs type-annotations mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -30,7 +30,19 @@ 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
|
|
33
|
+
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
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
34
46
|
|
|
35
47
|
<a id="types-boto3-codebuild"></a>
|
|
36
48
|
|
|
@@ -43,7 +55,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
55
|
|
|
44
56
|

|
|
45
57
|
|
|
46
|
-
Type annotations for [boto3 CodeBuild 1.35.
|
|
58
|
+
Type annotations for [boto3 CodeBuild 1.35.96](https://pypi.org/project/boto3/)
|
|
47
59
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
60
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
61
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -51,8 +63,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
51
63
|
[mypy](https://github.com/python/mypy),
|
|
52
64
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
65
|
|
|
54
|
-
Generated
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
66
|
+
Generated with
|
|
67
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
68
|
|
|
57
69
|
More information can be found on
|
|
58
70
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -60,10 +72,11 @@ More information can be found on
|
|
|
60
72
|
|
|
61
73
|
See how it helps you find and fix potential bugs:
|
|
62
74
|
|
|
63
|
-

|
|
64
76
|
|
|
65
77
|
- [types-boto3-codebuild](#types-boto3-codebuild)
|
|
66
78
|
- [How to install](#how-to-install)
|
|
79
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
80
|
- [VSCode extension](#vscode-extension)
|
|
68
81
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
82
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +88,7 @@ See how it helps you find and fix potential bugs:
|
|
|
75
88
|
- [Other IDEs](#other-ides)
|
|
76
89
|
- [mypy](#mypy)
|
|
77
90
|
- [pyright](#pyright)
|
|
91
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
92
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
93
|
- [Client annotations](#client-annotations)
|
|
80
94
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +107,21 @@ See how it helps you find and fix potential bugs:
|
|
|
93
107
|
|
|
94
108
|
## How to install
|
|
95
109
|
|
|
110
|
+
<a id="generate-locally-(recommended)"></a>
|
|
111
|
+
|
|
112
|
+
### Generate locally (recommended)
|
|
113
|
+
|
|
114
|
+
You can generate type annotations for `boto3` package locally with
|
|
115
|
+
`mypy_boto3_builder`. Use
|
|
116
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
117
|
+
isolation.
|
|
118
|
+
|
|
119
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
120
|
+
`uvx --with 'boto3==1.35.96' mypy_boto3_builder`
|
|
121
|
+
2. Select `boto3` AWS SDK.
|
|
122
|
+
3. Add `CodeBuild` service.
|
|
123
|
+
4. Use provided commands to install generated packages.
|
|
124
|
+
|
|
96
125
|
<a id="vscode-extension"></a>
|
|
97
126
|
|
|
98
127
|
### VSCode extension
|
|
@@ -113,12 +142,10 @@ Install `types-boto3` for `CodeBuild` service.
|
|
|
113
142
|
# install with boto3 type annotations
|
|
114
143
|
python -m pip install 'types-boto3[codebuild]'
|
|
115
144
|
|
|
116
|
-
|
|
117
145
|
# Lite version does not provide session.client/resource overloads
|
|
118
146
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
147
|
python -m pip install 'types-boto3-lite[codebuild]'
|
|
120
148
|
|
|
121
|
-
|
|
122
149
|
# standalone installation
|
|
123
150
|
python -m pip install types-boto3-codebuild
|
|
124
151
|
```
|
|
@@ -267,6 +294,31 @@ Optionally, you can install `types-boto3` to `typings` directory.
|
|
|
267
294
|
Type checking should now work. No explicit type annotations required, write
|
|
268
295
|
your `boto3` code as usual.
|
|
269
296
|
|
|
297
|
+
<a id="pylint-compatibility"></a>
|
|
298
|
+
|
|
299
|
+
### Pylint compatibility
|
|
300
|
+
|
|
301
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
302
|
+
`types-boto3-codebuild` dependency in production. However, there is an issue in
|
|
303
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
304
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
305
|
+
|
|
306
|
+
```python
|
|
307
|
+
from typing import TYPE_CHECKING
|
|
308
|
+
|
|
309
|
+
if TYPE_CHECKING:
|
|
310
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
311
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
312
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
313
|
+
else:
|
|
314
|
+
EC2Client = object
|
|
315
|
+
EC2ServiceResource = object
|
|
316
|
+
BundleTaskCompleteWaiter = object
|
|
317
|
+
DescribeVolumesPaginator = object
|
|
318
|
+
|
|
319
|
+
...
|
|
320
|
+
```
|
|
321
|
+
|
|
270
322
|
<a id="explicit-type-annotations"></a>
|
|
271
323
|
|
|
272
324
|
## Explicit type annotations
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 CodeBuild 1.35.
|
|
12
|
+
Type annotations for [boto3 CodeBuild 1.35.96](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
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
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
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -26,10 +26,11 @@ More information can be found on
|
|
|
26
26
|
|
|
27
27
|
See how it helps you find and fix potential bugs:
|
|
28
28
|
|
|
29
|
-

|
|
30
30
|
|
|
31
31
|
- [types-boto3-codebuild](#types-boto3-codebuild)
|
|
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
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -41,6 +42,7 @@ See how it helps you find and fix potential bugs:
|
|
|
41
42
|
- [Other IDEs](#other-ides)
|
|
42
43
|
- [mypy](#mypy)
|
|
43
44
|
- [pyright](#pyright)
|
|
45
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
44
46
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
45
47
|
- [Client annotations](#client-annotations)
|
|
46
48
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -59,6 +61,21 @@ See how it helps you find and fix potential bugs:
|
|
|
59
61
|
|
|
60
62
|
## How to install
|
|
61
63
|
|
|
64
|
+
<a id="generate-locally-(recommended)"></a>
|
|
65
|
+
|
|
66
|
+
### Generate locally (recommended)
|
|
67
|
+
|
|
68
|
+
You can generate type annotations for `boto3` package locally with
|
|
69
|
+
`mypy_boto3_builder`. Use
|
|
70
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
71
|
+
isolation.
|
|
72
|
+
|
|
73
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
+
`uvx --with 'boto3==1.35.96' mypy_boto3_builder`
|
|
75
|
+
2. Select `boto3` AWS SDK.
|
|
76
|
+
3. Add `CodeBuild` service.
|
|
77
|
+
4. Use provided commands to install generated packages.
|
|
78
|
+
|
|
62
79
|
<a id="vscode-extension"></a>
|
|
63
80
|
|
|
64
81
|
### VSCode extension
|
|
@@ -79,12 +96,10 @@ Install `types-boto3` for `CodeBuild` service.
|
|
|
79
96
|
# install with boto3 type annotations
|
|
80
97
|
python -m pip install 'types-boto3[codebuild]'
|
|
81
98
|
|
|
82
|
-
|
|
83
99
|
# Lite version does not provide session.client/resource overloads
|
|
84
100
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
85
101
|
python -m pip install 'types-boto3-lite[codebuild]'
|
|
86
102
|
|
|
87
|
-
|
|
88
103
|
# standalone installation
|
|
89
104
|
python -m pip install types-boto3-codebuild
|
|
90
105
|
```
|
|
@@ -233,6 +248,31 @@ Optionally, you can install `types-boto3` to `typings` directory.
|
|
|
233
248
|
Type checking should now work. No explicit type annotations required, write
|
|
234
249
|
your `boto3` code as usual.
|
|
235
250
|
|
|
251
|
+
<a id="pylint-compatibility"></a>
|
|
252
|
+
|
|
253
|
+
### Pylint compatibility
|
|
254
|
+
|
|
255
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
256
|
+
`types-boto3-codebuild` dependency in production. However, there is an issue in
|
|
257
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
258
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
259
|
+
|
|
260
|
+
```python
|
|
261
|
+
from typing import TYPE_CHECKING
|
|
262
|
+
|
|
263
|
+
if TYPE_CHECKING:
|
|
264
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
265
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
266
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
267
|
+
else:
|
|
268
|
+
EC2Client = object
|
|
269
|
+
EC2ServiceResource = object
|
|
270
|
+
BundleTaskCompleteWaiter = object
|
|
271
|
+
DescribeVolumesPaginator = object
|
|
272
|
+
|
|
273
|
+
...
|
|
274
|
+
```
|
|
275
|
+
|
|
236
276
|
<a id="explicit-type-annotations"></a>
|
|
237
277
|
|
|
238
278
|
## Explicit type annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Setup script for types-boto3-codebuild.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from pathlib import Path
|
|
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="types-boto3-codebuild",
|
|
16
|
-
version="1.35.
|
|
16
|
+
version="1.35.96",
|
|
17
17
|
packages=["types_boto3_codebuild"],
|
|
18
18
|
url="https://github.com/youtype/mypy_boto3_builder",
|
|
19
19
|
license="MIT License",
|
|
20
20
|
author="Vlad Emelianov",
|
|
21
21
|
author_email="vlad.emelianov.nz@gmail.com",
|
|
22
|
-
description="Type annotations for boto3 CodeBuild 1.35.
|
|
22
|
+
description="Type annotations for boto3 CodeBuild 1.35.96 service generated with mypy-boto3-builder 8.8.0",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -39,7 +39,7 @@ setup(
|
|
|
39
39
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
40
40
|
"Typing :: Stubs Only",
|
|
41
41
|
],
|
|
42
|
-
keywords="boto3 codebuild type-annotations
|
|
42
|
+
keywords="boto3 codebuild boto3-stubs type-annotations mypy typeshed autocomplete",
|
|
43
43
|
long_description=LONG_DESCRIPTION,
|
|
44
44
|
long_description_content_type="text/markdown",
|
|
45
45
|
package_data={"types_boto3_codebuild": ["py.typed", "*.pyi"]},
|
|
@@ -49,8 +49,6 @@ setup(
|
|
|
49
49
|
"Source": "https://github.com/youtype/mypy_boto3_builder",
|
|
50
50
|
"Tracker": "https://github.com/youtype/mypy_boto3_builder/issues",
|
|
51
51
|
},
|
|
52
|
-
install_requires=[
|
|
53
|
-
'typing-extensions>=4.1.0; python_version<"3.12"',
|
|
54
|
-
],
|
|
52
|
+
install_requires=['typing-extensions; python_version<"3.12"'],
|
|
55
53
|
zip_safe=False,
|
|
56
54
|
)
|
{types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/__main__.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
import sys
|
|
@@ -11,14 +11,14 @@ def print_info() -> None:
|
|
|
11
11
|
"""
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
|
-
|
|
15
|
-
"Type annotations for boto3 CodeBuild 1.35.
|
|
16
|
-
"Version: 1.35.
|
|
17
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 CodeBuild 1.35.96\n"
|
|
16
|
+
"Version: 1.35.96\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_codebuild//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild.html#codebuild\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
sys.stdout.write("1.35.96\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -34,7 +34,8 @@ def main() -> None:
|
|
|
34
34
|
Main CLI entrypoint.
|
|
35
35
|
"""
|
|
36
36
|
if "--version" in sys.argv:
|
|
37
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
38
39
|
print_info()
|
|
39
40
|
|
|
40
41
|
|
{types_boto3_codebuild-1.35.71 → types_boto3_codebuild-1.35.96}/types_boto3_codebuild/client.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for codebuild service
|
|
2
|
+
Type annotations for codebuild service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: CodeBuildClient = session.client("codebuild")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import (
|
|
25
29
|
DescribeCodeCoveragesPaginator,
|
|
@@ -129,6 +133,12 @@ from .type_defs import (
|
|
|
129
133
|
UpdateWebhookOutputTypeDef,
|
|
130
134
|
)
|
|
131
135
|
|
|
136
|
+
if sys.version_info >= (3, 9):
|
|
137
|
+
from builtins import dict as Dict
|
|
138
|
+
from builtins import type as Type
|
|
139
|
+
from collections.abc import Mapping
|
|
140
|
+
else:
|
|
141
|
+
from typing import Dict, Mapping, Type
|
|
132
142
|
if sys.version_info >= (3, 12):
|
|
133
143
|
from typing import Literal, Unpack
|
|
134
144
|
else:
|
|
@@ -138,15 +148,7 @@ else:
|
|
|
138
148
|
__all__ = ("CodeBuildClient",)
|
|
139
149
|
|
|
140
150
|
|
|
141
|
-
class
|
|
142
|
-
MSG_TEMPLATE: str
|
|
143
|
-
|
|
144
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
145
|
-
self.response: Dict[str, Any]
|
|
146
|
-
self.operation_name: str
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
class Exceptions:
|
|
151
|
+
class Exceptions(BaseClientExceptions):
|
|
150
152
|
AccountLimitExceededException: Type[BotocoreClientError]
|
|
151
153
|
ClientError: Type[BotocoreClientError]
|
|
152
154
|
InvalidInputException: Type[BotocoreClientError]
|
|
@@ -190,12 +192,6 @@ class CodeBuildClient(BaseClient):
|
|
|
190
192
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#generate_presigned_url)
|
|
191
193
|
"""
|
|
192
194
|
|
|
193
|
-
def close(self) -> None:
|
|
194
|
-
"""
|
|
195
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild/client/close.html)
|
|
196
|
-
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#close)
|
|
197
|
-
"""
|
|
198
|
-
|
|
199
195
|
def batch_delete_builds(
|
|
200
196
|
self, **kwargs: Unpack[BatchDeleteBuildsInputRequestTypeDef]
|
|
201
197
|
) -> BatchDeleteBuildsOutputTypeDef:
|
|
@@ -697,8 +693,8 @@ class CodeBuildClient(BaseClient):
|
|
|
697
693
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#update_webhook)
|
|
698
694
|
"""
|
|
699
695
|
|
|
700
|
-
@overload
|
|
701
|
-
def get_paginator(
|
|
696
|
+
@overload # type: ignore[override]
|
|
697
|
+
def get_paginator( # type: ignore[override]
|
|
702
698
|
self, operation_name: Literal["describe_code_coverages"]
|
|
703
699
|
) -> DescribeCodeCoveragesPaginator:
|
|
704
700
|
"""
|
|
@@ -708,8 +704,8 @@ class CodeBuildClient(BaseClient):
|
|
|
708
704
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
709
705
|
"""
|
|
710
706
|
|
|
711
|
-
@overload
|
|
712
|
-
def get_paginator(
|
|
707
|
+
@overload # type: ignore[override]
|
|
708
|
+
def get_paginator( # type: ignore[override]
|
|
713
709
|
self, operation_name: Literal["describe_test_cases"]
|
|
714
710
|
) -> DescribeTestCasesPaginator:
|
|
715
711
|
"""
|
|
@@ -719,8 +715,8 @@ class CodeBuildClient(BaseClient):
|
|
|
719
715
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
720
716
|
"""
|
|
721
717
|
|
|
722
|
-
@overload
|
|
723
|
-
def get_paginator(
|
|
718
|
+
@overload # type: ignore[override]
|
|
719
|
+
def get_paginator( # type: ignore[override]
|
|
724
720
|
self, operation_name: Literal["list_build_batches_for_project"]
|
|
725
721
|
) -> ListBuildBatchesForProjectPaginator:
|
|
726
722
|
"""
|
|
@@ -730,8 +726,8 @@ class CodeBuildClient(BaseClient):
|
|
|
730
726
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
731
727
|
"""
|
|
732
728
|
|
|
733
|
-
@overload
|
|
734
|
-
def get_paginator(
|
|
729
|
+
@overload # type: ignore[override]
|
|
730
|
+
def get_paginator( # type: ignore[override]
|
|
735
731
|
self, operation_name: Literal["list_build_batches"]
|
|
736
732
|
) -> ListBuildBatchesPaginator:
|
|
737
733
|
"""
|
|
@@ -741,8 +737,8 @@ class CodeBuildClient(BaseClient):
|
|
|
741
737
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
742
738
|
"""
|
|
743
739
|
|
|
744
|
-
@overload
|
|
745
|
-
def get_paginator(
|
|
740
|
+
@overload # type: ignore[override]
|
|
741
|
+
def get_paginator( # type: ignore[override]
|
|
746
742
|
self, operation_name: Literal["list_builds_for_project"]
|
|
747
743
|
) -> ListBuildsForProjectPaginator:
|
|
748
744
|
"""
|
|
@@ -752,8 +748,10 @@ class CodeBuildClient(BaseClient):
|
|
|
752
748
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
753
749
|
"""
|
|
754
750
|
|
|
755
|
-
@overload
|
|
756
|
-
def get_paginator(
|
|
751
|
+
@overload # type: ignore[override]
|
|
752
|
+
def get_paginator( # type: ignore[override]
|
|
753
|
+
self, operation_name: Literal["list_builds"]
|
|
754
|
+
) -> ListBuildsPaginator:
|
|
757
755
|
"""
|
|
758
756
|
Create a paginator for an operation.
|
|
759
757
|
|
|
@@ -761,8 +759,10 @@ class CodeBuildClient(BaseClient):
|
|
|
761
759
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
762
760
|
"""
|
|
763
761
|
|
|
764
|
-
@overload
|
|
765
|
-
def get_paginator(
|
|
762
|
+
@overload # type: ignore[override]
|
|
763
|
+
def get_paginator( # type: ignore[override]
|
|
764
|
+
self, operation_name: Literal["list_projects"]
|
|
765
|
+
) -> ListProjectsPaginator:
|
|
766
766
|
"""
|
|
767
767
|
Create a paginator for an operation.
|
|
768
768
|
|
|
@@ -770,8 +770,8 @@ class CodeBuildClient(BaseClient):
|
|
|
770
770
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
771
771
|
"""
|
|
772
772
|
|
|
773
|
-
@overload
|
|
774
|
-
def get_paginator(
|
|
773
|
+
@overload # type: ignore[override]
|
|
774
|
+
def get_paginator( # type: ignore[override]
|
|
775
775
|
self, operation_name: Literal["list_report_groups"]
|
|
776
776
|
) -> ListReportGroupsPaginator:
|
|
777
777
|
"""
|
|
@@ -781,8 +781,8 @@ class CodeBuildClient(BaseClient):
|
|
|
781
781
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
782
782
|
"""
|
|
783
783
|
|
|
784
|
-
@overload
|
|
785
|
-
def get_paginator(
|
|
784
|
+
@overload # type: ignore[override]
|
|
785
|
+
def get_paginator( # type: ignore[override]
|
|
786
786
|
self, operation_name: Literal["list_reports_for_report_group"]
|
|
787
787
|
) -> ListReportsForReportGroupPaginator:
|
|
788
788
|
"""
|
|
@@ -792,8 +792,10 @@ class CodeBuildClient(BaseClient):
|
|
|
792
792
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
793
793
|
"""
|
|
794
794
|
|
|
795
|
-
@overload
|
|
796
|
-
def get_paginator(
|
|
795
|
+
@overload # type: ignore[override]
|
|
796
|
+
def get_paginator( # type: ignore[override]
|
|
797
|
+
self, operation_name: Literal["list_reports"]
|
|
798
|
+
) -> ListReportsPaginator:
|
|
797
799
|
"""
|
|
798
800
|
Create a paginator for an operation.
|
|
799
801
|
|
|
@@ -801,8 +803,8 @@ class CodeBuildClient(BaseClient):
|
|
|
801
803
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
802
804
|
"""
|
|
803
805
|
|
|
804
|
-
@overload
|
|
805
|
-
def get_paginator(
|
|
806
|
+
@overload # type: ignore[override]
|
|
807
|
+
def get_paginator( # type: ignore[override]
|
|
806
808
|
self, operation_name: Literal["list_shared_projects"]
|
|
807
809
|
) -> ListSharedProjectsPaginator:
|
|
808
810
|
"""
|
|
@@ -812,8 +814,8 @@ class CodeBuildClient(BaseClient):
|
|
|
812
814
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/client/#get_paginator)
|
|
813
815
|
"""
|
|
814
816
|
|
|
815
|
-
@overload
|
|
816
|
-
def get_paginator(
|
|
817
|
+
@overload # type: ignore[override]
|
|
818
|
+
def get_paginator( # type: ignore[override]
|
|
817
819
|
self, operation_name: Literal["list_shared_report_groups"]
|
|
818
820
|
) -> ListSharedReportGroupsPaginator:
|
|
819
821
|
"""
|