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