types-boto3-codebuild 1.35.71__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 (24) hide show
  1. types_boto3_codebuild-1.35.71/LICENSE +21 -0
  2. types_boto3_codebuild-1.35.71/PKG-INFO +465 -0
  3. types_boto3_codebuild-1.35.71/README.md +431 -0
  4. types_boto3_codebuild-1.35.71/setup.cfg +4 -0
  5. types_boto3_codebuild-1.35.71/setup.py +56 -0
  6. types_boto3_codebuild-1.35.71/types_boto3_codebuild/__init__.py +79 -0
  7. types_boto3_codebuild-1.35.71/types_boto3_codebuild/__init__.pyi +78 -0
  8. types_boto3_codebuild-1.35.71/types_boto3_codebuild/__main__.py +42 -0
  9. types_boto3_codebuild-1.35.71/types_boto3_codebuild/client.py +824 -0
  10. types_boto3_codebuild-1.35.71/types_boto3_codebuild/client.pyi +820 -0
  11. types_boto3_codebuild-1.35.71/types_boto3_codebuild/literals.py +703 -0
  12. types_boto3_codebuild-1.35.71/types_boto3_codebuild/literals.pyi +701 -0
  13. types_boto3_codebuild-1.35.71/types_boto3_codebuild/paginator.py +290 -0
  14. types_boto3_codebuild-1.35.71/types_boto3_codebuild/paginator.pyi +263 -0
  15. types_boto3_codebuild-1.35.71/types_boto3_codebuild/py.typed +0 -0
  16. types_boto3_codebuild-1.35.71/types_boto3_codebuild/type_defs.py +1676 -0
  17. types_boto3_codebuild-1.35.71/types_boto3_codebuild/type_defs.pyi +1515 -0
  18. types_boto3_codebuild-1.35.71/types_boto3_codebuild/version.py +7 -0
  19. types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info/PKG-INFO +465 -0
  20. types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info/SOURCES.txt +22 -0
  21. types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info/dependency_links.txt +1 -0
  22. types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info/not-zip-safe +1 -0
  23. types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info/requires.txt +3 -0
  24. types_boto3_codebuild-1.35.71/types_boto3_codebuild.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Vlad Emelianov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,465 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-boto3-codebuild
