types-boto3-batch 1.36.3__tar.gz → 1.37.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.
- {types_boto3_batch-1.36.3/types_boto3_batch.egg-info → types_boto3_batch-1.37.0}/PKG-INFO +11 -8
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/README.md +9 -6
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/setup.py +2 -2
- types_boto3_batch-1.36.3/types_boto3_batch/__init__.pyi → types_boto3_batch-1.37.0/types_boto3_batch/__init__.py +5 -2
- types_boto3_batch-1.36.3/types_boto3_batch/__init__.py → types_boto3_batch-1.37.0/types_boto3_batch/__init__.pyi +4 -3
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/__main__.py +4 -4
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/client.py +52 -58
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/client.pyi +52 -58
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/literals.py +2 -3
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/literals.pyi +2 -3
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/type_defs.py +222 -238
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/type_defs.pyi +210 -224
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/version.py +1 -1
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0/types_boto3_batch.egg-info}/PKG-INFO +11 -8
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/LICENSE +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/setup.cfg +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/paginator.py +2 -2
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/paginator.pyi +2 -2
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch/py.typed +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch.egg-info/SOURCES.txt +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch.egg-info/dependency_links.txt +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch.egg-info/not-zip-safe +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch.egg-info/requires.txt +0 -0
- {types_boto3_batch-1.36.3 → types_boto3_batch-1.37.0}/types_boto3_batch.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: types-boto3-batch
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 Batch 1.
|
|
3
|
+
Version: 1.37.0
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.37.0 service generated with mypy-boto3-builder 8.9.2
|
|
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
|
|
@@ -55,7 +55,7 @@ Dynamic: summary
|
|
|
55
55
|
|
|
56
56
|

