mypy-boto3-batch 1.34.0__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 (27) hide show
  1. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/LICENSE +1 -1
  2. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/PKG-INFO +12 -12
  3. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/README.md +6 -7
  4. mypy_boto3_batch-1.35.57/mypy_boto3_batch/__main__.py +40 -0
  5. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/client.py +78 -134
  6. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/client.pyi +78 -134
  7. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/literals.py +34 -12
  8. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/literals.pyi +34 -12
  9. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/paginator.py +23 -26
  10. {mypy-boto3-batch-1.34.0 → 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.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/version.py +1 -1
  14. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/PKG-INFO +12 -12
  15. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/setup.py +6 -8
  16. mypy-boto3-batch-1.34.0/mypy_boto3_batch/__main__.py +0 -39
  17. mypy-boto3-batch-1.34.0/mypy_boto3_batch/type_defs.py +0 -1340
  18. mypy-boto3-batch-1.34.0/mypy_boto3_batch/type_defs.pyi +0 -1339
  19. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/__init__.py +0 -0
  20. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/__init__.pyi +0 -0
  21. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch/py.typed +0 -0
  22. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
  23. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
  24. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
  25. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/requires.txt +0 -0
  26. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
  27. {mypy-boto3-batch-1.34.0 → mypy_boto3_batch-1.35.57}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Vlad Emelianov
3
+ Copyright (c) 2024 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-batch
3
- Version: 1.34.0
4
- Summary: Type annotations for boto3.Batch 1.34.0 service generated with mypy-boto3-builder 7.21.0
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
@@ -17,19 +17,20 @@ Classifier: License :: OSI Approved :: MIT License
17
17
  Classifier: Natural Language :: English
18
18
  Classifier: Operating System :: OS Independent
19
19
  Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.7
21
20
  Classifier: Programming Language :: Python :: 3.8
22
21
  Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Programming Language :: Python :: 3 :: Only
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
- Classifier: Typing :: Typed
30
- Requires-Python: >=3.7
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
31
  Description-Content-Type: text/markdown
32
32
  License-File: LICENSE
33
+ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
34
 
34
35
  <a id="mypy-boto3-batch"></a>
35
36
 
@@ -43,7 +44,7 @@ License-File: LICENSE
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.0](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.21.0](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.0](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.21.0](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
 
@@ -0,0 +1,40 @@
1
+ """
2
+ Main CLI entrypoint.
3
+ """
4
+
5
+ import sys
6
+
7
+
8
+ def print_info() -> None:
9
+ """
10
+ Print package info to stdout.
11
+ """
12
+ print(
13
+ "Type annotations for boto3.Batch 1.35.57\n"
14
+ "Version: 1.35.57\n"
15
+ "Builder version: 8.2.1\n"
16
+ "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
17
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch\n"
18
+ "Other services: https://pypi.org/project/boto3-stubs/\n"
19
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
20
+ )
21
+
22
+
23
+ def print_version() -> None:
24
+ """
25
+ Print package version to stdout.
26
+ """
27
+ print("1.35.57")
28
+
29
+
30
+ def main() -> None:
31
+ """
32
+ Main CLI entrypoint.
33
+ """
34
+ if "--version" in sys.argv:
35
+ return print_version()
36
+ print_info()
37
+
38
+
39
+ if __name__ == "__main__":
40
+ main()
@@ -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,53 @@ 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
76
77
 
77
78
 
78
79
  __all__ = ("BatchClient",)
@@ -117,7 +118,7 @@ class BatchClient(BaseClient):
117
118
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#can_paginate)
118
119
  """
119
120
 
120
- def cancel_job(self, *, jobId: str, reason: str) -> Dict[str, Any]:
121
+ def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
121
122
  """
122
123
  Cancels a job in an Batch job queue.
123
124
 
@@ -134,16 +135,7 @@ class BatchClient(BaseClient):
134
135
  """
135
136
 
136
137
  def create_compute_environment(
137
- self,
138
- *,
139
- computeEnvironmentName: str,
140
- type: CETypeType,
141
- state: CEStateType = ...,
142
- unmanagedvCpus: int = ...,
143
- computeResources: ComputeResourceTypeDef = ...,
144
- serviceRole: str = ...,
145
- tags: Mapping[str, str] = ...,
146
- eksConfiguration: EksConfigurationTypeDef = ...
138
+ self, **kwargs: Unpack[CreateComputeEnvironmentRequestRequestTypeDef]
147
139
  ) -> CreateComputeEnvironmentResponseTypeDef:
148
140
  """
149
141
  Creates an Batch compute environment.
@@ -153,14 +145,7 @@ class BatchClient(BaseClient):
153
145
  """
154
146
 
155
147
  def create_job_queue(
156
- self,
157
- *,
158
- jobQueueName: str,
159
- priority: int,
160
- computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],
161
- state: JQStateType = ...,
162
- schedulingPolicyArn: str = ...,
163
- tags: Mapping[str, str] = ...
148
+ self, **kwargs: Unpack[CreateJobQueueRequestRequestTypeDef]
164
149
  ) -> CreateJobQueueResponseTypeDef:
165
150
  """
166
151
  Creates an Batch job queue.
@@ -170,11 +155,7 @@ class BatchClient(BaseClient):
170
155
  """
171
156
 
172
157
  def create_scheduling_policy(
173
- self,
174
- *,
175
- name: str,
176
- fairsharePolicy: FairsharePolicyTypeDef = ...,
177
- tags: Mapping[str, str] = ...
158
+ self, **kwargs: Unpack[CreateSchedulingPolicyRequestRequestTypeDef]
178
159
  ) -> CreateSchedulingPolicyResponseTypeDef:
179
160
  """
180
161
  Creates an Batch scheduling policy.
@@ -183,7 +164,9 @@ class BatchClient(BaseClient):
183
164
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#create_scheduling_policy)
184
165
  """
185
166
 
186
- def delete_compute_environment(self, *, computeEnvironment: str) -> Dict[str, Any]:
167
+ def delete_compute_environment(
168
+ self, **kwargs: Unpack[DeleteComputeEnvironmentRequestRequestTypeDef]
169
+ ) -> Dict[str, Any]:
187
170
  """
188
171
  Deletes an Batch compute environment.
189
172
 
@@ -191,7 +174,9 @@ class BatchClient(BaseClient):
191
174
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_compute_environment)
192
175
  """
193
176
 
194
- def delete_job_queue(self, *, jobQueue: str) -> Dict[str, Any]:
177
+ def delete_job_queue(
178
+ self, **kwargs: Unpack[DeleteJobQueueRequestRequestTypeDef]
179
+ ) -> Dict[str, Any]:
195
180
  """
