types-boto3-batch 1.38.43__tar.gz → 1.39.16__tar.gz
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-1.38.43/types_boto3_batch.egg-info → types_boto3_batch-1.39.16}/PKG-INFO +10 -4
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/README.md +8 -2
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/setup.py +2 -2
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/__init__.py +8 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/__init__.pyi +8 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/__main__.py +3 -3
- types_boto3_batch-1.38.43/types_boto3_batch/client.pyi → types_boto3_batch-1.39.16/types_boto3_batch/client.py +121 -0
- types_boto3_batch-1.38.43/types_boto3_batch/client.py → types_boto3_batch-1.39.16/types_boto3_batch/client.pyi +118 -3
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/literals.py +32 -1
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/literals.pyi +32 -1
- types_boto3_batch-1.38.43/types_boto3_batch/paginator.pyi → types_boto3_batch-1.39.16/types_boto3_batch/paginator.py +76 -0
- types_boto3_batch-1.38.43/types_boto3_batch/paginator.py → types_boto3_batch-1.39.16/types_boto3_batch/paginator.pyi +47 -21
- types_boto3_batch-1.38.43/types_boto3_batch/type_defs.pyi → types_boto3_batch-1.39.16/types_boto3_batch/type_defs.py +425 -2
- types_boto3_batch-1.38.43/types_boto3_batch/type_defs.py → types_boto3_batch-1.39.16/types_boto3_batch/type_defs.pyi +188 -173
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/version.py +1 -1
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16/types_boto3_batch.egg-info}/PKG-INFO +10 -4
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/LICENSE +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/setup.cfg +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch/py.typed +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch.egg-info/SOURCES.txt +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch.egg-info/dependency_links.txt +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch.egg-info/not-zip-safe +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch.egg-info/requires.txt +0 -0
- {types_boto3_batch-1.38.43 → types_boto3_batch-1.39.16}/types_boto3_batch.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-boto3-batch
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 Batch 1.
|
|
3
|
+
Version: 1.39.16
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.39.16 service generated with mypy-boto3-builder 8.11.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -56,7 +56,7 @@ Dynamic: summary
|
|
|
56
56
|
|
|
57
57
|

