mypy-boto3-batch 1.34.143__py3-none-any.whl → 1.35.53__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 -0
- mypy_boto3_batch/__main__.py +4 -4
- mypy_boto3_batch/client.py +70 -142
- mypy_boto3_batch/client.pyi +69 -142
- mypy_boto3_batch/literals.py +11 -4
- mypy_boto3_batch/literals.pyi +9 -4
- mypy_boto3_batch/paginator.py +21 -23
- mypy_boto3_batch/paginator.pyi +19 -28
- mypy_boto3_batch/type_defs.py +244 -444
- mypy_boto3_batch/type_defs.pyi +245 -446
- mypy_boto3_batch/version.py +1 -1
- {mypy_boto3_batch-1.34.143.dist-info → mypy_boto3_batch-1.35.53.dist-info}/METADATA +9 -10
- mypy_boto3_batch-1.35.53.dist-info/RECORD +18 -0
- {mypy_boto3_batch-1.34.143.dist-info → mypy_boto3_batch-1.35.53.dist-info}/WHEEL +1 -1
- mypy_boto3_batch-1.34.143.dist-info/RECORD +0 -18
- {mypy_boto3_batch-1.34.143.dist-info → mypy_boto3_batch-1.35.53.dist-info}/LICENSE +0 -0
- {mypy_boto3_batch-1.34.143.dist-info → mypy_boto3_batch-1.35.53.dist-info}/top_level.txt +0 -0
mypy_boto3_batch/__init__.py
CHANGED
mypy_boto3_batch/__main__.py
CHANGED
|
@@ -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.
|
|
14
|
-
"Version: 1.
|
|
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.
|
|
27
|
+
print("1.35.53")
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def main() -> None:
|
mypy_boto3_batch/client.py
CHANGED
|
@@ -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,16 +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 = ...,
|
|
138
|
+
self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
|
|
150
139
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
151
140
|
"""
|
|
152
141
|
Creates an Batch compute environment.
|
|
@@ -156,15 +145,7 @@ class BatchClient(BaseClient):
|
|
|
156
145
|
"""
|
|
157
146
|
|
|
158
147
|
def create_job_queue(
|
|
159
|
-
self,
|
|
160
|
-
*,
|
|
161
|
-
jobQueueName: str,
|
|
162
|
-
priority: int,
|
|
163
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],
|
|
164
|
-
state: JQStateType = ...,
|
|
165
|
-
schedulingPolicyArn: str = ...,
|
|
166
|
-
tags: Mapping[str, str] = ...,
|
|
167
|
-
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
148
|
+
self, **kwargs: Unpack[CreateJobQueueRequestRequestTypeDef]
|
|
168
149
|
) -> CreateJobQueueResponseTypeDef:
|
|
169
150
|
"""
|
|
170
151
|
Creates an Batch job queue.
|
|
@@ -174,11 +155,7 @@ class BatchClient(BaseClient):
|
|
|
174
155
|
"""
|
|
175
156
|
|
|
176
157
|
def create_scheduling_policy(
|
|
177
|
-
self,
|
|
178
|
-
*,
|
|
179
|
-
name: str,
|
|
180
|
-
fairsharePolicy: FairsharePolicyUnionTypeDef = ...,
|
|
181
|
-
tags: Mapping[str, str] = ...,
|
|
158
|
+
self, **kwargs: Unpack[CreateSchedulingPolicyRequestRequestTypeDef]
|
|
182
159
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
183
160
|
"""
|
|
184
161
|
Creates an Batch scheduling policy.
|
|
@@ -187,7 +164,9 @@ class BatchClient(BaseClient):
|
|
|
187
164
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
188
165
|
"""
|
|
189
166
|
|
|
190
|
-
def delete_compute_environment(
|
|
167
|
+
def delete_compute_environment(
|
|
168
|
+
self, **kwargs: Unpack[DeleteComputeEnvironmentRequestRequestTypeDef]
|
|
169
|
+
) -> Dict[str, Any]:
|
|
191
170
|
"""
|
|
192
171
|
Deletes an Batch compute environment.
|
|
193
172
|
|
|
@@ -195,7 +174,9 @@ class BatchClient(BaseClient):
|
|
|
195
174
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
196
175
|
"""
|
|
197
176
|
|
|
198
|
-
def delete_job_queue(
|
|
177
|
+
def delete_job_queue(
|
|
178
|
+
self, **kwargs: Unpack[DeleteJobQueueRequestRequestTypeDef]
|
|
179
|
+
) -> Dict[str, Any]:
|
|
199
180
|
"""
|
|
200
181
|
Deletes the specified job queue.
|
|
201
182
|
|
|
@@ -203,7 +184,9 @@ class BatchClient(BaseClient):
|
|
|
203
184
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
204
185
|
"""
|
|
205
186
|
|
|
206
|
-
def delete_scheduling_policy(
|
|
187
|
+
def delete_scheduling_policy(
|
|
188
|
+
self, **kwargs: Unpack[DeleteSchedulingPolicyRequestRequestTypeDef]
|
|
189
|
+
) -> Dict[str, Any]:
|
|
207
190
|
"""
|
|
208
191
|
Deletes the specified scheduling policy.
|
|
209
192
|
|
|
@@ -211,7 +194,9 @@ class BatchClient(BaseClient):
|
|
|
211
194
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
212
195
|
"""
|
|
213
196
|
|
|
214
|
-
def deregister_job_definition(
|
|
197
|
+
def deregister_job_definition(
|
|
198
|
+
self, **kwargs: Unpack[DeregisterJobDefinitionRequestRequestTypeDef]
|
|
199
|
+
) -> Dict[str, Any]:
|
|
215
200
|
"""
|
|
216
201
|
Deregisters an Batch job definition.
|
|
217
202
|
|
|
@@ -220,11 +205,7 @@ class BatchClient(BaseClient):
|
|
|
220
205
|
"""
|
|
221
206
|
|
|
222
207
|
def describe_compute_environments(
|
|
223
|
-
self,
|
|
224
|
-
*,
|
|
225
|
-
computeEnvironments: Sequence[str] = ...,
|
|
226
|
-
maxResults: int = ...,
|
|
227
|
-
nextToken: str = ...,
|
|
208
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestRequestTypeDef]
|
|
228
209
|
) -> DescribeComputeEnvironmentsResponseTypeDef:
|
|
229
210
|
"""
|
|
230
211
|
Describes one or more of your compute environments.
|
|
@@ -234,13 +215,7 @@ class BatchClient(BaseClient):
|
|
|
234
215
|
"""
|
|
235
216
|
|
|
236
217
|
def describe_job_definitions(
|
|
237
|
-
self,
|
|
238
|
-
*,
|
|
239
|
-
jobDefinitions: Sequence[str] = ...,
|
|
240
|
-
maxResults: int = ...,
|
|
241
|
-
jobDefinitionName: str = ...,
|
|
242
|
-
status: str = ...,
|
|
243
|
-
nextToken: str = ...,
|
|
218
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestRequestTypeDef]
|
|
244
219
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
245
220
|
"""
|
|
246
221
|
Describes a list of job definitions.
|
|
@@ -250,7 +225,7 @@ class BatchClient(BaseClient):
|
|
|
250
225
|
"""
|
|
251
226
|
|
|
252
227
|
def describe_job_queues(
|
|
253
|
-
self,
|
|
228
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestRequestTypeDef]
|
|
254
229
|
) -> DescribeJobQueuesResponseTypeDef:
|
|
255
230
|
"""
|
|
256
231
|
Describes one or more of your job queues.
|
|
@@ -259,7 +234,9 @@ class BatchClient(BaseClient):
|
|
|
259
234
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
260
235
|
"""
|
|
261
236
|
|
|
262
|
-
def describe_jobs(
|
|
237
|
+
def describe_jobs(
|
|
238
|
+
self, **kwargs: Unpack[DescribeJobsRequestRequestTypeDef]
|
|
239
|
+
) -> DescribeJobsResponseTypeDef:
|
|
263
240
|
"""
|
|
264
241
|
Describes a list of Batch jobs.
|
|
265
242
|
|
|
@@ -268,7 +245,7 @@ class BatchClient(BaseClient):
|
|
|
268
245
|
"""
|
|
269
246
|
|
|
270
247
|
def describe_scheduling_policies(
|
|
271
|
-
self,
|
|
248
|
+
self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestRequestTypeDef]
|
|
272
249
|
) -> DescribeSchedulingPoliciesResponseTypeDef:
|
|
273
250
|
"""
|
|
274
251
|
Describes one or more of your scheduling policies.
|
|
@@ -291,7 +268,9 @@ class BatchClient(BaseClient):
|
|
|
291
268
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
292
269
|
"""
|
|
293
270
|
|
|
294
|
-
def get_job_queue_snapshot(
|
|
271
|
+
def get_job_queue_snapshot(
|
|
272
|
+
self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
|
|
273
|
+
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
295
274
|
"""
|
|
296
275
|
Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
|
|
297
276
|
queue.
|
|
@@ -300,17 +279,7 @@ class BatchClient(BaseClient):
|
|
|
300
279
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
301
280
|
"""
|
|
302
281
|
|
|
303
|
-
def list_jobs(
|
|
304
|
-
self,
|
|
305
|
-
*,
|
|
306
|
-
jobQueue: str = ...,
|
|
307
|
-
arrayJobId: str = ...,
|
|
308
|
-
multiNodeJobId: str = ...,
|
|
309
|
-
jobStatus: JobStatusType = ...,
|
|
310
|
-
maxResults: int = ...,
|
|
311
|
-
nextToken: str = ...,
|
|
312
|
-
filters: Sequence[KeyValuesPairTypeDef] = ...,
|
|
313
|
-
) -> ListJobsResponseTypeDef:
|
|
282
|
+
def list_jobs(self, **kwargs: Unpack[ListJobsRequestRequestTypeDef]) -> ListJobsResponseTypeDef:
|
|
314
283
|
"""
|
|
315
284
|
Returns a list of Batch jobs.
|
|
316
285
|
|
|
@@ -319,7 +288,7 @@ class BatchClient(BaseClient):
|
|
|
319
288
|
"""
|
|
320
289
|
|
|
321
290
|
def list_scheduling_policies(
|
|
322
|
-
self,
|
|
291
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestRequestTypeDef]
|
|
323
292
|
) -> ListSchedulingPoliciesResponseTypeDef:
|
|
324
293
|
"""
|
|
325
294
|
Returns a list of Batch scheduling policies.
|
|
@@ -328,7 +297,9 @@ class BatchClient(BaseClient):
|
|
|
328
297
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
329
298
|
"""
|
|
330
299
|
|
|
331
|
-
def list_tags_for_resource(
|
|
300
|
+
def list_tags_for_resource(
|
|
301
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
|
|
302
|
+
) -> ListTagsForResourceResponseTypeDef:
|
|
332
303
|
"""
|
|
333
304
|
Lists the tags for an Batch resource.
|
|
334
305
|
|
|
@@ -337,21 +308,7 @@ class BatchClient(BaseClient):
|
|
|
337
308
|
"""
|
|
338
309
|
|
|
339
310
|
def register_job_definition(
|
|
340
|
-
self,
|
|
341
|
-
*,
|
|
342
|
-
jobDefinitionName: str,
|
|
343
|
-
type: JobDefinitionTypeType,
|
|
344
|
-
parameters: Mapping[str, str] = ...,
|
|
345
|
-
schedulingPriority: int = ...,
|
|
346
|
-
containerProperties: ContainerPropertiesUnionTypeDef = ...,
|
|
347
|
-
nodeProperties: NodePropertiesUnionTypeDef = ...,
|
|
348
|
-
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
349
|
-
propagateTags: bool = ...,
|
|
350
|
-
timeout: JobTimeoutTypeDef = ...,
|
|
351
|
-
tags: Mapping[str, str] = ...,
|
|
352
|
-
platformCapabilities: Sequence[PlatformCapabilityType] = ...,
|
|
353
|
-
eksProperties: EksPropertiesUnionTypeDef = ...,
|
|
354
|
-
ecsProperties: EcsPropertiesUnionTypeDef = ...,
|
|
311
|
+
self, **kwargs: Unpack[RegisterJobDefinitionRequestRequestTypeDef]
|
|
355
312
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
356
313
|
"""
|
|
357
314
|
Registers an Batch job definition.
|
|
@@ -361,24 +318,7 @@ class BatchClient(BaseClient):
|
|
|
361
318
|
"""
|
|
362
319
|
|
|
363
320
|
def submit_job(
|
|
364
|
-
self,
|
|
365
|
-
*,
|
|
366
|
-
jobName: str,
|
|
367
|
-
jobQueue: str,
|
|
368
|
-
jobDefinition: str,
|
|
369
|
-
shareIdentifier: str = ...,
|
|
370
|
-
schedulingPriorityOverride: int = ...,
|
|
371
|
-
arrayProperties: ArrayPropertiesTypeDef = ...,
|
|
372
|
-
dependsOn: Sequence[JobDependencyTypeDef] = ...,
|
|
373
|
-
parameters: Mapping[str, str] = ...,
|
|
374
|
-
containerOverrides: ContainerOverridesTypeDef = ...,
|
|
375
|
-
nodeOverrides: NodeOverridesTypeDef = ...,
|
|
376
|
-
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
377
|
-
propagateTags: bool = ...,
|
|
378
|
-
timeout: JobTimeoutTypeDef = ...,
|
|
379
|
-
tags: Mapping[str, str] = ...,
|
|
380
|
-
eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
|
|
381
|
-
ecsPropertiesOverride: EcsPropertiesOverrideTypeDef = ...,
|
|
321
|
+
self, **kwargs: Unpack[SubmitJobRequestRequestTypeDef]
|
|
382
322
|
) -> SubmitJobResponseTypeDef:
|
|
383
323
|
"""
|
|
384
324
|
Submits an Batch job from a job definition.
|
|
@@ -387,7 +327,7 @@ class BatchClient(BaseClient):
|
|
|
387
327
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
388
328
|
"""
|
|
389
329
|
|
|
390
|
-
def tag_resource(self,
|
|
330
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
391
331
|
"""
|
|
392
332
|
Associates the specified tags to a resource with the specified `resourceArn`.
|
|
393
333
|
|
|
@@ -395,7 +335,7 @@ class BatchClient(BaseClient):
|
|
|
395
335
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
396
336
|
"""
|
|
397
337
|
|
|
398
|
-
def terminate_job(self,
|
|
338
|
+
def terminate_job(self, **kwargs: Unpack[TerminateJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
399
339
|
"""
|
|
400
340
|
Terminates a job in a job queue.
|
|
401
341
|
|
|
@@ -403,7 +343,9 @@ class BatchClient(BaseClient):
|
|
|
403
343
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
404
344
|
"""
|
|
405
345
|
|
|
406
|
-
def untag_resource(
|
|
346
|
+
def untag_resource(
|
|
347
|
+
self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
|
|
348
|
+
) -> Dict[str, Any]:
|
|
407
349
|
"""
|
|
408
350
|
Deletes specified tags from an Batch resource.
|
|
409
351
|
|
|
@@ -412,14 +354,7 @@ class BatchClient(BaseClient):
|
|
|
412
354
|
"""
|
|
413
355
|
|
|
414
356
|
def update_compute_environment(
|
|
415
|
-
self,
|
|
416
|
-
*,
|
|
417
|
-
computeEnvironment: str,
|
|
418
|
-
state: CEStateType = ...,
|
|
419
|
-
unmanagedvCpus: int = ...,
|
|
420
|
-
computeResources: ComputeResourceUpdateTypeDef = ...,
|
|
421
|
-
serviceRole: str = ...,
|
|
422
|
-
updatePolicy: UpdatePolicyTypeDef = ...,
|
|
357
|
+
self, **kwargs: Unpack[UpdateComputeEnvironmentRequestRequestTypeDef]
|
|
423
358
|
) -> UpdateComputeEnvironmentResponseTypeDef:
|
|
424
359
|
"""
|
|
425
360
|
Updates an Batch compute environment.
|
|
@@ -429,14 +364,7 @@ class BatchClient(BaseClient):
|
|
|
429
364
|
"""
|
|
430
365
|
|
|
431
366
|
def update_job_queue(
|
|
432
|
-
self,
|
|
433
|
-
*,
|
|
434
|
-
jobQueue: str,
|
|
435
|
-
state: JQStateType = ...,
|
|
436
|
-
schedulingPolicyArn: str = ...,
|
|
437
|
-
priority: int = ...,
|
|
438
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
|
|
439
|
-
jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
|
|
367
|
+
self, **kwargs: Unpack[UpdateJobQueueRequestRequestTypeDef]
|
|
440
368
|
) -> UpdateJobQueueResponseTypeDef:
|
|
441
369
|
"""
|
|
442
370
|
Updates a job queue.
|
|
@@ -446,7 +374,7 @@ class BatchClient(BaseClient):
|
|
|
446
374
|
"""
|
|
447
375
|
|
|
448
376
|
def update_scheduling_policy(
|
|
449
|
-
self,
|
|
377
|
+
self, **kwargs: Unpack[UpdateSchedulingPolicyRequestRequestTypeDef]
|
|
450
378
|
) -> Dict[str, Any]:
|
|
451
379
|
"""
|
|
452
380
|
Updates a scheduling policy.
|