196
181
  Deletes the specified job queue.
197
182
 
@@ -199,7 +184,9 @@ class BatchClient(BaseClient):
199
184
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_job_queue)
200
185
  """
201
186
 
202
- def delete_scheduling_policy(self, *, arn: str) -> Dict[str, Any]:
187
+ def delete_scheduling_policy(
188
+ self, **kwargs: Unpack[DeleteSchedulingPolicyRequestRequestTypeDef]
189
+ ) -> Dict[str, Any]:
203
190
  """
204
191
  Deletes the specified scheduling policy.
205
192
 
@@ -207,7 +194,9 @@ class BatchClient(BaseClient):
207
194
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#delete_scheduling_policy)
208
195
  """
209
196
 
210
- def deregister_job_definition(self, *, jobDefinition: str) -> Dict[str, Any]:
197
+ def deregister_job_definition(
198
+ self, **kwargs: Unpack[DeregisterJobDefinitionRequestRequestTypeDef]
199
+ ) -> Dict[str, Any]:
211
200
  """
212
201
  Deregisters an Batch job definition.
213
202
 
@@ -216,11 +205,7 @@ class BatchClient(BaseClient):
216
205
  """
217
206
 
218
207
  def describe_compute_environments(
219
- self,
220
- *,
221
- computeEnvironments: Sequence[str] = ...,
222
- maxResults: int = ...,
223
- nextToken: str = ...
208
+ self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestRequestTypeDef]
224
209
  ) -> DescribeComputeEnvironmentsResponseTypeDef:
225
210
  """
226
211
  Describes one or more of your compute environments.
@@ -230,13 +215,7 @@ class BatchClient(BaseClient):
230
215
  """
231
216
 
232
217
  def describe_job_definitions(
233
- self,
234
- *,
235
- jobDefinitions: Sequence[str] = ...,
236
- maxResults: int = ...,
237
- jobDefinitionName: str = ...,
238
- status: str = ...,
239
- nextToken: str = ...
218
+ self, **kwargs: Unpack[DescribeJobDefinitionsRequestRequestTypeDef]
240
219
  ) -> DescribeJobDefinitionsResponseTypeDef:
241
220
  """