3
+ Version: 1.35.71
4
+ Summary: Type annotations for boto3 CodeBuild 1.35.71 service generated with mypy-boto3-builder 8.4.1
5
+ Home-page: https://github.com/youtype/mypy_boto3_builder
6
+ Author: Vlad Emelianov
7
+ Author-email: vlad.emelianov.nz@gmail.com
8
+ License: MIT License
9
+ Project-URL: Documentation, https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/
10
+ Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
+ Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
+ Keywords: boto3 codebuild type-annotations botocore mypy typeshed autocomplete
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Environment :: Console
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Natural Language :: English
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
+ Classifier: Programming Language :: Python :: 3 :: Only
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
34
+
35
+ <a id="types-boto3-codebuild"></a>
36
+
37
+ # types-boto3-codebuild
38
+
39
+ [![PyPI - types-boto3-codebuild](https://img.shields.io/pypi/v/types-boto3-codebuild.svg?color=blue)](https://pypi.org/project/types-boto3-codebuild/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-codebuild.svg?color=blue)](https://pypi.org/project/types-boto3-codebuild/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_boto3_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-boto3-codebuild)](https://pypistats.org/packages/types-boto3-codebuild)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for [boto3 CodeBuild 1.35.71](https://pypi.org/project/boto3/)
47
+ compatible with [VSCode](https://code.visualstudio.com/),
48
+ [PyCharm](https://www.jetbrains.com/pycharm/),
49
+ [Emacs](https://www.gnu.org/software/emacs/),
50
+ [Sublime Text](https://www.sublimetext.com/),
51
+ [mypy](https://github.com/python/mypy),
52
+ [pyright](https://github.com/microsoft/pyright) and other tools.
53
+
54
+ Generated by
55
+ [mypy-boto3-builder 8.4.1](https://github.com/youtype/mypy_boto3_builder).
56
+
57
+ More information can be found on
58
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
59
+ [types-boto3-codebuild docs](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/).
60
+
61
+ See how it helps you find and fix potential bugs:
62
+
63
+ ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
+
65
+ - [types-boto3-codebuild](#types-boto3-codebuild)
66
+ - [How to install](#how-to-install)
67
+ - [VSCode extension](#vscode-extension)
68
+ - [From PyPI with pip](#from-pypi-with-pip)
69
+ - [How to uninstall](#how-to-uninstall)
70
+ - [Usage](#usage)
71
+ - [VSCode](#vscode)
72
+ - [PyCharm](#pycharm)
73
+ - [Emacs](#emacs)
74
+ - [Sublime Text](#sublime-text)
75
+ - [Other IDEs](#other-ides)
76
+ - [mypy](#mypy)
77
+ - [pyright](#pyright)
78
+ - [Explicit type annotations](#explicit-type-annotations)
79
+ - [Client annotations](#client-annotations)
80
+ - [Paginators annotations](#paginators-annotations)
81
+ - [Literals](#literals)
82
+ - [Type definitions](#type-definitions)
83
+ - [How it works](#how-it-works)
84
+ - [What's new](#what's-new)
85
+ - [Implemented features](#implemented-features)
86
+ - [Latest changes](#latest-changes)
87
+ - [Versioning](#versioning)
88
+ - [Thank you](#thank-you)
89
+ - [Documentation](#documentation)
90
+ - [Support and contributing](#support-and-contributing)
91
+
92
+ <a id="how-to-install"></a>
93
+
94
+ ## How to install
95
+
96
+ <a id="vscode-extension"></a>
97
+
98
+ ### VSCode extension
99
+
100
+ Add
101
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
102
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
103
+
104
+ Click `Modify` and select `boto3 common` and `CodeBuild`.
105
+
106
+ <a id="from-pypi-with-pip"></a>
107
+
108
+ ### From PyPI with pip
109
+
110
+ Install `types-boto3` for `CodeBuild` service.
111
+
112
+ ```bash
113
+ # install with boto3 type annotations
114
+ python -m pip install 'types-boto3[codebuild]'
115
+
116
+
117
+ # Lite version does not provide session.client/resource overloads
118
+ # it is more RAM-friendly, but requires explicit type annotations
119
+ python -m pip install 'types-boto3-lite[codebuild]'
120
+
121
+
122
+ # standalone installation
123
+ python -m pip install types-boto3-codebuild
124
+ ```
125
+
126
+ <a id="how-to-uninstall"></a>
127
+
128
+ ## How to uninstall
129
+
130
+ ```bash
131
+ python -m pip uninstall -y types-boto3-codebuild
132
+ ```
133
+
134
+ <a id="usage"></a>
135
+
136
+ ## Usage
137
+
138
+ <a id="vscode"></a>
139
+
140
+ ### VSCode
141
+
142
+ - Install
143
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
144
+ - Install
145
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
146
+ - Set `Pylance` as your Python Language Server
147
+ - Install `types-boto3[codebuild]` in your environment:
148
+
149
+ ```bash
150
+ python -m pip install 'types-boto3[codebuild]'
151
+ ```
152
+
153
+ Both type checking and code completion should now work. No explicit type
154
+ annotations required, write your `boto3` code as usual.
155
+
156
+ <a id="pycharm"></a>
157
+
158
+ ### PyCharm
159
+
160
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
161
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
162
+ > to use [types-boto3-lite](https://pypi.org/project/types-boto3-lite/) until
163
+ > the issue is resolved.
164
+
165
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
166
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
167
+ > [pyright](https://github.com/microsoft/pyright) instead.
168
+
169
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
170
+ > `types-boto3` with
171
+ > [types-boto3-lite](https://pypi.org/project/types-boto3-lite/):
172
+
173
+ ```bash
174
+ pip uninstall types-boto3
175
+ pip install types-boto3-lite
176
+ ```
177
+
178
+ Install `types-boto3[codebuild]` in your environment:
179
+
180
+ ```bash
181
+ python -m pip install 'types-boto3[codebuild]'
182
+ ```
183
+
184
+ Both type checking and code completion should now work.
185
+
186
+ <a id="emacs"></a>
187
+
188
+ ### Emacs
189
+
190
+ - Install `types-boto3` with services you use in your environment:
191
+
192
+ ```bash
193
+ python -m pip install 'types-boto3[codebuild]'
194
+ ```
195
+
196
+ - Install [use-package](https://github.com/jwiegley/use-package),
197
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
198
+ [company](https://github.com/company-mode/company-mode) and
199
+ [flycheck](https://github.com/flycheck/flycheck) packages
200
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
201
+
202
+ ```elisp
203
+ (use-package lsp-pyright
204
+ :ensure t
205
+ :hook (python-mode . (lambda ()
206
+ (require 'lsp-pyright)
207
+ (lsp))) ; or lsp-deferred
208
+ :init (when (executable-find "python3")
209
+ (setq lsp-pyright-python-executable-cmd "python3"))
210
+ )
211
+ ```
212
+
213
+ - Make sure emacs uses the environment where you have installed `types-boto3`
214
+
215
+ Type checking should now work. No explicit type annotations required, write
216
+ your `boto3` code as usual.
217
+
218
+ <a id="sublime-text"></a>
219
+
220
+ ### Sublime Text
221
+
222
+ - Install `types-boto3[codebuild]` with services you use in your environment:
223
+
224
+ ```bash
225
+ python -m pip install 'types-boto3[codebuild]'
226
+ ```
227
+
228
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
229
+
230
+ Type checking should now work. No explicit type annotations required, write
231
+ your `boto3` code as usual.
232
+
233
+ <a id="other-ides"></a>
234
+
235
+ ### Other IDEs
236
+
237
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
238
+ should work.
239
+
240
+ <a id="mypy"></a>
241
+
242
+ ### mypy
243
+
244
+ - Install `mypy`: `python -m pip install mypy`
245
+ - Install `types-boto3[codebuild]` in your environment:
246
+
247
+ ```bash
248
+ python -m pip install 'types-boto3[codebuild]'
249
+ ```
250
+
251
+ Type checking should now work. No explicit type annotations required, write
252
+ your `boto3` code as usual.
253
+
254
+ <a id="pyright"></a>
255
+
256
+ ### pyright
257
+
258
+ - Install `pyright`: `npm i -g pyright`
259
+ - Install `types-boto3[codebuild]` in your environment:
260
+
261
+ ```bash
262
+ python -m pip install 'types-boto3[codebuild]'
263
+ ```
264
+
265
+ Optionally, you can install `types-boto3` to `typings` directory.
266
+
267
+ Type checking should now work. No explicit type annotations required, write
268
+ your `boto3` code as usual.
269
+
270
+ <a id="explicit-type-annotations"></a>
271
+
272
+ ## Explicit type annotations
273
+
274
+ <a id="client-annotations"></a>
275
+
276
+ ### Client annotations
277
+
278
+ `CodeBuildClient` provides annotations for `boto3.client("codebuild")`.
279
+
280
+ ```python
281
+ from boto3.session import Session
282
+
283
+ from types_boto3_codebuild import CodeBuildClient
284
+
285
+ client: CodeBuildClient = Session().client("codebuild")
286
+
287
+ # now client usage is checked by mypy and IDE should provide code completion
288
+ ```
289
+
290
+ <a id="paginators-annotations"></a>
291
+
292
+ ### Paginators annotations
293
+
294
+ `types_boto3_codebuild.paginator` module contains type annotations for all
295
+ paginators.
296
+
297
+ ```python
298
+ from boto3.session import Session
299
+
300
+ from types_boto3_codebuild import CodeBuildClient
301
+ from types_boto3_codebuild.paginator import (
302
+ DescribeCodeCoveragesPaginator,
303
+ DescribeTestCasesPaginator,
304
+ ListBuildBatchesForProjectPaginator,
305
+ ListBuildBatchesPaginator,
306
+ ListBuildsForProjectPaginator,
307
+ ListBuildsPaginator,
308
+ ListProjectsPaginator,
309
+ ListReportGroupsPaginator,
310
+ ListReportsForReportGroupPaginator,
311
+ ListReportsPaginator,
312
+ ListSharedProjectsPaginator,
313
+ ListSharedReportGroupsPaginator,
314
+ )
315
+
316
+ client: CodeBuildClient = Session().client("codebuild")
317
+
318
+ # Explicit type annotations are optional here
319
+ # Types should be correctly discovered by mypy and IDEs
320
+ describe_code_coverages_paginator: DescribeCodeCoveragesPaginator = client.get_paginator(
321
+ "describe_code_coverages"
322
+ )
323
+ describe_test_cases_paginator: DescribeTestCasesPaginator = client.get_paginator(
324
+ "describe_test_cases"
325
+ )
326
+ list_build_batches_for_project_paginator: ListBuildBatchesForProjectPaginator = (
327
+ client.get_paginator("list_build_batches_for_project")
328
+ )
329
+ list_build_batches_paginator: ListBuildBatchesPaginator = client.get_paginator("list_build_batches")
330
+ list_builds_for_project_paginator: ListBuildsForProjectPaginator = client.get_paginator(
331
+ "list_builds_for_project"
332
+ )
333
+ list_builds_paginator: ListBuildsPaginator = client.get_paginator("list_builds")
334
+ list_projects_paginator: ListProjectsPaginator = client.get_paginator("list_projects")
335
+ list_report_groups_paginator: ListReportGroupsPaginator = client.get_paginator("list_report_groups")
336
+ list_reports_for_report_group_paginator: ListReportsForReportGroupPaginator = client.get_paginator(
337
+ "list_reports_for_report_group"
338
+ )
339
+ list_reports_paginator: ListReportsPaginator = client.get_paginator("list_reports")
340
+ list_shared_projects_paginator: ListSharedProjectsPaginator = client.get_paginator(
341
+ "list_shared_projects"
342
+ )
343
+ list_shared_report_groups_paginator: ListSharedReportGroupsPaginator = client.get_paginator(
344
+ "list_shared_report_groups"
345
+ )
346
+ ```
347
+
348
+ <a id="literals"></a>
349
+
350
+ ### Literals
351
+
352
+ `types_boto3_codebuild.literals` module contains literals extracted from shapes
353
+ that can be used in user code for type checking.
354
+
355
+ Full list of `CodeBuild` Literals can be found in
356
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/literals/).
357
+
358
+ ```python
359
+ from types_boto3_codebuild.literals import ArtifactNamespaceType
360
+
361
+
362
+ def check_value(value: ArtifactNamespaceType) -> bool: ...
363
+ ```
364
+
365
+ <a id="type-definitions"></a>
366
+
367
+ ### Type definitions
368
+
369
+ `types_boto3_codebuild.type_defs` module contains structures and shapes
370
+ assembled to typed dictionaries and unions for additional type checking.
371
+
372
+ Full list of `CodeBuild` TypeDefs can be found in
373
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/type_defs/).
374
+
375
+ ```python
376
+ from types_boto3_codebuild.type_defs import AutoRetryConfigTypeDef
377
+
378
+
379
+ def get_value() -> AutoRetryConfigTypeDef:
380
+ return {...}
381
+ ```
382
+
383
+ <a id="how-it-works"></a>
384
+
385
+ ## How it works
386
+
387
+ Fully automated
388
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
389
+ generates type annotations for each service, patiently waiting for `boto3`
390
+ updates. It delivers drop-in type annotations for you and makes sure that:
391
+
392
+ - All available `boto3` services are covered.
393
+ - Each public class and method of every `boto3` service gets valid type
394
+ annotations extracted from `botocore` schemas.
395
+ - Type annotations include up-to-date documentation.
396
+ - Link to documentation is provided for every method.
397
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
398
+
399
+ <a id="what's-new"></a>
400
+
401
+ ## What's new
402
+
403
+ <a id="implemented-features"></a>
404
+
405
+ ### Implemented features
406
+
407
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
408
+ libraries
409
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
410
+ compatibility
411
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
412
+ annotations for each service
413
+ - Generated `TypeDefs` for each service
414
+ - Generated `Literals` for each service
415
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
416
+ - Auto discovery of types for `session.client` and `session.resource` calls
417
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
418
+ calls
419
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
420
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
421
+
422
+ <a id="latest-changes"></a>
423
+
424
+ ### Latest changes
425
+
426
+ Builder changelog can be found in
427
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
428
+
429
+ <a id="versioning"></a>
430
+
431
+ ## Versioning
432
+
433
+ `types-boto3-codebuild` version is the same as related `boto3` version and
434
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
435
+
436
+ <a id="thank-you"></a>
437
+
438
+ ## Thank you
439
+
440
+ - [Allie Fitter](https://github.com/alliefitter) for
441
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
442
+ this package is based on top of his work
443
+ - [black](https://github.com/psf/black) developers for an awesome formatting
444
+ tool
445
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
446
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
447
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
448
+ for us
449
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
450
+ Python
451
+
452
+ <a id="documentation"></a>
453
+
454
+ ## Documentation
455
+
456
+ All services type annotations can be found in
457
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_codebuild/)
458
+
459
+ <a id="support-and-contributing"></a>
460
+
461
+ ## Support and contributing
462
+
463
+ This package is auto-generated. Please reports any bugs or request new features
464
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
465
+ repository.