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