mypy-boto3-batch 1.35.57__py3-none-any.whl → 1.35.93__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 +11 -8
- mypy_boto3_batch/client.py +86 -81
- mypy_boto3_batch/client.pyi +86 -80
- mypy_boto3_batch/literals.py +18 -1
- mypy_boto3_batch/literals.pyi +18 -1
- mypy_boto3_batch/paginator.py +71 -48
- mypy_boto3_batch/paginator.pyi +67 -47
- mypy_boto3_batch/type_defs.py +34 -12
- mypy_boto3_batch/type_defs.pyi +33 -12
- mypy_boto3_batch/version.py +3 -1
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.93.dist-info}/LICENSE +1 -1
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.93.dist-info}/METADATA +76 -22
- mypy_boto3_batch-1.35.93.dist-info/RECORD +18 -0
- {mypy_boto3_batch-1.35.57.dist-info → mypy_boto3_batch-1.35.93.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.93.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 2025 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 2025 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 2025 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -9,14 +11,14 @@ def print_info() -> None:
|
|
|
9
11
|
"""
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
|
-
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 Batch 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\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
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
20
22
|
)
|
|
21
23
|
|
|
22
24
|
|
|
@@ -24,7 +26,7 @@ def print_version() -> None:
|
|
|
24
26
|
"""
|
|
25
27
|
Print package version to stdout.
|
|
26
28
|
"""
|
|
27
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|
|
@@ -32,7 +34,8 @@ def main() -> None:
|
|
|
32
34
|
Main CLI entrypoint.
|
|
33
35
|
"""
|
|
34
36
|
if "--version" in sys.argv:
|
|
35
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
36
39
|
print_info()
|
|
37
40
|
|
|
38
41
|
|
mypy_boto3_batch/client.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for batch service
|
|
2
|
+
Type annotations for batch service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -12,12 +12,18 @@ Usage::
|
|
|
12
12
|
session = Session()
|
|
13
13
|
client: BatchClient = session.client("batch")
|
|
14
14
|
```
|
|
15
|
+
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
15
17
|
"""
|
|
16
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
17
21
|
import sys
|
|
18
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
19
23
|
|
|
20
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
21
27
|
|
|
22
28
|
from .paginator import (
|
|
23
29
|
DescribeComputeEnvironmentsPaginator,
|
|
@@ -70,6 +76,12 @@ from .type_defs import (
|
|
|
70
76
|
UpdateSchedulingPolicyRequestRequestTypeDef,
|
|
71
77
|
)
|
|
72
78
|
|
|
79
|
+
if sys.version_info >= (3, 9):
|
|
80
|
+
from builtins import dict as Dict
|
|
81
|
+
from builtins import type as Type
|
|
82
|
+
from collections.abc import Mapping
|
|
83
|
+
else:
|
|
84
|
+
from typing import Dict, Mapping, Type
|
|
73
85
|
if sys.version_info >= (3, 12):
|
|
74
86
|
from typing import Literal, Unpack
|
|
75
87
|
else:
|
|
@@ -79,15 +91,7 @@ else:
|
|
|
79
91
|
__all__ = ("BatchClient",)
|
|
80
92
|
|
|
81
93
|
|
|
82
|
-
class
|
|
83
|
-
MSG_TEMPLATE: str
|
|
84
|
-
|
|
85
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
86
|
-
self.response: Dict[str, Any]
|
|
87
|
-
self.operation_name: str
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
class Exceptions:
|
|
94
|
+
class Exceptions(BaseClientExceptions):
|
|
91
95
|
ClientError: Type[BotocoreClientError]
|
|
92
96
|
ClientException: Type[BotocoreClientError]
|
|
93
97
|
ServerException: Type[BotocoreClientError]
|
|
@@ -106,32 +110,34 @@ class BatchClient(BaseClient):
|
|
|
106
110
|
"""
|
|
107
111
|
BatchClient exceptions.
|
|
108
112
|
|
|
109
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client
|
|
113
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
110
114
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#exceptions)
|
|
111
115
|
"""
|
|
112
116
|
|
|
113
117
|
def can_paginate(self, operation_name: str) -> bool:
|
|
114
118
|
"""
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.can_paginate)
|
|
119
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/can_paginate.html)
|
|
118
120
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
|
|
119
121
|
"""
|
|
120
122
|
|
|
121
|
-
def
|
|
123
|
+
def generate_presigned_url(
|
|
124
|
+
self,
|
|
125
|
+
ClientMethod: str,
|
|
126
|
+
Params: Mapping[str, Any] = ...,
|
|
127
|
+
ExpiresIn: int = 3600,
|
|
128
|
+
HttpMethod: str = ...,
|
|
129
|
+
) -> str:
|
|
122
130
|
"""
|
|
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)
|
|
131
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/generate_presigned_url.html)
|
|
132
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
127
133
|
"""
|
|
128
134
|
|
|
129
|
-
def
|
|
135
|
+
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
130
136
|
"""
|
|
131
|
-
|
|
137
|
+
Cancels a job in an Batch job queue.
|
|
132
138
|
|
|
133
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
134
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#
|
|
139
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/cancel_job.html)
|
|
140
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#cancel_job)
|
|
135
141
|
"""
|
|
136
142
|
|
|
137
143
|
def create_compute_environment(
|
|
@@ -140,7 +146,7 @@ class BatchClient(BaseClient):
|
|
|
140
146
|
"""
|
|
141
147
|
Creates an Batch compute environment.
|
|
142
148
|
|
|
143
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
149
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_compute_environment.html)
|
|
144
150
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_compute_environment)
|
|
145
151
|
"""
|
|
146
152
|
|
|
@@ -150,7 +156,7 @@ class BatchClient(BaseClient):
|
|
|
150
156
|
"""
|
|
151
157
|
Creates an Batch job queue.
|
|
152
158
|
|
|
153
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
159
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_job_queue.html)
|
|
154
160
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_job_queue)
|
|
155
161
|
"""
|
|
156
162
|
|
|
@@ -160,7 +166,7 @@ class BatchClient(BaseClient):
|
|
|
160
166
|
"""
|
|
161
167
|
Creates an Batch scheduling policy.
|
|
162
168
|
|
|
163
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
169
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_scheduling_policy.html)
|
|
164
170
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
165
171
|
"""
|
|
166
172
|
|
|
@@ -170,7 +176,7 @@ class BatchClient(BaseClient):
|
|
|
170
176
|
"""
|
|
171
177
|
Deletes an Batch compute environment.
|
|
172
178
|
|
|
173
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
179
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_compute_environment.html)
|
|
174
180
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
175
181
|
"""
|
|
176
182
|
|
|
@@ -180,7 +186,7 @@ class BatchClient(BaseClient):
|
|
|
180
186
|
"""
|
|
181
187
|
Deletes the specified job queue.
|
|
182
188
|
|
|
183
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
189
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_job_queue.html)
|
|
184
190
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
185
191
|
"""
|
|
186
192
|
|
|
@@ -190,7 +196,7 @@ class BatchClient(BaseClient):
|
|
|
190
196
|
"""
|
|
191
197
|
Deletes the specified scheduling policy.
|
|
192
198
|
|
|
193
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
199
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_scheduling_policy.html)
|
|
194
200
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
195
201
|
"""
|
|
196
202
|
|
|
@@ -200,7 +206,7 @@ class BatchClient(BaseClient):
|
|
|
200
206
|
"""
|
|
201
207
|
Deregisters an Batch job definition.
|
|
202
208
|
|
|
203
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
209
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/deregister_job_definition.html)
|
|
204
210
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#deregister_job_definition)
|
|
205
211
|
"""
|
|
206
212
|
|
|
@@ -210,7 +216,7 @@ class BatchClient(BaseClient):
|
|
|
210
216
|
"""
|
|
211
217
|
Describes one or more of your compute environments.
|
|
212
218
|
|
|
213
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
219
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_compute_environments.html)
|
|
214
220
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_compute_environments)
|
|
215
221
|
"""
|
|
216
222
|
|
|
@@ -220,7 +226,7 @@ class BatchClient(BaseClient):
|
|
|
220
226
|
"""
|
|
221
227
|
Describes a list of job definitions.
|
|
222
228
|
|
|
223
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
229
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_job_definitions.html)
|
|
224
230
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_definitions)
|
|
225
231
|
"""
|
|
226
232
|
|
|
@@ -230,7 +236,7 @@ class BatchClient(BaseClient):
|
|
|
230
236
|
"""
|
|
231
237
|
Describes one or more of your job queues.
|
|
232
238
|
|
|
233
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
239
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_job_queues.html)
|
|
234
240
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
235
241
|
"""
|
|
236
242
|
|
|
@@ -240,7 +246,7 @@ class BatchClient(BaseClient):
|
|
|
240
246
|
"""
|
|
241
247
|
Describes a list of Batch jobs.
|
|
242
248
|
|
|
243
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
249
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_jobs.html)
|
|
244
250
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_jobs)
|
|
245
251
|
"""
|
|
246
252
|
|
|
@@ -250,32 +256,18 @@ class BatchClient(BaseClient):
|
|
|
250
256
|
"""
|
|
251
257
|
Describes one or more of your scheduling policies.
|
|
252
258
|
|
|
253
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
259
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_scheduling_policies.html)
|
|
254
260
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_scheduling_policies)
|
|
255
261
|
"""
|
|
256
262
|
|
|
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
263
|
def get_job_queue_snapshot(
|
|
272
264
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
|
|
273
265
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
274
266
|
"""
|
|
275
|
-
Provides a list of the first 100
|
|
276
|
-
queue.
|
|
267
|
+
Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
|
|
268
|
+
single job queue.
|
|
277
269
|
|
|
278
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
270
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_job_queue_snapshot.html)
|
|
279
271
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
280
272
|
"""
|
|
281
273
|
|
|
@@ -283,7 +275,7 @@ class BatchClient(BaseClient):
|
|
|
283
275
|
"""
|
|
284
276
|
Returns a list of Batch jobs.
|
|
285
277
|
|
|
286
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
278
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_jobs.html)
|
|
287
279
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_jobs)
|
|
288
280
|
"""
|
|
289
281
|
|
|
@@ -293,7 +285,7 @@ class BatchClient(BaseClient):
|
|
|
293
285
|
"""
|
|
294
286
|
Returns a list of Batch scheduling policies.
|
|
295
287
|
|
|
296
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
288
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_scheduling_policies.html)
|
|
297
289
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
298
290
|
"""
|
|
299
291
|
|
|
@@ -303,7 +295,7 @@ class BatchClient(BaseClient):
|
|
|
303
295
|
"""
|
|
304
296
|
Lists the tags for an Batch resource.
|
|
305
297
|
|
|
306
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
298
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_tags_for_resource.html)
|
|
307
299
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_tags_for_resource)
|
|
308
300
|
"""
|
|
309
301
|
|
|
@@ -313,7 +305,7 @@ class BatchClient(BaseClient):
|
|
|
313
305
|
"""
|
|
314
306
|
Registers an Batch job definition.
|
|
315
307
|
|
|
316
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
308
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/register_job_definition.html)
|
|
317
309
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#register_job_definition)
|
|
318
310
|
"""
|
|
319
311
|
|
|
@@ -323,15 +315,16 @@ class BatchClient(BaseClient):
|
|
|
323
315
|
"""
|
|
324
316
|
Submits an Batch job from a job definition.
|
|
325
317
|
|
|
326
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
318
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/submit_job.html)
|
|
327
319
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
328
320
|
"""
|
|
329
321
|
|
|
330
322
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
331
323
|
"""
|
|
332
|
-
Associates the specified tags to a resource with the specified
|
|
324
|
+
Associates the specified tags to a resource with the specified
|
|
325
|
+
<code>resourceArn</code>.
|
|
333
326
|
|
|
334
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
327
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/tag_resource.html)
|
|
335
328
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
336
329
|
"""
|
|
337
330
|
|
|
@@ -339,7 +332,7 @@ class BatchClient(BaseClient):
|
|
|
339
332
|
"""
|
|
340
333
|
Terminates a job in a job queue.
|
|
341
334
|
|
|
342
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
335
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/terminate_job.html)
|
|
343
336
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
344
337
|
"""
|
|
345
338
|
|
|
@@ -349,7 +342,7 @@ class BatchClient(BaseClient):
|
|
|
349
342
|
"""
|
|
350
343
|
Deletes specified tags from an Batch resource.
|
|
351
344
|
|
|
352
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
345
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/untag_resource.html)
|
|
353
346
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#untag_resource)
|
|
354
347
|
"""
|
|
355
348
|
|
|
@@ -359,7 +352,7 @@ class BatchClient(BaseClient):
|
|
|
359
352
|
"""
|
|
360
353
|
Updates an Batch compute environment.
|
|
361
354
|
|
|
362
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
355
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_compute_environment.html)
|
|
363
356
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_compute_environment)
|
|
364
357
|
"""
|
|
365
358
|
|
|
@@ -369,7 +362,7 @@ class BatchClient(BaseClient):
|
|
|
369
362
|
"""
|
|
370
363
|
Updates a job queue.
|
|
371
364
|
|
|
372
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
365
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_job_queue.html)
|
|
373
366
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_job_queue)
|
|
374
367
|
"""
|
|
375
368
|
|
|
@@ -379,49 +372,61 @@ class BatchClient(BaseClient):
|
|
|
379
372
|
"""
|
|
380
373
|
Updates a scheduling policy.
|
|
381
374
|
|
|
382
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
375
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_scheduling_policy.html)
|
|
383
376
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
384
377
|
"""
|
|
385
378
|
|
|
386
|
-
@overload
|
|
387
|
-
def get_paginator(
|
|
379
|
+
@overload # type: ignore[override]
|
|
380
|
+
def get_paginator( # type: ignore[override]
|
|
388
381
|
self, operation_name: Literal["describe_compute_environments"]
|
|
389
382
|
) -> DescribeComputeEnvironmentsPaginator:
|
|
390
383
|
"""
|
|
391
|
-
|
|
384
|
+
Create a paginator for an operation.
|
|
385
|
+
|
|
386
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
392
387
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
393
388
|
"""
|
|
394
389
|
|
|
395
|
-
@overload
|
|
396
|
-
def get_paginator(
|
|
390
|
+
@overload # type: ignore[override]
|
|
391
|
+
def get_paginator( # type: ignore[override]
|
|
397
392
|
self, operation_name: Literal["describe_job_definitions"]
|
|
398
393
|
) -> DescribeJobDefinitionsPaginator:
|
|
399
394
|
"""
|
|
400
|
-
|
|
395
|
+
Create a paginator for an operation.
|
|
396
|
+
|
|
397
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
401
398
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
402
399
|
"""
|
|
403
400
|
|
|
404
|
-
@overload
|
|
405
|
-
def get_paginator(
|
|
401
|
+
@overload # type: ignore[override]
|
|
402
|
+
def get_paginator( # type: ignore[override]
|
|
406
403
|
self, operation_name: Literal["describe_job_queues"]
|
|
407
404
|
) -> DescribeJobQueuesPaginator:
|
|
408
405
|
"""
|
|
409
|
-
|
|
406
|
+
Create a paginator for an operation.
|
|
407
|
+
|
|
408
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
410
409
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
411
410
|
"""
|
|
412
411
|
|
|
413
|
-
@overload
|
|
414
|
-
def get_paginator(
|
|
412
|
+
@overload # type: ignore[override]
|
|
413
|
+
def get_paginator( # type: ignore[override]
|
|
414
|
+
self, operation_name: Literal["list_jobs"]
|
|
415
|
+
) -> ListJobsPaginator:
|
|
415
416
|
"""
|
|
416
|
-
|
|
417
|
+
Create a paginator for an operation.
|
|
418
|
+
|
|
419
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
417
420
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
418
421
|
"""
|
|
419
422
|
|
|
420
|
-
@overload
|
|
421
|
-
def get_paginator(
|
|
423
|
+
@overload # type: ignore[override]
|
|
424
|
+
def get_paginator( # type: ignore[override]
|
|
422
425
|
self, operation_name: Literal["list_scheduling_policies"]
|
|
423
426
|
) -> ListSchedulingPoliciesPaginator:
|
|
424
427
|
"""
|
|
425
|
-
|
|
428
|
+
Create a paginator for an operation.
|
|
429
|
+
|
|
430
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
426
431
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
427
432
|
"""
|