types-boto3-batch 1.37.0__tar.gz → 1.37.2__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.
Files changed (24) hide show
  1. {types_boto3_batch-1.37.0/types_boto3_batch.egg-info → types_boto3_batch-1.37.2}/PKG-INFO +12 -4
  2. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/README.md +10 -2
  3. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/setup.py +2 -2
  4. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/__init__.py +8 -0
  5. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/__init__.pyi +8 -0
  6. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/__main__.py +3 -3
  7. types_boto3_batch-1.37.0/types_boto3_batch/client.pyi → types_boto3_batch-1.37.2/types_boto3_batch/client.py +98 -0
  8. types_boto3_batch-1.37.0/types_boto3_batch/client.py → types_boto3_batch-1.37.2/types_boto3_batch/client.pyi +95 -3
  9. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/literals.py +6 -0
  10. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/literals.pyi +6 -0
  11. types_boto3_batch-1.37.0/types_boto3_batch/paginator.pyi → types_boto3_batch-1.37.2/types_boto3_batch/paginator.py +70 -0
  12. types_boto3_batch-1.37.0/types_boto3_batch/paginator.py → types_boto3_batch-1.37.2/types_boto3_batch/paginator.pyi +47 -15
  13. types_boto3_batch-1.37.0/types_boto3_batch/type_defs.pyi → types_boto3_batch-1.37.2/types_boto3_batch/type_defs.py +319 -0
  14. types_boto3_batch-1.37.0/types_boto3_batch/type_defs.py → types_boto3_batch-1.37.2/types_boto3_batch/type_defs.pyi +118 -158
  15. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/version.py +1 -1
  16. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2/types_boto3_batch.egg-info}/PKG-INFO +12 -4
  17. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/LICENSE +0 -0
  18. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/setup.cfg +0 -0
  19. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch/py.typed +0 -0
  20. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch.egg-info/SOURCES.txt +0 -0
  21. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch.egg-info/dependency_links.txt +0 -0
  22. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch.egg-info/not-zip-safe +0 -0
  23. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch.egg-info/requires.txt +0 -0
  24. {types_boto3_batch-1.37.0 → types_boto3_batch-1.37.2}/types_boto3_batch.egg-info/top_level.txt +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: types-boto3-batch
3
- Version: 1.37.0
4
- Summary: Type annotations for boto3 Batch 1.37.0 service generated with mypy-boto3-builder 8.9.2
3
+ Version: 1.37.2
4
+ Summary: Type annotations for boto3 Batch 1.37.2 service generated with mypy-boto3-builder 8.9.2
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
@@ -55,7 +55,7 @@ Dynamic: summary
55
55
 
56
56
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
57
57
 
