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/client.pyi
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
|
|
@@ -102,41 +104,49 @@ class BatchClient(BaseClient):
|
|
|
102
104
|
"""
|
|
103
105
|
BatchClient exceptions.
|
|
104
106
|
|
|
105
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client
|
|
107
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
106
108
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#exceptions)
|
|
107
109
|
"""
|
|
108
110
|
|
|
109
111
|
def can_paginate(self, operation_name: str) -> bool:
|
|
110
112
|
"""
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.can_paginate)
|
|
113
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/can_paginate.html)
|
|
114
114
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
|
|
115
115
|
"""
|
|
116
116
|
|
|
117
|
-
def
|
|
117
|
+
def generate_presigned_url(
|
|
118
|
+
self,
|
|
119
|
+
ClientMethod: str,
|
|
120
|
+
Params: Mapping[str, Any] = ...,
|
|
121
|
+
ExpiresIn: int = 3600,
|
|
122
|
+
HttpMethod: str = ...,
|
|
123
|
+
) -> str:
|
|
118
124
|
"""
|
|
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)
|
|
125
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/generate_presigned_url.html)
|
|
126
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
123
127
|
"""
|
|
124
128
|
|
|
125
129
|
def close(self) -> None:
|
|
126
130
|
"""
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.close)
|
|
131
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/close.html)
|
|
130
132
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#close)
|
|
131
133
|
"""
|
|
132
134
|
|
|
135
|
+
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
136
|
+
"""
|
|
137
|
+
Cancels a job in an Batch job queue.
|
|
138
|
+
|
|
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)
|
|
141
|
+
"""
|
|
142
|
+
|
|
133
143
|
def create_compute_environment(
|
|
134
144
|
self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
|
|
135
145
|
) -> CreateComputeEnvironmentResponseTypeDef:
|
|
136
146
|
"""
|
|
137
147
|
Creates an Batch compute environment.
|
|
138
148
|
|
|
139
|
-
[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)
|
|
140
150
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_compute_environment)
|
|
141
151
|
"""
|
|
142
152
|
|
|
@@ -146,7 +156,7 @@ class BatchClient(BaseClient):
|
|
|
146
156
|
"""
|
|
147
157
|
Creates an Batch job queue.
|
|
148
158
|
|
|
149
|
-
[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)
|
|
150
160
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_job_queue)
|
|
151
161
|
"""
|
|
152
162
|
|
|
@@ -156,7 +166,7 @@ class BatchClient(BaseClient):
|
|
|
156
166
|
"""
|
|
157
167
|
Creates an Batch scheduling policy.
|
|
158
168
|
|
|
159
|
-
[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)
|
|
160
170
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
|
|
161
171
|
"""
|
|
162
172
|
|
|
@@ -166,7 +176,7 @@ class BatchClient(BaseClient):
|
|
|
166
176
|
"""
|
|
167
177
|
Deletes an Batch compute environment.
|
|
168
178
|
|
|
169
|
-
[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)
|
|
170
180
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
|
|
171
181
|
"""
|
|
172
182
|
|
|
@@ -176,7 +186,7 @@ class BatchClient(BaseClient):
|
|
|
176
186
|
"""
|
|
177
187
|
Deletes the specified job queue.
|
|
178
188
|
|
|
179
|
-
[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)
|
|
180
190
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
|
|
181
191
|
"""
|
|
182
192
|
|
|
@@ -186,7 +196,7 @@ class BatchClient(BaseClient):
|
|
|
186
196
|
"""
|
|
187
197
|
Deletes the specified scheduling policy.
|
|
188
198
|
|
|
189
|
-
[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)
|
|
190
200
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
|
|
191
201
|
"""
|
|
192
202
|
|
|
@@ -196,7 +206,7 @@ class BatchClient(BaseClient):
|
|
|
196
206
|
"""
|
|
197
207
|
Deregisters an Batch job definition.
|
|
198
208
|
|
|
199
|
-
[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)
|
|
200
210
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#deregister_job_definition)
|
|
201
211
|
"""
|
|
202
212
|
|
|
@@ -206,7 +216,7 @@ class BatchClient(BaseClient):
|
|
|
206
216
|
"""
|
|
207
217
|
Describes one or more of your compute environments.
|
|
208
218
|
|
|
209
|
-
[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)
|
|
210
220
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_compute_environments)
|
|
211
221
|
"""
|
|
212
222
|
|
|
@@ -216,7 +226,7 @@ class BatchClient(BaseClient):
|
|
|
216
226
|
"""
|
|
217
227
|
Describes a list of job definitions.
|
|
218
228
|
|
|
219
|
-
[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)
|
|
220
230
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_definitions)
|
|
221
231
|
"""
|
|
222
232
|
|
|
@@ -226,7 +236,7 @@ class BatchClient(BaseClient):
|
|
|
226
236
|
"""
|
|
227
237
|
Describes one or more of your job queues.
|
|
228
238
|
|
|
229
|
-
[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)
|
|
230
240
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
|
|
231
241
|
"""
|
|
232
242
|
|
|
@@ -236,7 +246,7 @@ class BatchClient(BaseClient):
|
|
|
236
246
|
"""
|
|
237
247
|
Describes a list of Batch jobs.
|
|
238
248
|
|
|
239
|
-
[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)
|
|
240
250
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_jobs)
|
|
241
251
|
"""
|
|
242
252
|
|
|
@@ -246,32 +256,18 @@ class BatchClient(BaseClient):
|
|
|
246
256
|
"""
|
|
247
257
|
Describes one or more of your scheduling policies.
|
|
248
258
|
|
|
249
|
-
[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)
|
|
250
260
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_scheduling_policies)
|
|
251
261
|
"""
|
|
252
262
|
|
|
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
263
|
def get_job_queue_snapshot(
|
|
268
264
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
|
|
269
265
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
270
266
|
"""
|
|
271
|
-
Provides a list of the first 100
|
|
272
|
-
queue.
|
|
267
|
+
Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
|
|
268
|
+
single job queue.
|
|
273
269
|
|
|
274
|
-
[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)
|
|
275
271
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
276
272
|
"""
|
|
277
273
|
|
|
@@ -279,7 +275,7 @@ class BatchClient(BaseClient):
|
|
|
279
275
|
"""
|
|
280
276
|
Returns a list of Batch jobs.
|
|
281
277
|
|
|
282
|
-
[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)
|
|
283
279
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_jobs)
|
|
284
280
|
"""
|
|
285
281
|
|
|
@@ -289,7 +285,7 @@ class BatchClient(BaseClient):
|
|
|
289
285
|
"""
|
|
290
286
|
Returns a list of Batch scheduling policies.
|
|
291
287
|
|
|
292
|
-
[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)
|
|
293
289
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
|
|
294
290
|
"""
|
|
295
291
|
|
|
@@ -299,7 +295,7 @@ class BatchClient(BaseClient):
|
|
|
299
295
|
"""
|
|
300
296
|
Lists the tags for an Batch resource.
|
|
301
297
|
|
|
302
|
-
[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)
|
|
303
299
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_tags_for_resource)
|
|
304
300
|
"""
|
|
305
301
|
|
|
@@ -309,7 +305,7 @@ class BatchClient(BaseClient):
|
|
|
309
305
|
"""
|
|
310
306
|
Registers an Batch job definition.
|
|
311
307
|
|
|
312
|
-
[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)
|
|
313
309
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#register_job_definition)
|
|
314
310
|
"""
|
|
315
311
|
|
|
@@ -319,15 +315,16 @@ class BatchClient(BaseClient):
|
|
|
319
315
|
"""
|
|
320
316
|
Submits an Batch job from a job definition.
|
|
321
317
|
|
|
322
|
-
[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)
|
|
323
319
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
|
|
324
320
|
"""
|
|
325
321
|
|
|
326
322
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
327
323
|
"""
|
|
328
|
-
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>.
|
|
329
326
|
|
|
330
|
-
[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)
|
|
331
328
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
|
|
332
329
|
"""
|
|
333
330
|
|
|
@@ -335,7 +332,7 @@ class BatchClient(BaseClient):
|
|
|
335
332
|
"""
|
|
336
333
|
Terminates a job in a job queue.
|
|
337
334
|
|
|
338
|
-
[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)
|
|
339
336
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
|
|
340
337
|
"""
|
|
341
338
|
|
|
@@ -345,7 +342,7 @@ class BatchClient(BaseClient):
|
|
|
345
342
|
"""
|
|
346
343
|
Deletes specified tags from an Batch resource.
|
|
347
344
|
|
|
348
|
-
[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)
|
|
349
346
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#untag_resource)
|
|
350
347
|
"""
|
|
351
348
|
|
|
@@ -355,7 +352,7 @@ class BatchClient(BaseClient):
|
|
|
355
352
|
"""
|
|
356
353
|
Updates an Batch compute environment.
|
|
357
354
|
|
|
358
|
-
[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)
|
|
359
356
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_compute_environment)
|
|
360
357
|
"""
|
|
361
358
|
|
|
@@ -365,7 +362,7 @@ class BatchClient(BaseClient):
|
|
|
365
362
|
"""
|
|
366
363
|
Updates a job queue.
|
|
367
364
|
|
|
368
|
-
[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)
|
|
369
366
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_job_queue)
|
|
370
367
|
"""
|
|
371
368
|
|
|
@@ -375,7 +372,7 @@ class BatchClient(BaseClient):
|
|
|
375
372
|
"""
|
|
376
373
|
Updates a scheduling policy.
|
|
377
374
|
|
|
378
|
-
[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)
|
|
379
376
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
380
377
|
"""
|
|
381
378
|
|
|
@@ -384,7 +381,9 @@ class BatchClient(BaseClient):
|
|
|
384
381
|
self, operation_name: Literal["describe_compute_environments"]
|
|
385
382
|
) -> DescribeComputeEnvironmentsPaginator:
|
|
386
383
|
"""
|
|
387
|
-
|
|
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)
|
|
388
387
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
389
388
|
"""
|
|
390
389
|
|
|
@@ -393,7 +392,9 @@ class BatchClient(BaseClient):
|
|
|
393
392
|
self, operation_name: Literal["describe_job_definitions"]
|
|
394
393
|
) -> DescribeJobDefinitionsPaginator:
|
|
395
394
|
"""
|
|
396
|
-
|
|
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)
|
|
397
398
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
398
399
|
"""
|
|
399
400
|
|
|
@@ -402,14 +403,18 @@ class BatchClient(BaseClient):
|
|
|
402
403
|
self, operation_name: Literal["describe_job_queues"]
|
|
403
404
|
) -> DescribeJobQueuesPaginator:
|
|
404
405
|
"""
|
|
405
|
-
|
|
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)
|
|
406
409
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
407
410
|
"""
|
|
408
411
|
|
|
409
412
|
@overload
|
|
410
413
|
def get_paginator(self, operation_name: Literal["list_jobs"]) -> ListJobsPaginator:
|
|
411
414
|
"""
|
|
412
|
-
|
|
415
|
+
Create a paginator for an operation.
|
|
416
|
+
|
|
417
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
413
418
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
414
419
|
"""
|
|
415
420
|
|
|
@@ -418,6 +423,8 @@ class BatchClient(BaseClient):
|
|
|
418
423
|
self, operation_name: Literal["list_scheduling_policies"]
|
|
419
424
|
) -> ListSchedulingPoliciesPaginator:
|
|
420
425
|
"""
|
|
421
|
-
|
|
426
|
+
Create a paginator for an operation.
|
|
427
|
+
|
|
428
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
422
429
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
423
430
|
"""
|
mypy_boto3_batch/literals.py
CHANGED
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ArrayJobDependencyType = "N_TO_N"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2024 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
|
@@ -10,6 +10,8 @@ Usage::
|
|
|
10
10
|
|
|
11
11
|
data: ArrayJobDependencyType = "N_TO_N"
|
|
12
12
|
```
|
|
13
|
+
|
|
14
|
+
Copyright 2024 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",
|
mypy_boto3_batch/paginator.py
CHANGED
|
@@ -26,6 +26,8 @@ Usage::
|
|
|
26
26
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
27
27
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
28
28
|
```
|
|
29
|
+
|
|
30
|
+
Copyright 2024 Vlad Emelianov
|
|
29
31
|
"""
|
|
30
32
|
|
|
31
33
|
import sys
|
|
@@ -73,7 +75,7 @@ class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
|
|
|
73
75
|
|
|
74
76
|
class DescribeComputeEnvironmentsPaginator(Paginator):
|
|
75
77
|
"""
|
|
76
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeComputeEnvironments)
|
|
78
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments)
|
|
77
79
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
78
80
|
"""
|
|
79
81
|
|
|
@@ -84,14 +86,14 @@ class DescribeComputeEnvironmentsPaginator(Paginator):
|
|
|
84
86
|
],
|
|
85
87
|
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
86
88
|
"""
|
|
87
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
89
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
88
90
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
89
91
|
"""
|
|
90
92
|
|
|
91
93
|
|
|
92
94
|
class DescribeJobDefinitionsPaginator(Paginator):
|
|
93
95
|
"""
|
|
94
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeJobDefinitions)
|
|
96
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions)
|
|
95
97
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
96
98
|
"""
|
|
97
99
|
|
|
@@ -99,14 +101,14 @@ class DescribeJobDefinitionsPaginator(Paginator):
|
|
|
99
101
|
self, **kwargs: Unpack[DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef]
|
|
100
102
|
) -> _PageIterator[DescribeJobDefinitionsResponseTypeDef]:
|
|
101
103
|
"""
|
|
102
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeJobDefinitions.paginate)
|
|
104
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions.paginate)
|
|
103
105
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
104
106
|
"""
|
|
105
107
|
|
|
106
108
|
|
|
107
109
|
class DescribeJobQueuesPaginator(Paginator):
|
|
108
110
|
"""
|
|
109
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeJobQueues)
|
|
111
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues)
|
|
110
112
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobqueuespaginator)
|
|
111
113
|
"""
|
|
112
114
|
|
|
@@ -114,14 +116,14 @@ class DescribeJobQueuesPaginator(Paginator):
|
|
|
114
116
|
self, **kwargs: Unpack[DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef]
|
|
115
117
|
) -> _PageIterator[DescribeJobQueuesResponseTypeDef]:
|
|
116
118
|
"""
|
|
117
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeJobQueues.paginate)
|
|
119
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues.paginate)
|
|
118
120
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobqueuespaginator)
|
|
119
121
|
"""
|
|
120
122
|
|
|
121
123
|
|
|
122
124
|
class ListJobsPaginator(Paginator):
|
|
123
125
|
"""
|
|
124
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.ListJobs)
|
|
126
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs)
|
|
125
127
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listjobspaginator)
|
|
126
128
|
"""
|
|
127
129
|
|
|
@@ -129,14 +131,14 @@ class ListJobsPaginator(Paginator):
|
|
|
129
131
|
self, **kwargs: Unpack[ListJobsRequestListJobsPaginateTypeDef]
|
|
130
132
|
) -> _PageIterator[ListJobsResponseTypeDef]:
|
|
131
133
|
"""
|
|
132
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.ListJobs.paginate)
|
|
134
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs.paginate)
|
|
133
135
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listjobspaginator)
|
|
134
136
|
"""
|
|
135
137
|
|
|
136
138
|
|
|
137
139
|
class ListSchedulingPoliciesPaginator(Paginator):
|
|
138
140
|
"""
|
|
139
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.ListSchedulingPolicies)
|
|
141
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies)
|
|
140
142
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
141
143
|
"""
|
|
142
144
|
|
|
@@ -144,6 +146,6 @@ class ListSchedulingPoliciesPaginator(Paginator):
|
|
|
144
146
|
self, **kwargs: Unpack[ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef]
|
|
145
147
|
) -> _PageIterator[ListSchedulingPoliciesResponseTypeDef]:
|
|
146
148
|
"""
|
|
147
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.ListSchedulingPolicies.paginate)
|
|
149
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies.paginate)
|
|
148
150
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
149
151
|
"""
|