types-boto3-codeconnections 1.36.0__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 (22) hide show
  1. types_boto3_codeconnections-1.36.0/LICENSE +21 -0
  2. types_boto3_codeconnections-1.36.0/PKG-INFO +461 -0
  3. types_boto3_codeconnections-1.36.0/README.md +415 -0
  4. types_boto3_codeconnections-1.36.0/setup.cfg +4 -0
  5. types_boto3_codeconnections-1.36.0/setup.py +54 -0
  6. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/__init__.py +25 -0
  7. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/__init__.pyi +24 -0
  8. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/__main__.py +43 -0
  9. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/client.py +415 -0
  10. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/client.pyi +412 -0
  11. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/literals.py +471 -0
  12. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/literals.pyi +469 -0
  13. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/py.typed +0 -0
  14. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/type_defs.py +532 -0
  15. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/type_defs.pyi +468 -0
  16. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections/version.py +7 -0
  17. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections.egg-info/PKG-INFO +461 -0
  18. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections.egg-info/SOURCES.txt +20 -0
  19. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections.egg-info/dependency_links.txt +1 -0
  20. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections.egg-info/not-zip-safe +1 -0
  21. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections.egg-info/requires.txt +3 -0
  22. types_boto3_codeconnections-1.36.0/types_boto3_codeconnections.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 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,461 @@
