types-boto3-batch 1.36.3__py3-none-any.whl → 1.37.0__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.
@@ -3,6 +3,8 @@ Type annotations for batch service Client.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -12,8 +14,6 @@ Usage::
12
14
  session = Session()
13
15
  client: BatchClient = session.client("batch")
14
16
  ```
15
-
16
- Copyright 2025 Vlad Emelianov
17
17
  """
18
18
 
19
19
  from __future__ import annotations
@@ -33,47 +33,47 @@ from .paginator import (
33
33
  ListSchedulingPoliciesPaginator,
34
34
  )
35
35
  from .type_defs import (
36
- CancelJobRequestRequestTypeDef,
37
- CreateComputeEnvironmentRequestRequestTypeDef,
36
+ CancelJobRequestTypeDef,
37
+ CreateComputeEnvironmentRequestTypeDef,
38
38
  CreateComputeEnvironmentResponseTypeDef,
39
- CreateJobQueueRequestRequestTypeDef,
39
+ CreateJobQueueRequestTypeDef,
40
40
  CreateJobQueueResponseTypeDef,
41
- CreateSchedulingPolicyRequestRequestTypeDef,
41
+ CreateSchedulingPolicyRequestTypeDef,
42
42
  CreateSchedulingPolicyResponseTypeDef,
43
- DeleteComputeEnvironmentRequestRequestTypeDef,
44
- DeleteJobQueueRequestRequestTypeDef,
45
- DeleteSchedulingPolicyRequestRequestTypeDef,
46
- DeregisterJobDefinitionRequestRequestTypeDef,
47
- DescribeComputeEnvironmentsRequestRequestTypeDef,
43
+ DeleteComputeEnvironmentRequestTypeDef,
44
+ DeleteJobQueueRequestTypeDef,
45
+ DeleteSchedulingPolicyRequestTypeDef,
46
+ DeregisterJobDefinitionRequestTypeDef,
47
+ DescribeComputeEnvironmentsRequestTypeDef,
48
48
  DescribeComputeEnvironmentsResponseTypeDef,
49
- DescribeJobDefinitionsRequestRequestTypeDef,
49
+ DescribeJobDefinitionsRequestTypeDef,
50
50
  DescribeJobDefinitionsResponseTypeDef,
51
- DescribeJobQueuesRequestRequestTypeDef,
51
+ DescribeJobQueuesRequestTypeDef,
52
52
  DescribeJobQueuesResponseTypeDef,
53
- DescribeJobsRequestRequestTypeDef,
53
+ DescribeJobsRequestTypeDef,
54
54
  DescribeJobsResponseTypeDef,
55
- DescribeSchedulingPoliciesRequestRequestTypeDef,
55
+ DescribeSchedulingPoliciesRequestTypeDef,
56
56
  DescribeSchedulingPoliciesResponseTypeDef,
57
- GetJobQueueSnapshotRequestRequestTypeDef,
57
+ GetJobQueueSnapshotRequestTypeDef,
58
58
  GetJobQueueSnapshotResponseTypeDef,
59
- ListJobsRequestRequestTypeDef,
59
+ ListJobsRequestTypeDef,
60
60
  ListJobsResponseTypeDef,
61
- ListSchedulingPoliciesRequestRequestTypeDef,
61
+ ListSchedulingPoliciesRequestTypeDef,
62
62
  ListSchedulingPoliciesResponseTypeDef,
63
- ListTagsForResourceRequestRequestTypeDef,
63
+ ListTagsForResourceRequestTypeDef,
64
64
  ListTagsForResourceResponseTypeDef,
65
- RegisterJobDefinitionRequestRequestTypeDef,
65
+ RegisterJobDefinitionRequestTypeDef,
66
66
  RegisterJobDefinitionResponseTypeDef,
67
- SubmitJobRequestRequestTypeDef,
67
+ SubmitJobRequestTypeDef,
68
68
  SubmitJobResponseTypeDef,
69
- TagResourceRequestRequestTypeDef,
70
- TerminateJobRequestRequestTypeDef,
71
- UntagResourceRequestRequestTypeDef,
72
- UpdateComputeEnvironmentRequestRequestTypeDef,
69
+ TagResourceRequestTypeDef,
70
+ TerminateJobRequestTypeDef,
71
+ UntagResourceRequestTypeDef,
72
+ UpdateComputeEnvironmentRequestTypeDef,
73
73
  UpdateComputeEnvironmentResponseTypeDef,
74
- UpdateJobQueueRequestRequestTypeDef,
74
+ UpdateJobQueueRequestTypeDef,
75
75
  UpdateJobQueueResponseTypeDef,
76
- UpdateSchedulingPolicyRequestRequestTypeDef,
76
+ UpdateSchedulingPolicyRequestTypeDef,
77
77
  )
78
78
 
79
79
  if sys.version_info >= (3, 9):
@@ -129,7 +129,7 @@ class BatchClient(BaseClient):
129
129
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#generate_presigned_url)
130
130
  """
131
131
 
132
- def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
132
+ def cancel_job(self, **kwargs: Unpack[CancelJobRequestTypeDef]) -> Dict[str, Any]:
133
133
  """
134
134
  Cancels a job in an Batch job queue.
135
135
 
@@ -138,7 +138,7 @@ class BatchClient(BaseClient):
138
138
  """
139
139
 
140
140
  def create_compute_environment(
141
- self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
141
+ self, **kwargs: Unpack[CreateComputeEnvironmentRequestTypeDef]
142
142
  ) -> CreateComputeEnvironmentResponseTypeDef:
143
143
  """
144
144
  Creates an Batch compute environment.
@@ -148,7 +148,7 @@ class BatchClient(BaseClient):
148
148
  """
149
149
 
150
150
  def create_job_queue(
151
- self, **kwargs: Unpack[CreateJobQueueRequestRequestTypeDef]
151
+ self, **kwargs: Unpack[CreateJobQueueRequestTypeDef]
152
152
  ) -> CreateJobQueueResponseTypeDef:
153
153
  """
154
154
  Creates an Batch job queue.
@@ -158,7 +158,7 @@ class BatchClient(BaseClient):
158
158
  """
159
159
 
160
160
  def create_scheduling_policy(
161
- self, **kwargs: Unpack[CreateSchedulingPolicyRequestRequestTypeDef]
161
+ self, **kwargs: Unpack[CreateSchedulingPolicyRequestTypeDef]
162
162
  ) -> CreateSchedulingPolicyResponseTypeDef:
163
163
  """
164
164
  Creates an Batch scheduling policy.
@@ -168,7 +168,7 @@ class BatchClient(BaseClient):
168
168
  """
169
169
 
170
170
  def delete_compute_environment(
171
- self, **kwargs: Unpack[DeleteComputeEnvironmentRequestRequestTypeDef]
171
+ self, **kwargs: Unpack[DeleteComputeEnvironmentRequestTypeDef]
172
172
  ) -> Dict[str, Any]:
173
173
  """
174
174
  Deletes an Batch compute environment.
@@ -177,9 +177,7 @@ class BatchClient(BaseClient):
177
177
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_compute_environment)
178
178
  """
179
179
 
180
- def delete_job_queue(
181
- self, **kwargs: Unpack[DeleteJobQueueRequestRequestTypeDef]
182
- ) -> Dict[str, Any]:
180
+ def delete_job_queue(self, **kwargs: Unpack[DeleteJobQueueRequestTypeDef]) -> Dict[str, Any]:
183
181
  """
184
182
  Deletes the specified job queue.
185
183
 
@@ -188,7 +186,7 @@ class BatchClient(BaseClient):
188
186
  """
189
187
 
190
188
  def delete_scheduling_policy(
191
- self, **kwargs: Unpack[DeleteSchedulingPolicyRequestRequestTypeDef]
189
+ self, **kwargs: Unpack[DeleteSchedulingPolicyRequestTypeDef]
192
190
  ) -> Dict[str, Any]:
193
191
  """
194
192
  Deletes the specified scheduling policy.
@@ -198,7 +196,7 @@ class BatchClient(BaseClient):
198
196
  """
199
197
 
200
198
  def deregister_job_definition(
201
- self, **kwargs: Unpack[DeregisterJobDefinitionRequestRequestTypeDef]
199
+ self, **kwargs: Unpack[DeregisterJobDefinitionRequestTypeDef]
202
200
  ) -> Dict[str, Any]:
203
201
  """
204
202
  Deregisters an Batch job definition.
@@ -208,7 +206,7 @@ class BatchClient(BaseClient):
208
206
  """
209
207
 
210
208
  def describe_compute_environments(
211
- self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestRequestTypeDef]
209
+ self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestTypeDef]
212
210
  ) -> DescribeComputeEnvironmentsResponseTypeDef:
213
211
  """
214
212
  Describes one or more of your compute environments.
@@ -218,7 +216,7 @@ class BatchClient(BaseClient):
218
216
  """
219
217
 
220
218
  def describe_job_definitions(
221
- self, **kwargs: Unpack[DescribeJobDefinitionsRequestRequestTypeDef]
219
+ self, **kwargs: Unpack[DescribeJobDefinitionsRequestTypeDef]
222
220
  ) -> DescribeJobDefinitionsResponseTypeDef:
223
221
  """
224
222
  Describes a list of job definitions.
@@ -228,7 +226,7 @@ class BatchClient(BaseClient):
228
226
  """
229
227
 
230
228
  def describe_job_queues(
231
- self, **kwargs: Unpack[DescribeJobQueuesRequestRequestTypeDef]
229
+ self, **kwargs: Unpack[DescribeJobQueuesRequestTypeDef]
232
230
  ) -> DescribeJobQueuesResponseTypeDef:
233
231
  """
234
232
  Describes one or more of your job queues.
@@ -238,7 +236,7 @@ class BatchClient(BaseClient):
238
236
  """
239
237
 
240
238
  def describe_jobs(
241
- self, **kwargs: Unpack[DescribeJobsRequestRequestTypeDef]
239
+ self, **kwargs: Unpack[DescribeJobsRequestTypeDef]
242
240
  ) -> DescribeJobsResponseTypeDef:
243
241
  """
244
242
  Describes a list of Batch jobs.
@@ -248,7 +246,7 @@ class BatchClient(BaseClient):
248
246
  """
249
247
 
250
248
  def describe_scheduling_policies(
251
- self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestRequestTypeDef]
249
+ self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestTypeDef]
252
250
  ) -> DescribeSchedulingPoliciesResponseTypeDef:
253
251
  """
254
252
  Describes one or more of your scheduling policies.
@@ -258,7 +256,7 @@ class BatchClient(BaseClient):
258
256
  """
259
257
 
260
258
  def get_job_queue_snapshot(
261
- self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
259
+ self, **kwargs: Unpack[GetJobQueueSnapshotRequestTypeDef]
262
260
  ) -> GetJobQueueSnapshotResponseTypeDef:
263
261
  """
264
262
  Provides a list of the first 100 <code>RUNNABLE</code> jobs associated to a
@@ -268,7 +266,7 @@ class BatchClient(BaseClient):
268
266
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_job_queue_snapshot)
269
267
  """
270
268
 
271
- def list_jobs(self, **kwargs: Unpack[ListJobsRequestRequestTypeDef]) -> ListJobsResponseTypeDef:
269
+ def list_jobs(self, **kwargs: Unpack[ListJobsRequestTypeDef]) -> ListJobsResponseTypeDef:
272
270
  """
273
271
  Returns a list of Batch jobs.
274
272
 
@@ -277,7 +275,7 @@ class BatchClient(BaseClient):
277
275
  """
278
276
 
279
277
  def list_scheduling_policies(
280
- self, **kwargs: Unpack[ListSchedulingPoliciesRequestRequestTypeDef]
278
+ self, **kwargs: Unpack[ListSchedulingPoliciesRequestTypeDef]
281
279
  ) -> ListSchedulingPoliciesResponseTypeDef:
282
280
  """
283
281
  Returns a list of Batch scheduling policies.
@@ -287,7 +285,7 @@ class BatchClient(BaseClient):
287
285
  """
288
286
 
289
287
  def list_tags_for_resource(
290
- self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
288
+ self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
291
289
  ) -> ListTagsForResourceResponseTypeDef:
292
290
  """
293
291
  Lists the tags for an Batch resource.
@@ -297,7 +295,7 @@ class BatchClient(BaseClient):
297
295
  """
298
296
 
299
297
  def register_job_definition(
300
- self, **kwargs: Unpack[RegisterJobDefinitionRequestRequestTypeDef]
298
+ self, **kwargs: Unpack[RegisterJobDefinitionRequestTypeDef]
301
299
  ) -> RegisterJobDefinitionResponseTypeDef:
302
300
  """
303
301
  Registers an Batch job definition.
@@ -306,9 +304,7 @@ class BatchClient(BaseClient):
306
304
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#register_job_definition)
307
305
  """
308
306
 
309
- def submit_job(
310
- self, **kwargs: Unpack[SubmitJobRequestRequestTypeDef]
311
- ) -> SubmitJobResponseTypeDef:
307
+ def submit_job(self, **kwargs: Unpack[SubmitJobRequestTypeDef]) -> SubmitJobResponseTypeDef:
312
308
  """
313
309
  Submits an Batch job from a job definition.
314
310
 
@@ -316,7 +312,7 @@ class BatchClient(BaseClient):
316
312
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_job)
317
313
  """
318
314
 
319
- def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
315
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> Dict[str, Any]:
320
316
  """
321
317
  Associates the specified tags to a resource with the specified
322
318
  <code>resourceArn</code>.
@@ -325,7 +321,7 @@ class BatchClient(BaseClient):
325
321
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#tag_resource)
326
322
  """
327
323
 
328
- def terminate_job(self, **kwargs: Unpack[TerminateJobRequestRequestTypeDef]) -> Dict[str, Any]:
324
+ def terminate_job(self, **kwargs: Unpack[TerminateJobRequestTypeDef]) -> Dict[str, Any]:
329
325
  """
330
326
  Terminates a job in a job queue.
331
327
 
@@ -333,9 +329,7 @@ class BatchClient(BaseClient):
333
329
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_job)
334
330
  """
335
331
 
336
- def untag_resource(
337
- self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
338
- ) -> Dict[str, Any]:
332
+ def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> Dict[str, Any]:
339
333
  """
340
334
  Deletes specified tags from an Batch resource.
341
335
 
@@ -344,7 +338,7 @@ class BatchClient(BaseClient):
344
338
  """
345
339
 
346
340
  def update_compute_environment(
347
- self, **kwargs: Unpack[UpdateComputeEnvironmentRequestRequestTypeDef]
341
+ self, **kwargs: Unpack[UpdateComputeEnvironmentRequestTypeDef]
348
342
  ) -> UpdateComputeEnvironmentResponseTypeDef:
349
343
  """
350
344
  Updates an Batch compute environment.
@@ -354,7 +348,7 @@ class BatchClient(BaseClient):
354
348
  """
355
349
 
356
350
  def update_job_queue(
357
- self, **kwargs: Unpack[UpdateJobQueueRequestRequestTypeDef]
351
+ self, **kwargs: Unpack[UpdateJobQueueRequestTypeDef]
358
352
  ) -> UpdateJobQueueResponseTypeDef:
359
353
  """
360
354
  Updates a job queue.
@@ -364,7 +358,7 @@ class BatchClient(BaseClient):
364
358
  """
365
359
 
366
360
  def update_scheduling_policy(
367
- self, **kwargs: Unpack[UpdateSchedulingPolicyRequestRequestTypeDef]
361
+ self, **kwargs: Unpack[UpdateSchedulingPolicyRequestTypeDef]
368
362
  ) -> Dict[str, Any]:
369
363
  """
370
364
  Updates a scheduling policy.
@@ -3,6 +3,8 @@ Type annotations for batch service literal definitions.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/literals/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -10,8 +12,6 @@ Usage::
10
12
 
11
13
  data: ArrayJobDependencyType = "N_TO_N"
12
14
  ```
