types-boto3-batch 1.37.0__py3-none-any.whl → 1.37.22__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.0\n"
16
- "Version: 1.37.0\n"
17
- "Builder version: 8.9.2\n"
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.0\n")
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,
@@ -150,6 +163,16 @@ class BatchClient(BaseClient):
150
163
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_compute_environment)
151
164
  """
152
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
+
153
176
  def create_job_queue(
154
177
  self, **kwargs: Unpack[CreateJobQueueRequestTypeDef]
155
178
  ) -> CreateJobQueueResponseTypeDef:
@@ -180,6 +203,16 @@ class BatchClient(BaseClient):
180
203
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_compute_environment)
181
204
  """
182
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
+
183
216
  def delete_job_queue(self, **kwargs: Unpack[DeleteJobQueueRequestTypeDef]) -> Dict[str, Any]:
184
217
  """
185
218
  Deletes the specified job queue.
@@ -218,6 +251,16 @@ class BatchClient(BaseClient):
218
251
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_compute_environments)
219
252
  """
220
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
+
221
264
  def describe_job_definitions(
222
265
  self, **kwargs: Unpack[DescribeJobDefinitionsRequestTypeDef]
223
266
  ) -> DescribeJobDefinitionsResponseTypeDef:
@@ -269,6 +312,16 @@ class BatchClient(BaseClient):
269
312
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_job_queue_snapshot)
270
313
  """
271
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
+
272
325
  def list_jobs(self, **kwargs: Unpack[ListJobsRequestTypeDef]) -> ListJobsResponseTypeDef:
273
326
  """
274
327
  Returns a list of Batch jobs.
@@ -277,6 +330,16 @@ class BatchClient(BaseClient):
277
330
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_jobs)
278
331
  """
279
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
+
280
343
  def list_scheduling_policies(
281
344
  self, **kwargs: Unpack[ListSchedulingPoliciesRequestTypeDef]
282
345
  ) -> ListSchedulingPoliciesResponseTypeDef:
@@ -350,6 +413,16 @@ class BatchClient(BaseClient):
350
413
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_compute_environment)
351
414
  """
352
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
+
353
426
  def update_job_queue(
354
427
  self, **kwargs: Unpack[UpdateJobQueueRequestTypeDef]
355
428
  ) -> UpdateJobQueueResponseTypeDef:
@@ -403,6 +476,28 @@ class BatchClient(BaseClient):
403
476
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
404
477
  """
405
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
+
406
501
  @overload # type: ignore[override]
407
502
  def get_paginator( # type: ignore[override]
408
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,
@@ -147,6 +160,16 @@ class BatchClient(BaseClient):
147
160
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#create_compute_environment)
148
161
  """
149
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
+
150
173
  def create_job_queue(
151
174
  self, **kwargs: Unpack[CreateJobQueueRequestTypeDef]
152
175
  ) -> CreateJobQueueResponseTypeDef:
@@ -177,6 +200,16 @@ class BatchClient(BaseClient):
177
200
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#delete_compute_environment)
178
201
  """
179
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
+
180
213
  def delete_job_queue(self, **kwargs: Unpack[DeleteJobQueueRequestTypeDef]) -> Dict[str, Any]:
181
214
  """
182
215
  Deletes the specified job queue.
@@ -215,6 +248,16 @@ class BatchClient(BaseClient):
215
248
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#describe_compute_environments)
216
249
  """
217
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
+
218
261
  def describe_job_definitions(
219
262
  self, **kwargs: Unpack[DescribeJobDefinitionsRequestTypeDef]
220
263
  ) -> DescribeJobDefinitionsResponseTypeDef:
@@ -266,6 +309,16 @@ class BatchClient(BaseClient):
266
309
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_job_queue_snapshot)
267
310
  """
268
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
+
269
322
  def list_jobs(self, **kwargs: Unpack[ListJobsRequestTypeDef]) -> ListJobsResponseTypeDef:
270
323
  """
271
324
  Returns a list of Batch jobs.
@@ -274,6 +327,16 @@ class BatchClient(BaseClient):
274
327
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#list_jobs)
275
328
  """