1
+ Metadata-Version: 2.2
2
+ Name: types-boto3-codeconnections
3
+ Version: 1.36.0
4
+ Summary: Type annotations for boto3 CodeConnections 1.36.0 service generated with mypy-boto3-builder 8.8.0
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_codeconnections/
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 codeconnections boto3-stubs type-annotations 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; 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
46
+
47
+ <a id="types-boto3-codeconnections"></a>
48
+
49
+ # types-boto3-codeconnections
50
+
51
+ [![PyPI - types-boto3-codeconnections](https://img.shields.io/pypi/v/types-boto3-codeconnections.svg?color=blue)](https://pypi.org/project/types-boto3-codeconnections/)
52
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-codeconnections.svg?color=blue)](https://pypi.org/project/types-boto3-codeconnections/)
53
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_boto3_docs/)
54
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-boto3-codeconnections)](https://pypistats.org/packages/types-boto3-codeconnections)
55
+
56
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
57
+
58
+ Type annotations for
59
+ [boto3 CodeConnections 1.36.0](https://pypi.org/project/boto3/) compatible with
60
+ [VSCode](https://code.visualstudio.com/),
61
+ [PyCharm](https://www.jetbrains.com/pycharm/),
62
+ [Emacs](https://www.gnu.org/software/emacs/),
63
+ [Sublime Text](https://www.sublimetext.com/),
64
+ [mypy](https://github.com/python/mypy),
65
+ [pyright](https://github.com/microsoft/pyright) and other tools.
66
+
67
+ Generated with
68
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
69
+
70
+ More information can be found on
71
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
72
+ [types-boto3-codeconnections docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/).
73
+
74
+ See how it helps you find and fix potential bugs:
75
+
76
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
77
+
78
+ - [types-boto3-codeconnections](#types-boto3-codeconnections)
79
+ - [How to install](#how-to-install)
80
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
81
+ - [VSCode extension](#vscode-extension)
82
+ - [From PyPI with pip](#from-pypi-with-pip)
83
+ - [How to uninstall](#how-to-uninstall)
84
+ - [Usage](#usage)
85
+ - [VSCode](#vscode)
86
+ - [PyCharm](#pycharm)
87
+ - [Emacs](#emacs)
88
+ - [Sublime Text](#sublime-text)
89
+ - [Other IDEs](#other-ides)
90
+ - [mypy](#mypy)
91
+ - [pyright](#pyright)
92
+ - [Pylint compatibility](#pylint-compatibility)
93
+ - [Explicit type annotations](#explicit-type-annotations)
94
+ - [Client annotations](#client-annotations)
95
+ - [Literals](#literals)
96
+ - [Type definitions](#type-definitions)
97
+ - [How it works](#how-it-works)
98
+ - [What's new](#what's-new)
99
+ - [Implemented features](#implemented-features)
100
+ - [Latest changes](#latest-changes)
101
+ - [Versioning](#versioning)
102
+ - [Thank you](#thank-you)
103
+ - [Documentation](#documentation)
104
+ - [Support and contributing](#support-and-contributing)
105
+
106
+ <a id="how-to-install"></a>
107
+
108
+ ## How to install
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.36.0' mypy_boto3_builder`
121
+ 2. Select `boto3` AWS SDK.
122
+ 3. Add `CodeConnections` service.
123
+ 4. Use provided commands to install generated packages.
124
+
125
+ <a id="vscode-extension"></a>
126
+
127
+ ### VSCode extension
128
+
129
+ Add
130
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
131
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
132
+
133
+ Click `Modify` and select `boto3 common` and `CodeConnections`.
134
+
135
+ <a id="from-pypi-with-pip"></a>
136
+
137
+ ### From PyPI with pip
138
+
139
+ Install `types-boto3` for `CodeConnections` service.
140
+
141
+ ```bash
142
+ # install with boto3 type annotations
143
+ python -m pip install 'types-boto3[codeconnections]'
144
+
145
+ # Lite version does not provide session.client/resource overloads
146
+ # it is more RAM-friendly, but requires explicit type annotations
147
+ python -m pip install 'types-boto3-lite[codeconnections]'
148
+
149
+ # standalone installation
150
+ python -m pip install types-boto3-codeconnections
151
+ ```
152
+
153
+ <a id="how-to-uninstall"></a>
154
+
155
+ ## How to uninstall
156
+
157
+ ```bash
158
+ python -m pip uninstall -y types-boto3-codeconnections
159
+ ```
160
+
161
+ <a id="usage"></a>
162
+
163
+ ## Usage
164
+
165
+ <a id="vscode"></a>
166
+
167
+ ### VSCode
168
+
169
+ - Install
170
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
171
+ - Install
172
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
173
+ - Set `Pylance` as your Python Language Server
174
+ - Install `types-boto3[codeconnections]` in your environment:
175
+
176
+ ```bash
177
+ python -m pip install 'types-boto3[codeconnections]'
178
+ ```
179
+
180
+ Both type checking and code completion should now work. No explicit type
181
+ annotations required, write your `boto3` code as usual.
182
+
183
+ <a id="pycharm"></a>
184
+
185
+ ### PyCharm
186
+
187
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
188
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
189
+ > to use [types-boto3-lite](https://pypi.org/project/types-boto3-lite/) until
190
+ > the issue is resolved.
191
+
192
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
193
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
194
+ > [pyright](https://github.com/microsoft/pyright) instead.
195
+
196
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
197
+ > `types-boto3` with
198
+ > [types-boto3-lite](https://pypi.org/project/types-boto3-lite/):
199
+
200
+ ```bash
201
+ pip uninstall types-boto3
202
+ pip install types-boto3-lite
203
+ ```
204
+
205
+ Install `types-boto3[codeconnections]` in your environment:
206
+
207
+ ```bash
208
+ python -m pip install 'types-boto3[codeconnections]'
209
+ ```
210
+
211
+ Both type checking and code completion should now work.
212
+
213
+ <a id="emacs"></a>
214
+
215
+ ### Emacs
216
+
217
+ - Install `types-boto3` with services you use in your environment:
218
+
219
+ ```bash
220
+ python -m pip install 'types-boto3[codeconnections]'
221
+ ```
222
+
223
+ - Install [use-package](https://github.com/jwiegley/use-package),
224
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
225
+ [company](https://github.com/company-mode/company-mode) and
226
+ [flycheck](https://github.com/flycheck/flycheck) packages
227
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
228
+
229
+ ```elisp
230
+ (use-package lsp-pyright
231
+ :ensure t
232
+ :hook (python-mode . (lambda ()
233
+ (require 'lsp-pyright)
234
+ (lsp))) ; or lsp-deferred
235
+ :init (when (executable-find "python3")
236
+ (setq lsp-pyright-python-executable-cmd "python3"))
237
+ )
238
+ ```
239
+
240
+ - Make sure emacs uses the environment where you have installed `types-boto3`
241
+
242
+ Type checking should now work. No explicit type annotations required, write
243
+ your `boto3` code as usual.
244
+
245
+ <a id="sublime-text"></a>
246
+
247
+ ### Sublime Text
248
+
249
+ - Install `types-boto3[codeconnections]` with services you use in your
250
+ environment:
251
+
252
+ ```bash
253
+ python -m pip install 'types-boto3[codeconnections]'
254
+ ```
255
+
256
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
257
+
258
+ Type checking should now work. No explicit type annotations required, write
259
+ your `boto3` code as usual.
260
+
261
+ <a id="other-ides"></a>
262
+
263
+ ### Other IDEs
264
+
265
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
266
+ should work.
267
+
268
+ <a id="mypy"></a>
269
+
270
+ ### mypy
271
+
272
+ - Install `mypy`: `python -m pip install mypy`
273
+ - Install `types-boto3[codeconnections]` in your environment:
274
+
275
+ ```bash
276
+ python -m pip install 'types-boto3[codeconnections]'
277
+ ```
278
+
279
+ Type checking should now work. No explicit type annotations required, write
280
+ your `boto3` code as usual.
281
+
282
+ <a id="pyright"></a>
283
+
284
+ ### pyright
285
+
286
+ - Install `pyright`: `npm i -g pyright`
287
+ - Install `types-boto3[codeconnections]` in your environment:
288
+
289
+ ```bash
290
+ python -m pip install 'types-boto3[codeconnections]'
291
+ ```
292
+
293
+ Optionally, you can install `types-boto3` to `typings` directory.
294
+
295
+ Type checking should now work. No explicit type annotations required, write
296
+ your `boto3` code as usual.
297
+
298
+ <a id="pylint-compatibility"></a>
299
+
300
+ ### Pylint compatibility
301
+
302
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
303
+ `types-boto3-codeconnections` dependency in production. However, there is an
304
+ issue in `pylint` that it complains about undefined variables. To fix it, set
305
+ all types to `object` in non-`TYPE_CHECKING` mode.
306
+
307
+ ```python
308
+ from typing import TYPE_CHECKING
309
+
310
+ if TYPE_CHECKING:
311
+ from types_boto3_ec2 import EC2Client, EC2ServiceResource
312
+ from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
313
+ from types_boto3_ec2.paginators import DescribeVolumesPaginator
314
+ else:
315
+ EC2Client = object
316
+ EC2ServiceResource = object
317
+ BundleTaskCompleteWaiter = object
318
+ DescribeVolumesPaginator = object
319
+
320
+ ...
321
+ ```
322
+
323
+ <a id="explicit-type-annotations"></a>
324
+
325
+ ## Explicit type annotations
326
+
327
+ <a id="client-annotations"></a>
328
+
329
+ ### Client annotations
330
+
331
+ `CodeConnectionsClient` provides annotations for
332
+ `boto3.client("codeconnections")`.
333
+
334
+ ```python
335
+ from boto3.session import Session
336
+
337
+ from types_boto3_codeconnections import CodeConnectionsClient
338
+
339
+ client: CodeConnectionsClient = Session().client("codeconnections")
340
+
341
+ # now client usage is checked by mypy and IDE should provide code completion
342
+ ```
343
+
344
+ <a id="literals"></a>
345
+
346
+ ### Literals
347
+
348
+ `types_boto3_codeconnections.literals` module contains literals extracted from
349
+ shapes that can be used in user code for type checking.
350
+
351
+ Full list of `CodeConnections` Literals can be found in
352
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/literals/).
353
+
354
+ ```python
355
+ from types_boto3_codeconnections.literals import BlockerStatusType
356
+
357
+
358
+ def check_value(value: BlockerStatusType) -> bool: ...
359
+ ```
360
+
361
+ <a id="type-definitions"></a>
362
+
363
+ ### Type definitions
364
+
365
+ `types_boto3_codeconnections.type_defs` module contains structures and shapes
366
+ assembled to typed dictionaries and unions for additional type checking.
367
+
368
+ Full list of `CodeConnections` TypeDefs can be found in
369
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/type_defs/).
370
+
371
+ ```python
372
+ from types_boto3_codeconnections.type_defs import ConnectionTypeDef
373
+
374
+
375
+ def get_value() -> ConnectionTypeDef:
376
+ return {...}
377
+ ```
378
+
379
+ <a id="how-it-works"></a>
380
+
381
+ ## How it works
382
+
383
+ Fully automated
384
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
385
+ generates type annotations for each service, patiently waiting for `boto3`
386
+ updates. It delivers drop-in type annotations for you and makes sure that:
387
+
388
+ - All available `boto3` services are covered.
389
+ - Each public class and method of every `boto3` service gets valid type
390
+ annotations extracted from `botocore` schemas.
391
+ - Type annotations include up-to-date documentation.
392
+ - Link to documentation is provided for every method.
393
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
394
+
395
+ <a id="what's-new"></a>
396
+
397
+ ## What's new
398
+
399
+ <a id="implemented-features"></a>
400
+
401
+ ### Implemented features
402
+
403
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
404
+ libraries
405
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
406
+ compatibility
407
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
408
+ annotations for each service
409
+ - Generated `TypeDefs` for each service
410
+ - Generated `Literals` for each service
411
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
412
+ - Auto discovery of types for `session.client` and `session.resource` calls
413
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
414
+ calls
415
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
416
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
417
+
418
+ <a id="latest-changes"></a>
419
+
420
+ ### Latest changes
421
+
422
+ Builder changelog can be found in
423
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
424
+
425
+ <a id="versioning"></a>
426
+
427
+ ## Versioning
428
+
429
+ `types-boto3-codeconnections` version is the same as related `boto3` version
430
+ and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
431
+
432
+ <a id="thank-you"></a>
433
+
434
+ ## Thank you
435
+
436
+ - [Allie Fitter](https://github.com/alliefitter) for
437
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
438
+ this package is based on top of his work
439
+ - [black](https://github.com/psf/black) developers for an awesome formatting
440
+ tool
441
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
442
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
443
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
444
+ for us
445
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
446
+ Python
447
+
448
+ <a id="documentation"></a>
449
+
450
+ ## Documentation
451
+
452
+ All services type annotations can be found in
453
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/)
454
+
455
+ <a id="support-and-contributing"></a>
456
+
457
+ ## Support and contributing
458
+
459
+ This package is auto-generated. Please reports any bugs or request new features
460
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
461
+ repository.