242
221
  Describes a list of job definitions.
@@ -246,7 +225,7 @@ class BatchClient(BaseClient):
246
225
  """
247
226
 
248
227
  def describe_job_queues(
249
- self, *, jobQueues: Sequence[str] = ..., maxResults: int = ..., nextToken: str = ...
228
+ self, **kwargs: Unpack[DescribeJobQueuesRequestRequestTypeDef]
250
229
  ) -> DescribeJobQueuesResponseTypeDef:
251
230
  """
252
231
  Describes one or more of your job queues.
@@ -255,7 +234,9 @@ class BatchClient(BaseClient):
255
234
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#describe_job_queues)
256
235
  """
257
236
 
258
- def describe_jobs(self, *, jobs: Sequence[str]) -> DescribeJobsResponseTypeDef:
237
+ def describe_jobs(
238
+ self, **kwargs: Unpack[DescribeJobsRequestRequestTypeDef]
239
+ ) -> DescribeJobsResponseTypeDef:
259
240
  """
260
241
  Describes a list of Batch jobs.
261
242
 
@@ -264,7 +245,7 @@ class BatchClient(BaseClient):
264
245
  """
265
246
 
266
247
  def describe_scheduling_policies(
267
- self, *, arns: Sequence[str]
248
+ self, **kwargs: Unpack[DescribeSchedulingPoliciesRequestRequestTypeDef]
268
249
  ) -> DescribeSchedulingPoliciesResponseTypeDef:
269
250
  """
270
251
  Describes one or more of your scheduling policies.
@@ -287,17 +268,18 @@ class BatchClient(BaseClient):
287
268
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
288
269
  """
289
270
 
290
- def list_jobs(
291
- self,
292
- *,
293
- jobQueue: str = ...,
294
- arrayJobId: str = ...,
295
- multiNodeJobId: str = ...,
296
- jobStatus: JobStatusType = ...,
297
- maxResults: int = ...,
298
- nextToken: str = ...,
299
- filters: Sequence[KeyValuesPairTypeDef] = ...
300
- ) -> 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:
301
283
  """
302
284
  Returns a list of Batch jobs.
303
285
 
@@ -306,7 +288,7 @@ class BatchClient(BaseClient):
306
288
  """
307
289
 
308
290
  def list_scheduling_policies(
309
- self, *, maxResults: int = ..., nextToken: str = ...
291
+ self, **kwargs: Unpack[ListSchedulingPoliciesRequestRequestTypeDef]
310
292
  ) -> ListSchedulingPoliciesResponseTypeDef:
311
293
  """
312
294
  Returns a list of Batch scheduling policies.
@@ -315,7 +297,9 @@ class BatchClient(BaseClient):
315
297
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#list_scheduling_policies)
316
298
  """
317
299
 
318
- def list_tags_for_resource(self, *, resourceArn: str) -> ListTagsForResourceResponseTypeDef:
300
+ def list_tags_for_resource(
301
+ self, **kwargs: Unpack[ListTagsForResourceRequestRequestTypeDef]
302
+ ) -> ListTagsForResourceResponseTypeDef:
319
303
  """
320
304
  Lists the tags for an Batch resource.
321
305
 
@@ -324,20 +308,7 @@ class BatchClient(BaseClient):
324
308
  """
325
309
 
326
310
  def register_job_definition(
327
- self,
328
- *,
329
- jobDefinitionName: str,
330
- type: JobDefinitionTypeType,
331
- parameters: Mapping[str, str] = ...,
332
- schedulingPriority: int = ...,
333
- containerProperties: ContainerPropertiesTypeDef = ...,
334
- nodeProperties: NodePropertiesTypeDef = ...,
335
- retryStrategy: RetryStrategyTypeDef = ...,
336
- propagateTags: bool = ...,
337
- timeout: JobTimeoutTypeDef = ...,
338
- tags: Mapping[str, str] = ...,
339
- platformCapabilities: Sequence[PlatformCapabilityType] = ...,
340
- eksProperties: EksPropertiesTypeDef = ...
311
+ self, **kwargs: Unpack[RegisterJobDefinitionRequestRequestTypeDef]
341
312
  ) -> RegisterJobDefinitionResponseTypeDef:
342
313
  """
