mypy-boto3-batch 1.34.39__tar.gz → 1.35.57__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 (26) hide show
  1. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/PKG-INFO +9 -9
  2. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/README.md +6 -7
  3. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/__init__.py +1 -0
  4. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/__main__.py +4 -4
  5. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/client.py +79 -134
  6. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/client.pyi +78 -134
  7. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/literals.py +32 -12
  8. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/literals.pyi +30 -12
  9. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/paginator.py +24 -26
  10. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/paginator.pyi +22 -31
  11. mypy_boto3_batch-1.35.57/mypy_boto3_batch/type_defs.py +1552 -0
  12. mypy_boto3_batch-1.35.57/mypy_boto3_batch/type_defs.pyi +1381 -0
  13. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/version.py +1 -1
  14. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/PKG-INFO +9 -9
  15. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/setup.py +4 -3
  16. mypy-boto3-batch-1.34.39/mypy_boto3_batch/type_defs.py +0 -1348
  17. mypy-boto3-batch-1.34.39/mypy_boto3_batch/type_defs.pyi +0 -1348
  18. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/LICENSE +0 -0
  19. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/__init__.pyi +0 -0
  20. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/py.typed +0 -0
  21. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
  22. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
  23. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
  24. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/requires.txt +0 -0
  25. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
  26. {mypy-boto3-batch-1.34.39 → mypy_boto3_batch-1.35.57}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-batch
3
- Version: 1.34.39
4
- Summary: Type annotations for boto3.Batch 1.34.39 service generated with mypy-boto3-builder 7.23.1
3
+ Version: 1.35.57
4
+ Summary: Type annotations for boto3.Batch 1.35.57 service generated with mypy-boto3-builder 8.2.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
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.10
23
23
  Classifier: Programming Language :: Python :: 3.11
24
24
  Classifier: Programming Language :: Python :: 3.12
25
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
26
27
  Classifier: Programming Language :: Python :: 3 :: Only
27
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
29
  Classifier: Typing :: Stubs Only
@@ -43,7 +44,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
43
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
45
 
45
46
  Type annotations for
46
- [boto3.Batch 1.34.39](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
47
+ [boto3.Batch 1.35.57](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
47
48
  service compatible with [VSCode](https://code.visualstudio.com/),
48
49
  [PyCharm](https://www.jetbrains.com/pycharm/),
49
50
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -52,7 +53,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
52
53
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
54
 
54
55
  Generated by
55
- [mypy-boto3-builder 7.23.1](https://github.com/youtype/mypy_boto3_builder).
56
+ [mypy-boto3-builder 8.2.1](https://github.com/youtype/mypy_boto3_builder).
56
57
 
57
58
  More information can be found on
58
59
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -160,7 +161,7 @@ annotations required, write your `boto3` code as usual.
160
161
  Install `boto3-stubs-lite[batch]` in your environment:
161
162
 
162
163
  ```bash
163
- python -m pip install 'boto3-stubs-lite[batch]'`
164
+ python -m pip install 'boto3-stubs-lite[batch]'
164
165
  ```
165
166
 
166
167
  Both type checking and code completion should now work. Explicit type
@@ -230,7 +231,7 @@ should work.
230
231
  - Install `boto3-stubs[batch]` in your environment:
231
232
 
232
233
  ```bash
233
- python -m pip install 'boto3-stubs[batch]'`
234
+ python -m pip install 'boto3-stubs[batch]'
234
235
  ```
235
236
 
236
237
  Type checking should now work. No explicit type annotations required, write
@@ -247,7 +248,7 @@ your `boto3` code as usual.
247
248
  python -m pip install 'boto3-stubs[batch]'
248
249
  ```
249
250
 
250
- Optionally, you can install `boto3-stubs` to `typings` folder.
251
+ Optionally, you can install `boto3-stubs` to `typings` directory.
251
252
 
252
253
  Type checking should now work. No explicit type annotations required, write
253
254
  your `boto3` code as usual.
@@ -359,8 +360,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
359
360
  annotations extracted from `botocore` schemas.
360
361
  - Type annotations include up-to-date documentation.
361
362
  - Link to documentation is provided for every method.
362
- - Code is processed by [black](https://github.com/psf/black) and
363
- [isort](https://github.com/PyCQA/isort) for readability.
363
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
364
364
 
365
365
  <a id="what's-new"></a>
366
366
 
@@ -10,7 +10,7 @@
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
12
  Type annotations for
13
- [boto3.Batch 1.34.39](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
13
+ [boto3.Batch 1.35.57](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
14
14
  service compatible with [VSCode](https://code.visualstudio.com/),
15
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
16
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
19
19
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
20
 
21
21
  Generated by
22
- [mypy-boto3-builder 7.23.1](https://github.com/youtype/mypy_boto3_builder).
22
+ [mypy-boto3-builder 8.2.1](https://github.com/youtype/mypy_boto3_builder).
23
23
 
24
24
  More information can be found on
25
25
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -127,7 +127,7 @@ annotations required, write your `boto3` code as usual.
127
127
  Install `boto3-stubs-lite[batch]` in your environment:
128
128
 
129
129
  ```bash
130
- python -m pip install 'boto3-stubs-lite[batch]'`
130
+ python -m pip install 'boto3-stubs-lite[batch]'
131
131
  ```
132
132
 
133
133
  Both type checking and code completion should now work. Explicit type
@@ -197,7 +197,7 @@ should work.
197
197
  - Install `boto3-stubs[batch]` in your environment:
198
198
 
199
199
  ```bash
200
- python -m pip install 'boto3-stubs[batch]'`
200
+ python -m pip install 'boto3-stubs[batch]'
201
201
  ```
202
202
 
203
203
  Type checking should now work. No explicit type annotations required, write
@@ -214,7 +214,7 @@ your `boto3` code as usual.
214
214
  python -m pip install 'boto3-stubs[batch]'
215
215
  ```
216
216
 
217
- Optionally, you can install `boto3-stubs` to `typings` folder.
217
+ Optionally, you can install `boto3-stubs` to `typings` directory.
218
218
 
219
219
  Type checking should now work. No explicit type annotations required, write
220
220
  your `boto3` code as usual.
@@ -326,8 +326,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
326
326
  annotations extracted from `botocore` schemas.
327
327
  - Type annotations include up-to-date documentation.
328
328
  - Link to documentation is provided for every method.
329
- - Code is processed by [black](https://github.com/psf/black) and
330
- [isort](https://github.com/PyCQA/isort) for readability.
329
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
331
330
 
332
331
  <a id="what's-new"></a>
333
332
 
@@ -37,6 +37,7 @@ from .paginator import (
37
37
 
38
38
  Client = BatchClient
39
39
 
40
+
40
41
  __all__ = (
41
42
  "BatchClient",
42
43
  "Client",
@@ -10,9 +10,9 @@ def print_info() -> None:
10
10
  Print package info to stdout.
11
11
  """
12
12
  print(
13
- "Type annotations for boto3.Batch 1.34.39\n"
14
- "Version: 1.34.39\n"
15
- "Builder version: 7.23.1\n"
13
+ "Type annotations for boto3.Batch 1.35.57\n"
14
+ "Version: 1.35.57\n"
15
+ "Builder version: 8.2.1\n"
16
16
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
17
17
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch\n"
18
18
  "Other services: https://pypi.org/project/boto3-stubs/\n"
@@ -24,7 +24,7 @@ def print_version() -> None:
24
24
  """
25
25
  Print package version to stdout.
26
26
  """
27
- print("1.34.39")
27
+ print("1.35.57")
28
28
 
29
29
 
30
30
  def main() -> None:
@@ -15,18 +15,10 @@ Usage::
15
15
  """
16
16
 
17
17
  import sys
18
- from typing import Any, Dict, Mapping, Sequence, Type, overload
18
+ from typing import Any, Dict, Mapping, Type, overload
19
19
 
20
20
  from botocore.client import BaseClient, ClientMeta
21
21
 
22
- from .literals import (
23
- CEStateType,
24
- CETypeType,
25
- JobDefinitionTypeType,
26
- JobStatusType,
27
- JQStateType,
28
- PlatformCapabilityType,
29
- )
30
22
  from .paginator import (
31
23
  DescribeComputeEnvironmentsPaginator,
32
24
  DescribeJobDefinitionsPaginator,
@@ -35,44 +27,54 @@ from .paginator import (
35
27
  ListSchedulingPoliciesPaginator,
36
28
  )
37
29
  from .type_defs import (
38
- ArrayPropertiesTypeDef,
39
- ComputeEnvironmentOrderTypeDef,
40
- ComputeResourceTypeDef,
41
- ComputeResourceUpdateTypeDef,
42
- ContainerOverridesTypeDef,
43
- ContainerPropertiesTypeDef,
30
+ CancelJobRequestRequestTypeDef,
31
+ CreateComputeEnvironmentRequestRequestTypeDef,
44
32
  CreateComputeEnvironmentResponseTypeDef,
33
+ CreateJobQueueRequestRequestTypeDef,
45
34
  CreateJobQueueResponseTypeDef,
35
+ CreateSchedulingPolicyRequestRequestTypeDef,
46
36
  CreateSchedulingPolicyResponseTypeDef,
37
+ DeleteComputeEnvironmentRequestRequestTypeDef,
38
+ DeleteJobQueueRequestRequestTypeDef,
39
+ DeleteSchedulingPolicyRequestRequestTypeDef,
40
+ DeregisterJobDefinitionRequestRequestTypeDef,
41
+ DescribeComputeEnvironmentsRequestRequestTypeDef,
47
42
  DescribeComputeEnvironmentsResponseTypeDef,
43
+ DescribeJobDefinitionsRequestRequestTypeDef,
48
44
  DescribeJobDefinitionsResponseTypeDef,
45
+ DescribeJobQueuesRequestRequestTypeDef,
49
46
  DescribeJobQueuesResponseTypeDef,
47
+ DescribeJobsRequestRequestTypeDef,
50
48
  DescribeJobsResponseTypeDef,
49
+ DescribeSchedulingPoliciesRequestRequestTypeDef,
51
50
  DescribeSchedulingPoliciesResponseTypeDef,
52
- EksConfigurationTypeDef,
53
- EksPropertiesOverrideTypeDef,
54
- EksPropertiesTypeDef,
55
- FairsharePolicyTypeDef,
56
- JobDependencyTypeDef,
57
- JobTimeoutTypeDef,
58
- KeyValuesPairTypeDef,
51
+ GetJobQueueSnapshotRequestRequestTypeDef,
52
+ GetJobQueueSnapshotResponseTypeDef,
53
+ ListJobsRequestRequestTypeDef,
59
54
  ListJobsResponseTypeDef,
55
+ ListSchedulingPoliciesRequestRequestTypeDef,
60
56
  ListSchedulingPoliciesResponseTypeDef,
57
+ ListTagsForResourceRequestRequestTypeDef,
61
58
  ListTagsForResourceResponseTypeDef,
62
- NodeOverridesTypeDef,
63
- NodePropertiesTypeDef,
59
+ RegisterJobDefinitionRequestRequestTypeDef,
64
60
  RegisterJobDefinitionResponseTypeDef,
65
- RetryStrategyTypeDef,
61
+ SubmitJobRequestRequestTypeDef,
66
62
  SubmitJobResponseTypeDef,
63
+ TagResourceRequestRequestTypeDef,
64
+ TerminateJobRequestRequestTypeDef,
65
+ UntagResourceRequestRequestTypeDef,
66
+ UpdateComputeEnvironmentRequestRequestTypeDef,
67
67
  UpdateComputeEnvironmentResponseTypeDef,
68
+ UpdateJobQueueRequestRequestTypeDef,
68
69
  UpdateJobQueueResponseTypeDef,
69
- UpdatePolicyTypeDef,
70
+ UpdateSchedulingPolicyRequestRequestTypeDef,
70
71
  )
71
72
 
72
73
  if sys.version_info >= (3, 12):
73
- from typing import Literal
74
+ from typing import Literal, Unpack
74
75
  else:
75
- from typing_extensions import Literal
76
+ from typing_extensions import Literal, Unpack
77
+
76
78
 
77
79
  __all__ = ("BatchClient",)
78
80
 
@@ -116,7 +118,7 @@ class BatchClient(BaseClient):
116
118
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
117
119
  """
118
120
 
119
- def cancel_job(self, *, jobId: str, reason: str) -> Dict[str, Any]:
121
+ def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
120
122
  """
121
123
  Cancels a job in an Batch job queue.
122
124
 
@@ -133,16 +135,7 @@ class BatchClient(BaseClient):
133
135
  """
134
136
 
135
137
  def create_compute_environment(
136
- self,
137
- *,
138
- computeEnvironmentName: str,
139
- type: CETypeType,
140
- state: CEStateType = ...,
141
- unmanagedvCpus: int = ...,
142
- computeResources: ComputeResourceTypeDef = ...,
143
- serviceRole: str = ...,
144
- tags: Mapping[str, str] = ...,
145
- eksConfiguration: EksConfigurationTypeDef = ...,
138
+ self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
146
139
  ) -> CreateComputeEnvironmentResponseTypeDef:
147
140
  """
148
141
  Creates an Batch compute environment.
@@ -152,14 +145,7 @@ class BatchClient(BaseClient):
152
145
  """
153
146
 
154
147
  def create_job_queue(
155
- self,
156
- *,
157
- jobQueueName: str,
158
- priority: int,
159
- computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],
160
- state: JQStateType = ...,
161
- schedulingPolicyArn: str = ...,
162
- tags: Mapping[str, str] = ...,
148
+ self, **kwargs: Unpack[CreateJobQueueRequestRequestTypeDef]
163
149
  ) -> CreateJobQueueResponseTypeDef:
164
150
  """
165
151
  Creates an Batch job queue.
@@ -169,11 +155,7 @@ class BatchClient(BaseClient):
169
155
  """
170
156
 
171
157
  def create_scheduling_policy(
172
- self,
173
- *,
174
- name: str,
175
- fairsharePolicy: FairsharePolicyTypeDef = ...,
176
- tags: Mapping[str, str] = ...,
158
+ self, **kwargs: Unpack[CreateSchedulingPolicyRequestRequestTypeDef]
177
159
  ) -> CreateSchedulingPolicyResponseTypeDef:
178
160
  """
179
161
  Creates an Batch scheduling policy.
@@ -182,7 +164,9 @@ class BatchClient(BaseClient):
182
164
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
183
165
  """
184
166
 
185
- def delete_compute_environment(self, *, computeEnvironment: str) -> Dict[str, Any]:
167
+ def delete_compute_environment(
168
+ self, **kwargs: Unpack[DeleteComputeEnvironmentRequestRequestTypeDef]
169
+ ) -> Dict[str, Any]:
186
170
  """
187
171
  Deletes an Batch compute environment.
188
172
 
@@ -190,7 +174,9 @@ class BatchClient(BaseClient):
190
174
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
191
175
  """
192
176
 
193
- def delete_job_queue(self, *, jobQueue: str) -> Dict[str, Any]:
177
+ def delete_job_queue(
178
+ self, **kwargs: Unpack[DeleteJobQueueRequestRequestTypeDef]
179
+ ) -> Dict[str, Any]:
194
180
  """
195
181
  Deletes the specified job queue.
196
182
 
@@ -198,7 +184,9 @@ class BatchClient(BaseClient):
198
184
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
199
185
  """
200
186
 
201
- def delete_scheduling_policy(self, *, arn: str) -> Dict[str, Any]:
187
+ def delete_scheduling_policy(
188
+ self, **kwargs: Unpack[DeleteSchedulingPolicyRequestRequestTypeDef]
189
+ ) -> Dict[str, Any]:
202
190
  """
203
191
  Deletes the specified scheduling policy.
204
192
 
@@ -206,7 +194,9 @@ class BatchClient(BaseClient):
206
194
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
207
195
  """
208
196
 
209
- def deregister_job_definition(self, *, jobDefinition: str) -> Dict[str, Any]:
197
+ def deregister_job_definition(
198
+ self, **kwargs: Unpack[DeregisterJobDefinitionRequestRequestTypeDef]
199
+ ) -> Dict[str, Any]:
210
200
  """
211
201
  Deregisters an Batch job definition.
212
202
 
@@ -215,11 +205,7 @@ class BatchClient(BaseClient):
215
205
  """
216
206
 
217
207
  def describe_compute_environments(
218
- self,
219
- *,
220
- computeEnvironments: Sequence[str] = ...,
221
- maxResults: int = ...,
222
- nextToken: str = ...,
208
+ self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestRequestTypeDef]
223
209
  ) -> DescribeComputeEnvironmentsResponseTypeDef:
224
210
  """
225
211
  Describes one or more of your compute environments.
@@ -229,13 +215,7 @@ class BatchClient(BaseClient):
229
215
  """
230
216
 
231
217
  def describe_job_definitions(
232
- self,
233
- *,
234
- jobDefinitions: Sequence[str] = ...,
235
- maxResults: int = ...,
236
- jobDefinitionName: str = ...,
237
- status: str = ...,
238
- nextToken: str = ...,
218
+ self, **kwargs: Unpack[DescribeJobDefinitionsRequestRequestTypeDef]
239
219
  ) -> DescribeJobDefinitionsResponseTypeDef:
240
220
  """
241
221
  Describes a list of job definitions.
@@ -245,7 +225,7 @@ class BatchClient(BaseClient):
245
225
  """
246
226
 
247
227
  def describe_job_queues(
248
- self, *, jobQueues: Sequence[str] = ..., maxResults: int = ..., nextToken: str = ...
228
+ self, **kwargs: Unpack[DescribeJobQueuesRequestRequestTypeDef]
249
229
  ) -> DescribeJobQueuesResponseTypeDef:
250
230
  """
251
231
  Describes one or more of your job queues.
@@ -254,7 +234,9 @@ class BatchClient(BaseClient):
254
234
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
255
235
  """
256
236
 
257
- def describe_jobs(self, *, jobs: Sequence[str]) -> DescribeJobsResponseTypeDef:
237
+ def describe_jobs(
238
+ self, **kwargs: Unpack[DescribeJobsRequestRequestTypeDef]
239
+ ) -> DescribeJobsResponseTypeDef:
258
240
  """
259
241
  Describes a list of Batch jobs.
260
242
 
@@ -263,7 +245,7 @@ class BatchClient(BaseClient):
263
245
  """
264
246
 
265
247
  def describe_scheduling_policies(
266
- self, *, arns: Sequence[str]
248
+ self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestRequestTypeDef]
267
249
  ) -> DescribeSchedulingPoliciesResponseTypeDef:
268
250
  """
269
251
  Describes one or more of your scheduling policies.
@@ -286,17 +268,18 @@ class BatchClient(BaseClient):
286
268
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
287
269
  """
288
270
 
289
- def list_jobs(
290
- self,
291
- *,
292
- jobQueue: str = ...,
293
- arrayJobId: str = ...,
294
- multiNodeJobId: str = ...,
295
- jobStatus: JobStatusType = ...,
296
- maxResults: int = ...,
297
- nextToken: str = ...,
298
- filters: Sequence[KeyValuesPairTypeDef] = ...,
299
- ) -> ListJobsResponseTypeDef:
271
+ def get_job_queue_snapshot(
272
+ self, **kwargs: Unpack[GetJobQueueSnapshotRequestRequestTypeDef]
273
+ ) -> GetJobQueueSnapshotResponseTypeDef:
274
+ """
275
+ Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
276
+ queue.
277
+
278
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_job_queue_snapshot)
279
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
280
+ """
281
+
282
+ def list_jobs(self, **kwargs: Unpack[ListJobsRequestRequestTypeDef]) -> ListJobsResponseTypeDef:
300
283
  """
301
284
  Returns a list of Batch jobs.
302
285
 
@@ -305,7 +288,7 @@ class BatchClient(BaseClient):
305
288
  """
306
289
 
307
290
  def list_scheduling_policies(
308
- self, *, maxResults: int = ..., nextToken: str = ...
291
+ self, **kwargs: Unpack[ListSchedulingPoliciesRequestRequestTypeDef]
309
292
  ) -> ListSchedulingPoliciesResponseTypeDef:
310
293
  """
311
294
  Returns a list of Batch scheduling policies.
@@ -314,7 +297,9 @@ class BatchClient(BaseClient):
314
297
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
315
298
  """
316
299
 
317
- def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
300
+ def list_tags_for_resource(
301
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
302
+ ) -> ListTagsForResourceResponseTypeDef:
318
303
  """
319
304
  Lists the tags for an Batch resource.
320
305
 
@@ -323,20 +308,7 @@ class BatchClient(BaseClient):
323
308
  """
324
309
 
325
310
  def register_job_definition(
326
- self,
327
- *,
328
- jobDefinitionName: str,
329
- type: JobDefinitionTypeType,
330
- parameters: Mapping[str, str] = ...,
331
- schedulingPriority: int = ...,
332
- containerProperties: ContainerPropertiesTypeDef = ...,
333
- nodeProperties: NodePropertiesTypeDef = ...,
334
- retryStrategy: RetryStrategyTypeDef = ...,
335
- propagateTags: bool = ...,
336
- timeout: JobTimeoutTypeDef = ...,
337
- tags: Mapping[str, str] = ...,
338
- platformCapabilities: Sequence[PlatformCapabilityType] = ...,
339
- eksProperties: EksPropertiesTypeDef = ...,
311
+ self, **kwargs: Unpack[RegisterJobDefinitionRequestRequestTypeDef]
340
312
  ) -> RegisterJobDefinitionResponseTypeDef:
341
313
  """
342
314
  Registers an Batch job definition.
@@ -346,23 +318,7 @@ class BatchClient(BaseClient):
346
318
  """
347
319
 
348
320
  def submit_job(
349
- self,
350
- *,
351
- jobName: str,
352
- jobQueue: str,
353
- jobDefinition: str,
354
- shareIdentifier: str = ...,
355
- schedulingPriorityOverride: int = ...,
356
- arrayProperties: ArrayPropertiesTypeDef = ...,
357
- dependsOn: Sequence[JobDependencyTypeDef] = ...,
358
- parameters: Mapping[str, str] = ...,
359
- containerOverrides: ContainerOverridesTypeDef = ...,
360
- nodeOverrides: NodeOverridesTypeDef = ...,
361
- retryStrategy: RetryStrategyTypeDef = ...,
362
- propagateTags: bool = ...,
363
- timeout: JobTimeoutTypeDef = ...,
364
- tags: Mapping[str, str] = ...,
365
- eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
321
+ self, **kwargs: Unpack[SubmitJobRequestRequestTypeDef]
366
322
  ) -> SubmitJobResponseTypeDef:
367
323
  """
368
324
  Submits an Batch job from a job definition.
@@ -371,7 +327,7 @@ class BatchClient(BaseClient):
371
327
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
372
328
  """
373
329
 
374
- def tag_resource(self, *, resourceArn: str, tags: Mapping[str, str]) -> Dict[str, Any]:
330
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
375
331
  """
376
332
  Associates the specified tags to a resource with the specified `resourceArn`.
377
333
 
@@ -379,7 +335,7 @@ class BatchClient(BaseClient):
379
335
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
380
336
  """
381
337
 
382
- def terminate_job(self, *, jobId: str, reason: str) -> Dict[str, Any]:
338
+ def terminate_job(self, **kwargs: Unpack[TerminateJobRequestRequestTypeDef]) -> Dict[str, Any]:
383
339
  """
384
340
  Terminates a job in a job queue.
385
341
 
@@ -387,7 +343,9 @@ class BatchClient(BaseClient):
387
343
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
388
344
  """
389
345
 
390
- def untag_resource(self, *, resourceArn: str, tagKeys: Sequence[str]) -> Dict[str, Any]:
346
+ def untag_resource(
347
+ self, **kwargs: Unpack[UntagResourceRequestRequestTypeDef]
348
+ ) -> Dict[str, Any]:
391
349
  """
392
350
  Deletes specified tags from an Batch resource.
393
351
 
@@ -396,14 +354,7 @@ class BatchClient(BaseClient):
396
354
  """
397
355
 
398
356
  def update_compute_environment(
399
- self,
400
- *,
401
- computeEnvironment: str,
402
- state: CEStateType = ...,
403
- unmanagedvCpus: int = ...,
404
- computeResources: ComputeResourceUpdateTypeDef = ...,
405
- serviceRole: str = ...,
406
- updatePolicy: UpdatePolicyTypeDef = ...,
357
+ self, **kwargs: Unpack[UpdateComputeEnvironmentRequestRequestTypeDef]
407
358
  ) -> UpdateComputeEnvironmentResponseTypeDef:
408
359
  """
409
360
  Updates an Batch compute environment.
@@ -413,13 +364,7 @@ class BatchClient(BaseClient):
413
364
  """
414
365
 
415
366
  def update_job_queue(
416
- self,
417
- *,
418
- jobQueue: str,
419
- state: JQStateType = ...,
420
- schedulingPolicyArn: str = ...,
421
- priority: int = ...,
422
- computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
367
+ self, **kwargs: Unpack[UpdateJobQueueRequestRequestTypeDef]
423
368
  ) -> UpdateJobQueueResponseTypeDef:
424
369
  """
425
370
  Updates a job queue.
@@ -429,7 +374,7 @@ class BatchClient(BaseClient):
429
374
  """
430
375
 
431
376
  def update_scheduling_policy(
432
- self, *, arn: str, fairsharePolicy: FairsharePolicyTypeDef = ...
377
+ self, **kwargs: Unpack[UpdateSchedulingPolicyRequestRequestTypeDef]
433
378
  ) -> Dict[str, Any]:
434
379
  """
435
380
  Updates a scheduling policy.