|
|
58
58
|
|
|
59
|
-
Type annotations for [boto3 Batch 1.
|
|
59
|
+
Type annotations for [boto3 Batch 1.39.16](https://pypi.org/project/boto3/)
|
|
60
60
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
61
61
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
62
62
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -118,7 +118,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
118
118
|
isolation.
|
|
119
119
|
|
|
120
120
|
1. Run mypy-boto3-builder in your package root directory:
|
|
121
|
-
`uvx --with 'boto3==1.
|
|
121
|
+
`uvx --with 'boto3==1.39.16' mypy-boto3-builder`
|
|
122
122
|
2. Select `boto3` AWS SDK.
|
|
123
123
|
3. Add `Batch` service.
|
|
124
124
|
4. Use provided commands to install generated packages.
|
|
@@ -355,10 +355,12 @@ from types_boto3_batch.paginator import (
|
|
|
355
355
|
DescribeComputeEnvironmentsPaginator,
|
|
356
356
|
DescribeJobDefinitionsPaginator,
|
|
357
357
|
DescribeJobQueuesPaginator,
|
|
358
|
+
DescribeServiceEnvironmentsPaginator,
|
|
358
359
|
ListConsumableResourcesPaginator,
|
|
359
360
|
ListJobsByConsumableResourcePaginator,
|
|
360
361
|
ListJobsPaginator,
|
|
361
362
|
ListSchedulingPoliciesPaginator,
|
|
363
|
+
ListServiceJobsPaginator,
|
|
362
364
|
)
|
|
363
365
|
|
|
364
366
|
client: BatchClient = Session().client("batch")
|
|
@@ -374,6 +376,9 @@ describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get
|
|
|
374
376
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator(
|
|
375
377
|
"describe_job_queues"
|
|
376
378
|
)
|
|
379
|
+
describe_service_environments_paginator: DescribeServiceEnvironmentsPaginator = (
|
|
380
|
+
client.get_paginator("describe_service_environments")
|
|
381
|
+
)
|
|
377
382
|
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator(
|
|
378
383
|
"list_consumable_resources"
|
|
379
384
|
)
|
|
@@ -384,6 +389,7 @@ list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
|
384
389
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator(
|
|
385
390
|
"list_scheduling_policies"
|
|
386
391
|
)
|
|
392
|
+
list_service_jobs_paginator: ListServiceJobsPaginator = client.get_paginator("list_service_jobs")
|
|
387
393
|
```
|
|
388
394
|
|
|
389
395
|
<a id="literals"></a>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 Batch 1.
|
|
12
|
+
Type annotations for [boto3 Batch 1.39.16](https://pypi.org/project/boto3/)
|
|
13
13
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
14
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
15
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -71,7 +71,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
71
71
|
isolation.
|
|
72
72
|
|
|
73
73
|
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
-
`uvx --with 'boto3==1.
|
|
74
|
+
`uvx --with 'boto3==1.39.16' mypy-boto3-builder`
|
|
75
75
|
2. Select `boto3` AWS SDK.
|
|
76
76
|
3. Add `Batch` service.
|
|
77
77
|
4. Use provided commands to install generated packages.
|
|
@@ -308,10 +308,12 @@ from types_boto3_batch.paginator import (
|
|
|
308
308
|
DescribeComputeEnvironmentsPaginator,
|
|
309
309
|
DescribeJobDefinitionsPaginator,
|
|
310
310
|
DescribeJobQueuesPaginator,
|
|
311
|
+
DescribeServiceEnvironmentsPaginator,
|
|
311
312
|
ListConsumableResourcesPaginator,
|
|
312
313
|
ListJobsByConsumableResourcePaginator,
|
|
313
314
|
ListJobsPaginator,
|
|
314
315
|
ListSchedulingPoliciesPaginator,
|
|
316
|
+
ListServiceJobsPaginator,
|
|
315
317
|
)
|
|
316
318
|
|
|
317
319
|
client: BatchClient = Session().client("batch")
|
|
@@ -327,6 +329,9 @@ describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get
|
|
|
327
329
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator(
|
|
328
330
|
"describe_job_queues"
|
|
329
331
|
)
|
|
332
|
+
describe_service_environments_paginator: DescribeServiceEnvironmentsPaginator = (
|
|
333
|
+
client.get_paginator("describe_service_environments")
|
|
334
|
+
)
|
|
330
335
|
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator(
|
|
331
336
|
"list_consumable_resources"
|
|
332
337
|
)
|
|
@@ -337,6 +342,7 @@ list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
|
337
342
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator(
|
|
338
343
|
"list_scheduling_policies"
|
|
339
344
|
)
|
|
345
|
+
list_service_jobs_paginator: ListServiceJobsPaginator = client.get_paginator("list_service_jobs")
|
|
340
346
|
```
|
|
341
347
|
|
|
342
348
|
<a id="literals"></a>
|
|
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="types-boto3-batch",
|
|
16
|
-
version="1.
|
|
16
|
+
version="1.39.16",
|
|
17
17
|
packages=["types_boto3_batch"],
|
|
18
18
|
url="https://github.com/youtype/mypy_boto3_builder",
|
|
19
19
|
license="MIT License",
|
|
20
20
|
author="Vlad Emelianov",
|
|
21
21
|
author_email="vlad.emelianov.nz@gmail.com",
|
|
22
|
-
description="Type annotations for boto3 Batch 1.
|
|
22
|
+
description="Type annotations for boto3 Batch 1.39.16 service generated with mypy-boto3-builder 8.11.0",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -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
|
)
|
|
@@ -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
|
)
|
|
@@ -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.39.16\n"
|
|
16
|
+
"Version: 1.39.16\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.39.16\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -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):
|
|
@@ -100,13 +116,16 @@ if sys.version_info >= (3, 12):
|
|
|
100
116
|
else:
|
|
101
117
|
from typing_extensions import Literal, Unpack
|
|
102
118
|
|
|
119
|
+
|
|
103
120
|
__all__ = ("BatchClient",)
|
|
104
121
|
|
|
122
|
+
|
|
105
123
|
class Exceptions(BaseClientExceptions):
|
|
106
124
|
ClientError: Type[BotocoreClientError]
|
|
107
125
|
ClientException: Type[BotocoreClientError]
|
|
108
126
|
ServerException: Type[BotocoreClientError]
|
|
109
127
|
|
|
128
|
+
|
|
110
129
|
class BatchClient(BaseClient):
|
|
111
130
|
"""
|
|
112
131
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
@@ -190,6 +209,16 @@ class BatchClient(BaseClient):
|
|
|
190
209
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_scheduling_policy)
|
|
191
210
|
"""
|
|
192
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
|
+
|
|
193
222
|
def delete_compute_environment(
|
|
194
223
|
self, **kwargs: Unpack[DeleteComputeEnvironmentRequestTypeDef]
|
|
195
224
|
) -> Dict[str, Any]:
|
|
@@ -228,6 +257,16 @@ class BatchClient(BaseClient):
|
|
|
228
257
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_scheduling_policy)
|
|
229
258
|
"""
|
|
230
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
|
+
|
|
231
270
|
def deregister_job_definition(
|
|
232
271
|
self, **kwargs: Unpack[DeregisterJobDefinitionRequestTypeDef]
|
|
233
272
|
) -> Dict[str, Any]:
|
|
@@ -298,6 +337,26 @@ class BatchClient(BaseClient):
|
|
|
298
337
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_scheduling_policies)
|
|
299
338
|
"""
|
|
300
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
|
+
|
|
301
360
|
def get_job_queue_snapshot(
|
|
302
361
|
self, **kwargs: Unpack[GetJobQueueSnapshotRequestTypeDef]
|
|
303
362
|
) -> GetJobQueueSnapshotResponseTypeDef:
|
|
@@ -347,6 +406,16 @@ class BatchClient(BaseClient):
|
|
|
347
406
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_scheduling_policies)
|
|
348
407
|
"""
|
|
349
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
|
+
|
|
350
419
|
def list_tags_for_resource(
|
|
351
420
|
self, **kwargs: Unpack[ListTagsForResourceRequestTypeDef]
|
|
352
421
|
) -> ListTagsForResourceResponseTypeDef:
|
|
@@ -375,6 +444,16 @@ class BatchClient(BaseClient):
|
|
|
375
444
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#submit_job)
|
|
376
445
|
"""
|
|
377
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
|
+
|
|
378
457
|
def tag_resource(self, **kwargs: Unpack[TagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
379
458
|
"""
|
|
380
459
|
Associates the specified tags to a resource with the specified
|
|
@@ -392,6 +471,16 @@ class BatchClient(BaseClient):
|
|
|
392
471
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#terminate_job)
|
|
393
472
|
"""
|
|
394
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
|
+
|
|
395
484
|
def untag_resource(self, **kwargs: Unpack[UntagResourceRequestTypeDef]) -> Dict[str, Any]:
|
|
396
485
|
"""
|
|
397
486
|
Deletes specified tags from an Batch resource.
|
|
@@ -440,6 +529,16 @@ class BatchClient(BaseClient):
|
|
|
440
529
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_scheduling_policy)
|
|
441
530
|
"""
|
|
442
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
|
+
|
|
443
542
|
@overload # type: ignore[override]
|
|
444
543
|
def get_paginator( # type: ignore[override]
|
|
445
544
|
self, operation_name: Literal["describe_compute_environments"]
|
|
@@ -473,6 +572,17 @@ class BatchClient(BaseClient):
|
|
|
473
572
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
474
573
|
"""
|
|
475
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
|
+
|
|
476
586
|
@overload # type: ignore[override]
|
|
477
587
|
def get_paginator( # type: ignore[override]
|
|
478
588
|
self, operation_name: Literal["list_consumable_resources"]
|
|
@@ -516,3 +626,14 @@ class BatchClient(BaseClient):
|
|
|
516
626
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
517
627
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
518
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
|
+
"""
|