mypy-boto3-batch 1.28.36__py3-none-any.whl → 1.34.59__py3-none-any.whl
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/__init__.py +1 -1
- mypy_boto3_batch/__init__.pyi +1 -0
- mypy_boto3_batch/__main__.py +9 -7
- mypy_boto3_batch/client.py +19 -12
- mypy_boto3_batch/client.pyi +51 -11
- mypy_boto3_batch/literals.py +34 -4
- mypy_boto3_batch/literals.pyi +34 -2
- mypy_boto3_batch/paginator.py +4 -4
- mypy_boto3_batch/paginator.pyi +4 -3
- mypy_boto3_batch/type_defs.py +228 -181
- mypy_boto3_batch/type_defs.pyi +228 -180
- mypy_boto3_batch/version.py +2 -1
- {mypy_boto3_batch-1.28.36.dist-info → mypy_boto3_batch-1.34.59.dist-info}/LICENSE +1 -1
- {mypy_boto3_batch-1.28.36.dist-info → mypy_boto3_batch-1.34.59.dist-info}/METADATA +8 -9
- mypy_boto3_batch-1.34.59.dist-info/RECORD +18 -0
- {mypy_boto3_batch-1.28.36.dist-info → mypy_boto3_batch-1.34.59.dist-info}/WHEEL +1 -1
- mypy_boto3_batch-1.28.36.dist-info/RECORD +0 -18
- {mypy_boto3_batch-1.28.36.dist-info → mypy_boto3_batch-1.34.59.dist-info}/top_level.txt +0 -0
mypy_boto3_batch/__init__.py
CHANGED
|
@@ -25,6 +25,7 @@ Usage::
|
|
|
25
25
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
26
|
```
|
|
27
27
|
"""
|
|
28
|
+
|
|
28
29
|
from .client import BatchClient
|
|
29
30
|
from .paginator import (
|
|
30
31
|
DescribeComputeEnvironmentsPaginator,
|
|
@@ -36,7 +37,6 @@ from .paginator import (
|
|
|
36
37
|
|
|
37
38
|
Client = BatchClient
|
|
38
39
|
|
|
39
|
-
|
|
40
40
|
__all__ = (
|
|
41
41
|
"BatchClient",
|
|
42
42
|
"Client",
|
mypy_boto3_batch/__init__.pyi
CHANGED
mypy_boto3_batch/__main__.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sys
|
|
5
6
|
|
|
6
7
|
|
|
@@ -9,12 +10,13 @@ def print_info() -> None:
|
|
|
9
10
|
Print package info to stdout.
|
|
10
11
|
"""
|
|
11
12
|
print(
|
|
12
|
-
"Type annotations for boto3.Batch 1.
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
" https://
|
|
13
|
+
"Type annotations for boto3.Batch 1.34.59\n"
|
|
14
|
+
"Version: 1.34.59\n"
|
|
15
|
+
"Builder version: 7.23.2\n"
|
|
16
|
+
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
|
|
17
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch\n"
|
|
18
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
18
20
|
)
|
|
19
21
|
|
|
20
22
|
|
|
@@ -22,7 +24,7 @@ def print_version() -> None:
|
|
|
22
24
|
"""
|
|
23
25
|
Print package version to stdout.
|
|
24
26
|
"""
|
|
25
|
-
print("1.
|
|
27
|
+
print("1.34.59")
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
def main() -> None:
|
mypy_boto3_batch/client.py
CHANGED
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: BatchClient = session.client("batch")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
import sys
|
|
17
18
|
from typing import Any, Dict, Mapping, Sequence, Type, overload
|
|
18
19
|
|
|
@@ -48,11 +49,14 @@ from .type_defs import (
|
|
|
48
49
|
DescribeJobQueuesResponseTypeDef,
|
|
49
50
|
DescribeJobsResponseTypeDef,
|
|
50
51
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
52
|
+
EcsPropertiesOverrideTypeDef,
|
|
53
|
+
EcsPropertiesTypeDef,
|
|
51
54
|
EksConfigurationTypeDef,
|
|
52
55
|
EksPropertiesOverrideTypeDef,
|
|
53
56
|
EksPropertiesTypeDef,
|
|
54
57
|
FairsharePolicyTypeDef,
|
|
55
58
|
JobDependencyTypeDef,
|
|
59
|
+
JobStateTimeLimitActionTypeDef,
|
|
56
60
|
JobTimeoutTypeDef,
|
|
57
61
|
KeyValuesPairTypeDef,
|
|
58
62
|
ListJobsResponseTypeDef,
|
|
@@ -73,11 +77,10 @@ if sys.version_info >= (3, 12):
|
|
|
73
77
|
else:
|
|
74
78
|
from typing_extensions import Literal
|
|
75
79
|
|
|
76
|
-
|
|
77
80
|
__all__ = ("BatchClient",)
|
|
78
81
|
|
|
79
82
|
|
|
80
|
-
class BotocoreClientError(
|
|
83
|
+
class BotocoreClientError(Exception):
|
|
81
84
|
MSG_TEMPLATE: str
|
|
82
85
|
|
|
83
86
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
@@ -142,7 +145,7 @@ class BatchClient(BaseClient):
|
|
|
142
145
|
computeResources: ComputeResourceTypeDef = ...,
|
|
143
146
|
serviceRole: str = ...,
|
|
144
147
|
tags: Mapping[str, str] = ...,
|
|
145
|
-
eksConfiguration: EksConfigurationTypeDef =
|
|
148
|
+
eksConfiguration: EksConfigurationTypeDef = ...,
|
|
146
149
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
147
150
|
"""
|
|
148
151
|
Creates an Batch compute environment.
|
|
@@ -159,7 +162,8 @@ class BatchClient(BaseClient):
|
|
|
159
162
|
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],
|
|
160
163
|
state: JQStateType = ...,
|
|
161
164
|
schedulingPolicyArn: str = ...,
|
|
162
|
-
tags: Mapping[str, str] =
|
|
165
|
+
tags: Mapping[str, str] = ...,
|
|
166
|
+
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
163
167
|
) -> CreateJobQueueResponseTypeDef:
|
|
164
168
|
"""
|
|
165
169
|
Creates an Batch job queue.
|
|
@@ -173,7 +177,7 @@ class BatchClient(BaseClient):
|
|
|
173
177
|
*,
|
|
174
178
|
name: str,
|
|
175
179
|
fairsharePolicy: FairsharePolicyTypeDef = ...,
|
|
176
|
-
tags: Mapping[str, str] =
|
|
180
|
+
tags: Mapping[str, str] = ...,
|
|
177
181
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
178
182
|
"""
|
|
179
183
|
Creates an Batch scheduling policy.
|
|
@@ -219,7 +223,7 @@ class BatchClient(BaseClient):
|
|
|
219
223
|
*,
|
|
220
224
|
computeEnvironments: Sequence[str] = ...,
|
|
221
225
|
maxResults: int = ...,
|
|
222
|
-
nextToken: str =
|
|
226
|
+
nextToken: str = ...,
|
|
223
227
|
) -> DescribeComputeEnvironmentsResponseTypeDef:
|
|
224
228
|
"""
|
|
225
229
|
Describes one or more of your compute environments.
|
|
@@ -235,7 +239,7 @@ class BatchClient(BaseClient):
|
|
|
235
239
|
maxResults: int = ...,
|
|
236
240
|
jobDefinitionName: str = ...,
|
|
237
241
|
status: str = ...,
|
|
238
|
-
nextToken: str =
|
|
242
|
+
nextToken: str = ...,
|
|
239
243
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
240
244
|
"""
|
|
241
245
|
Describes a list of job definitions.
|
|
@@ -295,7 +299,7 @@ class BatchClient(BaseClient):
|
|
|
295
299
|
jobStatus: JobStatusType = ...,
|
|
296
300
|
maxResults: int = ...,
|
|
297
301
|
nextToken: str = ...,
|
|
298
|
-
filters: Sequence[KeyValuesPairTypeDef] =
|
|
302
|
+
filters: Sequence[KeyValuesPairTypeDef] = ...,
|
|
299
303
|
) -> ListJobsResponseTypeDef:
|
|
300
304
|
"""
|
|
301
305
|
Returns a list of Batch jobs.
|
|
@@ -336,7 +340,8 @@ class BatchClient(BaseClient):
|
|
|
336
340
|
timeout: JobTimeoutTypeDef = ...,
|
|
337
341
|
tags: Mapping[str, str] = ...,
|
|
338
342
|
platformCapabilities: Sequence[PlatformCapabilityType] = ...,
|
|
339
|
-
eksProperties: EksPropertiesTypeDef =
|
|
343
|
+
eksProperties: EksPropertiesTypeDef = ...,
|
|
344
|
+
ecsProperties: EcsPropertiesTypeDef = ...,
|
|
340
345
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
341
346
|
"""
|
|
342
347
|
Registers an Batch job definition.
|
|
@@ -362,7 +367,8 @@ class BatchClient(BaseClient):
|
|
|
362
367
|
propagateTags: bool = ...,
|
|
363
368
|
timeout: JobTimeoutTypeDef = ...,
|
|
364
369
|
tags: Mapping[str, str] = ...,
|
|
365
|
-
eksPropertiesOverride: EksPropertiesOverrideTypeDef =
|
|
370
|
+
eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
|
|
371
|
+
ecsPropertiesOverride: EcsPropertiesOverrideTypeDef = ...,
|
|
366
372
|
) -> SubmitJobResponseTypeDef:
|
|
367
373
|
"""
|
|
368
374
|
Submits an Batch job from a job definition.
|
|
@@ -403,7 +409,7 @@ class BatchClient(BaseClient):
|
|
|
403
409
|
unmanagedvCpus: int = ...,
|
|
404
410
|
computeResources: ComputeResourceUpdateTypeDef = ...,
|
|
405
411
|
serviceRole: str = ...,
|
|
406
|
-
updatePolicy: UpdatePolicyTypeDef =
|
|
412
|
+
updatePolicy: UpdatePolicyTypeDef = ...,
|
|
407
413
|
) -> UpdateComputeEnvironmentResponseTypeDef:
|
|
408
414
|
"""
|
|
409
415
|
Updates an Batch compute environment.
|
|
@@ -419,7 +425,8 @@ class BatchClient(BaseClient):
|
|
|
419
425
|
state: JQStateType = ...,
|
|
420
426
|
schedulingPolicyArn: str = ...,
|
|
421
427
|
priority: int = ...,
|
|
422
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] =
|
|
428
|
+
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
|
|
429
|
+
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
423
430
|
) -> UpdateJobQueueResponseTypeDef:
|
|
424
431
|
"""
|
|
425
432
|
Updates a job queue.
|
mypy_boto3_batch/client.pyi
CHANGED
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: BatchClient = session.client("batch")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
import sys
|
|
17
18
|
from typing import Any, Dict, Mapping, Sequence, Type, overload
|
|
18
19
|
|
|
@@ -48,11 +49,14 @@ from .type_defs import (
|
|
|
48
49
|
DescribeJobQueuesResponseTypeDef,
|
|
49
50
|
DescribeJobsResponseTypeDef,
|
|
50
51
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
52
|
+
EcsPropertiesOverrideTypeDef,
|
|
53
|
+
EcsPropertiesTypeDef,
|
|
51
54
|
EksConfigurationTypeDef,
|
|
52
55
|
EksPropertiesOverrideTypeDef,
|
|
53
56
|
EksPropertiesTypeDef,
|
|
54
57
|
FairsharePolicyTypeDef,
|
|
55
58
|
JobDependencyTypeDef,
|
|
59
|
+
JobStateTimeLimitActionTypeDef,
|
|
56
60
|
JobTimeoutTypeDef,
|
|
57
61
|
KeyValuesPairTypeDef,
|
|
58
62
|
ListJobsResponseTypeDef,
|
|
@@ -75,7 +79,7 @@ else:
|
|
|
75
79
|
|
|
76
80
|
__all__ = ("BatchClient",)
|
|
77
81
|
|
|
78
|
-
class BotocoreClientError(
|
|
82
|
+
class BotocoreClientError(Exception):
|
|
79
83
|
MSG_TEMPLATE: str
|
|
80
84
|
|
|
81
85
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
@@ -103,6 +107,7 @@ class BatchClient(BaseClient):
|
|
|
103
107
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.exceptions)
|
|
104
108
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#exceptions)
|
|
105
109
|
"""
|
|
110
|
+
|
|
106
111
|
def can_paginate(self, operation_name: str) -> bool:
|
|
107
112
|
"""
|
|
108
113
|
Check if an operation can be paginated.
|
|
@@ -110,6 +115,7 @@ class BatchClient(BaseClient):
|
|
|
110
115
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.can_paginate)
|
|
111
116
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
|
|
112
117
|
"""
|
|
118
|
+
|
|
113
119
|
def cancel_job(self, *, jobId: str, reason: str) -> Dict[str, Any]:
|
|
114
120
|
"""
|
|
115
121
|
Cancels a job in an Batch job queue.
|
|
@@ -117,6 +123,7 @@ class BatchClient(BaseClient):
|
|
|
117
123
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.cancel_job)
|
|
118
124
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#cancel_job)
|
|
119
125
|
"""
|
|
126
|
+
|
|
120
127
|
def close(self) -> None:
|
|
121
128
|
"""
|
|
122
129
|
Closes underlying endpoint connections.
|
|
@@ -124,6 +131,7 @@ class BatchClient(BaseClient):
|
|
|
124
131
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.close)
|
|
125
132
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#close)
|
|
126
133
|
"""
|
|
134
|
+
|
|
127
135
|
def create_compute_environment(
|
|
128
136
|
self,
|
|
129
137
|
*,
|
|
@@ -134,7 +142,7 @@ class BatchClient(BaseClient):
|
|
|
134
142
|
computeResources: ComputeResourceTypeDef = ...,
|
|
135
143
|
serviceRole: str = ...,
|
|
136
144
|
tags: Mapping[str, str] = ...,
|
|
137
|
-
eksConfiguration: EksConfigurationTypeDef =
|
|
145
|
+
eksConfiguration: EksConfigurationTypeDef = ...,
|
|
138
146
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
139
147
|
"""
|
|
140
148
|
Creates an Batch compute environment.
|
|
@@ -142,6 +150,7 @@ class BatchClient(BaseClient):
|
|
|
142
150
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.create_compute_environment)
|
|
143
151
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_compute_environment)
|
|
144
152
|
"""
|
|
153
|
+
|
|
145
154
|
def create_job_queue(
|
|
146
155
|
self,
|
|
147
156
|
*,
|
|
@@ -150,7 +159,8 @@ class BatchClient(BaseClient):
|
|
|
150
159
|
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],
|
|
151
160
|
state: JQStateType = ...,
|
|
152
161
|
schedulingPolicyArn: str = ...,
|
|
153
|
-
tags: Mapping[str, str] =
|
|
162
|
+
tags: Mapping[str, str] = ...,
|
|
163
|
+
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
154
164
|
) -> CreateJobQueueResponseTypeDef:
|
|
155
165
|
"""
|
|
156
166
|
Creates an Batch job queue.
|
|
@@ -158,12 +168,13 @@ class BatchClient(BaseClient):
|
|
|
158
168
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.create_job_queue)
|
|
159
169
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_job_queue)
|
|
160
170
|
"""
|
|
171
|
+
|
|
161
172
|
def create_scheduling_policy(
|
|
162
173
|
self,
|
|
163
174
|
*,
|
|
164
175
|
name: str,
|
|
165
176
|
fairsharePolicy: FairsharePolicyTypeDef = ...,
|
|
166
|
-
tags: Mapping[str, str] =
|
|
177
|
+
tags: Mapping[str, str] = ...,
|
|
167
178
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
168
179
|
"""
|
|
169
180
|
Creates an Batch scheduling policy.
|
|
@@ -171,6 +182,7 @@ class BatchClient(BaseClient):
|
|
|
171
182
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.create_scheduling_policy)
|
|
172
183
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
173
184
|
"""
|
|
185
|
+
|
|
174
186
|
def delete_compute_environment(self, *, computeEnvironment: str) -> Dict[str, Any]:
|
|
175
187
|
"""
|
|
176
188
|
Deletes an Batch compute environment.
|
|
@@ -178,6 +190,7 @@ class BatchClient(BaseClient):
|
|
|
178
190
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.delete_compute_environment)
|
|
179
191
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
180
192
|
"""
|
|
193
|
+
|
|
181
194
|
def delete_job_queue(self, *, jobQueue: str) -> Dict[str, Any]:
|
|
182
195
|
"""
|
|
183
196
|
Deletes the specified job queue.
|
|
@@ -185,6 +198,7 @@ class BatchClient(BaseClient):
|
|
|
185
198
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.delete_job_queue)
|
|
186
199
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
187
200
|
"""
|
|
201
|
+
|
|
188
202
|
def delete_scheduling_policy(self, *, arn: str) -> Dict[str, Any]:
|
|
189
203
|
"""
|
|
190
204
|
Deletes the specified scheduling policy.
|
|
@@ -192,6 +206,7 @@ class BatchClient(BaseClient):
|
|
|
192
206
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.delete_scheduling_policy)
|
|
193
207
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
194
208
|
"""
|
|
209
|
+
|
|
195
210
|
def deregister_job_definition(self, *, jobDefinition: str) -> Dict[str, Any]:
|
|
196
211
|
"""
|
|
197
212
|
Deregisters an Batch job definition.
|
|
@@ -199,12 +214,13 @@ class BatchClient(BaseClient):
|
|
|
199
214
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.deregister_job_definition)
|
|
200
215
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#deregister_job_definition)
|
|
201
216
|
"""
|
|
217
|
+
|
|
202
218
|
def describe_compute_environments(
|
|
203
219
|
self,
|
|
204
220
|
*,
|
|
205
221
|
computeEnvironments: Sequence[str] = ...,
|
|
206
222
|
maxResults: int = ...,
|
|
207
|
-
nextToken: str =
|
|
223
|
+
nextToken: str = ...,
|
|
208
224
|
) -> DescribeComputeEnvironmentsResponseTypeDef:
|
|
209
225
|
"""
|
|
210
226
|
Describes one or more of your compute environments.
|
|
@@ -212,6 +228,7 @@ class BatchClient(BaseClient):
|
|
|
212
228
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.describe_compute_environments)
|
|
213
229
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_compute_environments)
|
|
214
230
|
"""
|
|
231
|
+
|
|
215
232
|
def describe_job_definitions(
|
|
216
233
|
self,
|
|
217
234
|
*,
|
|
@@ -219,7 +236,7 @@ class BatchClient(BaseClient):
|
|
|
219
236
|
maxResults: int = ...,
|
|
220
237
|
jobDefinitionName: str = ...,
|
|
221
238
|
status: str = ...,
|
|
222
|
-
nextToken: str =
|
|
239
|
+
nextToken: str = ...,
|
|
223
240
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
224
241
|
"""
|
|
225
242
|
Describes a list of job definitions.
|
|
@@ -227,6 +244,7 @@ class BatchClient(BaseClient):
|
|
|
227
244
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.describe_job_definitions)
|
|
228
245
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_definitions)
|
|
229
246
|
"""
|
|
247
|
+
|
|
230
248
|
def describe_job_queues(
|
|
231
249
|
self, *, jobQueues: Sequence[str] = ..., maxResults: int = ..., nextToken: str = ...
|
|
232
250
|
) -> DescribeJobQueuesResponseTypeDef:
|
|
@@ -236,6 +254,7 @@ class BatchClient(BaseClient):
|
|
|
236
254
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.describe_job_queues)
|
|
237
255
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
238
256
|
"""
|
|
257
|
+
|
|
239
258
|
def describe_jobs(self, *, jobs: Sequence[str]) -> DescribeJobsResponseTypeDef:
|
|
240
259
|
"""
|
|
241
260
|
Describes a list of Batch jobs.
|
|
@@ -243,6 +262,7 @@ class BatchClient(BaseClient):
|
|
|
243
262
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.describe_jobs)
|
|
244
263
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_jobs)
|
|
245
264
|
"""
|
|
265
|
+
|
|
246
266
|
def describe_scheduling_policies(
|
|
247
267
|
self, *, arns: Sequence[str]
|
|
248
268
|
) -> DescribeSchedulingPoliciesResponseTypeDef:
|
|
@@ -252,6 +272,7 @@ class BatchClient(BaseClient):
|
|
|
252
272
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.describe_scheduling_policies)
|
|
253
273
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_scheduling_policies)
|
|
254
274
|
"""
|
|
275
|
+
|
|
255
276
|
def generate_presigned_url(
|
|
256
277
|
self,
|
|
257
278
|
ClientMethod: str,
|
|
@@ -265,6 +286,7 @@ class BatchClient(BaseClient):
|
|
|
265
286
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.generate_presigned_url)
|
|
266
287
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
267
288
|
"""
|
|
289
|
+
|
|
268
290
|
def list_jobs(
|
|
269
291
|
self,
|
|
270
292
|
*,
|
|
@@ -274,7 +296,7 @@ class BatchClient(BaseClient):
|
|
|
274
296
|
jobStatus: JobStatusType = ...,
|
|
275
297
|
maxResults: int = ...,
|
|
276
298
|
nextToken: str = ...,
|
|
277
|
-
filters: Sequence[KeyValuesPairTypeDef] =
|
|
299
|
+
filters: Sequence[KeyValuesPairTypeDef] = ...,
|
|
278
300
|
) -> ListJobsResponseTypeDef:
|
|
279
301
|
"""
|
|
280
302
|
Returns a list of Batch jobs.
|
|
@@ -282,6 +304,7 @@ class BatchClient(BaseClient):
|
|
|
282
304
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.list_jobs)
|
|
283
305
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_jobs)
|
|
284
306
|
"""
|
|
307
|
+
|
|
285
308
|
def list_scheduling_policies(
|
|
286
309
|
self, *, maxResults: int = ..., nextToken: str = ...
|
|
287
310
|
) -> ListSchedulingPoliciesResponseTypeDef:
|
|
@@ -291,6 +314,7 @@ class BatchClient(BaseClient):
|
|
|
291
314
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.list_scheduling_policies)
|
|
292
315
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
293
316
|
"""
|
|
317
|
+
|
|
294
318
|
def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
|
|
295
319
|
"""
|
|
296
320
|
Lists the tags for an Batch resource.
|
|
@@ -298,6 +322,7 @@ class BatchClient(BaseClient):
|
|
|
298
322
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.list_tags_for_resource)
|
|
299
323
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_tags_for_resource)
|
|
300
324
|
"""
|
|
325
|
+
|
|
301
326
|
def register_job_definition(
|
|
302
327
|
self,
|
|
303
328
|
*,
|
|
@@ -312,7 +337,8 @@ class BatchClient(BaseClient):
|
|
|
312
337
|
timeout: JobTimeoutTypeDef = ...,
|
|
313
338
|
tags: Mapping[str, str] = ...,
|
|
314
339
|
platformCapabilities: Sequence[PlatformCapabilityType] = ...,
|
|
315
|
-
eksProperties: EksPropertiesTypeDef =
|
|
340
|
+
eksProperties: EksPropertiesTypeDef = ...,
|
|
341
|
+
ecsProperties: EcsPropertiesTypeDef = ...,
|
|
316
342
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
317
343
|
"""
|
|
318
344
|
Registers an Batch job definition.
|
|
@@ -320,6 +346,7 @@ class BatchClient(BaseClient):
|
|
|
320
346
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.register_job_definition)
|
|
321
347
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#register_job_definition)
|
|
322
348
|
"""
|
|
349
|
+
|
|
323
350
|
def submit_job(
|
|
324
351
|
self,
|
|
325
352
|
*,
|
|
@@ -337,7 +364,8 @@ class BatchClient(BaseClient):
|
|
|
337
364
|
propagateTags: bool = ...,
|
|
338
365
|
timeout: JobTimeoutTypeDef = ...,
|
|
339
366
|
tags: Mapping[str, str] = ...,
|
|
340
|
-
eksPropertiesOverride: EksPropertiesOverrideTypeDef =
|
|
367
|
+
eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
|
|
368
|
+
ecsPropertiesOverride: EcsPropertiesOverrideTypeDef = ...,
|
|
341
369
|
) -> SubmitJobResponseTypeDef:
|
|
342
370
|
"""
|
|
343
371
|
Submits an Batch job from a job definition.
|
|
@@ -345,6 +373,7 @@ class BatchClient(BaseClient):
|
|
|
345
373
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.submit_job)
|
|
346
374
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
347
375
|
"""
|
|
376
|
+
|
|
348
377
|
def tag_resource(self, *, resourceArn: str, tags: Mapping[str, str]) -> Dict[str, Any]:
|
|
349
378
|
"""
|
|
350
379
|
Associates the specified tags to a resource with the specified `resourceArn`.
|
|
@@ -352,6 +381,7 @@ class BatchClient(BaseClient):
|
|
|
352
381
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.tag_resource)
|
|
353
382
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
354
383
|
"""
|
|
384
|
+
|
|
355
385
|
def terminate_job(self, *, jobId: str, reason: str) -> Dict[str, Any]:
|
|
356
386
|
"""
|
|
357
387
|
Terminates a job in a job queue.
|
|
@@ -359,6 +389,7 @@ class BatchClient(BaseClient):
|
|
|
359
389
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.terminate_job)
|
|
360
390
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
361
391
|
"""
|
|
392
|
+
|
|
362
393
|
def untag_resource(self, *, resourceArn: str, tagKeys: Sequence[str]) -> Dict[str, Any]:
|
|
363
394
|
"""
|
|
364
395
|
Deletes specified tags from an Batch resource.
|
|
@@ -366,6 +397,7 @@ class BatchClient(BaseClient):
|
|
|
366
397
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.untag_resource)
|
|
367
398
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#untag_resource)
|
|
368
399
|
"""
|
|
400
|
+
|
|
369
401
|
def update_compute_environment(
|
|
370
402
|
self,
|
|
371
403
|
*,
|
|
@@ -374,7 +406,7 @@ class BatchClient(BaseClient):
|
|
|
374
406
|
unmanagedvCpus: int = ...,
|
|
375
407
|
computeResources: ComputeResourceUpdateTypeDef = ...,
|
|
376
408
|
serviceRole: str = ...,
|
|
377
|
-
updatePolicy: UpdatePolicyTypeDef =
|
|
409
|
+
updatePolicy: UpdatePolicyTypeDef = ...,
|
|
378
410
|
) -> UpdateComputeEnvironmentResponseTypeDef:
|
|
379
411
|
"""
|
|
380
412
|
Updates an Batch compute environment.
|
|
@@ -382,6 +414,7 @@ class BatchClient(BaseClient):
|
|
|
382
414
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.update_compute_environment)
|
|
383
415
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_compute_environment)
|
|
384
416
|
"""
|
|
417
|
+
|
|
385
418
|
def update_job_queue(
|
|
386
419
|
self,
|
|
387
420
|
*,
|
|
@@ -389,7 +422,8 @@ class BatchClient(BaseClient):
|
|
|
389
422
|
state: JQStateType = ...,
|
|
390
423
|
schedulingPolicyArn: str = ...,
|
|
391
424
|
priority: int = ...,
|
|
392
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] =
|
|
425
|
+
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
|
|
426
|
+
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
393
427
|
) -> UpdateJobQueueResponseTypeDef:
|
|
394
428
|
"""
|
|
395
429
|
Updates a job queue.
|
|
@@ -397,6 +431,7 @@ class BatchClient(BaseClient):
|
|
|
397
431
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.update_job_queue)
|
|
398
432
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_job_queue)
|
|
399
433
|
"""
|
|
434
|
+
|
|
400
435
|
def update_scheduling_policy(
|
|
401
436
|
self, *, arn: str, fairsharePolicy: FairsharePolicyTypeDef = ...
|
|
402
437
|
) -> Dict[str, Any]:
|
|
@@ -406,6 +441,7 @@ class BatchClient(BaseClient):
|
|
|
406
441
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.update_scheduling_policy)
|
|
407
442
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
408
443
|
"""
|
|
444
|
+
|
|
409
445
|
@overload
|
|
410
446
|
def get_paginator(
|
|
411
447
|
self, operation_name: Literal["describe_compute_environments"]
|
|
@@ -414,6 +450,7 @@ class BatchClient(BaseClient):
|
|
|
414
450
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_paginator)
|
|
415
451
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
416
452
|
"""
|
|
453
|
+
|
|
417
454
|
@overload
|
|
418
455
|
def get_paginator(
|
|
419
456
|
self, operation_name: Literal["describe_job_definitions"]
|
|
@@ -422,6 +459,7 @@ class BatchClient(BaseClient):
|
|
|
422
459
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_paginator)
|
|
423
460
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
424
461
|
"""
|
|
462
|
+
|
|
425
463
|
@overload
|
|
426
464
|
def get_paginator(
|
|
427
465
|
self, operation_name: Literal["describe_job_queues"]
|
|
@@ -430,12 +468,14 @@ class BatchClient(BaseClient):
|
|
|
430
468
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_paginator)
|
|
431
469
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
432
470
|
"""
|
|
471
|
+
|
|
433
472
|
@overload
|
|
434
473
|
def get_paginator(self, operation_name: Literal["list_jobs"]) -> ListJobsPaginator:
|
|
435
474
|
"""
|
|
436
475
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_paginator)
|
|
437
476
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
438
477
|
"""
|
|
478
|
+
|
|
439
479
|
@overload
|
|
440
480
|
def get_paginator(
|
|
441
481
|
self, operation_name: Literal["list_scheduling_policies"]
|