types-boto3-batch 1.39.0__py3-none-any.whl → 1.40.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.
- types_boto3_batch/__init__.py +8 -0
- types_boto3_batch/__init__.pyi +8 -0
- types_boto3_batch/__main__.py +3 -3
- types_boto3_batch/client.py +118 -0
- types_boto3_batch/client.pyi +118 -0
- types_boto3_batch/literals.py +31 -1
- types_boto3_batch/literals.pyi +31 -1
- types_boto3_batch/paginator.py +54 -0
- types_boto3_batch/paginator.pyi +48 -0
- types_boto3_batch/type_defs.py +235 -2
- types_boto3_batch/type_defs.pyi +207 -2
- types_boto3_batch/version.py +1 -1
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/METADATA +10 -4
- types_boto3_batch-1.40.0.dist-info/RECORD +18 -0
- types_boto3_batch-1.39.0.dist-info/RECORD +0 -18
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/WHEEL +0 -0
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/licenses/LICENSE +0 -0
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/top_level.txt +0 -0
types_boto3_batch/__init__.py
CHANGED
|
@@ -15,10 +15,12 @@ Usage::
|
|
|
15
15
|
DescribeComputeEnvironmentsPaginator,
|
|
16
16
|
DescribeJobDefinitionsPaginator,
|
|
17
17
|
DescribeJobQueuesPaginator,
|
|
18
|
+
DescribeServiceEnvironmentsPaginator,
|
|
18
19
|
ListConsumableResourcesPaginator,
|
|
19
20
|
ListJobsByConsumableResourcePaginator,
|
|
20
21
|
ListJobsPaginator,
|
|
21
22
|
ListSchedulingPoliciesPaginator,
|
|
23
|
+
ListServiceJobsPaginator,
|
|
22
24
|
)
|
|
23
25
|
|
|
24
26
|
session = Session()
|
|
@@ -27,10 +29,12 @@ Usage::
|
|
|
27
29
|
describe_compute_environments_paginator: DescribeComputeEnvironmentsPaginator = client.get_paginator("describe_compute_environments")
|
|
28
30
|
describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get_paginator("describe_job_definitions")
|
|
29
31
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator("describe_job_queues")
|
|
32
|
+
describe_service_environments_paginator: DescribeServiceEnvironmentsPaginator = client.get_paginator("describe_service_environments")
|
|
30
33
|
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator("list_consumable_resources")
|
|
31
34
|
list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = client.get_paginator("list_jobs_by_consumable_resource")
|
|
32
35
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
33
36
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
37
|
+
list_service_jobs_paginator: ListServiceJobsPaginator = client.get_paginator("list_service_jobs")
|
|
34
38
|
```
|
|
35
39
|
"""
|
|
36
40
|
|
|
@@ -39,10 +43,12 @@ from .paginator import (
|
|
|
39
43
|
DescribeComputeEnvironmentsPaginator,
|
|
40
44
|
DescribeJobDefinitionsPaginator,
|
|
41
45
|
DescribeJobQueuesPaginator,
|
|
46
|
+
DescribeServiceEnvironmentsPaginator,
|
|
42
47
|
ListConsumableResourcesPaginator,
|
|
43
48
|
ListJobsByConsumableResourcePaginator,
|
|
44
49
|
ListJobsPaginator,
|
|
45
50
|
ListSchedulingPoliciesPaginator,
|
|
51
|
+
ListServiceJobsPaginator,
|
|
46
52
|
)
|
|
47
53
|
|
|
48
54
|
Client = BatchClient
|
|
@@ -54,8 +60,10 @@ __all__ = (
|
|
|
54
60
|
"DescribeComputeEnvironmentsPaginator",
|
|
55
61
|
"DescribeJobDefinitionsPaginator",
|
|
56
62
|
"DescribeJobQueuesPaginator",
|
|
63
|
+
"DescribeServiceEnvironmentsPaginator",
|
|
57
64
|
"ListConsumableResourcesPaginator",
|
|
58
65
|
"ListJobsByConsumableResourcePaginator",
|
|
59
66
|
"ListJobsPaginator",
|
|
60
67
|
"ListSchedulingPoliciesPaginator",
|
|
68
|
+
"ListServiceJobsPaginator",
|
|
61
69
|
)
|
types_boto3_batch/__init__.pyi
CHANGED
|
@@ -15,10 +15,12 @@ Usage::
|
|
|
15
15
|
DescribeComputeEnvironmentsPaginator,
|
|
16
16
|
DescribeJobDefinitionsPaginator,
|
|
17
17
|
DescribeJobQueuesPaginator,
|
|
18
|
+
DescribeServiceEnvironmentsPaginator,
|
|
18
19
|
ListConsumableResourcesPaginator,
|
|
19
20
|
ListJobsByConsumableResourcePaginator,
|
|
20
21
|
ListJobsPaginator,
|
|
21
22
|
ListSchedulingPoliciesPaginator,
|
|
23
|
+
ListServiceJobsPaginator,
|
|
22
24
|
)
|
|
23
25
|
|
|
24
26
|
session = Session()
|
|
@@ -27,10 +29,12 @@ Usage::
|
|
|
27
29
|
describe_compute_environments_paginator: DescribeComputeEnvironmentsPaginator = client.get_paginator("describe_compute_environments")
|
|
28
30
|
describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get_paginator("describe_job_definitions")
|
|
29
31
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator("describe_job_queues")
|
|
32
|
+
describe_service_environments_paginator: DescribeServiceEnvironmentsPaginator = client.get_paginator("describe_service_environments")
|
|
30
33
|
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator("list_consumable_resources")
|
|
31
34
|
list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = client.get_paginator("list_jobs_by_consumable_resource")
|
|
32
35
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
33
36
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
37
|
+
list_service_jobs_paginator: ListServiceJobsPaginator = client.get_paginator("list_service_jobs")
|
|
34
38
|
```
|
|
35
39
|
"""
|
|
36
40
|
|
|
@@ -39,10 +43,12 @@ from .paginator import (
|
|
|
39
43
|
DescribeComputeEnvironmentsPaginator,
|
|
40
44
|
DescribeJobDefinitionsPaginator,
|
|
41
45
|
DescribeJobQueuesPaginator,
|
|
46
|
+
DescribeServiceEnvironmentsPaginator,
|
|
42
47
|
ListConsumableResourcesPaginator,
|
|
43
48
|
ListJobsByConsumableResourcePaginator,
|
|
44
49
|
ListJobsPaginator,
|
|
45
50
|
ListSchedulingPoliciesPaginator,
|
|
51
|
+
ListServiceJobsPaginator,
|
|
46
52
|
)
|
|
47
53
|
|
|
48
54
|
Client = BatchClient
|
|
@@ -53,8 +59,10 @@ __all__ = (
|
|
|
53
59
|
"DescribeComputeEnvironmentsPaginator",
|
|
54
60
|
"DescribeJobDefinitionsPaginator",
|
|
55
61
|
"DescribeJobQueuesPaginator",
|
|
62
|
+
"DescribeServiceEnvironmentsPaginator",
|
|
56
63
|
"ListConsumableResourcesPaginator",
|
|
57
64
|
"ListJobsByConsumableResourcePaginator",
|
|
58
65
|
"ListJobsPaginator",
|
|
59
66
|
"ListSchedulingPoliciesPaginator",
|
|
67
|
+
"ListServiceJobsPaginator",
|
|
60
68
|
)
|
types_boto3_batch/__main__.py
CHANGED
|
@@ -12,8 +12,8 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 Batch 1.
|
|
16
|
-
"Version: 1.
|
|
15
|
+
"Type annotations for boto3 Batch 1.40.0\n"
|
|
16
|
+
"Version: 1.40.0\n"
|
|
17
17
|
"Builder version: 8.11.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_batch//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#batch\n"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.40.0\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
types_boto3_batch/client.py
CHANGED
|
@@ -29,10 +29,12 @@ from .paginator import (
|
|
|
29
29
|
DescribeComputeEnvironmentsPaginator,
|
|
30
30
|
DescribeJobDefinitionsPaginator,
|
|
31
31
|
DescribeJobQueuesPaginator,
|
|
32
|
+
DescribeServiceEnvironmentsPaginator,
|
|
32
33
|
ListConsumableResourcesPaginator,
|
|
33
34
|
ListJobsByConsumableResourcePaginator,
|
|
34
35
|
ListJobsPaginator,
|
|
35
36
|
ListSchedulingPoliciesPaginator,
|
|
37
|
+
ListServiceJobsPaginator,
|
|
36
38
|
)
|
|
37
39
|
from .type_defs import (
|
|
38
40
|
CancelJobRequestTypeDef,
|
|
@@ -44,10 +46,13 @@ from .type_defs import (
|
|
|
44
46
|
CreateJobQueueResponseTypeDef,
|
|
45
47
|
CreateSchedulingPolicyRequestTypeDef,
|
|
46
48
|
CreateSchedulingPolicyResponseTypeDef,
|
|
49
|
+
CreateServiceEnvironmentRequestTypeDef,
|
|
50
|
+
CreateServiceEnvironmentResponseTypeDef,
|
|
47
51
|
DeleteComputeEnvironmentRequestTypeDef,
|
|
48
52
|
DeleteConsumableResourceRequestTypeDef,
|
|
49
53
|
DeleteJobQueueRequestTypeDef,
|
|
50
54
|
DeleteSchedulingPolicyRequestTypeDef,
|
|
55
|
+
DeleteServiceEnvironmentRequestTypeDef,
|
|
51
56
|
DeregisterJobDefinitionRequestTypeDef,
|
|
52
57
|
DescribeComputeEnvironmentsRequestTypeDef,
|
|
53
58
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
@@ -61,6 +66,10 @@ from .type_defs import (
|
|
|
61
66
|
DescribeJobsResponseTypeDef,
|
|
62
67
|
DescribeSchedulingPoliciesRequestTypeDef,
|
|
63
68
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
69
|
+
DescribeServiceEnvironmentsRequestTypeDef,
|
|
70
|
+
DescribeServiceEnvironmentsResponseTypeDef,
|
|
71
|
+
DescribeServiceJobRequestTypeDef,
|
|
72
|
+
DescribeServiceJobResponseTypeDef,
|
|
64
73
|
GetJobQueueSnapshotRequestTypeDef,
|
|
65
74
|
GetJobQueueSnapshotResponseTypeDef,
|
|
66
75
|
ListConsumableResourcesRequestTypeDef,
|
|
@@ -71,14 +80,19 @@ from .type_defs import (
|
|
|
71
80
|
ListJobsResponseTypeDef,
|
|
72
81
|
ListSchedulingPoliciesRequestTypeDef,
|
|
73
82
|
ListSchedulingPoliciesResponseTypeDef,
|
|
83
|
+
ListServiceJobsRequestTypeDef,
|
|
84
|
+
ListServiceJobsResponseTypeDef,
|
|
74
85
|
ListTagsForResourceRequestTypeDef,
|
|
75
86
|
ListTagsForResourceResponseTypeDef,
|
|
76
87
|
RegisterJobDefinitionRequestTypeDef,
|
|
77
88
|
RegisterJobDefinitionResponseTypeDef,
|
|
78
89
|
SubmitJobRequestTypeDef,
|
|
79
90
|
SubmitJobResponseTypeDef,
|
|
91
|
+
SubmitServiceJobRequestTypeDef,
|
|
92
|
+
SubmitServiceJobResponseTypeDef,
|
|
80
93
|
TagResourceRequestTypeDef,
|
|
81
94
|
TerminateJobRequestTypeDef,
|
|
95
|
+
TerminateServiceJobRequestTypeDef,
|
|
82
96
|
UntagResourceRequestTypeDef,
|
|
83
97
|
UpdateComputeEnvironmentRequestTypeDef,
|
|
84
98
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
@@ -87,6 +101,8 @@ from .type_defs import (
|
|
|
87
101
|
UpdateJobQueueRequestTypeDef,
|
|
88
102
|
UpdateJobQueueResponseTypeDef,
|
|
89
103
|
UpdateSchedulingPolicyRequestTypeDef,
|
|
104
|
+
UpdateServiceEnvironmentRequestTypeDef,
|
|
105
|
+
UpdateServiceEnvironmentResponseTypeDef,
|
|
90
106
|
)
|
|
91
107
|
|
|
92
108
|
if sys.version_info >= (3, 9):
|
|
@@ -193,6 +209,16 @@ class BatchClient(BaseClient):
|
|
|
193
209
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_scheduling_policy)
|
|
194
210
|
"""
|
|
195
211
|
|
|
212
|
+
def create_service_environment(
|
|
213
|
+
self, **kwargs: Unpack[CreateServiceEnvironmentRequestTypeDef]
|
|
214
|
+
) -> CreateServiceEnvironmentResponseTypeDef:
|
|
215
|
+
"""
|
|
216
|
+
Creates a service environment for running service jobs.
|
|
217
|
+
|
|
218
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_service_environment.html)
|
|
219
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_service_environment)
|
|
220
|
+
"""
|
|
221
|
+
|
|
196
222
|
def delete_compute_environment(
|
|
197
223
|
self, **kwargs: Unpack[DeleteComputeEnvironmentRequestTypeDef]
|
|
198
224
|
) -> Dict[str, Any]:
|
|
@@ -231,6 +257,16 @@ class BatchClient(BaseClient):
|
|
|
231
257
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_scheduling_policy)
|
|
232
258
|
"""
|
|
233
259
|
|
|
260
|
+
def delete_service_environment(
|
|
261
|
+
self, **kwargs: Unpack[DeleteServiceEnvironmentRequestTypeDef]
|
|
262
|
+
) -> Dict[str, Any]:
|
|
263
|
+
"""
|
|
264
|
+
Deletes a Service environment.
|
|
265
|
+
|
|
266
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_service_environment.html)
|
|
267
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_service_environment)
|
|
268
|
+
"""
|
|
269
|
+
|
|
234
270
|
def deregister_job_definition(
|
|
235
271
|
self, **kwargs: Unpack[DeregisterJobDefinitionRequestTypeDef]
|
|
236
272
|
) -> Dict[str, Any]:
|
|
@@ -301,6 +337,26 @@ class BatchClient(BaseClient):
|
|
|
301
337
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_scheduling_policies)
|
|
302
338
|
"""
|
|
303
339
|
|
|
340
|
+
def describe_service_environments(
|
|
341
|
+
self, **kwargs: Unpack[DescribeServiceEnvironmentsRequestTypeDef]
|
|
342
|
+
) -> DescribeServiceEnvironmentsResponseTypeDef:
|
|
343
|
+
"""
|
|
344
|
+
Describes one or more of your service environments.
|
|
345
|
+
|
|
346
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_service_environments.html)
|
|
347
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_service_environments)
|
|
348
|
+
"""
|
|
349
|
+
|
|
350
|
+
def describe_service_job(
|
|
351
|
+
self, **kwargs: Unpack[DescribeServiceJobRequestTypeDef]
|
|
352
|
+
) -> DescribeServiceJobResponseTypeDef:
|
|
353
|
+
"""
|
|
354
|
+
The details of a service job.
|
|
355
|
+
|
|
356
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_service_job.html)
|
|
357
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_service_job)
|
|
358
|
+
"""
|
|
359
|
+
|
|
304
360
|
def get_job_queue_snapshot(
|
|
305
361
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestTypeDef]
|
|
306
362
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
@@ -350,6 +406,16 @@ class BatchClient(BaseClient):
|
|
|
350
406
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_scheduling_policies)
|
|
351
407
|
"""
|
|
352
408
|
|
|
409
|
+
def list_service_jobs(
|
|
410
|
+
self, **kwargs: Unpack[ListServiceJobsRequestTypeDef]
|
|
411
|
+
) -> ListServiceJobsResponseTypeDef:
|
|
412
|
+
"""
|
|
413
|
+
Returns a list of service jobs for a specified job queue.
|
|
414
|
+
|
|
415
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_service_jobs.html)
|
|
416
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_service_jobs)
|
|
417
|
+
"""
|
|
418
|
+
|
|
353
419
|
def list_tags_for_resource(
|
|
354
420
|
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
355
421
|
) -> ListTagsForResourceResponseTypeDef:
|
|
@@ -378,6 +444,16 @@ class BatchClient(BaseClient):
|
|
|
378
444
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_job)
|
|
379
445
|
"""
|
|
380
446
|
|
|
447
|
+
def submit_service_job(
|
|
448
|
+
self, **kwargs: Unpack[SubmitServiceJobRequestTypeDef]
|
|
449
|
+
) -> SubmitServiceJobResponseTypeDef:
|
|
450
|
+
"""
|
|
451
|
+
Submits a service job to a specified job queue to run on SageMaker AI.
|
|
452
|
+
|
|
453
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/submit_service_job.html)
|
|
454
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_service_job)
|
|
455
|
+
"""
|
|
456
|
+
|
|
381
457
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
382
458
|
"""
|
|
383
459
|
Associates the specified tags to a resource with the specified
|
|
@@ -395,6 +471,16 @@ class BatchClient(BaseClient):
|
|
|
395
471
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_job)
|
|
396
472
|
"""
|
|
397
473
|
|
|
474
|
+
def terminate_service_job(
|
|
475
|
+
self, **kwargs: Unpack[TerminateServiceJobRequestTypeDef]
|
|
476
|
+
) -> Dict[str, Any]:
|
|
477
|
+
"""
|
|
478
|
+
Terminates a service job in a job queue.
|
|
479
|
+
|
|
480
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/terminate_service_job.html)
|
|
481
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_service_job)
|
|
482
|
+
"""
|
|
483
|
+
|
|
398
484
|
def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
399
485
|
"""
|
|
400
486
|
Deletes specified tags from an Batch resource.
|
|
@@ -443,6 +529,16 @@ class BatchClient(BaseClient):
|
|
|
443
529
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_scheduling_policy)
|
|
444
530
|
"""
|
|
445
531
|
|
|
532
|
+
def update_service_environment(
|
|
533
|
+
self, **kwargs: Unpack[UpdateServiceEnvironmentRequestTypeDef]
|
|
534
|
+
) -> UpdateServiceEnvironmentResponseTypeDef:
|
|
535
|
+
"""
|
|
536
|
+
Updates a service environment.
|
|
537
|
+
|
|
538
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_service_environment.html)
|
|
539
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_service_environment)
|
|
540
|
+
"""
|
|
541
|
+
|
|
446
542
|
@overload # type: ignore[override]
|
|
447
543
|
def get_paginator( # type: ignore[override]
|
|
448
544
|
self, operation_name: Literal["describe_compute_environments"]
|
|
@@ -476,6 +572,17 @@ class BatchClient(BaseClient):
|
|
|
476
572
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
477
573
|
"""
|
|
478
574
|
|
|
575
|
+
@overload # type: ignore[override]
|
|
576
|
+
def get_paginator( # type: ignore[override]
|
|
577
|
+
self, operation_name: Literal["describe_service_environments"]
|
|
578
|
+
) -> DescribeServiceEnvironmentsPaginator:
|
|
579
|
+
"""
|
|
580
|
+
Create a paginator for an operation.
|
|
581
|
+
|
|
582
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
583
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
584
|
+
"""
|
|
585
|
+
|
|
479
586
|
@overload # type: ignore[override]
|
|
480
587
|
def get_paginator( # type: ignore[override]
|
|
481
588
|
self, operation_name: Literal["list_consumable_resources"]
|
|
@@ -519,3 +626,14 @@ class BatchClient(BaseClient):
|
|
|
519
626
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
520
627
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
521
628
|
"""
|
|
629
|
+
|
|
630
|
+
@overload # type: ignore[override]
|
|
631
|
+
def get_paginator( # type: ignore[override]
|
|
632
|
+
self, operation_name: Literal["list_service_jobs"]
|
|
633
|
+
) -> ListServiceJobsPaginator:
|
|
634
|
+
"""
|
|
635
|
+
Create a paginator for an operation.
|
|
636
|
+
|
|
637
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
638
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
639
|
+
"""
|
types_boto3_batch/client.pyi
CHANGED
|
@@ -29,10 +29,12 @@ from .paginator import (
|
|
|
29
29
|
DescribeComputeEnvironmentsPaginator,
|
|
30
30
|
DescribeJobDefinitionsPaginator,
|
|
31
31
|
DescribeJobQueuesPaginator,
|
|
32
|
+
DescribeServiceEnvironmentsPaginator,
|
|
32
33
|
ListConsumableResourcesPaginator,
|
|
33
34
|
ListJobsByConsumableResourcePaginator,
|
|
34
35
|
ListJobsPaginator,
|
|
35
36
|
ListSchedulingPoliciesPaginator,
|
|
37
|
+
ListServiceJobsPaginator,
|
|
36
38
|
)
|
|
37
39
|
from .type_defs import (
|
|
38
40
|
CancelJobRequestTypeDef,
|
|
@@ -44,10 +46,13 @@ from .type_defs import (
|
|
|
44
46
|
CreateJobQueueResponseTypeDef,
|
|
45
47
|
CreateSchedulingPolicyRequestTypeDef,
|
|
46
48
|
CreateSchedulingPolicyResponseTypeDef,
|
|
49
|
+
CreateServiceEnvironmentRequestTypeDef,
|
|
50
|
+
CreateServiceEnvironmentResponseTypeDef,
|
|
47
51
|
DeleteComputeEnvironmentRequestTypeDef,
|
|
48
52
|
DeleteConsumableResourceRequestTypeDef,
|
|
49
53
|
DeleteJobQueueRequestTypeDef,
|
|
50
54
|
DeleteSchedulingPolicyRequestTypeDef,
|
|
55
|
+
DeleteServiceEnvironmentRequestTypeDef,
|
|
51
56
|
DeregisterJobDefinitionRequestTypeDef,
|
|
52
57
|
DescribeComputeEnvironmentsRequestTypeDef,
|
|
53
58
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
@@ -61,6 +66,10 @@ from .type_defs import (
|
|
|
61
66
|
DescribeJobsResponseTypeDef,
|
|
62
67
|
DescribeSchedulingPoliciesRequestTypeDef,
|
|
63
68
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
69
|
+
DescribeServiceEnvironmentsRequestTypeDef,
|
|
70
|
+
DescribeServiceEnvironmentsResponseTypeDef,
|
|
71
|
+
DescribeServiceJobRequestTypeDef,
|
|
72
|
+
DescribeServiceJobResponseTypeDef,
|
|
64
73
|
GetJobQueueSnapshotRequestTypeDef,
|
|
65
74
|
GetJobQueueSnapshotResponseTypeDef,
|
|
66
75
|
ListConsumableResourcesRequestTypeDef,
|
|
@@ -71,14 +80,19 @@ from .type_defs import (
|
|
|
71
80
|
ListJobsResponseTypeDef,
|
|
72
81
|
ListSchedulingPoliciesRequestTypeDef,
|
|
73
82
|
ListSchedulingPoliciesResponseTypeDef,
|
|
83
|
+
ListServiceJobsRequestTypeDef,
|
|
84
|
+
ListServiceJobsResponseTypeDef,
|
|
74
85
|
ListTagsForResourceRequestTypeDef,
|
|
75
86
|
ListTagsForResourceResponseTypeDef,
|
|
76
87
|
RegisterJobDefinitionRequestTypeDef,
|
|
77
88
|
RegisterJobDefinitionResponseTypeDef,
|
|
78
89
|
SubmitJobRequestTypeDef,
|
|
79
90
|
SubmitJobResponseTypeDef,
|
|
91
|
+
SubmitServiceJobRequestTypeDef,
|
|
92
|
+
SubmitServiceJobResponseTypeDef,
|
|
80
93
|
TagResourceRequestTypeDef,
|
|
81
94
|
TerminateJobRequestTypeDef,
|
|
95
|
+
TerminateServiceJobRequestTypeDef,
|
|
82
96
|
UntagResourceRequestTypeDef,
|
|
83
97
|
UpdateComputeEnvironmentRequestTypeDef,
|
|
84
98
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
@@ -87,6 +101,8 @@ from .type_defs import (
|
|
|
87
101
|
UpdateJobQueueRequestTypeDef,
|
|
88
102
|
UpdateJobQueueResponseTypeDef,
|
|
89
103
|
UpdateSchedulingPolicyRequestTypeDef,
|
|
104
|
+
UpdateServiceEnvironmentRequestTypeDef,
|
|
105
|
+
UpdateServiceEnvironmentResponseTypeDef,
|
|
90
106
|
)
|
|
91
107
|
|
|
92
108
|
if sys.version_info >= (3, 9):
|
|
@@ -190,6 +206,16 @@ class BatchClient(BaseClient):
|
|
|
190
206
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_scheduling_policy)
|
|
191
207
|
"""
|
|
192
208
|
|
|
209
|
+
def create_service_environment(
|
|
210
|
+
self, **kwargs: Unpack[CreateServiceEnvironmentRequestTypeDef]
|
|
211
|
+
) -> CreateServiceEnvironmentResponseTypeDef:
|
|
212
|
+
"""
|
|
213
|
+
Creates a service environment for running service jobs.
|
|
214
|
+
|
|
215
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_service_environment.html)
|
|
216
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_service_environment)
|
|
217
|
+
"""
|
|
218
|
+
|
|
193
219
|
def delete_compute_environment(
|
|
194
220
|
self, **kwargs: Unpack[DeleteComputeEnvironmentRequestTypeDef]
|
|
195
221
|
) -> Dict[str, Any]:
|
|
@@ -228,6 +254,16 @@ class BatchClient(BaseClient):
|
|
|
228
254
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_scheduling_policy)
|
|
229
255
|
"""
|
|
230
256
|
|
|
257
|
+
def delete_service_environment(
|
|
258
|
+
self, **kwargs: Unpack[DeleteServiceEnvironmentRequestTypeDef]
|
|
259
|
+
) -> Dict[str, Any]:
|
|
260
|
+
"""
|
|
261
|
+
Deletes a Service environment.
|
|
262
|
+
|
|
263
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_service_environment.html)
|
|
264
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_service_environment)
|
|
265
|
+
"""
|
|
266
|
+
|
|
231
267
|
def deregister_job_definition(
|
|
232
268
|
self, **kwargs: Unpack[DeregisterJobDefinitionRequestTypeDef]
|
|
233
269
|
) -> Dict[str, Any]:
|
|
@@ -298,6 +334,26 @@ class BatchClient(BaseClient):
|
|
|
298
334
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_scheduling_policies)
|
|
299
335
|
"""
|
|
300
336
|
|
|
337
|
+
def describe_service_environments(
|
|
338
|
+
self, **kwargs: Unpack[DescribeServiceEnvironmentsRequestTypeDef]
|
|
339
|
+
) -> DescribeServiceEnvironmentsResponseTypeDef:
|
|
340
|
+
"""
|
|
341
|
+
Describes one or more of your service environments.
|
|
342
|
+
|
|
343
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_service_environments.html)
|
|
344
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_service_environments)
|
|
345
|
+
"""
|
|
346
|
+
|
|
347
|
+
def describe_service_job(
|
|
348
|
+
self, **kwargs: Unpack[DescribeServiceJobRequestTypeDef]
|
|
349
|
+
) -> DescribeServiceJobResponseTypeDef:
|
|
350
|
+
"""
|
|
351
|
+
The details of a service job.
|
|
352
|
+
|
|
353
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_service_job.html)
|
|
354
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_service_job)
|
|
355
|
+
"""
|
|
356
|
+
|
|
301
357
|
def get_job_queue_snapshot(
|
|
302
358
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestTypeDef]
|
|
303
359
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
@@ -347,6 +403,16 @@ class BatchClient(BaseClient):
|
|
|
347
403
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_scheduling_policies)
|
|
348
404
|
"""
|
|
349
405
|
|
|
406
|
+
def list_service_jobs(
|
|
407
|
+
self, **kwargs: Unpack[ListServiceJobsRequestTypeDef]
|
|
408
|
+
) -> ListServiceJobsResponseTypeDef:
|
|
409
|
+
"""
|
|
410
|
+
Returns a list of service jobs for a specified job queue.
|
|
411
|
+
|
|
412
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_service_jobs.html)
|
|
413
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_service_jobs)
|
|
414
|
+
"""
|
|
415
|
+
|
|
350
416
|
def list_tags_for_resource(
|
|
351
417
|
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
352
418
|
) -> ListTagsForResourceResponseTypeDef:
|
|
@@ -375,6 +441,16 @@ class BatchClient(BaseClient):
|
|
|
375
441
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_job)
|
|
376
442
|
"""
|
|
377
443
|
|
|
444
|
+
def submit_service_job(
|
|
445
|
+
self, **kwargs: Unpack[SubmitServiceJobRequestTypeDef]
|
|
446
|
+
) -> SubmitServiceJobResponseTypeDef:
|
|
447
|
+
"""
|
|
448
|
+
Submits a service job to a specified job queue to run on SageMaker AI.
|
|
449
|
+
|
|
450
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/submit_service_job.html)
|
|
451
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_service_job)
|
|
452
|
+
"""
|
|
453
|
+
|
|
378
454
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
379
455
|
"""
|
|
380
456
|
Associates the specified tags to a resource with the specified
|
|
@@ -392,6 +468,16 @@ class BatchClient(BaseClient):
|
|
|
392
468
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_job)
|
|
393
469
|
"""
|
|
394
470
|
|
|
471
|
+
def terminate_service_job(
|
|
472
|
+
self, **kwargs: Unpack[TerminateServiceJobRequestTypeDef]
|
|
473
|
+
) -> Dict[str, Any]:
|
|
474
|
+
"""
|
|
475
|
+
Terminates a service job in a job queue.
|
|
476
|
+
|
|
477
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/terminate_service_job.html)
|
|
478
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_service_job)
|
|
479
|
+
"""
|
|
480
|
+
|
|
395
481
|
def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
396
482
|
"""
|
|
397
483
|
Deletes specified tags from an Batch resource.
|
|
@@ -440,6 +526,16 @@ class BatchClient(BaseClient):
|
|
|
440
526
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_scheduling_policy)
|
|
441
527
|
"""
|
|
442
528
|
|
|
529
|
+
def update_service_environment(
|
|
530
|
+
self, **kwargs: Unpack[UpdateServiceEnvironmentRequestTypeDef]
|
|
531
|
+
) -> UpdateServiceEnvironmentResponseTypeDef:
|
|
532
|
+
"""
|
|
533
|
+
Updates a service environment.
|
|
534
|
+
|
|
535
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_service_environment.html)
|
|
536
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_service_environment)
|
|
537
|
+
"""
|
|
538
|
+
|
|
443
539
|
@overload # type: ignore[override]
|
|
444
540
|
def get_paginator( # type: ignore[override]
|
|
445
541
|
self, operation_name: Literal["describe_compute_environments"]
|
|
@@ -473,6 +569,17 @@ class BatchClient(BaseClient):
|
|
|
473
569
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
474
570
|
"""
|
|
475
571
|
|
|
572
|
+
@overload # type: ignore[override]
|
|
573
|
+
def get_paginator( # type: ignore[override]
|
|
574
|
+
self, operation_name: Literal["describe_service_environments"]
|
|
575
|
+
) -> DescribeServiceEnvironmentsPaginator:
|
|
576
|
+
"""
|
|
577
|
+
Create a paginator for an operation.
|
|
578
|
+
|
|
579
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
580
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
581
|
+
"""
|
|
582
|
+
|
|
476
583
|
@overload # type: ignore[override]
|
|
477
584
|
def get_paginator( # type: ignore[override]
|
|
478
585
|
self, operation_name: Literal["list_consumable_resources"]
|
|
@@ -516,3 +623,14 @@ class BatchClient(BaseClient):
|
|
|
516
623
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
517
624
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
518
625
|
"""
|
|
626
|
+
|
|
627
|
+
@overload # type: ignore[override]
|
|
628
|
+
def get_paginator( # type: ignore[override]
|
|
629
|
+
self, operation_name: Literal["list_service_jobs"]
|
|
630
|
+
) -> ListServiceJobsPaginator:
|
|
631
|
+
"""
|
|
632
|
+
Create a paginator for an operation.
|
|
633
|
+
|
|
634
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
635
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
636
|
+
"""
|