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