mypy-boto3-batch 1.35.0__tar.gz → 1.35.53__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.
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/PKG-INFO +8 -9
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/README.md +6 -7
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/__init__.py +1 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/__main__.py +4 -4
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/client.py +70 -144
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/client.pyi +69 -144
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/literals.py +10 -3
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/literals.pyi +8 -3
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/paginator.py +21 -23
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/paginator.pyi +19 -28
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/type_defs.py +241 -444
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/type_defs.pyi +242 -446
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/version.py +1 -1
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch.egg-info/PKG-INFO +8 -9
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/setup.py +2 -2
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/LICENSE +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/__init__.pyi +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch/py.typed +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch.egg-info/requires.txt +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
- {mypy_boto3_batch-1.35.0 → mypy_boto3_batch-1.35.53}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-batch
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3.Batch 1.35.
|
|
3
|
+
Version: 1.35.53
|
|
4
|
+
Summary: Type annotations for boto3.Batch 1.35.53 service generated with mypy-boto3-builder 8.1.4
|
|
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
|
|
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
Type annotations for
|
|
46
|
-
[boto3.Batch 1.35.
|
|
46
|
+
[boto3.Batch 1.35.53](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
|
|
47
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -52,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated by
|
|
55
|
-
[mypy-boto3-builder
|
|
55
|
+
[mypy-boto3-builder 8.1.4](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -160,7 +160,7 @@ annotations required, write your `boto3` code as usual.
|
|
|
160
160
|
Install `boto3-stubs-lite[batch]` in your environment:
|
|
161
161
|
|
|
162
162
|
```bash
|
|
163
|
-
python -m pip install 'boto3-stubs-lite[batch]'
|
|
163
|
+
python -m pip install 'boto3-stubs-lite[batch]'
|
|
164
164
|
```
|
|
165
165
|
|
|
166
166
|
Both type checking and code completion should now work. Explicit type
|
|
@@ -230,7 +230,7 @@ should work.
|
|
|
230
230
|
- Install `boto3-stubs[batch]` in your environment:
|
|
231
231
|
|
|
232
232
|
```bash
|
|
233
|
-
python -m pip install 'boto3-stubs[batch]'
|
|
233
|
+
python -m pip install 'boto3-stubs[batch]'
|
|
234
234
|
```
|
|
235
235
|
|
|
236
236
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -247,7 +247,7 @@ your `boto3` code as usual.
|
|
|
247
247
|
python -m pip install 'boto3-stubs[batch]'
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
250
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
251
251
|
|
|
252
252
|
Type checking should now work. No explicit type annotations required, write
|
|
253
253
|
your `boto3` code as usual.
|
|
@@ -359,8 +359,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
359
359
|
annotations extracted from `botocore` schemas.
|
|
360
360
|
- Type annotations include up-to-date documentation.
|
|
361
361
|
- Link to documentation is provided for every method.
|
|
362
|
-
- Code is processed by [
|
|
363
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
362
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
364
363
|
|
|
365
364
|
<a id="what's-new"></a>
|
|
366
365
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.Batch 1.35.
|
|
13
|
+
[boto3.Batch 1.35.53](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
|
|
14
14
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder
|
|
22
|
+
[mypy-boto3-builder 8.1.4](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -127,7 +127,7 @@ annotations required, write your `boto3` code as usual.
|
|
|
127
127
|
Install `boto3-stubs-lite[batch]` in your environment:
|
|
128
128
|
|
|
129
129
|
```bash
|
|
130
|
-
python -m pip install 'boto3-stubs-lite[batch]'
|
|
130
|
+
python -m pip install 'boto3-stubs-lite[batch]'
|
|
131
131
|
```
|
|
132
132
|
|
|
133
133
|
Both type checking and code completion should now work. Explicit type
|
|
@@ -197,7 +197,7 @@ should work.
|
|
|
197
197
|
- Install `boto3-stubs[batch]` in your environment:
|
|
198
198
|
|
|
199
199
|
```bash
|
|
200
|
-
python -m pip install 'boto3-stubs[batch]'
|
|
200
|
+
python -m pip install 'boto3-stubs[batch]'
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -214,7 +214,7 @@ your `boto3` code as usual.
|
|
|
214
214
|
python -m pip install 'boto3-stubs[batch]'
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
217
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
218
218
|
|
|
219
219
|
Type checking should now work. No explicit type annotations required, write
|
|
220
220
|
your `boto3` code as usual.
|
|
@@ -326,8 +326,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
326
326
|
annotations extracted from `botocore` schemas.
|
|
327
327
|
- Type annotations include up-to-date documentation.
|
|
328
328
|
- Link to documentation is provided for every method.
|
|
329
|
-
- Code is processed by [
|
|
330
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
329
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
331
330
|
|
|
332
331
|
<a id="what's-new"></a>
|
|
333
332
|
|
|
@@ -10,9 +10,9 @@ def print_info() -> None:
|
|
|
10
10
|
Print package info to stdout.
|
|
11
11
|
"""
|
|
12
12
|
print(
|
|
13
|
-
"Type annotations for boto3.Batch 1.35.
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version:
|
|
13
|
+
"Type annotations for boto3.Batch 1.35.53\n"
|
|
14
|
+
"Version: 1.35.53\n"
|
|
15
|
+
"Builder version: 8.1.4\n"
|
|
16
16
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
|
|
17
17
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch\n"
|
|
18
18
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -24,7 +24,7 @@ def print_version() -> None:
|
|
|
24
24
|
"""
|
|
25
25
|
Print package version to stdout.
|
|
26
26
|
"""
|
|
27
|
-
print("1.35.
|
|
27
|
+
print("1.35.53")
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def main() -> None:
|
|
@@ -15,18 +15,10 @@ Usage::
|
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
18
|
-
from typing import Any, Dict, Mapping,
|
|
18
|
+
from typing import Any, Dict, Mapping, Type, overload
|
|
19
19
|
|
|
20
20
|
from botocore.client import BaseClient, ClientMeta
|
|
21
21
|
|
|
22
|
-
from .literals import (
|
|
23
|
-
CEStateType,
|
|
24
|
-
CETypeType,
|
|
25
|
-
JobDefinitionTypeType,
|
|
26
|
-
JobStatusType,
|
|
27
|
-
JQStateType,
|
|
28
|
-
PlatformCapabilityType,
|
|
29
|
-
)
|
|
30
22
|
from .paginator import (
|
|
31
23
|
DescribeComputeEnvironmentsPaginator,
|
|
32
24
|
DescribeJobDefinitionsPaginator,
|
|
@@ -35,48 +27,54 @@ from .paginator import (
|
|
|
35
27
|
ListSchedulingPoliciesPaginator,
|
|
36
28
|
)
|
|
37
29
|
from .type_defs import (
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
ComputeResourceUnionTypeDef,
|
|
41
|
-
ComputeResourceUpdateTypeDef,
|
|
42
|
-
ContainerOverridesTypeDef,
|
|
43
|
-
ContainerPropertiesUnionTypeDef,
|
|
30
|
+
CancelJobRequestRequestTypeDef,
|
|
31
|
+
CreateComputeEnvironmentRequestRequestTypeDef,
|
|
44
32
|
CreateComputeEnvironmentResponseTypeDef,
|
|
33
|
+
CreateJobQueueRequestRequestTypeDef,
|
|
45
34
|
CreateJobQueueResponseTypeDef,
|
|
35
|
+
CreateSchedulingPolicyRequestRequestTypeDef,
|
|
46
36
|
CreateSchedulingPolicyResponseTypeDef,
|
|
37
|
+
DeleteComputeEnvironmentRequestRequestTypeDef,
|
|
38
|
+
DeleteJobQueueRequestRequestTypeDef,
|
|
39
|
+
DeleteSchedulingPolicyRequestRequestTypeDef,
|
|
40
|
+
DeregisterJobDefinitionRequestRequestTypeDef,
|
|
41
|
+
DescribeComputeEnvironmentsRequestRequestTypeDef,
|
|
47
42
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
43
|
+
DescribeJobDefinitionsRequestRequestTypeDef,
|
|
48
44
|
DescribeJobDefinitionsResponseTypeDef,
|
|
45
|
+
DescribeJobQueuesRequestRequestTypeDef,
|
|
49
46
|
DescribeJobQueuesResponseTypeDef,
|
|
47
|
+
DescribeJobsRequestRequestTypeDef,
|
|
50
48
|
DescribeJobsResponseTypeDef,
|
|
49
|
+
DescribeSchedulingPoliciesRequestRequestTypeDef,
|
|
51
50
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
52
|
-
|
|
53
|
-
EcsPropertiesUnionTypeDef,
|
|
54
|
-
EksConfigurationTypeDef,
|
|
55
|
-
EksPropertiesOverrideTypeDef,
|
|
56
|
-
EksPropertiesUnionTypeDef,
|
|
57
|
-
FairsharePolicyUnionTypeDef,
|
|
51
|
+
GetJobQueueSnapshotRequestRequestTypeDef,
|
|
58
52
|
GetJobQueueSnapshotResponseTypeDef,
|
|
59
|
-
|
|
60
|
-
JobStateTimeLimitActionTypeDef,
|
|
61
|
-
JobTimeoutTypeDef,
|
|
62
|
-
KeyValuesPairTypeDef,
|
|
53
|
+
ListJobsRequestRequestTypeDef,
|
|
63
54
|
ListJobsResponseTypeDef,
|
|
55
|
+
ListSchedulingPoliciesRequestRequestTypeDef,
|
|
64
56
|
ListSchedulingPoliciesResponseTypeDef,
|
|
57
|
+
ListTagsForResourceRequestRequestTypeDef,
|
|
65
58
|
ListTagsForResourceResponseTypeDef,
|
|
66
|
-
|
|
67
|
-
NodePropertiesUnionTypeDef,
|
|
59
|
+
RegisterJobDefinitionRequestRequestTypeDef,
|
|
68
60
|
RegisterJobDefinitionResponseTypeDef,
|
|
69
|
-
|
|
61
|
+
SubmitJobRequestRequestTypeDef,
|
|
70
62
|
SubmitJobResponseTypeDef,
|
|
63
|
+
TagResourceRequestRequestTypeDef,
|
|
64
|
+
TerminateJobRequestRequestTypeDef,
|
|
65
|
+
UntagResourceRequestRequestTypeDef,
|
|
66
|
+
UpdateComputeEnvironmentRequestRequestTypeDef,
|
|
71
67
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
68
|
+
UpdateJobQueueRequestRequestTypeDef,
|
|
72
69
|
UpdateJobQueueResponseTypeDef,
|
|
73
|
-
|
|
70
|
+
UpdateSchedulingPolicyRequestRequestTypeDef,
|
|
74
71
|
)
|
|
75
72
|
|
|
76
73
|
if sys.version_info >= (3, 12):
|
|
77
|
-
from typing import Literal
|
|
74
|
+
from typing import Literal, Unpack
|
|
78
75
|
else:
|
|
79
|
-
from typing_extensions import Literal
|
|
76
|
+
from typing_extensions import Literal, Unpack
|
|
77
|
+
|
|
80
78
|
|
|
81
79
|
__all__ = ("BatchClient",)
|
|
82
80
|
|
|
@@ -120,7 +118,7 @@ class BatchClient(BaseClient):
|
|
|
120
118
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
|
|
121
119
|
"""
|
|
122
120
|
|
|
123
|
-
def cancel_job(self,
|
|
121
|
+
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
124
122
|
"""
|
|
125
123
|
Cancels a job in an Batch job queue.
|
|
126
124
|
|
|
@@ -137,17 +135,7 @@ class BatchClient(BaseClient):
|
|
|
137
135
|
"""
|
|
138
136
|
|
|
139
137
|
def create_compute_environment(
|
|
140
|
-
self,
|
|
141
|
-
*,
|
|
142
|
-
computeEnvironmentName: str,
|
|
143
|
-
type: CETypeType,
|
|
144
|
-
state: CEStateType = ...,
|
|
145
|
-
unmanagedvCpus: int = ...,
|
|
146
|
-
computeResources: ComputeResourceUnionTypeDef = ...,
|
|
147
|
-
serviceRole: str = ...,
|
|
148
|
-
tags: Mapping[str, str] = ...,
|
|
149
|
-
eksConfiguration: EksConfigurationTypeDef = ...,
|
|
150
|
-
context: str = ...,
|
|
138
|
+
self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
|
|
151
139
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
152
140
|
"""
|
|
153
141
|
Creates an Batch compute environment.
|
|
@@ -157,15 +145,7 @@ class BatchClient(BaseClient):
|
|
|
157
145
|
"""
|
|
158
146
|
|
|
159
147
|
def create_job_queue(
|
|
160
|
-
self,
|
|
161
|
-
*,
|
|
162
|
-
jobQueueName: str,
|
|
163
|
-
priority: int,
|
|
164
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],
|
|
165
|
-
state: JQStateType = ...,
|
|
166
|
-
schedulingPolicyArn: str = ...,
|
|
167
|
-
tags: Mapping[str, str] = ...,
|
|
168
|
-
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
148
|
+
self, **kwargs: Unpack[CreateJobQueueRequestRequestTypeDef]
|
|
169
149
|
) -> CreateJobQueueResponseTypeDef:
|
|
170
150
|
"""
|
|
171
151
|
Creates an Batch job queue.
|
|
@@ -175,11 +155,7 @@ class BatchClient(BaseClient):
|
|
|
175
155
|
"""
|
|
176
156
|
|
|
177
157
|
def create_scheduling_policy(
|
|
178
|
-
self,
|
|
179
|
-
*,
|
|
180
|
-
name: str,
|
|
181
|
-
fairsharePolicy: FairsharePolicyUnionTypeDef = ...,
|
|
182
|
-
tags: Mapping[str, str] = ...,
|
|
158
|
+
self, **kwargs: Unpack[CreateSchedulingPolicyRequestRequestTypeDef]
|
|
183
159
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
184
160
|
"""
|
|
185
161
|
Creates an Batch scheduling policy.
|
|
@@ -188,7 +164,9 @@ class BatchClient(BaseClient):
|
|
|
188
164
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
189
165
|
"""
|
|
190
166
|
|
|
191
|
-
def delete_compute_environment(
|
|
167
|
+
def delete_compute_environment(
|
|
168
|
+
self, **kwargs: Unpack[DeleteComputeEnvironmentRequestRequestTypeDef]
|
|
169
|
+
) -> Dict[str, Any]:
|
|
192
170
|
"""
|
|
193
171
|
Deletes an Batch compute environment.
|
|
194
172
|
|
|
@@ -196,7 +174,9 @@ class BatchClient(BaseClient):
|
|
|
196
174
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
197
175
|
"""
|
|
198
176
|
|
|
199
|
-
def delete_job_queue(
|
|
177
|
+
def delete_job_queue(
|
|
178
|
+
self, **kwargs: Unpack[DeleteJobQueueRequestRequestTypeDef]
|
|
179
|
+
) -> Dict[str, Any]:
|
|
200
180
|
"""
|
|
201
181
|
Deletes the specified job queue.
|
|
202
182
|
|
|
@@ -204,7 +184,9 @@ class BatchClient(BaseClient):
|
|
|
204
184
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
205
185
|
"""
|
|
206
186
|
|
|
207
|
-
def delete_scheduling_policy(
|
|
187
|
+
def delete_scheduling_policy(
|
|
188
|
+
self, **kwargs: Unpack[DeleteSchedulingPolicyRequestRequestTypeDef]
|
|
189
|
+
) -> Dict[str, Any]:
|
|
208
190
|
"""
|
|
209
191
|
Deletes the specified scheduling policy.
|
|
210
192
|
|
|
@@ -212,7 +194,9 @@ class BatchClient(BaseClient):
|
|
|
212
194
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
213
195
|
"""
|
|
214
196
|
|
|
215
|
-
def deregister_job_definition(
|
|
197
|
+
def deregister_job_definition(
|
|
198
|
+
self, **kwargs: Unpack[DeregisterJobDefinitionRequestRequestTypeDef]
|
|
199
|
+
) -> Dict[str, Any]:
|
|
216
200
|
"""
|
|
217
201
|
Deregisters an Batch job definition.
|
|
218
202
|
|
|
@@ -221,11 +205,7 @@ class BatchClient(BaseClient):
|
|
|
221
205
|
"""
|
|
222
206
|
|
|
223
207
|
def describe_compute_environments(
|
|
224
|
-
self,
|
|
225
|
-
*,
|
|
226
|
-
computeEnvironments: Sequence[str] = ...,
|
|
227
|
-
maxResults: int = ...,
|
|
228
|
-
nextToken: str = ...,
|
|
208
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestRequestTypeDef]
|
|
229
209
|
) -> DescribeComputeEnvironmentsResponseTypeDef:
|
|
230
210
|
"""
|
|
231
211
|
Describes one or more of your compute environments.
|
|
@@ -235,13 +215,7 @@ class BatchClient(BaseClient):
|
|
|
235
215
|
"""
|
|
236
216
|
|
|
237
217
|
def describe_job_definitions(
|
|
238
|
-
self,
|
|
239
|
-
*,
|
|
240
|
-
jobDefinitions: Sequence[str] = ...,
|
|
241
|
-
maxResults: int = ...,
|
|
242
|
-
jobDefinitionName: str = ...,
|
|
243
|
-
status: str = ...,
|
|
244
|
-
nextToken: str = ...,
|
|
218
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestRequestTypeDef]
|
|
245
219
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
246
220
|
"""
|
|
247
221
|
Describes a list of job definitions.
|
|
@@ -251,7 +225,7 @@ class BatchClient(BaseClient):
|
|
|
251
225
|
"""
|
|
252
226
|
|
|
253
227
|
def describe_job_queues(
|
|
254
|
-
self,
|
|
228
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestRequestTypeDef]
|
|
255
229
|
) -> DescribeJobQueuesResponseTypeDef:
|
|
256
230
|
"""
|
|
257
231
|
Describes one or more of your job queues.
|
|
@@ -260,7 +234,9 @@ class BatchClient(BaseClient):
|
|
|
260
234
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
261
235
|
"""
|
|
262
236
|
|
|
263
|
-
def describe_jobs(
|
|
237
|
+
def describe_jobs(
|
|
238
|
+
self, **kwargs: Unpack[DescribeJobsRequestRequestTypeDef]
|
|
239
|
+
) -> DescribeJobsResponseTypeDef:
|
|
264
240
|
"""
|
|
265
241
|
Describes a list of Batch jobs.
|
|
266
242
|
|
|
@@ -269,7 +245,7 @@ class BatchClient(BaseClient):
|
|
|
269
245
|
"""
|
|
270
246
|
|
|
271
247
|
def describe_scheduling_policies(
|
|
272
|
-
self,
|
|
248
|
+
self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestRequestTypeDef]
|
|
273
249
|
) -> DescribeSchedulingPoliciesResponseTypeDef:
|
|
274
250
|
"""
|
|
275
251
|
Describes one or more of your scheduling policies.
|
|
@@ -292,7 +268,9 @@ class BatchClient(BaseClient):
|
|
|
292
268
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
293
269
|
"""
|
|
294
270
|
|
|
295
|
-
def get_job_queue_snapshot(
|
|
271
|
+
def get_job_queue_snapshot(
|
|
272
|
+
self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
|
|
273
|
+
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
296
274
|
"""
|
|
297
275
|
Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
|
|
298
276
|
queue.
|
|
@@ -301,17 +279,7 @@ class BatchClient(BaseClient):
|
|
|
301
279
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
302
280
|
"""
|
|
303
281
|
|
|
304
|
-
def list_jobs(
|
|
305
|
-
self,
|
|
306
|
-
*,
|
|
307
|
-
jobQueue: str = ...,
|
|
308
|
-
arrayJobId: str = ...,
|
|
309
|
-
multiNodeJobId: str = ...,
|
|
310
|
-
jobStatus: JobStatusType = ...,
|
|
311
|
-
maxResults: int = ...,
|
|
312
|
-
nextToken: str = ...,
|
|
313
|
-
filters: Sequence[KeyValuesPairTypeDef] = ...,
|
|
314
|
-
) -> ListJobsResponseTypeDef:
|
|
282
|
+
def list_jobs(self, **kwargs: Unpack[ListJobsRequestRequestTypeDef]) -> ListJobsResponseTypeDef:
|
|
315
283
|
"""
|
|
316
284
|
Returns a list of Batch jobs.
|
|
317
285
|
|
|
@@ -320,7 +288,7 @@ class BatchClient(BaseClient):
|
|
|
320
288
|
"""
|
|
321
289
|
|
|
322
290
|
def list_scheduling_policies(
|
|
323
|
-
self,
|
|
291
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestRequestTypeDef]
|
|
324
292
|
) -> ListSchedulingPoliciesResponseTypeDef:
|
|
325
293
|
"""
|
|
326
294
|
Returns a list of Batch scheduling policies.
|
|
@@ -329,7 +297,9 @@ class BatchClient(BaseClient):
|
|
|
329
297
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
330
298
|
"""
|
|
331
299
|
|
|
332
|
-
def list_tags_for_resource(
|
|
300
|
+
def list_tags_for_resource(
|
|
301
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
302
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
333
303
|
"""
|
|
334
304
|
Lists the tags for an Batch resource.
|
|
335
305
|
|
|
@@ -338,21 +308,7 @@ class BatchClient(BaseClient):
|
|
|
338
308
|
"""
|
|
339
309
|
|
|
340
310
|
def register_job_definition(
|
|
341
|
-
self,
|
|
342
|
-
*,
|
|
343
|
-
jobDefinitionName: str,
|
|
344
|
-
type: JobDefinitionTypeType,
|
|
345
|
-
parameters: Mapping[str, str] = ...,
|
|
346
|
-
schedulingPriority: int = ...,
|
|
347
|
-
containerProperties: ContainerPropertiesUnionTypeDef = ...,
|
|
348
|
-
nodeProperties: NodePropertiesUnionTypeDef = ...,
|
|
349
|
-
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
350
|
-
propagateTags: bool = ...,
|
|
351
|
-
timeout: JobTimeoutTypeDef = ...,
|
|
352
|
-
tags: Mapping[str, str] = ...,
|
|
353
|
-
platformCapabilities: Sequence[PlatformCapabilityType] = ...,
|
|
354
|
-
eksProperties: EksPropertiesUnionTypeDef = ...,
|
|
355
|
-
ecsProperties: EcsPropertiesUnionTypeDef = ...,
|
|
311
|
+
self, **kwargs: Unpack[RegisterJobDefinitionRequestRequestTypeDef]
|
|
356
312
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
357
313
|
"""
|
|
358
314
|
Registers an Batch job definition.
|
|
@@ -362,24 +318,7 @@ class BatchClient(BaseClient):
|
|
|
362
318
|
"""
|
|
363
319
|
|
|
364
320
|
def submit_job(
|
|
365
|
-
self,
|
|
366
|
-
*,
|
|
367
|
-
jobName: str,
|
|
368
|
-
jobQueue: str,
|
|
369
|
-
jobDefinition: str,
|
|
370
|
-
shareIdentifier: str = ...,
|
|
371
|
-
schedulingPriorityOverride: int = ...,
|
|
372
|
-
arrayProperties: ArrayPropertiesTypeDef = ...,
|
|
373
|
-
dependsOn: Sequence[JobDependencyTypeDef] = ...,
|
|
374
|
-
parameters: Mapping[str, str] = ...,
|
|
375
|
-
containerOverrides: ContainerOverridesTypeDef = ...,
|
|
376
|
-
nodeOverrides: NodeOverridesTypeDef = ...,
|
|
377
|
-
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
378
|
-
propagateTags: bool = ...,
|
|
379
|
-
timeout: JobTimeoutTypeDef = ...,
|
|
380
|
-
tags: Mapping[str, str] = ...,
|
|
381
|
-
eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
|
|
382
|
-
ecsPropertiesOverride: EcsPropertiesOverrideTypeDef = ...,
|
|
321
|
+
self, **kwargs: Unpack[SubmitJobRequestRequestTypeDef]
|
|
383
322
|
) -> SubmitJobResponseTypeDef:
|
|
384
323
|
"""
|
|
385
324
|
Submits an Batch job from a job definition.
|
|
@@ -388,7 +327,7 @@ class BatchClient(BaseClient):
|
|
|
388
327
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
389
328
|
"""
|
|
390
329
|
|
|
391
|
-
def tag_resource(self,
|
|
330
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
392
331
|
"""
|
|
393
332
|
Associates the specified tags to a resource with the specified `resourceArn`.
|
|
394
333
|
|
|
@@ -396,7 +335,7 @@ class BatchClient(BaseClient):
|
|
|
396
335
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
397
336
|
"""
|
|
398
337
|
|
|
399
|
-
def terminate_job(self,
|
|
338
|
+
def terminate_job(self, **kwargs: Unpack[TerminateJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
400
339
|
"""
|
|
401
340
|
Terminates a job in a job queue.
|
|
402
341
|
|
|
@@ -404,7 +343,9 @@ class BatchClient(BaseClient):
|
|
|
404
343
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
405
344
|
"""
|
|
406
345
|
|
|
407
|
-
def untag_resource(
|
|
346
|
+
def untag_resource(
|
|
347
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
348
|
+
) -> Dict[str, Any]:
|
|
408
349
|
"""
|
|
409
350
|
Deletes specified tags from an Batch resource.
|
|
410
351
|
|
|
@@ -413,15 +354,7 @@ class BatchClient(BaseClient):
|
|
|
413
354
|
"""
|
|
414
355
|
|
|
415
356
|
def update_compute_environment(
|
|
416
|
-
self,
|
|
417
|
-
*,
|
|
418
|
-
computeEnvironment: str,
|
|
419
|
-
state: CEStateType = ...,
|
|
420
|
-
unmanagedvCpus: int = ...,
|
|
421
|
-
computeResources: ComputeResourceUpdateTypeDef = ...,
|
|
422
|
-
serviceRole: str = ...,
|
|
423
|
-
updatePolicy: UpdatePolicyTypeDef = ...,
|
|
424
|
-
context: str = ...,
|
|
357
|
+
self, **kwargs: Unpack[UpdateComputeEnvironmentRequestRequestTypeDef]
|
|
425
358
|
) -> UpdateComputeEnvironmentResponseTypeDef:
|
|
426
359
|
"""
|
|
427
360
|
Updates an Batch compute environment.
|
|
@@ -431,14 +364,7 @@ class BatchClient(BaseClient):
|
|
|
431
364
|
"""
|
|
432
365
|
|
|
433
366
|
def update_job_queue(
|
|
434
|
-
self,
|
|
435
|
-
*,
|
|
436
|
-
jobQueue: str,
|
|
437
|
-
state: JQStateType = ...,
|
|
438
|
-
schedulingPolicyArn: str = ...,
|
|
439
|
-
priority: int = ...,
|
|
440
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
|
|
441
|
-
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
367
|
+
self, **kwargs: Unpack[UpdateJobQueueRequestRequestTypeDef]
|
|
442
368
|
) -> UpdateJobQueueResponseTypeDef:
|
|
443
369
|
"""
|
|
444
370
|
Updates a job queue.
|
|
@@ -448,7 +374,7 @@ class BatchClient(BaseClient):
|
|
|
448
374
|
"""
|
|
449
375
|
|
|
450
376
|
def update_scheduling_policy(
|
|
451
|
-
self,
|
|
377
|
+
self, **kwargs: Unpack[UpdateSchedulingPolicyRequestRequestTypeDef]
|
|
452
378
|
) -> Dict[str, Any]:
|
|
453
379
|
"""
|
|
454
380
|
Updates a scheduling policy.
|