mypy-boto3-batch 1.35.57__py3-none-any.whl → 1.35.83__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 +2 -0
- mypy_boto3_batch/__init__.pyi +2 -0
- mypy_boto3_batch/__main__.py +7 -5
- mypy_boto3_batch/client.py +65 -58
- mypy_boto3_batch/client.pyi +65 -58
- mypy_boto3_batch/literals.py +17 -0
- mypy_boto3_batch/literals.pyi +17 -0
- mypy_boto3_batch/paginator.py +12 -10
- mypy_boto3_batch/paginator.pyi +12 -10
- mypy_boto3_batch/type_defs.py +14 -0
- mypy_boto3_batch/type_defs.pyi +13 -0
- mypy_boto3_batch/version.py +3 -1
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.83.dist-info}/METADATA +75 -21
- mypy_boto3_batch-1.35.83.dist-info/RECORD +18 -0
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.83.dist-info}/WHEEL +1 -1
- mypy_boto3_batch-1.35.57.dist-info/RECORD +0 -18
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.83.dist-info}/LICENSE +0 -0
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.83.dist-info}/top_level.txt +0 -0
mypy_boto3_batch/__init__.py
CHANGED
|
@@ -24,6 +24,8 @@ Usage::
|
|
|
24
24
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
25
25
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
26
|
```
|
|
27
|
+
|
|
28
|
+
Copyright 2024 Vlad Emelianov
|
|
27
29
|
"""
|
|
28
30
|
|
|
29
31
|
from .client import BatchClient
|
mypy_boto3_batch/__init__.pyi
CHANGED
|
@@ -24,6 +24,8 @@ Usage::
|
|
|
24
24
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
25
25
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
26
26
|
```
|
|
27
|
+
|
|
28
|
+
Copyright 2024 Vlad Emelianov
|
|
27
29
|
"""
|
|
28
30
|
|
|
29
31
|
from .client import BatchClient
|
mypy_boto3_batch/__main__.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2024 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -10,11 +12,11 @@ def print_info() -> None:
|
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
14
|
print(
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Batch 1.35.83\n"
|
|
16
|
+
"Version: 1.35.83\n"
|
|
17
|
+
"Builder version: 8.6.4\n"
|
|
16
18
|
"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#
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#batch\n"
|
|
18
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
21
|
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
20
22
|
)
|
|
@@ -24,7 +26,7 @@ def print_version() -> None:
|
|
|
24
26
|
"""
|
|
25
27
|
Print package version to stdout.
|
|
26
28
|
"""
|
|
27
|
-
print("1.35.
|
|
29
|
+
print("1.35.83")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|
mypy_boto3_batch/client.py
CHANGED
|
@@ -12,6 +12,8 @@ Usage::
|
|
|
12
12
|
session = Session()
|
|
13
13
|
client: BatchClient = session.client("batch")
|
|
14
14
|
```
|
|
15
|
+
|
|
16
|
+
Copyright 2024 Vlad Emelianov
|
|
15
17
|
"""
|
|
16
18
|
|
|
17
19
|
import sys
|
|
@@ -106,41 +108,49 @@ class BatchClient(BaseClient):
|
|
|
106
108
|
"""
|
|
107
109
|
BatchClient exceptions.
|
|
108
110
|
|
|
109
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client
|
|
111
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
110
112
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#exceptions)
|
|
111
113
|
"""
|
|
112
114
|
|
|
113
115
|
def can_paginate(self, operation_name: str) -> bool:
|
|
114
116
|
"""
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.can_paginate)
|
|
117
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/can_paginate.html)
|
|
118
118
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
|
|
119
119
|
"""
|
|
120
120
|
|
|
121
|
-
def
|
|
121
|
+
def generate_presigned_url(
|
|
122
|
+
self,
|
|
123
|
+
ClientMethod: str,
|
|
124
|
+
Params: Mapping[str, Any] = ...,
|
|
125
|
+
ExpiresIn: int = 3600,
|
|
126
|
+
HttpMethod: str = ...,
|
|
127
|
+
) -> str:
|
|
122
128
|
"""
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.cancel_job)
|
|
126
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#cancel_job)
|
|
129
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/generate_presigned_url.html)
|
|
130
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
127
131
|
"""
|
|
128
132
|
|
|
129
133
|
def close(self) -> None:
|
|
130
134
|
"""
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.close)
|
|
135
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/close.html)
|
|
134
136
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#close)
|
|
135
137
|
"""
|
|
136
138
|
|
|
139
|
+
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
140
|
+
"""
|
|
141
|
+
Cancels a job in an Batch job queue.
|
|
142
|
+
|
|
143
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/cancel_job.html)
|
|
144
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#cancel_job)
|
|
145
|
+
"""
|
|
146
|
+
|
|
137
147
|
def create_compute_environment(
|
|
138
148
|
self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
|
|
139
149
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
140
150
|
"""
|
|
141
151
|
Creates an Batch compute environment.
|
|
142
152
|
|
|
143
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
153
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_compute_environment.html)
|
|
144
154
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_compute_environment)
|
|
145
155
|
"""
|
|
146
156
|
|
|
@@ -150,7 +160,7 @@ class BatchClient(BaseClient):
|
|
|
150
160
|
"""
|
|
151
161
|
Creates an Batch job queue.
|
|
152
162
|
|
|
153
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
163
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_job_queue.html)
|
|
154
164
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_job_queue)
|
|
155
165
|
"""
|
|
156
166
|
|
|
@@ -160,7 +170,7 @@ class BatchClient(BaseClient):
|
|
|
160
170
|
"""
|
|
161
171
|
Creates an Batch scheduling policy.
|
|
162
172
|
|
|
163
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
173
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_scheduling_policy.html)
|
|
164
174
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
165
175
|
"""
|
|
166
176
|
|
|
@@ -170,7 +180,7 @@ class BatchClient(BaseClient):
|
|
|
170
180
|
"""
|
|
171
181
|
Deletes an Batch compute environment.
|
|
172
182
|
|
|
173
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
183
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_compute_environment.html)
|
|
174
184
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
175
185
|
"""
|
|
176
186
|
|
|
@@ -180,7 +190,7 @@ class BatchClient(BaseClient):
|
|
|
180
190
|
"""
|
|
181
191
|
Deletes the specified job queue.
|
|
182
192
|
|
|
183
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
193
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_job_queue.html)
|
|
184
194
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
185
195
|
"""
|
|
186
196
|
|
|
@@ -190,7 +200,7 @@ class BatchClient(BaseClient):
|
|
|
190
200
|
"""
|
|
191
201
|
Deletes the specified scheduling policy.
|
|
192
202
|
|
|
193
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
203
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_scheduling_policy.html)
|
|
194
204
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
195
205
|
"""
|
|
196
206
|
|
|
@@ -200,7 +210,7 @@ class BatchClient(BaseClient):
|
|
|
200
210
|
"""
|
|
201
211
|
Deregisters an Batch job definition.
|
|
202
212
|
|
|
203
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
213
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/deregister_job_definition.html)
|
|
204
214
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#deregister_job_definition)
|
|
205
215
|
"""
|
|
206
216
|
|
|
@@ -210,7 +220,7 @@ class BatchClient(BaseClient):
|
|
|
210
220
|
"""
|
|
211
221
|
Describes one or more of your compute environments.
|
|
212
222
|
|
|
213
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
223
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_compute_environments.html)
|
|
214
224
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_compute_environments)
|
|
215
225
|
"""
|
|
216
226
|
|
|
@@ -220,7 +230,7 @@ class BatchClient(BaseClient):
|
|
|
220
230
|
"""
|
|
221
231
|
Describes a list of job definitions.
|
|
222
232
|
|
|
223
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
233
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_job_definitions.html)
|
|
224
234
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_definitions)
|
|
225
235
|
"""
|
|
226
236
|
|
|
@@ -230,7 +240,7 @@ class BatchClient(BaseClient):
|
|
|
230
240
|
"""
|
|
231
241
|
Describes one or more of your job queues.
|
|
232
242
|
|
|
233
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
243
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_job_queues.html)
|
|
234
244
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
235
245
|
"""
|
|
236
246
|
|
|
@@ -240,7 +250,7 @@ class BatchClient(BaseClient):
|
|
|
240
250
|
"""
|
|
241
251
|
Describes a list of Batch jobs.
|
|
242
252
|
|
|
243
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
253
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_jobs.html)
|
|
244
254
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_jobs)
|
|
245
255
|
"""
|
|
246
256
|
|
|
@@ -250,32 +260,18 @@ class BatchClient(BaseClient):
|
|
|
250
260
|
"""
|
|
251
261
|
Describes one or more of your scheduling policies.
|
|
252
262
|
|
|
253
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
263
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_scheduling_policies.html)
|
|
254
264
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_scheduling_policies)
|
|
255
265
|
"""
|
|
256
266
|
|
|
257
|
-
def generate_presigned_url(
|
|
258
|
-
self,
|
|
259
|
-
ClientMethod: str,
|
|
260
|
-
Params: Mapping[str, Any] = ...,
|
|
261
|
-
ExpiresIn: int = 3600,
|
|
262
|
-
HttpMethod: str = ...,
|
|
263
|
-
) -> str:
|
|
264
|
-
"""
|
|
265
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
266
|
-
|
|
267
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.generate_presigned_url)
|
|
268
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
269
|
-
"""
|
|
270
|
-
|
|
271
267
|
def get_job_queue_snapshot(
|
|
272
268
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
|
|
273
269
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
274
270
|
"""
|
|
275
|
-
Provides a list of the first 100
|
|
276
|
-
queue.
|
|
271
|
+
Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
|
|
272
|
+
single job queue.
|
|
277
273
|
|
|
278
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
274
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_job_queue_snapshot.html)
|
|
279
275
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
280
276
|
"""
|
|
281
277
|
|
|
@@ -283,7 +279,7 @@ class BatchClient(BaseClient):
|
|
|
283
279
|
"""
|
|
284
280
|
Returns a list of Batch jobs.
|
|
285
281
|
|
|
286
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
282
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_jobs.html)
|
|
287
283
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_jobs)
|
|
288
284
|
"""
|
|
289
285
|
|
|
@@ -293,7 +289,7 @@ class BatchClient(BaseClient):
|
|
|
293
289
|
"""
|
|
294
290
|
Returns a list of Batch scheduling policies.
|
|
295
291
|
|
|
296
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
292
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_scheduling_policies.html)
|
|
297
293
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
298
294
|
"""
|
|
299
295
|
|
|
@@ -303,7 +299,7 @@ class BatchClient(BaseClient):
|
|
|
303
299
|
"""
|
|
304
300
|
Lists the tags for an Batch resource.
|
|
305
301
|
|
|
306
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
302
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_tags_for_resource.html)
|
|
307
303
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_tags_for_resource)
|
|
308
304
|
"""
|
|
309
305
|
|
|
@@ -313,7 +309,7 @@ class BatchClient(BaseClient):
|
|
|
313
309
|
"""
|
|
314
310
|
Registers an Batch job definition.
|
|
315
311
|
|
|
316
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
312
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/register_job_definition.html)
|
|
317
313
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#register_job_definition)
|
|
318
314
|
"""
|
|
319
315
|
|
|
@@ -323,15 +319,16 @@ class BatchClient(BaseClient):
|
|
|
323
319
|
"""
|
|
324
320
|
Submits an Batch job from a job definition.
|
|
325
321
|
|
|
326
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
322
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/submit_job.html)
|
|
327
323
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
328
324
|
"""
|
|
329
325
|
|
|
330
326
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
331
327
|
"""
|
|
332
|
-
Associates the specified tags to a resource with the specified
|
|
328
|
+
Associates the specified tags to a resource with the specified
|
|
329
|
+
<code>resourceArn</code>.
|
|
333
330
|
|
|
334
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
331
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/tag_resource.html)
|
|
335
332
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
336
333
|
"""
|
|
337
334
|
|
|
@@ -339,7 +336,7 @@ class BatchClient(BaseClient):
|
|
|
339
336
|
"""
|
|
340
337
|
Terminates a job in a job queue.
|
|
341
338
|
|
|
342
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
339
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/terminate_job.html)
|
|
343
340
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
344
341
|
"""
|
|
345
342
|
|
|
@@ -349,7 +346,7 @@ class BatchClient(BaseClient):
|
|
|
349
346
|
"""
|
|
350
347
|
Deletes specified tags from an Batch resource.
|
|
351
348
|
|
|
352
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
349
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/untag_resource.html)
|
|
353
350
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#untag_resource)
|
|
354
351
|
"""
|
|
355
352
|
|
|
@@ -359,7 +356,7 @@ class BatchClient(BaseClient):
|
|
|
359
356
|
"""
|
|
360
357
|
Updates an Batch compute environment.
|
|
361
358
|
|
|
362
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
359
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_compute_environment.html)
|
|
363
360
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_compute_environment)
|
|
364
361
|
"""
|
|
365
362
|
|
|
@@ -369,7 +366,7 @@ class BatchClient(BaseClient):
|
|
|
369
366
|
"""
|
|
370
367
|
Updates a job queue.
|
|
371
368
|
|
|
372
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
369
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_job_queue.html)
|
|
373
370
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_job_queue)
|
|
374
371
|
"""
|
|
375
372
|
|
|
@@ -379,7 +376,7 @@ class BatchClient(BaseClient):
|
|
|
379
376
|
"""
|
|
380
377
|
Updates a scheduling policy.
|
|
381
378
|
|
|
382
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
379
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_scheduling_policy.html)
|
|
383
380
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
384
381
|
"""
|
|
385
382
|
|
|
@@ -388,7 +385,9 @@ class BatchClient(BaseClient):
|
|
|
388
385
|
self, operation_name: Literal["describe_compute_environments"]
|
|
389
386
|
) -> DescribeComputeEnvironmentsPaginator:
|
|
390
387
|
"""
|
|
391
|
-
|
|
388
|
+
Create a paginator for an operation.
|
|
389
|
+
|
|
390
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
392
391
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
393
392
|
"""
|
|
394
393
|
|
|
@@ -397,7 +396,9 @@ class BatchClient(BaseClient):
|
|
|
397
396
|
self, operation_name: Literal["describe_job_definitions"]
|
|
398
397
|
) -> DescribeJobDefinitionsPaginator:
|
|
399
398
|
"""
|
|
400
|
-
|
|
399
|
+
Create a paginator for an operation.
|
|
400
|
+
|
|
401
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
401
402
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
402
403
|
"""
|
|
403
404
|
|
|
@@ -406,14 +407,18 @@ class BatchClient(BaseClient):
|
|
|
406
407
|
self, operation_name: Literal["describe_job_queues"]
|
|
407
408
|
) -> DescribeJobQueuesPaginator:
|
|
408
409
|
"""
|
|
409
|
-
|
|
410
|
+
Create a paginator for an operation.
|
|
411
|
+
|
|
412
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
410
413
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
411
414
|
"""
|
|
412
415
|
|
|
413
416
|
@overload
|
|
414
417
|
def get_paginator(self, operation_name: Literal["list_jobs"]) -> ListJobsPaginator:
|
|
415
418
|
"""
|
|
416
|
-
|
|
419
|
+
Create a paginator for an operation.
|
|
420
|
+
|
|
421
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
417
422
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
418
423
|
"""
|
|
419
424
|
|
|
@@ -422,6 +427,8 @@ class BatchClient(BaseClient):
|
|
|
422
427
|
self, operation_name: Literal["list_scheduling_policies"]
|
|
423
428
|
) -> ListSchedulingPoliciesPaginator:
|
|
424
429
|
"""
|
|
425
|
-
|
|
430
|
+
Create a paginator for an operation.
|
|
431
|
+
|
|
432
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
426
433
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
427
434
|
"""
|