276
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
+
277
340
  def list_scheduling_policies(
278
341
  self, **kwargs: Unpack[ListSchedulingPoliciesRequestTypeDef]
279
342
  ) -> ListSchedulingPoliciesResponseTypeDef:
@@ -347,6 +410,16 @@ class BatchClient(BaseClient):
347
410
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#update_compute_environment)
348
411
  """
349
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
+
350
423
  def update_job_queue(
351
424
  self, **kwargs: Unpack[UpdateJobQueueRequestTypeDef]
352
425
  ) -> UpdateJobQueueResponseTypeDef:
@@ -400,6 +473,28 @@ class BatchClient(BaseClient):
400
473
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/client/#get_paginator)
401
474
  """
402
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
+
403
498
  @overload # type: ignore[override]
404
499
  def get_paginator( # type: ignore[override]
405
500
  self, operation_name: Literal["list_jobs"]
@@ -38,12 +38,15 @@ __all__ = (
38
38
  "DeviceCgroupPermissionType",
39
39
  "EFSAuthorizationConfigIAMType",
40
40
  "EFSTransitEncryptionType",
41
+ "FirelensConfigurationTypeType",
41
42
  "JQStateType",
42
43
  "JQStatusType",
43
44
  "JobDefinitionTypeType",
44
45
  "JobStateTimeLimitActionsActionType",
45
46
  "JobStateTimeLimitActionsStateType",
46
47
  "JobStatusType",
48
+ "ListConsumableResourcesPaginatorName",
49
+ "ListJobsByConsumableResourcePaginatorName",
47
50
  "ListJobsPaginatorName",
48
51
  "ListSchedulingPoliciesPaginatorName",
49
52
  "LogDriverType",
@@ -76,6 +79,7 @@ DescribeJobQueuesPaginatorName = Literal["describe_job_queues"]
76
79
  DeviceCgroupPermissionType = Literal["MKNOD", "READ", "WRITE"]
77
80
  EFSAuthorizationConfigIAMType = Literal["DISABLED", "ENABLED"]
78
81
  EFSTransitEncryptionType = Literal["DISABLED", "ENABLED"]
82
+ FirelensConfigurationTypeType = Literal["fluentbit", "fluentd"]
79
83
  JQStateType = Literal["DISABLED", "ENABLED"]
80
84
  JQStatusType = Literal["CREATING", "DELETED", "DELETING", "INVALID", "UPDATING", "VALID"]
81
85
  JobDefinitionTypeType = Literal["container", "multinode"]
@@ -84,9 +88,13 @@ JobStateTimeLimitActionsStateType = Literal["RUNNABLE"]
84
88
  JobStatusType = Literal[
85
89
  "FAILED", "PENDING", "RUNNABLE", "RUNNING", "STARTING", "SUBMITTED", "SUCCEEDED"
86
90
  ]
91
+ ListConsumableResourcesPaginatorName = Literal["list_consumable_resources"]
92
+ ListJobsByConsumableResourcePaginatorName = Literal["list_jobs_by_consumable_resource"]
87
93
  ListJobsPaginatorName = Literal["list_jobs"]
88
94
  ListSchedulingPoliciesPaginatorName = Literal["list_scheduling_policies"]
89
- LogDriverType = Literal["awslogs", "fluentd", "gelf", "journald", "json-file", "splunk", "syslog"]
95
+ LogDriverType = Literal[
96
+ "awsfirelens", "awslogs", "fluentd", "gelf", "journald", "json-file", "splunk", "syslog"
97
+ ]
90
98
  OrchestrationTypeType = Literal["ECS", "EKS"]
91
99
  PlatformCapabilityType = Literal["EC2", "FARGATE"]
92
100
  ResourceTypeType = Literal["GPU", "MEMORY", "VCPU"]
@@ -248,6 +256,7 @@ ServiceName = Literal[
248
256
  "freetier",
249
257
  "fsx",
250
258
  "gamelift",
259
+ "gameliftstreams",
251
260
  "geo-maps",
252
261
  "geo-places",
253
262
  "geo-routes",
@@ -273,6 +282,7 @@ ServiceName = Literal[
273
282
  "iot",
274
283
  "iot-data",
275
284
  "iot-jobs-data",
285
+ "iot-managed-integrations",
276
286
  "iotanalytics",
277
287
  "iotdeviceadvisor",
278
288
  "iotevents",
@@ -512,7 +522,9 @@ PaginatorName = Literal[
512
522
  "describe_compute_environments",
513
523
  "describe_job_definitions",
514
524
  "describe_job_queues",
525
+ "list_consumable_resources",
515
526
  "list_jobs",
527
+ "list_jobs_by_consumable_resource",
516
528
  "list_scheduling_policies",
517
529
  ]
518
530
  RegionName = Literal[
@@ -37,12 +37,15 @@ __all__ = (
37
37
  "DeviceCgroupPermissionType",
38
38
  "EFSAuthorizationConfigIAMType",
39
39
  "EFSTransitEncryptionType",
40
+ "FirelensConfigurationTypeType",
40
41
  "JQStateType",
41
42
  "JQStatusType",
42
43
  "JobDefinitionTypeType",
43
44
  "JobStateTimeLimitActionsActionType",
44
45
  "JobStateTimeLimitActionsStateType",
45
46
  "JobStatusType",
47
+ "ListConsumableResourcesPaginatorName",
48
+ "ListJobsByConsumableResourcePaginatorName",
46
49
  "ListJobsPaginatorName",
47
50
  "ListSchedulingPoliciesPaginatorName",
48
51
  "LogDriverType",
@@ -74,6 +77,7 @@ DescribeJobQueuesPaginatorName = Literal["describe_job_queues"]
74
77
  DeviceCgroupPermissionType = Literal["MKNOD", "READ", "WRITE"]
75
78
  EFSAuthorizationConfigIAMType = Literal["DISABLED", "ENABLED"]
76
79
  EFSTransitEncryptionType = Literal["DISABLED", "ENABLED"]
80
+ FirelensConfigurationTypeType = Literal["fluentbit", "fluentd"]
77
81
  JQStateType = Literal["DISABLED", "ENABLED"]
78
82
  JQStatusType = Literal["CREATING", "DELETED", "DELETING", "INVALID", "UPDATING", "VALID"]
79
83
  JobDefinitionTypeType = Literal["container", "multinode"]
@@ -82,9 +86,13 @@ JobStateTimeLimitActionsStateType = Literal["RUNNABLE"]
82
86
  JobStatusType = Literal[
83
87
  "FAILED", "PENDING", "RUNNABLE", "RUNNING", "STARTING", "SUBMITTED", "SUCCEEDED"
84
88
  ]
89
+ ListConsumableResourcesPaginatorName = Literal["list_consumable_resources"]
90
+ ListJobsByConsumableResourcePaginatorName = Literal["list_jobs_by_consumable_resource"]
85
91
  ListJobsPaginatorName = Literal["list_jobs"]
86
92
  ListSchedulingPoliciesPaginatorName = Literal["list_scheduling_policies"]
87
- LogDriverType = Literal["awslogs", "fluentd", "gelf", "journald", "json-file", "splunk", "syslog"]
93
+ LogDriverType = Literal[
94
+ "awsfirelens", "awslogs", "fluentd", "gelf", "journald", "json-file", "splunk", "syslog"
95
+ ]
88
96
  OrchestrationTypeType = Literal["ECS", "EKS"]
89
97
  PlatformCapabilityType = Literal["EC2", "FARGATE"]
90
98
  ResourceTypeType = Literal["GPU", "MEMORY", "VCPU"]
@@ -246,6 +254,7 @@ ServiceName = Literal[
246
254
  "freetier",
247
255
  "fsx",
248
256
  "gamelift",
257
+ "gameliftstreams",
249
258
  "geo-maps",
250
259
  "geo-places",
251
260
  "geo-routes",
@@ -271,6 +280,7 @@ ServiceName = Literal[
271
280
  "iot",
272
281
  "iot-data",
273
282
  "iot-jobs-data",
283
+ "iot-managed-integrations",
274
284
  "iotanalytics",
275
285
  "iotdeviceadvisor",
276
286
  "iotevents",
@@ -510,7 +520,9 @@ PaginatorName = Literal[
510
520
  "describe_compute_environments",
511
521
  "describe_job_definitions",
512
522
  "describe_job_queues",
523
+ "list_consumable_resources",
513
524
  "list_jobs",
525
+ "list_jobs_by_consumable_resource",
514
526
  "list_scheduling_policies",
515
527
  ]
516
528
  RegionName = Literal[
@@ -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
  ```
@@ -44,6 +48,10 @@ from .type_defs import (
44
48
  DescribeJobDefinitionsResponseTypeDef,
45
49
  DescribeJobQueuesRequestPaginateTypeDef,
46
50
  DescribeJobQueuesResponseTypeDef,
51
+ ListConsumableResourcesRequestPaginateTypeDef,
52
+ ListConsumableResourcesResponseTypeDef,
53
+ ListJobsByConsumableResourceRequestPaginateTypeDef,
54
+ ListJobsByConsumableResourceResponseTypeDef,
47
55
  ListJobsRequestPaginateTypeDef,
48
56
  ListJobsResponseTypeDef,
49
57
  ListSchedulingPoliciesRequestPaginateTypeDef,
@@ -60,6 +68,8 @@ __all__ = (
60
68
  "DescribeComputeEnvironmentsPaginator",
61
69
  "DescribeJobDefinitionsPaginator",
62
70
  "DescribeJobQueuesPaginator",
71
+ "ListConsumableResourcesPaginator",
72
+ "ListJobsByConsumableResourcePaginator",
63
73
  "ListJobsPaginator",
64
74
  "ListSchedulingPoliciesPaginator",
65
75
  )
@@ -130,6 +140,50 @@ class DescribeJobQueuesPaginator(_DescribeJobQueuesPaginatorBase):
130
140
  """
131
141
 
132
142
 
143
+ if TYPE_CHECKING:
144
+ _ListConsumableResourcesPaginatorBase = Paginator[ListConsumableResourcesResponseTypeDef]
145
+ else:
146
+ _ListConsumableResourcesPaginatorBase = Paginator # type: ignore[assignment]
147
+
148
+
149
+ class ListConsumableResourcesPaginator(_ListConsumableResourcesPaginatorBase):
150
+ """
151
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListConsumableResources.html#Batch.Paginator.ListConsumableResources)
152
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listconsumableresourcespaginator)
153
+ """
154
+
155
+ def paginate( # type: ignore[override]
156
+ self, **kwargs: Unpack[ListConsumableResourcesRequestPaginateTypeDef]
157
+ ) -> PageIterator[ListConsumableResourcesResponseTypeDef]:
158
+ """
159
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListConsumableResources.html#Batch.Paginator.ListConsumableResources.paginate)
160
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listconsumableresourcespaginator)
161
+ """
162
+
163
+
164
+ if TYPE_CHECKING:
165
+ _ListJobsByConsumableResourcePaginatorBase = Paginator[
166
+ ListJobsByConsumableResourceResponseTypeDef
167
+ ]
168
+ else:
169
+ _ListJobsByConsumableResourcePaginatorBase = Paginator # type: ignore[assignment]
170
+
171
+
172
+ class ListJobsByConsumableResourcePaginator(_ListJobsByConsumableResourcePaginatorBase):
173
+ """
174
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobsByConsumableResource.html#Batch.Paginator.ListJobsByConsumableResource)
175
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listjobsbyconsumableresourcepaginator)
176
+ """
177
+
178
+ def paginate( # type: ignore[override]
179
+ self, **kwargs: Unpack[ListJobsByConsumableResourceRequestPaginateTypeDef]
180
+ ) -> PageIterator[ListJobsByConsumableResourceResponseTypeDef]:
181
+ """
182
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobsByConsumableResource.html#Batch.Paginator.ListJobsByConsumableResource.paginate)
183
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listjobsbyconsumableresourcepaginator)
184
+ """
185
+
186
+
133
187
  if TYPE_CHECKING:
134
188
  _ListJobsPaginatorBase = Paginator[ListJobsResponseTypeDef]
135
189
  else: