types-boto3-codeconnections 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 (22) hide show
  1. types_boto3_codeconnections-1.35.71/LICENSE +21 -0
  2. types_boto3_codeconnections-1.35.71/PKG-INFO +409 -0
  3. types_boto3_codeconnections-1.35.71/README.md +375 -0
  4. types_boto3_codeconnections-1.35.71/setup.cfg +4 -0
  5. types_boto3_codeconnections-1.35.71/setup.py +56 -0
  6. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/__init__.py +25 -0
  7. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/__init__.pyi +24 -0
  8. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/__main__.py +42 -0
  9. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/client.py +419 -0
  10. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/client.pyi +415 -0
  11. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/literals.py +465 -0
  12. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/literals.pyi +463 -0
  13. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/py.typed +0 -0
  14. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/type_defs.py +525 -0
  15. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/type_defs.pyi +461 -0
  16. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections/version.py +7 -0
  17. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections.egg-info/PKG-INFO +409 -0
  18. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections.egg-info/SOURCES.txt +20 -0
  19. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections.egg-info/dependency_links.txt +1 -0
  20. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections.egg-info/not-zip-safe +1 -0
  21. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections.egg-info/requires.txt +3 -0
  22. types_boto3_codeconnections-1.35.71/types_boto3_codeconnections.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,409 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-boto3-codeconnections