13
-
14
- Copyright 2025 Vlad Emelianov
15
15
  """
16
16
 
17
17
  import sys
@@ -225,7 +225,6 @@ ServiceName = Literal[
225
225
  "efs",
226
226
  "eks",
227
227
  "eks-auth",
228
- "elastic-inference",
229
228
  "elasticache",
230
229
  "elasticbeanstalk",
231
230
  "elastictranscoder",
@@ -3,6 +3,8 @@ Type annotations for batch service literal definitions.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/literals/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -10,8 +12,6 @@ Usage::
10
12
 
11
13
  data: ArrayJobDependencyType = "N_TO_N"
12
14
  ```
13
-
14
- Copyright 2025 Vlad Emelianov
15
15
  """
16
16
 
17
17
  import sys
@@ -223,7 +223,6 @@ ServiceName = Literal[
223
223
  "efs",
224
224
  "eks",
225
225
  "eks-auth",
226
- "elastic-inference",
227
226
  "elasticache",
228
227
  "elasticbeanstalk",
229
228
  "elastictranscoder",
@@ -3,6 +3,8 @@ Type annotations for batch service client paginators.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -26,8 +28,6 @@ Usage::
26
28
  list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
27
29
  list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
28
30
  ```
29
-
30
- Copyright 2025 Vlad Emelianov
31
31
  """
32
32
 
33
33
  from __future__ import annotations
@@ -3,6 +3,8 @@ Type annotations for batch service client paginators.
3
3
 
4
4
  [Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/)
5
5
 
6
+ Copyright 2025 Vlad Emelianov
7
+
6
8
  Usage::
7
9
 
8
10
  ```python
@@ -26,8 +28,6 @@ Usage::
26
28
  list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
27
29
  list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
28
30
  ```
29
-
30
- Copyright 2025 Vlad Emelianov
31
31
  """
32
32
 
33
33
  from __future__ import annotations