|
|
57
57
|
|
|
58
|
-
Type annotations for [boto3 Batch 1.
|
|
58
|
+
Type annotations for [boto3 Batch 1.37.0](https://pypi.org/project/boto3/)
|
|
59
59
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
60
60
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
61
61
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -64,7 +64,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
64
64
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
65
65
|
|
|
66
66
|
Generated with
|
|
67
|
-
[mypy-boto3-builder 8.
|
|
67
|
+
[mypy-boto3-builder 8.9.2](https://github.com/youtype/mypy_boto3_builder).
|
|
68
68
|
|
|
69
69
|
More information can be found on
|
|
70
70
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -112,12 +112,12 @@ See how it helps you find and fix potential bugs:
|
|
|
112
112
|
### Generate locally (recommended)
|
|
113
113
|
|
|
114
114
|
You can generate type annotations for `boto3` package locally with
|
|
115
|
-
`
|
|
115
|
+
`mypy-boto3-builder`. Use
|
|
116
116
|
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
117
117
|
isolation.
|
|
118
118
|
|
|
119
119
|
1. Run mypy-boto3-builder in your package root directory:
|
|
120
|
-
`uvx --with 'boto3==1.
|
|
120
|
+
`uvx --with 'boto3==1.37.0' mypy-boto3-builder`
|
|
121
121
|
2. Select `boto3` AWS SDK.
|
|
122
122
|
3. Add `Batch` service.
|
|
123
123
|
4. Use provided commands to install generated packages.
|
|
@@ -405,11 +405,14 @@ Full list of `Batch` TypeDefs can be found in
|
|
|
405
405
|
[docs](https://youtype.github.io/types_boto3_docs/types_boto3_batch/type_defs/).
|
|
406
406
|
|
|
407
407
|
```python
|
|
408
|
+
# TypedDict usage example
|
|
408
409
|
from types_boto3_batch.type_defs import ArrayPropertiesDetailTypeDef
|
|
409
410
|
|
|
410
411
|
|
|
411
412
|
def get_value() -> ArrayPropertiesDetailTypeDef:
|
|
412
|
-
return {
|
|
413
|
+
return {
|
|
414
|
+
"statusSummary": ...,
|
|
415
|
+
}
|
|
413
416
|
```
|
|
414
417
|
|
|
415
418
|
<a id="how-it-works"></a>
|
|
@@ -463,7 +466,7 @@ Builder changelog can be found in
|
|
|
463
466
|
## Versioning
|
|
464
467
|
|
|
465
468
|
`types-boto3-batch` version is the same as related `boto3` version and follows
|
|
466
|
-
[
|
|
469
|
+
[Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
|
|
467
470
|
|
|
468
471
|
<a id="thank-you"></a>
|
|
469
472
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 Batch 1.
|
|
12
|
+
Type annotations for [boto3 Batch 1.37.0](https://pypi.org/project/boto3/)
|
|
13
13
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
14
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
15
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -18,7 +18,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
18
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
19
19
|
|
|
20
20
|
Generated with
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.9.2](https://github.com/youtype/mypy_boto3_builder).
|
|
22
22
|
|
|
23
23
|
More information can be found on
|
|
24
24
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -66,12 +66,12 @@ See how it helps you find and fix potential bugs:
|
|
|
66
66
|
### Generate locally (recommended)
|
|
67
67
|
|
|
68
68
|
You can generate type annotations for `boto3` package locally with
|
|
69
|
-
`
|
|
69
|
+
`mypy-boto3-builder`. Use
|
|
70
70
|
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
71
71
|
isolation.
|
|
72
72
|
|
|
73
73
|
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
-
`uvx --with 'boto3==1.
|
|
74
|
+
`uvx --with 'boto3==1.37.0' mypy-boto3-builder`
|
|
75
75
|
2. Select `boto3` AWS SDK.
|
|
76
76
|
3. Add `Batch` service.
|
|
77
77
|
4. Use provided commands to install generated packages.
|
|
@@ -359,11 +359,14 @@ Full list of `Batch` TypeDefs can be found in
|
|
|
359
359
|
[docs](https://youtype.github.io/types_boto3_docs/types_boto3_batch/type_defs/).
|
|
360
360
|
|
|
361
361
|
```python
|
|
362
|
+
# TypedDict usage example
|
|
362
363
|
from types_boto3_batch.type_defs import ArrayPropertiesDetailTypeDef
|
|
363
364
|
|
|
364
365
|
|
|
365
366
|
def get_value() -> ArrayPropertiesDetailTypeDef:
|
|
366
|
-
return {
|
|
367
|
+
return {
|
|
368
|
+
"statusSummary": ...,
|
|
369
|
+
}
|
|
367
370
|
```
|
|
368
371
|
|
|
369
372
|
<a id="how-it-works"></a>
|
|
@@ -417,7 +420,7 @@ Builder changelog can be found in
|
|
|
417
420
|
## Versioning
|
|
418
421
|
|
|
419
422
|
`types-boto3-batch` version is the same as related `boto3` version and follows
|
|
420
|
-
[
|
|
423
|
+
[Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
|
|
421
424
|
|
|
422
425
|
<a id="thank-you"></a>
|
|
423
426
|
|
|
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="types-boto3-batch",
|
|
16
|
-
version="1.
|
|
16
|
+
version="1.37.0",
|
|
17
17
|
packages=["types_boto3_batch"],
|
|
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 Batch 1.
|
|
22
|
+
description="Type annotations for boto3 Batch 1.37.0 service generated with mypy-boto3-builder 8.9.2",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main interface for batch service.
|
|
3
3
|
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
4
8
|
Usage::
|
|
5
9
|
|
|
6
10
|
```python
|
|
@@ -24,8 +28,6 @@ Usage::
|
|
|
24
28
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
25
29
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
30
|
```
|
|
27
|
-
|
|
28
|
-
Copyright 2025 Vlad Emelianov
|
|
29
31
|
"""
|
|
30
32
|
|
|
31
33
|
from .client import BatchClient
|
|
@@ -39,6 +41,7 @@ from .paginator import (
|
|
|
39
41
|
|
|
40
42
|
Client = BatchClient
|
|
41
43
|
|
|
44
|
+
|
|
42
45
|
__all__ = (
|
|
43
46
|
"BatchClient",
|
|
44
47
|
"Client",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main interface for batch service.
|
|
3
3
|
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/)
|
|
5
|
+
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
4
8
|
Usage::
|
|
5
9
|
|
|
6
10
|
```python
|
|
@@ -24,8 +28,6 @@ Usage::
|
|
|
24
28
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
25
29
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
30
|
```
|
|
27
|
-
|
|
28
|
-
Copyright 2025 Vlad Emelianov
|
|
29
31
|
"""
|
|
30
32
|
|
|
31
33
|
from .client import BatchClient
|
|
@@ -39,7 +41,6 @@ from .paginator import (
|
|
|
39
41
|
|
|
40
42
|
Client = BatchClient
|
|
41
43
|
|
|
42
|
-
|
|
43
44
|
__all__ = (
|
|
44
45
|
"BatchClient",
|
|
45
46
|
"Client",
|
|
@@ -12,9 +12,9 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 Batch 1.
|
|
16
|
-
"Version: 1.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Batch 1.37.0\n"
|
|
16
|
+
"Version: 1.37.0\n"
|
|
17
|
+
"Builder version: 8.9.2\n"
|
|
18
18
|
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_batch//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#batch\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.37.0\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -3,6 +3,8 @@ Type annotations for batch service Client.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/)
|
|
5
5
|
|
|
6
|
+
Copyright 2025 Vlad Emelianov
|
|
7
|
+
|
|
6
8
|
Usage::
|
|
7
9
|
|
|
8
10
|
```python
|
|
@@ -12,8 +14,6 @@ Usage::
|
|
|
12
14
|
session = Session()
|
|
13
15
|
client: BatchClient = session.client("batch")
|
|
14
16
|
```
|
|
15
|
-
|
|
16
|
-
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
from __future__ import annotations
|
|
@@ -33,47 +33,47 @@ from .paginator import (
|
|
|
33
33
|
ListSchedulingPoliciesPaginator,
|
|
34
34
|
)
|
|
35
35
|
from .type_defs import (
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
CancelJobRequestTypeDef,
|
|
37
|
+
CreateComputeEnvironmentRequestTypeDef,
|
|
38
38
|
CreateComputeEnvironmentResponseTypeDef,
|
|
39
|
-
|
|
39
|
+
CreateJobQueueRequestTypeDef,
|
|
40
40
|
CreateJobQueueResponseTypeDef,
|
|
41
|
-
|
|
41
|
+
CreateSchedulingPolicyRequestTypeDef,
|
|
42
42
|
CreateSchedulingPolicyResponseTypeDef,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
DeleteComputeEnvironmentRequestTypeDef,
|
|
44
|
+
DeleteJobQueueRequestTypeDef,
|
|
45
|
+
DeleteSchedulingPolicyRequestTypeDef,
|
|
46
|
+
DeregisterJobDefinitionRequestTypeDef,
|
|
47
|
+
DescribeComputeEnvironmentsRequestTypeDef,
|
|
48
48
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
49
|
-
|
|
49
|
+
DescribeJobDefinitionsRequestTypeDef,
|
|
50
50
|
DescribeJobDefinitionsResponseTypeDef,
|
|
51
|
-
|
|
51
|
+
DescribeJobQueuesRequestTypeDef,
|
|
52
52
|
DescribeJobQueuesResponseTypeDef,
|
|
53
|
-
|
|
53
|
+
DescribeJobsRequestTypeDef,
|
|
54
54
|
DescribeJobsResponseTypeDef,
|
|
55
|
-
|
|
55
|
+
DescribeSchedulingPoliciesRequestTypeDef,
|
|
56
56
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
57
|
-
|
|
57
|
+
GetJobQueueSnapshotRequestTypeDef,
|
|
58
58
|
GetJobQueueSnapshotResponseTypeDef,
|
|
59
|
-
|
|
59
|
+
ListJobsRequestTypeDef,
|
|
60
60
|
ListJobsResponseTypeDef,
|
|
61
|
-
|
|
61
|
+
ListSchedulingPoliciesRequestTypeDef,
|
|
62
62
|
ListSchedulingPoliciesResponseTypeDef,
|
|
63
|
-
|
|
63
|
+
ListTagsForResourceRequestTypeDef,
|
|
64
64
|
ListTagsForResourceResponseTypeDef,
|
|
65
|
-
|
|
65
|
+
RegisterJobDefinitionRequestTypeDef,
|
|
66
66
|
RegisterJobDefinitionResponseTypeDef,
|
|
67
|
-
|
|
67
|
+
SubmitJobRequestTypeDef,
|
|
68
68
|
SubmitJobResponseTypeDef,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
TagResourceRequestTypeDef,
|
|
70
|
+
TerminateJobRequestTypeDef,
|
|
71
|
+
UntagResourceRequestTypeDef,
|
|
72
|
+
UpdateComputeEnvironmentRequestTypeDef,
|
|
73
73
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
74
|
-
|
|
74
|
+
UpdateJobQueueRequestTypeDef,
|
|
75
75
|
UpdateJobQueueResponseTypeDef,
|
|
76
|
-
|
|
76
|
+
UpdateSchedulingPolicyRequestTypeDef,
|
|
77
77
|
)
|
|
78
78
|
|
|
79
79
|
if sys.version_info >= (3, 9):
|
|
@@ -132,7 +132,7 @@ class BatchClient(BaseClient):
|
|
|
132
132
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#generate_presigned_url)
|
|
133
133
|
"""
|
|
134
134
|
|
|
135
|
-
def cancel_job(self, **kwargs: Unpack[
|
|
135
|
+
def cancel_job(self, **kwargs: Unpack[CancelJobRequestTypeDef]) -> Dict[str, Any]:
|
|
136
136
|
"""
|
|
137
137
|
Cancels a job in an Batch job queue.
|
|
138
138
|
|
|
@@ -141,7 +141,7 @@ class BatchClient(BaseClient):
|
|
|
141
141
|
"""
|
|
142
142
|
|
|
143
143
|
def create_compute_environment(
|
|
144
|
-
self, **kwargs: Unpack[
|
|
144
|
+
self, **kwargs: Unpack[CreateComputeEnvironmentRequestTypeDef]
|
|
145
145
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
146
146
|
"""
|
|
147
147
|
Creates an Batch compute environment.
|
|
@@ -151,7 +151,7 @@ class BatchClient(BaseClient):
|
|
|
151
151
|
"""
|
|
152
152
|
|
|
153
153
|
def create_job_queue(
|
|
154
|
-
self, **kwargs: Unpack[
|
|
154
|
+
self, **kwargs: Unpack[CreateJobQueueRequestTypeDef]
|
|
155
155
|
) -> CreateJobQueueResponseTypeDef:
|
|
156
156
|
"""
|
|
157
157
|
Creates an Batch job queue.
|
|
@@ -161,7 +161,7 @@ class BatchClient(BaseClient):
|
|
|
161
161
|
"""
|
|
162
162
|
|
|
163
163
|
def create_scheduling_policy(
|
|
164
|
-
self, **kwargs: Unpack[
|
|
164
|
+
self, **kwargs: Unpack[CreateSchedulingPolicyRequestTypeDef]
|
|
165
165
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
166
166
|
"""
|
|
167
167
|
Creates an Batch scheduling policy.
|
|
@@ -171,7 +171,7 @@ class BatchClient(BaseClient):
|
|
|
171
171
|
"""
|
|
172
172
|
|
|
173
173
|
def delete_compute_environment(
|
|
174
|
-
self, **kwargs: Unpack[
|
|
174
|
+
self, **kwargs: Unpack[DeleteComputeEnvironmentRequestTypeDef]
|
|
175
175
|
) -> Dict[str, Any]:
|
|
176
176
|
"""
|
|
177
177
|
Deletes an Batch compute environment.
|
|
@@ -180,9 +180,7 @@ class BatchClient(BaseClient):
|
|
|
180
180
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_compute_environment)
|
|
181
181
|
"""
|
|
182
182
|
|
|
183
|
-
def delete_job_queue(
|
|
184
|
-
self, **kwargs: Unpack[DeleteJobQueueRequestRequestTypeDef]
|
|
185
|
-
) -> Dict[str, Any]:
|
|
183
|
+
def delete_job_queue(self, **kwargs: Unpack[DeleteJobQueueRequestTypeDef]) -> Dict[str, Any]:
|
|
186
184
|
"""
|
|
187
185
|
Deletes the specified job queue.
|
|
188
186
|
|
|
@@ -191,7 +189,7 @@ class BatchClient(BaseClient):
|
|
|
191
189
|
"""
|
|
192
190
|
|
|
193
191
|
def delete_scheduling_policy(
|
|
194
|
-
self, **kwargs: Unpack[
|
|
192
|
+
self, **kwargs: Unpack[DeleteSchedulingPolicyRequestTypeDef]
|
|
195
193
|
) -> Dict[str, Any]:
|
|
196
194
|
"""
|
|
197
195
|
Deletes the specified scheduling policy.
|
|
@@ -201,7 +199,7 @@ class BatchClient(BaseClient):
|
|
|
201
199
|
"""
|
|
202
200
|
|
|
203
201
|
def deregister_job_definition(
|
|
204
|
-
self, **kwargs: Unpack[
|
|
202
|
+
self, **kwargs: Unpack[DeregisterJobDefinitionRequestTypeDef]
|
|
205
203
|
) -> Dict[str, Any]:
|
|
206
204
|
"""
|
|
207
205
|
Deregisters an Batch job definition.
|
|
@@ -211,7 +209,7 @@ class BatchClient(BaseClient):
|
|
|
211
209
|
"""
|
|
212
210
|
|
|
213
211
|
def describe_compute_environments(
|
|
214
|
-
self, **kwargs: Unpack[
|
|
212
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestTypeDef]
|
|
215
213
|
) -> DescribeComputeEnvironmentsResponseTypeDef:
|
|
216
214
|
"""
|
|
217
215
|
Describes one or more of your compute environments.
|
|
@@ -221,7 +219,7 @@ class BatchClient(BaseClient):
|
|
|
221
219
|
"""
|
|
222
220
|
|
|
223
221
|
def describe_job_definitions(
|
|
224
|
-
self, **kwargs: Unpack[
|
|
222
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestTypeDef]
|
|
225
223
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
226
224
|
"""
|
|
227
225
|
Describes a list of job definitions.
|
|
@@ -231,7 +229,7 @@ class BatchClient(BaseClient):
|
|
|
231
229
|
"""
|
|
232
230
|
|
|
233
231
|
def describe_job_queues(
|
|
234
|
-
self, **kwargs: Unpack[
|
|
232
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestTypeDef]
|
|
235
233
|
) -> DescribeJobQueuesResponseTypeDef:
|
|
236
234
|
"""
|
|
237
235
|
Describes one or more of your job queues.
|
|
@@ -241,7 +239,7 @@ class BatchClient(BaseClient):
|
|
|
241
239
|
"""
|
|
242
240
|
|
|
243
241
|
def describe_jobs(
|
|
244
|
-
self, **kwargs: Unpack[
|
|
242
|
+
self, **kwargs: Unpack[DescribeJobsRequestTypeDef]
|
|
245
243
|
) -> DescribeJobsResponseTypeDef:
|
|
246
244
|
"""
|
|
247
245
|
Describes a list of Batch jobs.
|
|
@@ -251,7 +249,7 @@ class BatchClient(BaseClient):
|
|
|
251
249
|
"""
|
|
252
250
|
|
|
253
251
|
def describe_scheduling_policies(
|
|
254
|
-
self, **kwargs: Unpack[
|
|
252
|
+
self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestTypeDef]
|
|
255
253
|
) -> DescribeSchedulingPoliciesResponseTypeDef:
|
|
256
254
|
"""
|
|
257
255
|
Describes one or more of your scheduling policies.
|
|
@@ -261,7 +259,7 @@ class BatchClient(BaseClient):
|
|
|
261
259
|
"""
|
|
262
260
|
|
|
263
261
|
def get_job_queue_snapshot(
|
|
264
|
-
self, **kwargs: Unpack[
|
|
262
|
+
self, **kwargs: Unpack[GetJobQueueSnapshotRequestTypeDef]
|
|
265
263
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
266
264
|
"""
|
|
267
265
|
Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
|
|
@@ -271,7 +269,7 @@ class BatchClient(BaseClient):
|
|
|
271
269
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_job_queue_snapshot)
|
|
272
270
|
"""
|
|
273
271
|
|
|
274
|
-
def list_jobs(self, **kwargs: Unpack[
|
|
272
|
+
def list_jobs(self, **kwargs: Unpack[ListJobsRequestTypeDef]) -> ListJobsResponseTypeDef:
|
|
275
273
|
"""
|
|
276
274
|
Returns a list of Batch jobs.
|
|
277
275
|
|
|
@@ -280,7 +278,7 @@ class BatchClient(BaseClient):
|
|
|
280
278
|
"""
|
|
281
279
|
|
|
282
280
|
def list_scheduling_policies(
|
|
283
|
-
self, **kwargs: Unpack[
|
|
281
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestTypeDef]
|
|
284
282
|
) -> ListSchedulingPoliciesResponseTypeDef:
|
|
285
283
|
"""
|
|
286
284
|
Returns a list of Batch scheduling policies.
|
|
@@ -290,7 +288,7 @@ class BatchClient(BaseClient):
|
|
|
290
288
|
"""
|
|
291
289
|
|
|
292
290
|
def list_tags_for_resource(
|
|
293
|
-
self, **kwargs: Unpack[
|
|
291
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
294
292
|
) -> ListTagsForResourceResponseTypeDef:
|
|
295
293
|
"""
|
|
296
294
|
Lists the tags for an Batch resource.
|
|
@@ -300,7 +298,7 @@ class BatchClient(BaseClient):
|
|
|
300
298
|
"""
|
|
301
299
|
|
|
302
300
|
def register_job_definition(
|
|
303
|
-
self, **kwargs: Unpack[
|
|
301
|
+
self, **kwargs: Unpack[RegisterJobDefinitionRequestTypeDef]
|
|
304
302
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
305
303
|
"""
|
|
306
304
|
Registers an Batch job definition.
|
|
@@ -309,9 +307,7 @@ class BatchClient(BaseClient):
|
|
|
309
307
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#register_job_definition)
|
|
310
308
|
"""
|
|
311
309
|
|
|
312
|
-
def submit_job(
|
|
313
|
-
self, **kwargs: Unpack[SubmitJobRequestRequestTypeDef]
|
|
314
|
-
) -> SubmitJobResponseTypeDef:
|
|
310
|
+
def submit_job(self, **kwargs: Unpack[SubmitJobRequestTypeDef]) -> SubmitJobResponseTypeDef:
|
|
315
311
|
"""
|
|
316
312
|
Submits an Batch job from a job definition.
|
|
317
313
|
|
|
@@ -319,7 +315,7 @@ class BatchClient(BaseClient):
|
|
|
319
315
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_job)
|
|
320
316
|
"""
|
|
321
317
|
|
|
322
|
-
def tag_resource(self, **kwargs: Unpack[
|
|
318
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
323
319
|
"""
|
|
324
320
|
Associates the specified tags to a resource with the specified
|
|
325
321
|
<code>resourceArn</code>.
|
|
@@ -328,7 +324,7 @@ class BatchClient(BaseClient):
|
|
|
328
324
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#tag_resource)
|
|
329
325
|
"""
|
|
330
326
|
|
|
331
|
-
def terminate_job(self, **kwargs: Unpack[
|
|
327
|
+
def terminate_job(self, **kwargs: Unpack[TerminateJobRequestTypeDef]) -> Dict[str, Any]:
|
|
332
328
|
"""
|
|
333
329
|
Terminates a job in a job queue.
|
|
334
330
|
|
|
@@ -336,9 +332,7 @@ class BatchClient(BaseClient):
|
|
|
336
332
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_job)
|
|
337
333
|
"""
|
|
338
334
|
|
|
339
|
-
def untag_resource(
|
|
340
|
-
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
341
|
-
) -> Dict[str, Any]:
|
|
335
|
+
def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
342
336
|
"""
|
|
343
337
|
Deletes specified tags from an Batch resource.
|
|
344
338
|
|
|
@@ -347,7 +341,7 @@ class BatchClient(BaseClient):
|
|
|
347
341
|
"""
|
|
348
342
|
|
|
349
343
|
def update_compute_environment(
|
|
350
|
-
self, **kwargs: Unpack[
|
|
344
|
+
self, **kwargs: Unpack[UpdateComputeEnvironmentRequestTypeDef]
|
|
351
345
|
) -> UpdateComputeEnvironmentResponseTypeDef:
|
|
352
346
|
"""
|
|
353
347
|
Updates an Batch compute environment.
|
|
@@ -357,7 +351,7 @@ class BatchClient(BaseClient):
|
|
|
357
351
|
"""
|
|
358
352
|
|
|
359
353
|
def update_job_queue(
|
|
360
|
-
self, **kwargs: Unpack[
|
|
354
|
+
self, **kwargs: Unpack[UpdateJobQueueRequestTypeDef]
|
|
361
355
|
) -> UpdateJobQueueResponseTypeDef:
|
|
362
356
|
"""
|
|
363
357
|
Updates a job queue.
|
|
@@ -367,7 +361,7 @@ class BatchClient(BaseClient):
|
|
|
367
361
|
"""
|
|
368
362
|
|
|
369
363
|
def update_scheduling_policy(
|
|
370
|
-
self, **kwargs: Unpack[
|
|
364
|
+
self, **kwargs: Unpack[UpdateSchedulingPolicyRequestTypeDef]
|
|
371
365
|
) -> Dict[str, Any]:
|
|
372
366
|
"""
|
|
373
367
|
Updates a scheduling policy.
|