3
+ Version: 1.35.71
4
+ Summary: Type annotations for boto3 CodeConnections 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_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 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-codeconnections"></a>
36
+
37
+ # types-boto3-codeconnections
38
+
39
+ [![PyPI - types-boto3-codeconnections](https://img.shields.io/pypi/v/types-boto3-codeconnections.svg?color=blue)](https://pypi.org/project/types-boto3-codeconnections/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-codeconnections.svg?color=blue)](https://pypi.org/project/types-boto3-codeconnections/)
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-codeconnections)](https://pypistats.org/packages/types-boto3-codeconnections)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for
47
+ [boto3 CodeConnections 1.35.71](https://pypi.org/project/boto3/) compatible
48
+ with [VSCode](https://code.visualstudio.com/),
49
+ [PyCharm](https://www.jetbrains.com/pycharm/),
50
+ [Emacs](https://www.gnu.org/software/emacs/),
51
+ [Sublime Text](https://www.sublimetext.com/),
52
+ [mypy](https://github.com/python/mypy),
53
+ [pyright](https://github.com/microsoft/pyright) and other tools.
54
+
55
+ Generated by
56
+ [mypy-boto3-builder 8.4.1](https://github.com/youtype/mypy_boto3_builder).
57
+
58
+ More information can be found on
59
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
60
+ [types-boto3-codeconnections docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/).
61
+
62
+ See how it helps you find and fix potential bugs:
63
+
64
+ ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
+
66
+ - [types-boto3-codeconnections](#types-boto3-codeconnections)
67
+ - [How to install](#how-to-install)
68
+ - [VSCode extension](#vscode-extension)
69
+ - [From PyPI with pip](#from-pypi-with-pip)
70
+ - [How to uninstall](#how-to-uninstall)
71
+ - [Usage](#usage)
72
+ - [VSCode](#vscode)
73
+ - [PyCharm](#pycharm)
74
+ - [Emacs](#emacs)
75
+ - [Sublime Text](#sublime-text)
76
+ - [Other IDEs](#other-ides)
77
+ - [mypy](#mypy)
78
+ - [pyright](#pyright)
79
+ - [Explicit type annotations](#explicit-type-annotations)
80
+ - [Client annotations](#client-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 `CodeConnections`.
105
+
106
+ <a id="from-pypi-with-pip"></a>
107
+
108
+ ### From PyPI with pip
109
+
110
+ Install `types-boto3` for `CodeConnections` service.
111
+
112
+ ```bash
113
+ # install with boto3 type annotations
114
+ python -m pip install 'types-boto3[codeconnections]'
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[codeconnections]'
120
+
121
+
122
+ # standalone installation
123
+ python -m pip install types-boto3-codeconnections
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-codeconnections
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[codeconnections]` in your environment:
148
+
149
+ ```bash
150
+ python -m pip install 'types-boto3[codeconnections]'
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[codeconnections]` in your environment:
179
+
180
+ ```bash
181
+ python -m pip install 'types-boto3[codeconnections]'
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[codeconnections]'
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[codeconnections]` with services you use in your
223
+ environment:
224
+
225
+ ```bash
226
+ python -m pip install 'types-boto3[codeconnections]'
227
+ ```
228
+
229
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
230
+
231
+ Type checking should now work. No explicit type annotations required, write
232
+ your `boto3` code as usual.
233
+
234
+ <a id="other-ides"></a>
235
+
236
+ ### Other IDEs
237
+
238
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
239
+ should work.
240
+
241
+ <a id="mypy"></a>
242
+
243
+ ### mypy
244
+
245
+ - Install `mypy`: `python -m pip install mypy`
246
+ - Install `types-boto3[codeconnections]` in your environment:
247
+
248
+ ```bash
249
+ python -m pip install 'types-boto3[codeconnections]'
250
+ ```
251
+
252
+ Type checking should now work. No explicit type annotations required, write
253
+ your `boto3` code as usual.
254
+
255
+ <a id="pyright"></a>
256
+
257
+ ### pyright
258
+
259
+ - Install `pyright`: `npm i -g pyright`
260
+ - Install `types-boto3[codeconnections]` in your environment:
261
+
262
+ ```bash
263
+ python -m pip install 'types-boto3[codeconnections]'
264
+ ```
265
+
266
+ Optionally, you can install `types-boto3` to `typings` directory.
267
+
268
+ Type checking should now work. No explicit type annotations required, write
269
+ your `boto3` code as usual.
270
+
271
+ <a id="explicit-type-annotations"></a>
272
+
273
+ ## Explicit type annotations
274
+
275
+ <a id="client-annotations"></a>
276
+
277
+ ### Client annotations
278
+
279
+ `CodeConnectionsClient` provides annotations for
280
+ `boto3.client("codeconnections")`.
281
+
282
+ ```python
283
+ from boto3.session import Session
284
+
285
+ from types_boto3_codeconnections import CodeConnectionsClient
286
+
287
+ client: CodeConnectionsClient = Session().client("codeconnections")
288
+
289
+ # now client usage is checked by mypy and IDE should provide code completion
290
+ ```
291
+
292
+ <a id="literals"></a>
293
+
294
+ ### Literals
295
+
296
+ `types_boto3_codeconnections.literals` module contains literals extracted from
297
+ shapes that can be used in user code for type checking.
298
+
299
+ Full list of `CodeConnections` Literals can be found in
300
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/literals/).
301
+
302
+ ```python
303
+ from types_boto3_codeconnections.literals import BlockerStatusType
304
+
305
+
306
+ def check_value(value: BlockerStatusType) -> bool: ...
307
+ ```
308
+
309
+ <a id="type-definitions"></a>
310
+
311
+ ### Type definitions
312
+
313
+ `types_boto3_codeconnections.type_defs` module contains structures and shapes
314
+ assembled to typed dictionaries and unions for additional type checking.
315
+
316
+ Full list of `CodeConnections` TypeDefs can be found in
317
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/type_defs/).
318
+
319
+ ```python
320
+ from types_boto3_codeconnections.type_defs import ConnectionTypeDef
321
+
322
+
323
+ def get_value() -> ConnectionTypeDef:
324
+ return {...}
325
+ ```
326
+
327
+ <a id="how-it-works"></a>
328
+
329
+ ## How it works
330
+
331
+ Fully automated
332
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
333
+ generates type annotations for each service, patiently waiting for `boto3`
334
+ updates. It delivers drop-in type annotations for you and makes sure that:
335
+
336
+ - All available `boto3` services are covered.
337
+ - Each public class and method of every `boto3` service gets valid type
338
+ annotations extracted from `botocore` schemas.
339
+ - Type annotations include up-to-date documentation.
340
+ - Link to documentation is provided for every method.
341
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
342
+
343
+ <a id="what's-new"></a>
344
+
345
+ ## What's new
346
+
347
+ <a id="implemented-features"></a>
348
+
349
+ ### Implemented features
350
+
351
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
352
+ libraries
353
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
354
+ compatibility
355
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
356
+ annotations for each service
357
+ - Generated `TypeDefs` for each service
358
+ - Generated `Literals` for each service
359
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
360
+ - Auto discovery of types for `session.client` and `session.resource` calls
361
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
362
+ calls
363
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
364
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
365
+
366
+ <a id="latest-changes"></a>
367
+
368
+ ### Latest changes
369
+
370
+ Builder changelog can be found in
371
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
372
+
373
+ <a id="versioning"></a>
374
+
375
+ ## Versioning
376
+
377
+ `types-boto3-codeconnections` version is the same as related `boto3` version
378
+ and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
379
+
380
+ <a id="thank-you"></a>
381
+
382
+ ## Thank you
383
+
384
+ - [Allie Fitter](https://github.com/alliefitter) for
385
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
386
+ this package is based on top of his work
387
+ - [black](https://github.com/psf/black) developers for an awesome formatting
388
+ tool
389
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
390
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
391
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
392
+ for us
393
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
394
+ Python
395
+
396
+ <a id="documentation"></a>
397
+
398
+ ## Documentation
399
+
400
+ All services type annotations can be found in
401
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_codeconnections/)
402
+
403
+ <a id="support-and-contributing"></a>
404
+
405
+ ## Support and contributing
406
+
407
+ This package is auto-generated. Please reports any bugs or request new features
408
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
409
+ repository.