58
- Type annotations for [boto3 Batch 1.37.0](https://pypi.org/project/boto3/)
58
+ Type annotations for [boto3 Batch 1.37.2](https://pypi.org/project/boto3/)
59
59
  compatible with [VSCode](https://code.visualstudio.com/),
60
60
  [PyCharm](https://www.jetbrains.com/pycharm/),
61
61
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -117,7 +117,7 @@ You can generate type annotations for `boto3` package locally with
117
117
  isolation.
118
118
 
119
119
  1. Run mypy-boto3-builder in your package root directory:
120
- `uvx --with 'boto3==1.37.0' mypy-boto3-builder`
120
+ `uvx --with 'boto3==1.37.2' mypy-boto3-builder`
121
121
  2. Select `boto3` AWS SDK.
122
122
  3. Add `Batch` service.
123
123
  4. Use provided commands to install generated packages.
@@ -354,6 +354,8 @@ from types_boto3_batch.paginator import (
354
354
  DescribeComputeEnvironmentsPaginator,
355
355
  DescribeJobDefinitionsPaginator,
356
356
  DescribeJobQueuesPaginator,
357
+ ListConsumableResourcesPaginator,
358
+ ListJobsByConsumableResourcePaginator,
357
359
  ListJobsPaginator,
358
360
  ListSchedulingPoliciesPaginator,
359
361
  )
@@ -371,6 +373,12 @@ describe_job_definitions_paginator: DescribeJobDefinitionsPaginator = client.get
371
373
  describe_job_queues_paginator: DescribeJobQueuesPaginator = client.get_paginator(
372
374
  "describe_job_queues"
373
375
  )
376
+ list_consumable_resources_paginator: ListConsumableResourcesPaginator = client.get_paginator(
377
+ "list_consumable_resources"
378
+ )
379
+ list_jobs_by_consumable_resource_paginator: ListJobsByConsumableResourcePaginator = (
380
+ client.get_paginator("list_jobs_by_consumable_resource")
381
+ )
374
382
  list_jobs_paginator: ListJobsPaginator = client.get_paginator("list_jobs")
375
383
  list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator(
376
384
  "list_scheduling_policies"
@@ -9,7 +9,7 @@
9
9
 
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
- Type annotations for [boto3 Batch 1.37.0](https://pypi.org/project/boto3/)
12
+ Type annotations for [boto3 Batch 1.37.2](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.37.0' mypy-boto3-builder`
74
+ `uvx --with 'boto3==1.37.2' 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.0",
16
+ version="1.37.2",
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.0 service generated with mypy-boto3-builder 8.9.2",
22
+ description="Type annotations for boto3 Batch 1.37.2 service generated with mypy-boto3-builder 8.9.2",
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,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.37.0\n"
16
- "Version: 1.37.0\n"
15
+ "Type annotations for boto3 Batch 1.37.2\n"
16
+ "Version: 1.37.2\n"
17
17
  "Builder version: 8.9.2\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.37.0\n")
29
+ sys.stdout.write("1.37.2\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"]
@@ -44,6 +44,8 @@ __all__ = (
44
44
  "JobStateTimeLimitActionsActionType",
45
45
  "JobStateTimeLimitActionsStateType",
46
46
  "JobStatusType",
47
+ "ListConsumableResourcesPaginatorName",
48
+ "ListJobsByConsumableResourcePaginatorName",
47
49
  "ListJobsPaginatorName",
48
50
  "ListSchedulingPoliciesPaginatorName",
49
51
  "LogDriverType",
@@ -84,6 +86,8 @@ JobStateTimeLimitActionsStateType = Literal["RUNNABLE"]
84
86
  JobStatusType = Literal[
85
87
  "FAILED", "PENDING", "RUNNABLE", "RUNNING", "STARTING", "SUBMITTED", "SUCCEEDED"
86
88
  ]
89
+ ListConsumableResourcesPaginatorName = Literal["list_consumable_resources"]
90
+ ListJobsByConsumableResourcePaginatorName = Literal["list_jobs_by_consumable_resource"]
87
91
  ListJobsPaginatorName = Literal["list_jobs"]
88
92
  ListSchedulingPoliciesPaginatorName = Literal["list_scheduling_policies"]
89
93
  LogDriverType = Literal["awslogs", "fluentd", "gelf", "journald", "json-file", "splunk", "syslog"]
@@ -512,7 +516,9 @@ PaginatorName = Literal[
512
516
  "describe_compute_environments",
513
517
  "describe_job_definitions",
514
518
  "describe_job_queues",
519
+ "list_consumable_resources",
515
520
  "list_jobs",
521
+ "list_jobs_by_consumable_resource",
516
522
  "list_scheduling_policies",
517
523
  ]
518
524
  RegionName = Literal[
@@ -43,6 +43,8 @@ __all__ = (
43
43
  "JobStateTimeLimitActionsActionType",
44
44
  "JobStateTimeLimitActionsStateType",
45
45
  "JobStatusType",
46
+ "ListConsumableResourcesPaginatorName",
47
+ "ListJobsByConsumableResourcePaginatorName",
46
48
  "ListJobsPaginatorName",
47
49
  "ListSchedulingPoliciesPaginatorName",
48
50
  "LogDriverType",
@@ -82,6 +84,8 @@ JobStateTimeLimitActionsStateType = Literal["RUNNABLE"]
82
84
  JobStatusType = Literal[
83
85
  "FAILED", "PENDING", "RUNNABLE", "RUNNING", "STARTING", "SUBMITTED", "SUCCEEDED"
84
86
  ]
87
+ ListConsumableResourcesPaginatorName = Literal["list_consumable_resources"]
88
+ ListJobsByConsumableResourcePaginatorName = Literal["list_jobs_by_consumable_resource"]
85
89
  ListJobsPaginatorName = Literal["list_jobs"]
86
90
  ListSchedulingPoliciesPaginatorName = Literal["list_scheduling_policies"]
87
91
  LogDriverType = Literal["awslogs", "fluentd", "gelf", "journald", "json-file", "splunk", "syslog"]
@@ -510,7 +514,9 @@ PaginatorName = Literal[
510
514
  "describe_compute_environments",
511
515
  "describe_job_definitions",
512
516
  "describe_job_queues",
517
+ "list_consumable_resources",
513
518
  "list_jobs",
519
+ "list_jobs_by_consumable_resource",
514
520
  "list_scheduling_policies",
515
521
  ]
516
522
  RegionName = Literal[