types-boto3-batch 1.37.0__tar.gz → 1.37.22__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.37.0/types_boto3_batch.egg-info → types_boto3_batch-1.37.22}/PKG-INFO +15 -6
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/README.md +11 -3
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/setup.py +2 -2
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/__init__.py +8 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/__init__.pyi +8 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/__main__.py +4 -4
- types_boto3_batch-1.37.0/types_boto3_batch/client.pyi → types_boto3_batch-1.37.22/types_boto3_batch/client.py +98 -0
- types_boto3_batch-1.37.0/types_boto3_batch/client.py → types_boto3_batch-1.37.22/types_boto3_batch/client.pyi +95 -3
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/literals.py +13 -1
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/literals.pyi +13 -1
- types_boto3_batch-1.37.0/types_boto3_batch/paginator.pyi → types_boto3_batch-1.37.22/types_boto3_batch/paginator.py +70 -0
- types_boto3_batch-1.37.0/types_boto3_batch/paginator.py → types_boto3_batch-1.37.22/types_boto3_batch/paginator.pyi +47 -15
- types_boto3_batch-1.37.0/types_boto3_batch/type_defs.pyi → types_boto3_batch-1.37.22/types_boto3_batch/type_defs.py +347 -0
- types_boto3_batch-1.37.0/types_boto3_batch/type_defs.py → types_boto3_batch-1.37.22/types_boto3_batch/type_defs.pyi +144 -157
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/version.py +1 -1
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22/types_boto3_batch.egg-info}/PKG-INFO +15 -6
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/LICENSE +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/setup.cfg +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch/py.typed +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch.egg-info/SOURCES.txt +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch.egg-info/dependency_links.txt +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch.egg-info/not-zip-safe +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch.egg-info/requires.txt +0 -0
- {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.22}/types_boto3_batch.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: types-boto3-batch
|
|
3
|
-
Version: 1.37.
|
|
4
|
-
Summary: Type annotations for boto3 Batch 1.37.
|
|
3
|
+
Version: 1.37.22
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.37.22 service generated with mypy-boto3-builder 8.10.1
|
|
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
|
|
@@ -39,6 +39,7 @@ Dynamic: description-content-type
|
|
|
39
39
|
Dynamic: home-page
|
|
40
40
|
Dynamic: keywords
|
|
41
41
|
Dynamic: license
|
|
42
|
+
Dynamic: license-file
|
|
42
43
|
Dynamic: project-url
|
|
43
44
|
Dynamic: requires-dist
|
|
44
45
|
Dynamic: requires-python
|
|
@@ -55,7 +56,7 @@ Dynamic: summary
|
|
|
55
56
|
|
|
56
57
|