343
314
  Registers an Batch job definition.
@@ -347,23 +318,7 @@ class BatchClient(BaseClient):
347
318
  """
348
319
 
349
320
  def submit_job(
350
- self,
351
- *,
352
- jobName: str,
353
- jobQueue: str,
354
- jobDefinition: str,
355
- shareIdentifier: str = ...,
356
- schedulingPriorityOverride: int = ...,
357
- arrayProperties: ArrayPropertiesTypeDef = ...,
358
- dependsOn: Sequence[JobDependencyTypeDef] = ...,
359
- parameters: Mapping[str, str] = ...,
360
- containerOverrides: ContainerOverridesTypeDef = ...,
361
- nodeOverrides: NodeOverridesTypeDef = ...,
362
- retryStrategy: RetryStrategyTypeDef = ...,
363
- propagateTags: bool = ...,
364
- timeout: JobTimeoutTypeDef = ...,
365
- tags: Mapping[str, str] = ...,
366
- eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...
321
+ self, **kwargs: Unpack[SubmitJobRequestRequestTypeDef]
367
322
  ) -> SubmitJobResponseTypeDef:
368
323
  """
369
324
  Submits an Batch job from a job definition.
@@ -372,7 +327,7 @@ class BatchClient(BaseClient):
372
327
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#submit_job)
373
328
  """
374
329
 
375
- def tag_resource(self, *, resourceArn: str, tags: Mapping[str, str]) -> Dict[str, Any]:
330
+ def tag_resource(self, **kwargs: Unpack[TagResourceRequestRequestTypeDef]) -> Dict[str, Any]:
376
331
  """
377
332
  Associates the specified tags to a resource with the specified `resourceArn`.
378
333
 
@@ -380,7 +335,7 @@ class BatchClient(BaseClient):
380
335
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#tag_resource)
381
336
  """
382
337
 
383
- def terminate_job(self, *, jobId: str, reason: str) -> Dict[str, Any]:
338
+ def terminate_job(self, **kwargs: Unpack[TerminateJobRequestRequestTypeDef]) -> Dict[str, Any]:
384
339
  """
385
340
  Terminates a job in a job queue.
386
341
 
@@ -388,7 +343,9 @@ class BatchClient(BaseClient):
388
343
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#terminate_job)
389
344
  """
390
345
 
391
- 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]:
392
349
  """
393
350
  Deletes specified tags from an Batch resource.
394
351
 
@@ -397,14 +354,7 @@ class BatchClient(BaseClient):
397
354
  """
398
355
 
399
356
  def update_compute_environment(
400
- self,
401
- *,
402
- computeEnvironment: str,
403
- state: CEStateType = ...,
404
- unmanagedvCpus: int = ...,
405
- computeResources: ComputeResourceUpdateTypeDef = ...,
406
- serviceRole: str = ...,
407
- updatePolicy: UpdatePolicyTypeDef = ...
357
+ self, **kwargs: Unpack[UpdateComputeEnvironmentRequestRequestTypeDef]
408
358
  ) -> UpdateComputeEnvironmentResponseTypeDef:
409
359
  """
410
360
  Updates an Batch compute environment.
@@ -414,13 +364,7 @@ class BatchClient(BaseClient):
414
364
  """
415
365
 
416
366
  def update_job_queue(
417
- self,
418
- *,
419
- jobQueue: str,
420
- state: JQStateType = ...,
421
- schedulingPolicyArn: str = ...,
422
- priority: int = ...,
423
- computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...
367
+ self, **kwargs: Unpack[UpdateJobQueueRequestRequestTypeDef]
424
368
  ) -> UpdateJobQueueResponseTypeDef:
425
369
  """
426
370
  Updates a job queue.
@@ -430,7 +374,7 @@ class BatchClient(BaseClient):
430
374
  """
431
375
 
432
376
  def update_scheduling_policy(
433
- self, *, arn: str, fairsharePolicy: FairsharePolicyTypeDef = ...
377
+ self, **kwargs: Unpack[UpdateSchedulingPolicyRequestRequestTypeDef]
434
378
  ) -> Dict[str, Any]:
435
379
  """
436
380
  Updates a scheduling policy.