types-boto3-codedeploy 1.35.71__tar.gz → 1.35.93__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_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/LICENSE +1 -1
- {types_boto3_codedeploy-1.35.71/types_boto3_codedeploy.egg-info → types_boto3_codedeploy-1.35.93}/PKG-INFO +50 -10
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/README.md +46 -6
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/setup.py +5 -7
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/__init__.py +1 -1
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/__init__.pyi +1 -1
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/__main__.py +9 -8
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/client.py +34 -38
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/client.pyi +34 -37
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/literals.py +10 -2
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/literals.pyi +10 -2
- types_boto3_codedeploy-1.35.71/types_boto3_codedeploy/paginator.pyi → types_boto3_codedeploy-1.35.93/types_boto3_codedeploy/paginator.py +121 -57
- types_boto3_codedeploy-1.35.71/types_boto3_codedeploy/paginator.py → types_boto3_codedeploy-1.35.93/types_boto3_codedeploy/paginator.pyi +86 -71
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/type_defs.py +35 -27
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/type_defs.pyi +34 -26
- types_boto3_codedeploy-1.35.93/types_boto3_codedeploy/version.py +7 -0
- types_boto3_codedeploy-1.35.71/types_boto3_codedeploy/waiter.pyi → types_boto3_codedeploy-1.35.93/types_boto3_codedeploy/waiter.py +11 -4
- types_boto3_codedeploy-1.35.71/types_boto3_codedeploy/waiter.py → types_boto3_codedeploy-1.35.93/types_boto3_codedeploy/waiter.pyi +8 -7
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93/types_boto3_codedeploy.egg-info}/PKG-INFO +50 -10
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy.egg-info/requires.txt +1 -1
- types_boto3_codedeploy-1.35.71/types_boto3_codedeploy/version.py +0 -7
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/setup.cfg +0 -0
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/py.typed +0 -0
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy.egg-info/SOURCES.txt +0 -0
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy.egg-info/dependency_links.txt +0 -0
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy.egg-info/not-zip-safe +0 -0
- {types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: types-boto3-codedeploy
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3 CodeDeploy 1.35.
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 CodeDeploy 1.35.93 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_codedeploy/
|
|
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 codedeploy type-annotations
|
|
12
|
+
Keywords: boto3 codedeploy 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,7 @@ 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
34
|
|
|
35
35
|
<a id="types-boto3-codedeploy"></a>
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
44
44
|

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

|
|
65
65
|
|
|
66
66
|
- [types-boto3-codedeploy](#types-boto3-codedeploy)
|
|
67
67
|
- [How to install](#how-to-install)
|
|
68
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
68
69
|
- [VSCode extension](#vscode-extension)
|
|
69
70
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
70
71
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -76,6 +77,7 @@ See how it helps you find and fix potential bugs:
|
|
|
76
77
|
- [Other IDEs](#other-ides)
|
|
77
78
|
- [mypy](#mypy)
|
|
78
79
|
- [pyright](#pyright)
|
|
80
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
79
81
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
80
82
|
- [Client annotations](#client-annotations)
|
|
81
83
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -95,6 +97,21 @@ See how it helps you find and fix potential bugs:
|
|
|
95
97
|
|
|
96
98
|
## How to install
|
|
97
99
|
|
|
100
|
+
<a id="generate-locally-(recommended)"></a>
|
|
101
|
+
|
|
102
|
+
### Generate locally (recommended)
|
|
103
|
+
|
|
104
|
+
You can generate type annotations for `boto3` package locally with
|
|
105
|
+
`mypy_boto3_builder`. Use
|
|
106
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
107
|
+
isolation.
|
|
108
|
+
|
|
109
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
110
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
111
|
+
2. Select `boto3` AWS SDK.
|
|
112
|
+
3. Add `CodeDeploy` service.
|
|
113
|
+
4. Use provided commands to install generated packages.
|
|
114
|
+
|
|
98
115
|
<a id="vscode-extension"></a>
|
|
99
116
|
|
|
100
117
|
### VSCode extension
|
|
@@ -115,12 +132,10 @@ Install `types-boto3` for `CodeDeploy` service.
|
|
|
115
132
|
# install with boto3 type annotations
|
|
116
133
|
python -m pip install 'types-boto3[codedeploy]'
|
|
117
134
|
|
|
118
|
-
|
|
119
135
|
# Lite version does not provide session.client/resource overloads
|
|
120
136
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
121
137
|
python -m pip install 'types-boto3-lite[codedeploy]'
|
|
122
138
|
|
|
123
|
-
|
|
124
139
|
# standalone installation
|
|
125
140
|
python -m pip install types-boto3-codedeploy
|
|
126
141
|
```
|
|
@@ -269,6 +284,31 @@ Optionally, you can install `types-boto3` to `typings` directory.
|
|
|
269
284
|
Type checking should now work. No explicit type annotations required, write
|
|
270
285
|
your `boto3` code as usual.
|
|
271
286
|
|
|
287
|
+
<a id="pylint-compatibility"></a>
|
|
288
|
+
|
|
289
|
+
### Pylint compatibility
|
|
290
|
+
|
|
291
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
292
|
+
`types-boto3-codedeploy` dependency in production. However, there is an issue
|
|
293
|
+
in `pylint` that it complains about undefined variables. To fix it, set all
|
|
294
|
+
types to `object` in non-`TYPE_CHECKING` mode.
|
|
295
|
+
|
|
296
|
+
```python
|
|
297
|
+
from typing import TYPE_CHECKING
|
|
298
|
+
|
|
299
|
+
if TYPE_CHECKING:
|
|
300
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
301
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
302
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
303
|
+
else:
|
|
304
|
+
EC2Client = object
|
|
305
|
+
EC2ServiceResource = object
|
|
306
|
+
BundleTaskCompleteWaiter = object
|
|
307
|
+
DescribeVolumesPaginator = object
|
|
308
|
+
|
|
309
|
+
...
|
|
310
|
+
```
|
|
311
|
+
|
|
272
312
|
<a id="explicit-type-annotations"></a>
|
|
273
313
|
|
|
274
314
|
## Explicit type annotations
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3 CodeDeploy 1.35.
|
|
13
|
+
[boto3 CodeDeploy 1.35.93](https://pypi.org/project/boto3/) compatible with
|
|
14
14
|
[VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -18,8 +18,8 @@ Type annotations for
|
|
|
18
18
|
[mypy](https://github.com/python/mypy),
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
|
-
Generated
|
|
22
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
Generated with
|
|
22
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -27,10 +27,11 @@ More information can be found on
|
|
|
27
27
|
|
|
28
28
|
See how it helps you find and fix potential bugs:
|
|
29
29
|
|
|
30
|
-

|
|
31
31
|
|
|
32
32
|
- [types-boto3-codedeploy](#types-boto3-codedeploy)
|
|
33
33
|
- [How to install](#how-to-install)
|
|
34
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
34
35
|
- [VSCode extension](#vscode-extension)
|
|
35
36
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
36
37
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -42,6 +43,7 @@ See how it helps you find and fix potential bugs:
|
|
|
42
43
|
- [Other IDEs](#other-ides)
|
|
43
44
|
- [mypy](#mypy)
|
|
44
45
|
- [pyright](#pyright)
|
|
46
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
45
47
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
46
48
|
- [Client annotations](#client-annotations)
|
|
47
49
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -61,6 +63,21 @@ See how it helps you find and fix potential bugs:
|
|
|
61
63
|
|
|
62
64
|
## How to install
|
|
63
65
|
|
|
66
|
+
<a id="generate-locally-(recommended)"></a>
|
|
67
|
+
|
|
68
|
+
### Generate locally (recommended)
|
|
69
|
+
|
|
70
|
+
You can generate type annotations for `boto3` package locally with
|
|
71
|
+
`mypy_boto3_builder`. Use
|
|
72
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
73
|
+
isolation.
|
|
74
|
+
|
|
75
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
76
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
77
|
+
2. Select `boto3` AWS SDK.
|
|
78
|
+
3. Add `CodeDeploy` service.
|
|
79
|
+
4. Use provided commands to install generated packages.
|
|
80
|
+
|
|
64
81
|
<a id="vscode-extension"></a>
|
|
65
82
|
|
|
66
83
|
### VSCode extension
|
|
@@ -81,12 +98,10 @@ Install `types-boto3` for `CodeDeploy` service.
|
|
|
81
98
|
# install with boto3 type annotations
|
|
82
99
|
python -m pip install 'types-boto3[codedeploy]'
|
|
83
100
|
|
|
84
|
-
|
|
85
101
|
# Lite version does not provide session.client/resource overloads
|
|
86
102
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
87
103
|
python -m pip install 'types-boto3-lite[codedeploy]'
|
|
88
104
|
|
|
89
|
-
|
|
90
105
|
# standalone installation
|
|
91
106
|
python -m pip install types-boto3-codedeploy
|
|
92
107
|
```
|
|
@@ -235,6 +250,31 @@ Optionally, you can install `types-boto3` to `typings` directory.
|
|
|
235
250
|
Type checking should now work. No explicit type annotations required, write
|
|
236
251
|
your `boto3` code as usual.
|
|
237
252
|
|
|
253
|
+
<a id="pylint-compatibility"></a>
|
|
254
|
+
|
|
255
|
+
### Pylint compatibility
|
|
256
|
+
|
|
257
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
258
|
+
`types-boto3-codedeploy` dependency in production. However, there is an issue
|
|
259
|
+
in `pylint` that it complains about undefined variables. To fix it, set all
|
|
260
|
+
types to `object` in non-`TYPE_CHECKING` mode.
|
|
261
|
+
|
|
262
|
+
```python
|
|
263
|
+
from typing import TYPE_CHECKING
|
|
264
|
+
|
|
265
|
+
if TYPE_CHECKING:
|
|
266
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
267
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
268
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
269
|
+
else:
|
|
270
|
+
EC2Client = object
|
|
271
|
+
EC2ServiceResource = object
|
|
272
|
+
BundleTaskCompleteWaiter = object
|
|
273
|
+
DescribeVolumesPaginator = object
|
|
274
|
+
|
|
275
|
+
...
|
|
276
|
+
```
|
|
277
|
+
|
|
238
278
|
<a id="explicit-type-annotations"></a>
|
|
239
279
|
|
|
240
280
|
## Explicit type annotations
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Setup script for types-boto3-codedeploy.
|
|
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-codedeploy",
|
|
16
|
-
version="1.35.
|
|
16
|
+
version="1.35.93",
|
|
17
17
|
packages=["types_boto3_codedeploy"],
|
|
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 CodeDeploy 1.35.
|
|
22
|
+
description="Type annotations for boto3 CodeDeploy 1.35.93 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 codedeploy type-annotations
|
|
42
|
+
keywords="boto3 codedeploy 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_codedeploy": ["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_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/__init__.py
RENAMED
|
@@ -36,7 +36,7 @@ Usage::
|
|
|
36
36
|
list_on_premises_instances_paginator: ListOnPremisesInstancesPaginator = client.get_paginator("list_on_premises_instances")
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
Copyright
|
|
39
|
+
Copyright 2025 Vlad Emelianov
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
from .client import CodeDeployClient
|
|
@@ -36,7 +36,7 @@ Usage::
|
|
|
36
36
|
list_on_premises_instances_paginator: ListOnPremisesInstancesPaginator = client.get_paginator("list_on_premises_instances")
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
Copyright
|
|
39
|
+
Copyright 2025 Vlad Emelianov
|
|
40
40
|
"""
|
|
41
41
|
|
|
42
42
|
from .client import CodeDeployClient
|
{types_boto3_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/__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 CodeDeploy 1.35.
|
|
16
|
-
"Version: 1.35.
|
|
17
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 CodeDeploy 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy.html#codedeploy\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.93\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_codedeploy-1.35.71 → types_boto3_codedeploy-1.35.93}/types_boto3_codedeploy/client.py
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for codedeploy service
|
|
2
|
+
Type annotations for codedeploy service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: CodeDeployClient = session.client("codedeploy")
|
|
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
|
ListApplicationRevisionsPaginator,
|
|
@@ -118,6 +122,12 @@ from .type_defs import (
|
|
|
118
122
|
)
|
|
119
123
|
from .waiter import DeploymentSuccessfulWaiter
|
|
120
124
|
|
|
125
|
+
if sys.version_info >= (3, 9):
|
|
126
|
+
from builtins import dict as Dict
|
|
127
|
+
from builtins import type as Type
|
|
128
|
+
from collections.abc import Mapping
|
|
129
|
+
else:
|
|
130
|
+
from typing import Dict, Mapping, Type
|
|
121
131
|
if sys.version_info >= (3, 12):
|
|
122
132
|
from typing import Literal, Unpack
|
|
123
133
|
else:
|
|
@@ -127,15 +137,7 @@ else:
|
|
|
127
137
|
__all__ = ("CodeDeployClient",)
|
|
128
138
|
|
|
129
139
|
|
|
130
|
-
class
|
|
131
|
-
MSG_TEMPLATE: str
|
|
132
|
-
|
|
133
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
134
|
-
self.response: Dict[str, Any]
|
|
135
|
-
self.operation_name: str
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
class Exceptions:
|
|
140
|
+
class Exceptions(BaseClientExceptions):
|
|
139
141
|
AlarmsLimitExceededException: Type[BotocoreClientError]
|
|
140
142
|
ApplicationAlreadyExistsException: Type[BotocoreClientError]
|
|
141
143
|
ApplicationDoesNotExistException: Type[BotocoreClientError]
|
|
@@ -287,12 +289,6 @@ class CodeDeployClient(BaseClient):
|
|
|
287
289
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#generate_presigned_url)
|
|
288
290
|
"""
|
|
289
291
|
|
|
290
|
-
def close(self) -> None:
|
|
291
|
-
"""
|
|
292
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codedeploy/client/close.html)
|
|
293
|
-
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#close)
|
|
294
|
-
"""
|
|
295
|
-
|
|
296
292
|
def add_tags_to_on_premises_instances(
|
|
297
293
|
self, **kwargs: Unpack[AddTagsToOnPremisesInstancesInputRequestTypeDef]
|
|
298
294
|
) -> EmptyResponseMetadataTypeDef:
|
|
@@ -768,8 +764,8 @@ class CodeDeployClient(BaseClient):
|
|
|
768
764
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#update_deployment_group)
|
|
769
765
|
"""
|
|
770
766
|
|
|
771
|
-
@overload
|
|
772
|
-
def get_paginator(
|
|
767
|
+
@overload # type: ignore[override]
|
|
768
|
+
def get_paginator( # type: ignore[override]
|
|
773
769
|
self, operation_name: Literal["list_application_revisions"]
|
|
774
770
|
) -> ListApplicationRevisionsPaginator:
|
|
775
771
|
"""
|
|
@@ -779,8 +775,8 @@ class CodeDeployClient(BaseClient):
|
|
|
779
775
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
780
776
|
"""
|
|
781
777
|
|
|
782
|
-
@overload
|
|
783
|
-
def get_paginator(
|
|
778
|
+
@overload # type: ignore[override]
|
|
779
|
+
def get_paginator( # type: ignore[override]
|
|
784
780
|
self, operation_name: Literal["list_applications"]
|
|
785
781
|
) -> ListApplicationsPaginator:
|
|
786
782
|
"""
|
|
@@ -790,8 +786,8 @@ class CodeDeployClient(BaseClient):
|
|
|
790
786
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
791
787
|
"""
|
|
792
788
|
|
|
793
|
-
@overload
|
|
794
|
-
def get_paginator(
|
|
789
|
+
@overload # type: ignore[override]
|
|
790
|
+
def get_paginator( # type: ignore[override]
|
|
795
791
|
self, operation_name: Literal["list_deployment_configs"]
|
|
796
792
|
) -> ListDeploymentConfigsPaginator:
|
|
797
793
|
"""
|
|
@@ -801,8 +797,8 @@ class CodeDeployClient(BaseClient):
|
|
|
801
797
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
802
798
|
"""
|
|
803
799
|
|
|
804
|
-
@overload
|
|
805
|
-
def get_paginator(
|
|
800
|
+
@overload # type: ignore[override]
|
|
801
|
+
def get_paginator( # type: ignore[override]
|
|
806
802
|
self, operation_name: Literal["list_deployment_groups"]
|
|
807
803
|
) -> ListDeploymentGroupsPaginator:
|
|
808
804
|
"""
|
|
@@ -812,8 +808,8 @@ class CodeDeployClient(BaseClient):
|
|
|
812
808
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
813
809
|
"""
|
|
814
810
|
|
|
815
|
-
@overload
|
|
816
|
-
def get_paginator(
|
|
811
|
+
@overload # type: ignore[override]
|
|
812
|
+
def get_paginator( # type: ignore[override]
|
|
817
813
|
self, operation_name: Literal["list_deployment_instances"]
|
|
818
814
|
) -> ListDeploymentInstancesPaginator:
|
|
819
815
|
"""
|
|
@@ -823,8 +819,8 @@ class CodeDeployClient(BaseClient):
|
|
|
823
819
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
824
820
|
"""
|
|
825
821
|
|
|
826
|
-
@overload
|
|
827
|
-
def get_paginator(
|
|
822
|
+
@overload # type: ignore[override]
|
|
823
|
+
def get_paginator( # type: ignore[override]
|
|
828
824
|
self, operation_name: Literal["list_deployment_targets"]
|
|
829
825
|
) -> ListDeploymentTargetsPaginator:
|
|
830
826
|
"""
|
|
@@ -834,8 +830,8 @@ class CodeDeployClient(BaseClient):
|
|
|
834
830
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
835
831
|
"""
|
|
836
832
|
|
|
837
|
-
@overload
|
|
838
|
-
def get_paginator(
|
|
833
|
+
@overload # type: ignore[override]
|
|
834
|
+
def get_paginator( # type: ignore[override]
|
|
839
835
|
self, operation_name: Literal["list_deployments"]
|
|
840
836
|
) -> ListDeploymentsPaginator:
|
|
841
837
|
"""
|
|
@@ -845,8 +841,8 @@ class CodeDeployClient(BaseClient):
|
|
|
845
841
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
846
842
|
"""
|
|
847
843
|
|
|
848
|
-
@overload
|
|
849
|
-
def get_paginator(
|
|
844
|
+
@overload # type: ignore[override]
|
|
845
|
+
def get_paginator( # type: ignore[override]
|
|
850
846
|
self, operation_name: Literal["list_git_hub_account_token_names"]
|
|
851
847
|
) -> ListGitHubAccountTokenNamesPaginator:
|
|
852
848
|
"""
|
|
@@ -856,8 +852,8 @@ class CodeDeployClient(BaseClient):
|
|
|
856
852
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
857
853
|
"""
|
|
858
854
|
|
|
859
|
-
@overload
|
|
860
|
-
def get_paginator(
|
|
855
|
+
@overload # type: ignore[override]
|
|
856
|
+
def get_paginator( # type: ignore[override]
|
|
861
857
|
self, operation_name: Literal["list_on_premises_instances"]
|
|
862
858
|
) -> ListOnPremisesInstancesPaginator:
|
|
863
859
|
"""
|
|
@@ -867,7 +863,7 @@ class CodeDeployClient(BaseClient):
|
|
|
867
863
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_codedeploy/client/#get_paginator)
|
|
868
864
|
"""
|
|
869
865
|
|
|
870
|
-
def get_waiter(
|
|
866
|
+
def get_waiter( # type: ignore[override]
|
|
871
867
|
self, waiter_name: Literal["deployment_successful"]
|
|
872
868
|
) -> DeploymentSuccessfulWaiter:
|
|
873
869
|
"""
|