|
|
57
58
|
|
|
58
|
-
Type annotations for [boto3 Batch 1.37.
|
|
59
|
+
Type annotations for [boto3 Batch 1.37.22](https://pypi.org/project/boto3/)
|
|
59
60
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
60
61
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
61
62
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -64,7 +65,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
64
65
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
65
66
|
|
|
66
67
|
Generated with
|
|
67
|
-
[mypy-boto3-builder 8.
|
|
68
|
+
[mypy-boto3-builder 8.10.1](https://github.com/youtype/mypy_boto3_builder).
|
|
68
69
|
|
|
69
70
|
More information can be found on
|
|
70
71
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -117,7 +118,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
117
118
|
isolation.
|
|
118
119
|
|
|
119
120
|
1. Run mypy-boto3-builder in your package root directory:
|
|
120
|
-
`uvx --with 'boto3==1.37.
|
|
121
|
+
`uvx --with 'boto3==1.37.22' mypy-boto3-builder`
|
|
121
122
|
2. Select `boto3` AWS SDK.
|
|
122
123
|
3. Add `Batch` service.
|
|
123
124
|
4. Use provided commands to install generated packages.
|
|
@@ -354,6 +355,8 @@ from types_boto3_batch.paginator import (
|
|
|
354
355
|
DescribeComputeEnvironmentsPaginator,
|
|
355
356
|
DescribeJobDefinitionsPaginator,
|
|
356
357
|
DescribeJobQueuesPaginator,
|
|
358
|
+
ListConsumableResourcesPaginator,
|
|
359
|
+
ListJobsByConsumableResourcePaginator,
|
|
357
360
|
ListJobsPaginator,
|
|
358
361
|
ListSchedulingPoliciesPaginator,
|
|
359
362
|
)
|
|
@@ -371,6 +374,12 @@ describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get
|
|
|
371
374
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator(
|
|
372
375
|
"describe_job_queues"
|
|
373
376
|
)
|
|
377
|
+
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator(
|
|
378
|
+
"list_consumable_resources"
|
|
379
|
+
)
|
|
380
|
+
list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = (
|
|
381
|
+
client.get_paginator("list_jobs_by_consumable_resource")
|
|
382
|
+
)
|
|
374
383
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
375
384
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator(
|
|
376
385
|
"list_scheduling_policies"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 Batch 1.37.
|
|
12
|
+
Type annotations for [boto3 Batch 1.37.22](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/),
|
|
@@ -18,7 +18,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
18
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
19
19
|
|
|
20
20
|
Generated with
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.10.1](https://github.com/youtype/mypy_boto3_builder).
|
|
22
22
|
|
|
23
23
|
More information can be found on
|
|
24
24
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -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.37.
|
|
74
|
+
`uvx --with 'boto3==1.37.22' 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,6 +308,8 @@ from types_boto3_batch.paginator import (
|
|
|
308
308
|
DescribeComputeEnvironmentsPaginator,
|
|
309
309
|
DescribeJobDefinitionsPaginator,
|
|
310
310
|
DescribeJobQueuesPaginator,
|
|
311
|
+
ListConsumableResourcesPaginator,
|
|
312
|
+
ListJobsByConsumableResourcePaginator,
|
|
311
313
|
ListJobsPaginator,
|
|
312
314
|
ListSchedulingPoliciesPaginator,
|
|
313
315
|
)
|
|
@@ -325,6 +327,12 @@ describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get
|
|
|
325
327
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator(
|
|
326
328
|
"describe_job_queues"
|
|
327
329
|
)
|
|
330
|
+
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator(
|
|
331
|
+
"list_consumable_resources"
|
|
332
|
+
)
|
|
333
|
+
list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = (
|
|
334
|
+
client.get_paginator("list_jobs_by_consumable_resource")
|
|
335
|
+
)
|
|
328
336
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
329
337
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator(
|
|
330
338
|
"list_scheduling_policies"
|
|
@@ -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.37.
|
|
16
|
+
version="1.37.22",
|
|
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.37.
|
|
22
|
+
description="Type annotations for boto3 Batch 1.37.22 service generated with mypy-boto3-builder 8.10.1",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -15,6 +15,8 @@ Usage::
|
|
|
15
15
|
DescribeComputeEnvironmentsPaginator,
|
|
16
16
|
DescribeJobDefinitionsPaginator,
|
|
17
17
|
DescribeJobQueuesPaginator,
|
|
18
|
+
ListConsumableResourcesPaginator,
|
|
19
|
+
ListJobsByConsumableResourcePaginator,
|
|
18
20
|
ListJobsPaginator,
|
|
19
21
|
ListSchedulingPoliciesPaginator,
|
|
20
22
|
)
|
|
@@ -25,6 +27,8 @@ Usage::
|
|
|
25
27
|
describe_compute_environments_paginator: DescribeComputeEnvironmentsPaginator = client.get_paginator("describe_compute_environments")
|
|
26
28
|
describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get_paginator("describe_job_definitions")
|
|
27
29
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator("describe_job_queues")
|
|
30
|
+
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator("list_consumable_resources")
|
|
31
|
+
list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = client.get_paginator("list_jobs_by_consumable_resource")
|
|
28
32
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
29
33
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
30
34
|
```
|
|
@@ -35,6 +39,8 @@ from .paginator import (
|
|
|
35
39
|
DescribeComputeEnvironmentsPaginator,
|
|
36
40
|
DescribeJobDefinitionsPaginator,
|
|
37
41
|
DescribeJobQueuesPaginator,
|
|
42
|
+
ListConsumableResourcesPaginator,
|
|
43
|
+
ListJobsByConsumableResourcePaginator,
|
|
38
44
|
ListJobsPaginator,
|
|
39
45
|
ListSchedulingPoliciesPaginator,
|
|
40
46
|
)
|
|
@@ -48,6 +54,8 @@ __all__ = (
|
|
|
48
54
|
"DescribeComputeEnvironmentsPaginator",
|
|
49
55
|
"DescribeJobDefinitionsPaginator",
|
|
50
56
|
"DescribeJobQueuesPaginator",
|
|
57
|
+
"ListConsumableResourcesPaginator",
|
|
58
|
+
"ListJobsByConsumableResourcePaginator",
|
|
51
59
|
"ListJobsPaginator",
|
|
52
60
|
"ListSchedulingPoliciesPaginator",
|
|
53
61
|
)
|
|
@@ -15,6 +15,8 @@ Usage::
|
|
|
15
15
|
DescribeComputeEnvironmentsPaginator,
|
|
16
16
|
DescribeJobDefinitionsPaginator,
|
|
17
17
|
DescribeJobQueuesPaginator,
|
|
18
|
+
ListConsumableResourcesPaginator,
|
|
19
|
+
ListJobsByConsumableResourcePaginator,
|
|
18
20
|
ListJobsPaginator,
|
|
19
21
|
ListSchedulingPoliciesPaginator,
|
|
20
22
|
)
|
|
@@ -25,6 +27,8 @@ Usage::
|
|
|
25
27
|
describe_compute_environments_paginator: DescribeComputeEnvironmentsPaginator = client.get_paginator("describe_compute_environments")
|
|
26
28
|
describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get_paginator("describe_job_definitions")
|
|
27
29
|
describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator("describe_job_queues")
|
|
30
|
+
list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator("list_consumable_resources")
|
|
31
|
+
list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = client.get_paginator("list_jobs_by_consumable_resource")
|
|
28
32
|
list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
|
|
29
33
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
30
34
|
```
|
|
@@ -35,6 +39,8 @@ from .paginator import (
|
|
|
35
39
|
DescribeComputeEnvironmentsPaginator,
|
|
36
40
|
DescribeJobDefinitionsPaginator,
|
|
37
41
|
DescribeJobQueuesPaginator,
|
|
42
|
+
ListConsumableResourcesPaginator,
|
|
43
|
+
ListJobsByConsumableResourcePaginator,
|
|
38
44
|
ListJobsPaginator,
|
|
39
45
|
ListSchedulingPoliciesPaginator,
|
|
40
46
|
)
|
|
@@ -47,6 +53,8 @@ __all__ = (
|
|
|
47
53
|
"DescribeComputeEnvironmentsPaginator",
|
|
48
54
|
"DescribeJobDefinitionsPaginator",
|
|
49
55
|
"DescribeJobQueuesPaginator",
|
|
56
|
+
"ListConsumableResourcesPaginator",
|
|
57
|
+
"ListJobsByConsumableResourcePaginator",
|
|
50
58
|
"ListJobsPaginator",
|
|
51
59
|
"ListSchedulingPoliciesPaginator",
|
|
52
60
|
)
|
|
@@ -12,9 +12,9 @@ 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.37.
|
|
16
|
-
"Version: 1.37.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Batch 1.37.22\n"
|
|
16
|
+
"Version: 1.37.22\n"
|
|
17
|
+
"Builder version: 8.10.1\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"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\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.37.
|
|
29
|
+
sys.stdout.write("1.37.22\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -29,6 +29,8 @@ from .paginator import (
|
|
|
29
29
|
DescribeComputeEnvironmentsPaginator,
|
|
30
30
|
DescribeJobDefinitionsPaginator,
|
|
31
31
|
DescribeJobQueuesPaginator,
|
|
32
|
+
ListConsumableResourcesPaginator,
|
|
33
|
+
ListJobsByConsumableResourcePaginator,
|
|
32
34
|
ListJobsPaginator,
|
|
33
35
|
ListSchedulingPoliciesPaginator,
|
|
34
36
|
)
|
|
@@ -36,16 +38,21 @@ from .type_defs import (
|
|
|
36
38
|
CancelJobRequestTypeDef,
|
|
37
39
|
CreateComputeEnvironmentRequestTypeDef,
|
|
38
40
|
CreateComputeEnvironmentResponseTypeDef,
|
|
41
|
+
CreateConsumableResourceRequestTypeDef,
|
|
42
|
+
CreateConsumableResourceResponseTypeDef,
|
|
39
43
|
CreateJobQueueRequestTypeDef,
|
|
40
44
|
CreateJobQueueResponseTypeDef,
|
|
41
45
|
CreateSchedulingPolicyRequestTypeDef,
|
|
42
46
|
CreateSchedulingPolicyResponseTypeDef,
|
|
43
47
|
DeleteComputeEnvironmentRequestTypeDef,
|
|
48
|
+
DeleteConsumableResourceRequestTypeDef,
|
|
44
49
|
DeleteJobQueueRequestTypeDef,
|
|
45
50
|
DeleteSchedulingPolicyRequestTypeDef,
|
|
46
51
|
DeregisterJobDefinitionRequestTypeDef,
|
|
47
52
|
DescribeComputeEnvironmentsRequestTypeDef,
|
|
48
53
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
54
|
+
DescribeConsumableResourceRequestTypeDef,
|
|
55
|
+
DescribeConsumableResourceResponseTypeDef,
|
|
49
56
|
DescribeJobDefinitionsRequestTypeDef,
|
|
50
57
|
DescribeJobDefinitionsResponseTypeDef,
|
|
51
58
|
DescribeJobQueuesRequestTypeDef,
|
|
@@ -56,6 +63,10 @@ from .type_defs import (
|
|
|
56
63
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
57
64
|
GetJobQueueSnapshotRequestTypeDef,
|
|
58
65
|
GetJobQueueSnapshotResponseTypeDef,
|
|
66
|
+
ListConsumableResourcesRequestTypeDef,
|
|
67
|
+
ListConsumableResourcesResponseTypeDef,
|
|
68
|
+
ListJobsByConsumableResourceRequestTypeDef,
|
|
69
|
+
ListJobsByConsumableResourceResponseTypeDef,
|
|
59
70
|
ListJobsRequestTypeDef,
|
|
60
71
|
ListJobsResponseTypeDef,
|
|
61
72
|
ListSchedulingPoliciesRequestTypeDef,
|
|
@@ -71,6 +82,8 @@ from .type_defs import (
|
|
|
71
82
|
UntagResourceRequestTypeDef,
|
|
72
83
|
UpdateComputeEnvironmentRequestTypeDef,
|
|
73
84
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
85
|
+
UpdateConsumableResourceRequestTypeDef,
|
|
86
|
+
UpdateConsumableResourceResponseTypeDef,
|
|
74
87
|
UpdateJobQueueRequestTypeDef,
|
|
75
88
|
UpdateJobQueueResponseTypeDef,
|
|
76
89
|
UpdateSchedulingPolicyRequestTypeDef,
|
|
@@ -87,13 +100,16 @@ if sys.version_info >= (3, 12):
|
|
|
87
100
|
else:
|
|
88
101
|
from typing_extensions import Literal, Unpack
|
|
89
102
|
|
|
103
|
+
|
|
90
104
|
__all__ = ("BatchClient",)
|
|
91
105
|
|
|
106
|
+
|
|
92
107
|
class Exceptions(BaseClientExceptions):
|
|
93
108
|
ClientError: Type[BotocoreClientError]
|
|
94
109
|
ClientException: Type[BotocoreClientError]
|
|
95
110
|
ServerException: Type[BotocoreClientError]
|
|
96
111
|
|
|
112
|
+
|
|
97
113
|
class BatchClient(BaseClient):
|
|
98
114
|
"""
|
|
99
115
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
@@ -147,6 +163,16 @@ class BatchClient(BaseClient):
|
|
|
147
163
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_compute_environment)
|
|
148
164
|
"""
|
|
149
165
|
|
|
166
|
+
def create_consumable_resource(
|
|
167
|
+
self, **kwargs: Unpack[CreateConsumableResourceRequestTypeDef]
|
|
168
|
+
) -> CreateConsumableResourceResponseTypeDef:
|
|
169
|
+
"""
|
|
170
|
+
Creates an Batch consumable resource.
|
|
171
|
+
|
|
172
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_consumable_resource.html)
|
|
173
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_consumable_resource)
|
|
174
|
+
"""
|
|
175
|
+
|
|
150
176
|
def create_job_queue(
|
|
151
177
|
self, **kwargs: Unpack[CreateJobQueueRequestTypeDef]
|
|
152
178
|
) -> CreateJobQueueResponseTypeDef:
|
|
@@ -177,6 +203,16 @@ class BatchClient(BaseClient):
|
|
|
177
203
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_compute_environment)
|
|
178
204
|
"""
|
|
179
205
|
|
|
206
|
+
def delete_consumable_resource(
|
|
207
|
+
self, **kwargs: Unpack[DeleteConsumableResourceRequestTypeDef]
|
|
208
|
+
) -> Dict[str, Any]:
|
|
209
|
+
"""
|
|
210
|
+
Deletes the specified consumable resource.
|
|
211
|
+
|
|
212
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_consumable_resource.html)
|
|
213
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_consumable_resource)
|
|
214
|
+
"""
|
|
215
|
+
|
|
180
216
|
def delete_job_queue(self, **kwargs: Unpack[DeleteJobQueueRequestTypeDef]) -> Dict[str, Any]:
|
|
181
217
|
"""
|
|
182
218
|
Deletes the specified job queue.
|
|
@@ -215,6 +251,16 @@ class BatchClient(BaseClient):
|
|
|
215
251
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_compute_environments)
|
|
216
252
|
"""
|
|
217
253
|
|
|
254
|
+
def describe_consumable_resource(
|
|
255
|
+
self, **kwargs: Unpack[DescribeConsumableResourceRequestTypeDef]
|
|
256
|
+
) -> DescribeConsumableResourceResponseTypeDef:
|
|
257
|
+
"""
|
|
258
|
+
Returns a description of the specified consumable resource.
|
|
259
|
+
|
|
260
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_consumable_resource.html)
|
|
261
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_consumable_resource)
|
|
262
|
+
"""
|
|
263
|
+
|
|
218
264
|
def describe_job_definitions(
|
|
219
265
|
self, **kwargs: Unpack[DescribeJobDefinitionsRequestTypeDef]
|
|
220
266
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
@@ -266,6 +312,16 @@ class BatchClient(BaseClient):
|
|
|
266
312
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_job_queue_snapshot)
|
|
267
313
|
"""
|
|
268
314
|
|
|
315
|
+
def list_consumable_resources(
|
|
316
|
+
self, **kwargs: Unpack[ListConsumableResourcesRequestTypeDef]
|
|
317
|
+
) -> ListConsumableResourcesResponseTypeDef:
|
|
318
|
+
"""
|
|
319
|
+
Returns a list of Batch consumable resources.
|
|
320
|
+
|
|
321
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_consumable_resources.html)
|
|
322
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_consumable_resources)
|
|
323
|
+
"""
|
|
324
|
+
|
|
269
325
|
def list_jobs(self, **kwargs: Unpack[ListJobsRequestTypeDef]) -> ListJobsResponseTypeDef:
|
|
270
326
|
"""
|
|
271
327
|
Returns a list of Batch jobs.
|
|
@@ -274,6 +330,16 @@ class BatchClient(BaseClient):
|
|
|
274
330
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_jobs)
|
|
275
331
|
"""
|
|
276
332
|
|
|
333
|
+
def list_jobs_by_consumable_resource(
|
|
334
|
+
self, **kwargs: Unpack[ListJobsByConsumableResourceRequestTypeDef]
|
|
335
|
+
) -> ListJobsByConsumableResourceResponseTypeDef:
|
|
336
|
+
"""
|
|
337
|
+
Returns a list of Batch jobs that require a specific consumable resource.
|
|
338
|
+
|
|
339
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_jobs_by_consumable_resource.html)
|
|
340
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_jobs_by_consumable_resource)
|
|
341
|
+
"""
|
|
342
|
+
|
|
277
343
|
def list_scheduling_policies(
|
|
278
344
|
self, **kwargs: Unpack[ListSchedulingPoliciesRequestTypeDef]
|
|
279
345
|
) -> ListSchedulingPoliciesResponseTypeDef:
|
|
@@ -347,6 +413,16 @@ class BatchClient(BaseClient):
|
|
|
347
413
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_compute_environment)
|
|
348
414
|
"""
|
|
349
415
|
|
|
416
|
+
def update_consumable_resource(
|
|
417
|
+
self, **kwargs: Unpack[UpdateConsumableResourceRequestTypeDef]
|
|
418
|
+
) -> UpdateConsumableResourceResponseTypeDef:
|
|
419
|
+
"""
|
|
420
|
+
Updates a consumable resource.
|
|
421
|
+
|
|
422
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_consumable_resource.html)
|
|
423
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_consumable_resource)
|
|
424
|
+
"""
|
|
425
|
+
|
|
350
426
|
def update_job_queue(
|
|
351
427
|
self, **kwargs: Unpack[UpdateJobQueueRequestTypeDef]
|
|
352
428
|
) -> UpdateJobQueueResponseTypeDef:
|
|
@@ -400,6 +476,28 @@ class BatchClient(BaseClient):
|
|
|
400
476
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
401
477
|
"""
|
|
402
478
|
|
|
479
|
+
@overload # type: ignore[override]
|
|
480
|
+
def get_paginator( # type: ignore[override]
|
|
481
|
+
self, operation_name: Literal["list_consumable_resources"]
|
|
482
|
+
) -> ListConsumableResourcesPaginator:
|
|
483
|
+
"""
|
|
484
|
+
Create a paginator for an operation.
|
|
485
|
+
|
|
486
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
487
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
488
|
+
"""
|
|
489
|
+
|
|
490
|
+
@overload # type: ignore[override]
|
|
491
|
+
def get_paginator( # type: ignore[override]
|
|
492
|
+
self, operation_name: Literal["list_jobs_by_consumable_resource"]
|
|
493
|
+
) -> ListJobsByConsumableResourcePaginator:
|
|
494
|
+
"""
|
|
495
|
+
Create a paginator for an operation.
|
|
496
|
+
|
|
497
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
498
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
499
|
+
"""
|
|
500
|
+
|
|
403
501
|
@overload # type: ignore[override]
|
|
404
502
|
def get_paginator( # type: ignore[override]
|
|
405
503
|
self, operation_name: Literal["list_jobs"]
|
|
@@ -29,6 +29,8 @@ from .paginator import (
|
|
|
29
29
|
DescribeComputeEnvironmentsPaginator,
|
|
30
30
|
DescribeJobDefinitionsPaginator,
|
|
31
31
|
DescribeJobQueuesPaginator,
|
|
32
|
+
ListConsumableResourcesPaginator,
|
|
33
|
+
ListJobsByConsumableResourcePaginator,
|
|
32
34
|
ListJobsPaginator,
|
|
33
35
|
ListSchedulingPoliciesPaginator,
|
|
34
36
|
)
|
|
@@ -36,16 +38,21 @@ from .type_defs import (
|
|
|
36
38
|
CancelJobRequestTypeDef,
|
|
37
39
|
CreateComputeEnvironmentRequestTypeDef,
|
|
38
40
|
CreateComputeEnvironmentResponseTypeDef,
|
|
41
|
+
CreateConsumableResourceRequestTypeDef,
|
|
42
|
+
CreateConsumableResourceResponseTypeDef,
|
|
39
43
|
CreateJobQueueRequestTypeDef,
|
|
40
44
|
CreateJobQueueResponseTypeDef,
|
|
41
45
|
CreateSchedulingPolicyRequestTypeDef,
|
|
42
46
|
CreateSchedulingPolicyResponseTypeDef,
|
|
43
47
|
DeleteComputeEnvironmentRequestTypeDef,
|
|
48
|
+
DeleteConsumableResourceRequestTypeDef,
|
|
44
49
|
DeleteJobQueueRequestTypeDef,
|
|
45
50
|
DeleteSchedulingPolicyRequestTypeDef,
|
|
46
51
|
DeregisterJobDefinitionRequestTypeDef,
|
|
47
52
|
DescribeComputeEnvironmentsRequestTypeDef,
|
|
48
53
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
54
|
+
DescribeConsumableResourceRequestTypeDef,
|
|
55
|
+
DescribeConsumableResourceResponseTypeDef,
|
|
49
56
|
DescribeJobDefinitionsRequestTypeDef,
|
|
50
57
|
DescribeJobDefinitionsResponseTypeDef,
|
|
51
58
|
DescribeJobQueuesRequestTypeDef,
|
|
@@ -56,6 +63,10 @@ from .type_defs import (
|
|
|
56
63
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
57
64
|
GetJobQueueSnapshotRequestTypeDef,
|
|
58
65
|
GetJobQueueSnapshotResponseTypeDef,
|
|
66
|
+
ListConsumableResourcesRequestTypeDef,
|
|
67
|
+
ListConsumableResourcesResponseTypeDef,
|
|
68
|
+
ListJobsByConsumableResourceRequestTypeDef,
|
|
69
|
+
ListJobsByConsumableResourceResponseTypeDef,
|
|
59
70
|
ListJobsRequestTypeDef,
|
|
60
71
|
ListJobsResponseTypeDef,
|
|
61
72
|
ListSchedulingPoliciesRequestTypeDef,
|
|
@@ -71,6 +82,8 @@ from .type_defs import (
|
|
|
71
82
|
UntagResourceRequestTypeDef,
|
|
72
83
|
UpdateComputeEnvironmentRequestTypeDef,
|
|
73
84
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
85
|
+
UpdateConsumableResourceRequestTypeDef,
|
|
86
|
+
UpdateConsumableResourceResponseTypeDef,
|
|
74
87
|
UpdateJobQueueRequestTypeDef,
|
|
75
88
|
UpdateJobQueueResponseTypeDef,
|
|
76
89
|
UpdateSchedulingPolicyRequestTypeDef,
|
|
@@ -87,16 +100,13 @@ if sys.version_info >= (3, 12):
|
|
|
87
100
|
else:
|
|
88
101
|
from typing_extensions import Literal, Unpack
|
|
89
102
|
|
|
90
|
-
|
|
91
103
|
__all__ = ("BatchClient",)
|
|
92
104
|
|
|
93
|
-
|
|
94
105
|
class Exceptions(BaseClientExceptions):
|
|
95
106
|
ClientError: Type[BotocoreClientError]
|
|
96
107
|
ClientException: Type[BotocoreClientError]
|
|
97
108
|
ServerException: Type[BotocoreClientError]
|
|
98
109
|
|
|
99
|
-
|
|
100
110
|
class BatchClient(BaseClient):
|
|
101
111
|
"""
|
|
102
112
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client)
|
|
@@ -150,6 +160,16 @@ class BatchClient(BaseClient):
|
|
|
150
160
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_compute_environment)
|
|
151
161
|
"""
|
|
152
162
|
|
|
163
|
+
def create_consumable_resource(
|
|
164
|
+
self, **kwargs: Unpack[CreateConsumableResourceRequestTypeDef]
|
|
165
|
+
) -> CreateConsumableResourceResponseTypeDef:
|
|
166
|
+
"""
|
|
167
|
+
Creates an Batch consumable resource.
|
|
168
|
+
|
|
169
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/create_consumable_resource.html)
|
|
170
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_consumable_resource)
|
|
171
|
+
"""
|
|
172
|
+
|
|
153
173
|
def create_job_queue(
|
|
154
174
|
self, **kwargs: Unpack[CreateJobQueueRequestTypeDef]
|
|
155
175
|
) -> CreateJobQueueResponseTypeDef:
|
|
@@ -180,6 +200,16 @@ class BatchClient(BaseClient):
|
|
|
180
200
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_compute_environment)
|
|
181
201
|
"""
|
|
182
202
|
|
|
203
|
+
def delete_consumable_resource(
|
|
204
|
+
self, **kwargs: Unpack[DeleteConsumableResourceRequestTypeDef]
|
|
205
|
+
) -> Dict[str, Any]:
|
|
206
|
+
"""
|
|
207
|
+
Deletes the specified consumable resource.
|
|
208
|
+
|
|
209
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/delete_consumable_resource.html)
|
|
210
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_consumable_resource)
|
|
211
|
+
"""
|
|
212
|
+
|
|
183
213
|
def delete_job_queue(self, **kwargs: Unpack[DeleteJobQueueRequestTypeDef]) -> Dict[str, Any]:
|
|
184
214
|
"""
|
|
185
215
|
Deletes the specified job queue.
|
|
@@ -218,6 +248,16 @@ class BatchClient(BaseClient):
|
|
|
218
248
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_compute_environments)
|
|
219
249
|
"""
|
|
220
250
|
|
|
251
|
+
def describe_consumable_resource(
|
|
252
|
+
self, **kwargs: Unpack[DescribeConsumableResourceRequestTypeDef]
|
|
253
|
+
) -> DescribeConsumableResourceResponseTypeDef:
|
|
254
|
+
"""
|
|
255
|
+
Returns a description of the specified consumable resource.
|
|
256
|
+
|
|
257
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/describe_consumable_resource.html)
|
|
258
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_consumable_resource)
|
|
259
|
+
"""
|
|
260
|
+
|
|
221
261
|
def describe_job_definitions(
|
|
222
262
|
self, **kwargs: Unpack[DescribeJobDefinitionsRequestTypeDef]
|
|
223
263
|
) -> DescribeJobDefinitionsResponseTypeDef:
|
|
@@ -269,6 +309,16 @@ class BatchClient(BaseClient):
|
|
|
269
309
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_job_queue_snapshot)
|
|
270
310
|
"""
|
|
271
311
|
|
|
312
|
+
def list_consumable_resources(
|
|
313
|
+
self, **kwargs: Unpack[ListConsumableResourcesRequestTypeDef]
|
|
314
|
+
) -> ListConsumableResourcesResponseTypeDef:
|
|
315
|
+
"""
|
|
316
|
+
Returns a list of Batch consumable resources.
|
|
317
|
+
|
|
318
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_consumable_resources.html)
|
|
319
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_consumable_resources)
|
|
320
|
+
"""
|
|
321
|
+
|
|
272
322
|
def list_jobs(self, **kwargs: Unpack[ListJobsRequestTypeDef]) -> ListJobsResponseTypeDef:
|
|
273
323
|
"""
|
|
274
324
|
Returns a list of Batch jobs.
|
|
@@ -277,6 +327,16 @@ class BatchClient(BaseClient):
|
|
|
277
327
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_jobs)
|
|
278
328
|
"""
|
|
279
329
|
|
|
330
|
+
def list_jobs_by_consumable_resource(
|
|
331
|
+
self, **kwargs: Unpack[ListJobsByConsumableResourceRequestTypeDef]
|
|
332
|
+
) -> ListJobsByConsumableResourceResponseTypeDef:
|
|
333
|
+
"""
|
|
334
|
+
Returns a list of Batch jobs that require a specific consumable resource.
|
|
335
|
+
|
|
336
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/list_jobs_by_consumable_resource.html)
|
|
337
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_jobs_by_consumable_resource)
|
|
338
|
+
"""
|
|
339
|
+
|
|
280
340
|
def list_scheduling_policies(
|
|
281
341
|
self, **kwargs: Unpack[ListSchedulingPoliciesRequestTypeDef]
|
|
282
342
|
) -> ListSchedulingPoliciesResponseTypeDef:
|
|
@@ -350,6 +410,16 @@ class BatchClient(BaseClient):
|
|
|
350
410
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_compute_environment)
|
|
351
411
|
"""
|
|
352
412
|
|
|
413
|
+
def update_consumable_resource(
|
|
414
|
+
self, **kwargs: Unpack[UpdateConsumableResourceRequestTypeDef]
|
|
415
|
+
) -> UpdateConsumableResourceResponseTypeDef:
|
|
416
|
+
"""
|
|
417
|
+
Updates a consumable resource.
|
|
418
|
+
|
|
419
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/update_consumable_resource.html)
|
|
420
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_consumable_resource)
|
|
421
|
+
"""
|
|
422
|
+
|
|
353
423
|
def update_job_queue(
|
|
354
424
|
self, **kwargs: Unpack[UpdateJobQueueRequestTypeDef]
|
|
355
425
|
) -> UpdateJobQueueResponseTypeDef:
|
|
@@ -403,6 +473,28 @@ class BatchClient(BaseClient):
|
|
|
403
473
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
404
474
|
"""
|
|
405
475
|
|
|
476
|
+
@overload # type: ignore[override]
|
|
477
|
+
def get_paginator( # type: ignore[override]
|
|
478
|
+
self, operation_name: Literal["list_consumable_resources"]
|
|
479
|
+
) -> ListConsumableResourcesPaginator:
|
|
480
|
+
"""
|
|
481
|
+
Create a paginator for an operation.
|
|
482
|
+
|
|
483
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
484
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
485
|
+
"""
|
|
486
|
+
|
|
487
|
+
@overload # type: ignore[override]
|
|
488
|
+
def get_paginator( # type: ignore[override]
|
|
489
|
+
self, operation_name: Literal["list_jobs_by_consumable_resource"]
|
|
490
|
+
) -> ListJobsByConsumableResourcePaginator:
|
|
491
|
+
"""
|
|
492
|
+
Create a paginator for an operation.
|
|
493
|
+
|
|
494
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/get_paginator.html)
|
|
495
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
|
|
496
|
+
"""
|
|
497
|
+
|
|
406
498
|
@overload # type: ignore[override]
|
|
407
499
|
def get_paginator( # type: ignore[override]
|
|
408
500
|
self, operation_name: Literal["list_jobs"]
|