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/client.pyi
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:
|
|
@@ -77,14 +89,7 @@ else:
|
|
|
77
89
|
|
|
78
90
|
__all__ = ("BatchClient",)
|
|
79
91
|
|
|
80
|
-
class
|
|
81
|
-
MSG_TEMPLATE: str
|
|
82
|
-
|
|
83
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
84
|
-
self.response: Dict[str, Any]
|
|
85
|
-
self.operation_name: str
|
|
86
|
-
|
|
87
|
-
class Exceptions:
|
|
92
|
+
class Exceptions(BaseClientExceptions):
|
|
88
93
|
ClientError: Type[BotocoreClientError]
|
|
89
94
|
ClientException: Type[BotocoreClientError]
|
|
90
95
|
ServerException: Type[BotocoreClientError]
|
|
@@ -102,32 +107,34 @@ class BatchClient(BaseClient):
|
|
|
102
107
|
"""
|
|
103
108
|
BatchClient exceptions.
|
|
104
109
|
|
|
105
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client
|
|
110
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
106
111
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#exceptions)
|
|
107
112
|
"""
|
|
108
113
|
|
|
109
114
|
def can_paginate(self, operation_name: str) -> bool:
|
|
110
115
|
"""
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.can_paginate)
|
|
116
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/can_paginate.html)
|
|
114
117
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
|
|
115
118
|
"""
|
|
116
119
|
|
|
117
|
-
def
|
|
120
|
+
def generate_presigned_url(
|
|
121
|
+
self,
|
|
122
|
+
ClientMethod: str,
|
|
123
|
+
Params: Mapping[str, Any] = ...,
|
|
124
|
+
ExpiresIn: int = 3600,
|
|
125
|
+
HttpMethod: str = ...,
|
|
126
|
+
) -> str:
|
|
118
127
|
"""
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.cancel_job)
|
|
122
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#cancel_job)
|
|
128
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/generate_presigned_url.html)
|
|
129
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
123
130
|
"""
|
|
124
131
|
|
|
125
|
-
def
|
|
132
|
+
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
126
133
|
"""
|
|
127
|
-
|
|
134
|
+
Cancels a job in an Batch job queue.
|
|
128
135
|
|
|
129
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
130
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#
|
|
136
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/cancel_job.html)
|
|
137
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#cancel_job)
|
|
131
138
|
"""
|
|
132
139
|
|
|
133
140
|
def create_compute_environment(
|
|
@@ -136,7 +143,7 @@ class BatchClient(BaseClient):
|
|
|
136
143
|
"""
|
|
137
144
|
Creates an Batch compute environment.
|
|
138
145
|
|
|
139
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
146
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_compute_environment.html)
|
|
140
147
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_compute_environment)
|
|
141
148
|
"""
|
|
142
149
|
|
|
@@ -146,7 +153,7 @@ class BatchClient(BaseClient):
|
|
|
146
153
|
"""
|
|
147
154
|
Creates an Batch job queue.
|
|
148
155
|
|
|
149
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
156
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_job_queue.html)
|
|
150
157
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_job_queue)
|
|
151
158
|
"""
|
|
152
159
|
|
|
@@ -156,7 +163,7 @@ class BatchClient(BaseClient):
|
|
|
156
163
|
"""
|
|
157
164
|
Creates an Batch scheduling policy.
|
|
158
165
|
|
|
159
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
166
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_scheduling_policy.html)
|
|
160
167
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
161
168
|
"""
|
|
162
169
|
|
|
@@ -166,7 +173,7 @@ class BatchClient(BaseClient):
|
|
|
166
173
|
"""
|
|
167
174
|
Deletes an Batch compute environment.
|
|
168
175
|
|
|
169
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
176
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_compute_environment.html)
|
|
170
177
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
171
178
|
"""
|
|
172
179
|
|
|
@@ -176,7 +183,7 @@ class BatchClient(BaseClient):
|
|
|
176
183
|
"""
|
|
177
184
|
Deletes the specified job queue.
|
|
178
185
|
|
|
179
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
186
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_job_queue.html)
|
|
180
187
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
181
188
|
"""
|
|
182
189
|
|
|
@@ -186,7 +193,7 @@ class BatchClient(BaseClient):
|
|
|
186
193
|
"""
|
|
187
194
|
Deletes the specified scheduling policy.
|
|
188
195
|
|
|
189
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
196
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_scheduling_policy.html)
|
|
190
197
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
191
198
|
"""
|
|
192
199
|
|
|
@@ -196,7 +203,7 @@ class BatchClient(BaseClient):
|
|
|
196
203
|
"""
|
|
197
204
|
Deregisters an Batch job definition.
|
|
198
205
|
|
|
199
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
206
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/deregister_job_definition.html)
|
|
200
207
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#deregister_job_definition)
|
|
201
208
|
"""
|
|
202
209
|
|
|
@@ -206,7 +213,7 @@ class BatchClient(BaseClient):
|
|
|
206
213
|
"""
|
|
207
214
|
Describes one or more of your compute environments.
|
|
208
215
|
|
|
209
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
216
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_compute_environments.html)
|
|
210
217
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_compute_environments)
|
|
211
218
|
"""
|
|
212
219
|
|
|
@@ -216,7 +223,7 @@ class BatchClient(BaseClient):
|
|
|
216
223
|
"""
|
|
217
224
|
Describes a list of job definitions.
|
|
218
225
|
|
|
219
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
226
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_job_definitions.html)
|
|
220
227
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_definitions)
|
|
221
228
|
"""
|
|
222
229
|
|
|
@@ -226,7 +233,7 @@ class BatchClient(BaseClient):
|
|
|
226
233
|
"""
|
|
227
234
|
Describes one or more of your job queues.
|
|
228
235
|
|
|
229
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
236
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_job_queues.html)
|
|
230
237
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
231
238
|
"""
|
|
232
239
|
|
|
@@ -236,7 +243,7 @@ class BatchClient(BaseClient):
|
|
|
236
243
|
"""
|
|
237
244
|
Describes a list of Batch jobs.
|
|
238
245
|
|
|
239
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
246
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_jobs.html)
|
|
240
247
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_jobs)
|
|
241
248
|
"""
|
|
242
249
|
|
|
@@ -246,32 +253,18 @@ class BatchClient(BaseClient):
|
|
|
246
253
|
"""
|
|
247
254
|
Describes one or more of your scheduling policies.
|
|
248
255
|
|
|
249
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
256
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_scheduling_policies.html)
|
|
250
257
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_scheduling_policies)
|
|
251
258
|
"""
|
|
252
259
|
|
|
253
|
-
def generate_presigned_url(
|
|
254
|
-
self,
|
|
255
|
-
ClientMethod: str,
|
|
256
|
-
Params: Mapping[str, Any] = ...,
|
|
257
|
-
ExpiresIn: int = 3600,
|
|
258
|
-
HttpMethod: str = ...,
|
|
259
|
-
) -> str:
|
|
260
|
-
"""
|
|
261
|
-
Generate a presigned url given a client, its method, and arguments.
|
|
262
|
-
|
|
263
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.generate_presigned_url)
|
|
264
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
265
|
-
"""
|
|
266
|
-
|
|
267
260
|
def get_job_queue_snapshot(
|
|
268
261
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
|
|
269
262
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
270
263
|
"""
|
|
271
|
-
Provides a list of the first 100
|
|
272
|
-
queue.
|
|
264
|
+
Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
|
|
265
|
+
single job queue.
|
|
273
266
|
|
|
274
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
267
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_job_queue_snapshot.html)
|
|
275
268
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
276
269
|
"""
|
|
277
270
|
|
|
@@ -279,7 +272,7 @@ class BatchClient(BaseClient):
|
|
|
279
272
|
"""
|
|
280
273
|
Returns a list of Batch jobs.
|
|
281
274
|
|
|
282
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
275
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_jobs.html)
|
|
283
276
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_jobs)
|
|
284
277
|
"""
|
|
285
278
|
|
|
@@ -289,7 +282,7 @@ class BatchClient(BaseClient):
|
|
|
289
282
|
"""
|
|
290
283
|
Returns a list of Batch scheduling policies.
|
|
291
284
|
|
|
292
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
285
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_scheduling_policies.html)
|
|
293
286
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
294
287
|
"""
|
|
295
288
|
|
|
@@ -299,7 +292,7 @@ class BatchClient(BaseClient):
|
|
|
299
292
|
"""
|
|
300
293
|
Lists the tags for an Batch resource.
|
|
301
294
|
|
|
302
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
295
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_tags_for_resource.html)
|
|
303
296
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_tags_for_resource)
|
|
304
297
|
"""
|
|
305
298
|
|
|
@@ -309,7 +302,7 @@ class BatchClient(BaseClient):
|
|
|
309
302
|
"""
|
|
310
303
|
Registers an Batch job definition.
|
|
311
304
|
|
|
312
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
305
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/register_job_definition.html)
|
|
313
306
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#register_job_definition)
|
|
314
307
|
"""
|
|
315
308
|
|
|
@@ -319,15 +312,16 @@ class BatchClient(BaseClient):
|
|
|
319
312
|
"""
|
|
320
313
|
Submits an Batch job from a job definition.
|
|
321
314
|
|
|
322
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
315
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/submit_job.html)
|
|
323
316
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
324
317
|
"""
|
|
325
318
|
|
|
326
319
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
327
320
|
"""
|
|
328
|
-
Associates the specified tags to a resource with the specified
|
|
321
|
+
Associates the specified tags to a resource with the specified
|
|
322
|
+
<code>resourceArn</code>.
|
|
329
323
|
|
|
330
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
324
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/tag_resource.html)
|
|
331
325
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
332
326
|
"""
|
|
333
327
|
|
|
@@ -335,7 +329,7 @@ class BatchClient(BaseClient):
|
|
|
335
329
|
"""
|
|
336
330
|
Terminates a job in a job queue.
|
|
337
331
|
|
|
338
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
332
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/terminate_job.html)
|
|
339
333
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
340
334
|
"""
|
|
341
335
|
|
|
@@ -345,7 +339,7 @@ class BatchClient(BaseClient):
|
|
|
345
339
|
"""
|
|
346
340
|
Deletes specified tags from an Batch resource.
|
|
347
341
|
|
|
348
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
342
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/untag_resource.html)
|
|
349
343
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#untag_resource)
|
|
350
344
|
"""
|
|
351
345
|
|
|
@@ -355,7 +349,7 @@ class BatchClient(BaseClient):
|
|
|
355
349
|
"""
|
|
356
350
|
Updates an Batch compute environment.
|
|
357
351
|
|
|
358
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
352
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_compute_environment.html)
|
|
359
353
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_compute_environment)
|
|
360
354
|
"""
|
|
361
355
|
|
|
@@ -365,7 +359,7 @@ class BatchClient(BaseClient):
|
|
|
365
359
|
"""
|
|
366
360
|
Updates a job queue.
|
|
367
361
|
|
|
368
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
362
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_job_queue.html)
|
|
369
363
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_job_queue)
|
|
370
364
|
"""
|
|
371
365
|
|
|
@@ -375,49 +369,61 @@ class BatchClient(BaseClient):
|
|
|
375
369
|
"""
|
|
376
370
|
Updates a scheduling policy.
|
|
377
371
|
|
|
378
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html
|
|
372
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_scheduling_policy.html)
|
|
379
373
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
380
374
|
"""
|
|
381
375
|
|
|
382
|
-
@overload
|
|
383
|
-
def get_paginator(
|
|
376
|
+
@overload # type: ignore[override]
|
|
377
|
+
def get_paginator( # type: ignore[override]
|
|
384
378
|
self, operation_name: Literal["describe_compute_environments"]
|
|
385
379
|
) -> DescribeComputeEnvironmentsPaginator:
|
|
386
380
|
"""
|
|
387
|
-
|
|
381
|
+
Create a paginator for an operation.
|
|
382
|
+
|
|
383
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
388
384
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
389
385
|
"""
|
|
390
386
|
|
|
391
|
-
@overload
|
|
392
|
-
def get_paginator(
|
|
387
|
+
@overload # type: ignore[override]
|
|
388
|
+
def get_paginator( # type: ignore[override]
|
|
393
389
|
self, operation_name: Literal["describe_job_definitions"]
|
|
394
390
|
) -> DescribeJobDefinitionsPaginator:
|
|
395
391
|
"""
|
|
396
|
-
|
|
392
|
+
Create a paginator for an operation.
|
|
393
|
+
|
|
394
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
397
395
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
398
396
|
"""
|
|
399
397
|
|
|
400
|
-
@overload
|
|
401
|
-
def get_paginator(
|
|
398
|
+
@overload # type: ignore[override]
|
|
399
|
+
def get_paginator( # type: ignore[override]
|
|
402
400
|
self, operation_name: Literal["describe_job_queues"]
|
|
403
401
|
) -> DescribeJobQueuesPaginator:
|
|
404
402
|
"""
|
|
405
|
-
|
|
403
|
+
Create a paginator for an operation.
|
|
404
|
+
|
|
405
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
406
406
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
407
407
|
"""
|
|
408
408
|
|
|
409
|
-
@overload
|
|
410
|
-
def get_paginator(
|
|
409
|
+
@overload # type: ignore[override]
|
|
410
|
+
def get_paginator( # type: ignore[override]
|
|
411
|
+
self, operation_name: Literal["list_jobs"]
|
|
412
|
+
) -> ListJobsPaginator:
|
|
411
413
|
"""
|
|
412
|
-
|
|
414
|
+
Create a paginator for an operation.
|
|
415
|
+
|
|
416
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
413
417
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
414
418
|
"""
|
|
415
419
|
|
|
416
|
-
@overload
|
|
417
|
-
def get_paginator(
|
|
420
|
+
@overload # type: ignore[override]
|
|
421
|
+
def get_paginator( # type: ignore[override]
|
|
418
422
|
self, operation_name: Literal["list_scheduling_policies"]
|
|
419
423
|
) -> ListSchedulingPoliciesPaginator:
|
|
420
424
|
"""
|
|
421
|
-
|
|
425
|
+
Create a paginator for an operation.
|
|
426
|
+
|
|
427
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
422
428
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
423
429
|
"""
|
mypy_boto3_batch/literals.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ArrayJobDependencyType = "N_TO_N"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -125,12 +127,17 @@ ServiceName = Literal[
|
|
|
125
127
|
"b2bi",
|
|
126
128
|
"backup",
|
|
127
129
|
"backup-gateway",
|
|
130
|
+
"backupsearch",
|
|
128
131
|
"batch",
|
|
129
132
|
"bcm-data-exports",
|
|
133
|
+
"bcm-pricing-calculator",
|
|
130
134
|
"bedrock",
|
|
131
135
|
"bedrock-agent",
|
|
132
136
|
"bedrock-agent-runtime",
|
|
137
|
+
"bedrock-data-automation",
|
|
138
|
+
"bedrock-data-automation-runtime",
|
|
133
139
|
"bedrock-runtime",
|
|
140
|
+
"billing",
|
|
134
141
|
"billingconductor",
|
|
135
142
|
"braket",
|
|
136
143
|
"budgets",
|
|
@@ -179,6 +186,7 @@ ServiceName = Literal[
|
|
|
179
186
|
"connect",
|
|
180
187
|
"connect-contact-lens",
|
|
181
188
|
"connectcampaigns",
|
|
189
|
+
"connectcampaignsv2",
|
|
182
190
|
"connectcases",
|
|
183
191
|
"connectparticipant",
|
|
184
192
|
"controlcatalog",
|
|
@@ -205,6 +213,7 @@ ServiceName = Literal[
|
|
|
205
213
|
"drs",
|
|
206
214
|
"ds",
|
|
207
215
|
"ds-data",
|
|
216
|
+
"dsql",
|
|
208
217
|
"dynamodb",
|
|
209
218
|
"dynamodbstreams",
|
|
210
219
|
"ebs",
|
|
@@ -261,6 +270,7 @@ ServiceName = Literal[
|
|
|
261
270
|
"inspector-scan",
|
|
262
271
|
"inspector2",
|
|
263
272
|
"internetmonitor",
|
|
273
|
+
"invoicing",
|
|
264
274
|
"iot",
|
|
265
275
|
"iot-data",
|
|
266
276
|
"iot-jobs-data",
|
|
@@ -347,9 +357,13 @@ ServiceName = Literal[
|
|
|
347
357
|
"neptune-graph",
|
|
348
358
|
"neptunedata",
|
|
349
359
|
"network-firewall",
|
|
360
|
+
"networkflowmonitor",
|
|
350
361
|
"networkmanager",
|
|
351
362
|
"networkmonitor",
|
|
363
|
+
"notifications",
|
|
364
|
+
"notificationscontacts",
|
|
352
365
|
"oam",
|
|
366
|
+
"observabilityadmin",
|
|
353
367
|
"omics",
|
|
354
368
|
"opensearch",
|
|
355
369
|
"opensearchserverless",
|
|
@@ -359,6 +373,7 @@ ServiceName = Literal[
|
|
|
359
373
|
"osis",
|
|
360
374
|
"outposts",
|
|
361
375
|
"panorama",
|
|
376
|
+
"partnercentral-selling",
|
|
362
377
|
"payment-cryptography",
|
|
363
378
|
"payment-cryptography-data",
|
|
364
379
|
"pca-connector-ad",
|
|
@@ -409,6 +424,7 @@ ServiceName = Literal[
|
|
|
409
424
|
"s3",
|
|
410
425
|
"s3control",
|
|
411
426
|
"s3outposts",
|
|
427
|
+
"s3tables",
|
|
412
428
|
"sagemaker",
|
|
413
429
|
"sagemaker-a2i-runtime",
|
|
414
430
|
"sagemaker-edge",
|
|
@@ -421,6 +437,7 @@ ServiceName = Literal[
|
|
|
421
437
|
"schemas",
|
|
422
438
|
"sdb",
|
|
423
439
|
"secretsmanager",
|
|
440
|
+
"security-ir",
|
|
424
441
|
"securityhub",
|
|
425
442
|
"securitylake",
|
|
426
443
|
"serverlessrepo",
|
mypy_boto3_batch/literals.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ArrayJobDependencyType = "N_TO_N"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
13
15
|
"""
|
|
14
16
|
|
|
15
17
|
import sys
|
|
@@ -123,12 +125,17 @@ ServiceName = Literal[
|
|
|
123
125
|
"b2bi",
|
|
124
126
|
"backup",
|
|
125
127
|
"backup-gateway",
|
|
128
|
+
"backupsearch",
|
|
126
129
|
"batch",
|
|
127
130
|
"bcm-data-exports",
|
|
131
|
+
"bcm-pricing-calculator",
|
|
128
132
|
"bedrock",
|
|
129
133
|
"bedrock-agent",
|
|
130
134
|
"bedrock-agent-runtime",
|
|
135
|
+
"bedrock-data-automation",
|
|
136
|
+
"bedrock-data-automation-runtime",
|
|
131
137
|
"bedrock-runtime",
|
|
138
|
+
"billing",
|
|
132
139
|
"billingconductor",
|
|
133
140
|
"braket",
|
|
134
141
|
"budgets",
|
|
@@ -177,6 +184,7 @@ ServiceName = Literal[
|
|
|
177
184
|
"connect",
|
|
178
185
|
"connect-contact-lens",
|
|
179
186
|
"connectcampaigns",
|
|
187
|
+
"connectcampaignsv2",
|
|
180
188
|
"connectcases",
|
|
181
189
|
"connectparticipant",
|
|
182
190
|
"controlcatalog",
|
|
@@ -203,6 +211,7 @@ ServiceName = Literal[
|
|
|
203
211
|
"drs",
|
|
204
212
|
"ds",
|
|
205
213
|
"ds-data",
|
|
214
|
+
"dsql",
|
|
206
215
|
"dynamodb",
|
|
207
216
|
"dynamodbstreams",
|
|
208
217
|
"ebs",
|
|
@@ -259,6 +268,7 @@ ServiceName = Literal[
|
|
|
259
268
|
"inspector-scan",
|
|
260
269
|
"inspector2",
|
|
261
270
|
"internetmonitor",
|
|
271
|
+
"invoicing",
|
|
262
272
|
"iot",
|
|
263
273
|
"iot-data",
|
|
264
274
|
"iot-jobs-data",
|
|
@@ -345,9 +355,13 @@ ServiceName = Literal[
|
|
|
345
355
|
"neptune-graph",
|
|
346
356
|
"neptunedata",
|
|
347
357
|
"network-firewall",
|
|
358
|
+
"networkflowmonitor",
|
|
348
359
|
"networkmanager",
|
|
349
360
|
"networkmonitor",
|
|
361
|
+
"notifications",
|
|
362
|
+
"notificationscontacts",
|
|
350
363
|
"oam",
|
|
364
|
+
"observabilityadmin",
|
|
351
365
|
"omics",
|
|
352
366
|
"opensearch",
|
|
353
367
|
"opensearchserverless",
|
|
@@ -357,6 +371,7 @@ ServiceName = Literal[
|
|
|
357
371
|
"osis",
|
|
358
372
|
"outposts",
|
|
359
373
|
"panorama",
|
|
374
|
+
"partnercentral-selling",
|
|
360
375
|
"payment-cryptography",
|
|
361
376
|
"payment-cryptography-data",
|
|
362
377
|
"pca-connector-ad",
|
|
@@ -407,6 +422,7 @@ ServiceName = Literal[
|
|
|
407
422
|
"s3",
|
|
408
423
|
"s3control",
|
|
409
424
|
"s3outposts",
|
|
425
|
+
"s3tables",
|
|
410
426
|
"sagemaker",
|
|
411
427
|
"sagemaker-a2i-runtime",
|
|
412
428
|
"sagemaker-edge",
|
|
@@ -419,6 +435,7 @@ ServiceName = Literal[
|
|
|
419
435
|
"schemas",
|
|
420
436
|
"sdb",
|
|
421
437
|
"secretsmanager",
|
|
438
|
+
"security-ir",
|
|
422
439
|
"securityhub",
|
|
423
440
|
"securitylake",
|
|
424
441
|
"serverlessrepo",
|