mypy-boto3-batch 1.35.83__tar.gz → 1.35.93__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.
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/LICENSE +1 -1
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/PKG-INFO +7 -7
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/README.md +4 -4
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/__init__.py +1 -1
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/__init__.pyi +1 -1
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/__main__.py +9 -8
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/client.py +27 -29
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/client.pyi +27 -28
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/literals.py +2 -2
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/literals.pyi +2 -2
- mypy_boto3_batch-1.35.83/mypy_boto3_batch/paginator.pyi → mypy_boto3_batch-1.35.93/mypy_boto3_batch/paginator.py +71 -37
- mypy_boto3_batch-1.35.83/mypy_boto3_batch/paginator.py → mypy_boto3_batch-1.35.93/mypy_boto3_batch/paginator.pyi +52 -47
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/type_defs.py +21 -13
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/type_defs.pyi +21 -13
- mypy_boto3_batch-1.35.93/mypy_boto3_batch/version.py +7 -0
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/PKG-INFO +7 -7
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/requires.txt +1 -1
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/setup.py +4 -6
- mypy_boto3_batch-1.35.83/mypy_boto3_batch/version.py +0 -7
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch/py.typed +0 -0
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
- {mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-batch
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3 Batch 1.35.
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.35.93 service generated with mypy-boto3-builder 8.8.0
|
|
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
|
|
@@ -30,7 +30,7 @@ Classifier: Typing :: Stubs Only
|
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
34
|
|
|
35
35
|
<a id="mypy-boto3-batch"></a>
|
|
36
36
|
|
|
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
43
|
|
|
44
44
|

|
|
45
45
|
|
|
46
|
-
Type annotations for [boto3 Batch 1.35.
|
|
46
|
+
Type annotations for [boto3 Batch 1.35.93](https://pypi.org/project/boto3/)
|
|
47
47
|
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 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated with
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
55
|
+
[mypy-boto3-builder 8.8.0](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
|
|
@@ -105,8 +105,8 @@ You can generate type annotations for `boto3` package locally with
|
|
|
105
105
|
isolation.
|
|
106
106
|
|
|
107
107
|
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
-
`uvx --with 'boto3==1.35.
|
|
109
|
-
2. Select `boto3
|
|
108
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
109
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
110
110
|
3. Add `Batch` service.
|
|
111
111
|
4. Use provided commands to install generated packages.
|
|
112
112
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 Batch 1.35.
|
|
12
|
+
Type annotations for [boto3 Batch 1.35.93](https://pypi.org/project/boto3/)
|
|
13
13
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
14
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
15
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -18,7 +18,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
18
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
19
19
|
|
|
20
20
|
Generated with
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
22
22
|
|
|
23
23
|
More information can be found on
|
|
24
24
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -71,8 +71,8 @@ You can generate type annotations for `boto3` package locally with
|
|
|
71
71
|
isolation.
|
|
72
72
|
|
|
73
73
|
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
-
`uvx --with 'boto3==1.35.
|
|
75
|
-
2. Select `boto3
|
|
74
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
75
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
76
76
|
3. Add `Batch` service.
|
|
77
77
|
4. Use provided commands to install generated packages.
|
|
78
78
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
import sys
|
|
@@ -11,14 +11,14 @@ def print_info() -> None:
|
|
|
11
11
|
"""
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
|
-
|
|
15
|
-
"Type annotations for boto3 Batch 1.35.
|
|
16
|
-
"Version: 1.35.
|
|
17
|
-
"Builder version: 8.
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 Batch 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_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"
|
|
21
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
22
|
)
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -34,7 +34,8 @@ def main() -> None:
|
|
|
34
34
|
Main CLI entrypoint.
|
|
35
35
|
"""
|
|
36
36
|
if "--version" in sys.argv:
|
|
37
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
38
39
|
print_info()
|
|
39
40
|
|
|
40
41
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for batch service
|
|
2
|
+
Type annotations for batch service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: BatchClient = session.client("batch")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import (
|
|
25
29
|
DescribeComputeEnvironmentsPaginator,
|
|
@@ -72,6 +76,12 @@ from .type_defs import (
|
|
|
72
76
|
UpdateSchedulingPolicyRequestRequestTypeDef,
|
|
73
77
|
)
|
|
74
78
|
|
|
79
|
+
if sys.version_info >= (3, 9):
|
|
80
|
+
from builtins import dict as Dict
|
|
81
|
+
from builtins import type as Type
|
|
82
|
+
from collections.abc import Mapping
|
|
83
|
+
else:
|
|
84
|
+
from typing import Dict, Mapping, Type
|
|
75
85
|
if sys.version_info >= (3, 12):
|
|
76
86
|
from typing import Literal, Unpack
|
|
77
87
|
else:
|
|
@@ -81,15 +91,7 @@ else:
|
|
|
81
91
|
__all__ = ("BatchClient",)
|
|
82
92
|
|
|
83
93
|
|
|
84
|
-
class
|
|
85
|
-
MSG_TEMPLATE: str
|
|
86
|
-
|
|
87
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
88
|
-
self.response: Dict[str, Any]
|
|
89
|
-
self.operation_name: str
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
class Exceptions:
|
|
94
|
+
class Exceptions(BaseClientExceptions):
|
|
93
95
|
ClientError: Type[BotocoreClientError]
|
|
94
96
|
ClientException: Type[BotocoreClientError]
|
|
95
97
|
ServerException: Type[BotocoreClientError]
|
|
@@ -130,12 +132,6 @@ class BatchClient(BaseClient):
|
|
|
130
132
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
131
133
|
"""
|
|
132
134
|
|
|
133
|
-
def close(self) -> None:
|
|
134
|
-
"""
|
|
135
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/close.html)
|
|
136
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#close)
|
|
137
|
-
"""
|
|
138
|
-
|
|
139
135
|
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
140
136
|
"""
|
|
141
137
|
Cancels a job in an Batch job queue.
|
|
@@ -380,8 +376,8 @@ class BatchClient(BaseClient):
|
|
|
380
376
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
381
377
|
"""
|
|
382
378
|
|
|
383
|
-
@overload
|
|
384
|
-
def get_paginator(
|
|
379
|
+
@overload # type: ignore[override]
|
|
380
|
+
def get_paginator( # type: ignore[override]
|
|
385
381
|
self, operation_name: Literal["describe_compute_environments"]
|
|
386
382
|
) -> DescribeComputeEnvironmentsPaginator:
|
|
387
383
|
"""
|
|
@@ -391,8 +387,8 @@ class BatchClient(BaseClient):
|
|
|
391
387
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
392
388
|
"""
|
|
393
389
|
|
|
394
|
-
@overload
|
|
395
|
-
def get_paginator(
|
|
390
|
+
@overload # type: ignore[override]
|
|
391
|
+
def get_paginator( # type: ignore[override]
|
|
396
392
|
self, operation_name: Literal["describe_job_definitions"]
|
|
397
393
|
) -> DescribeJobDefinitionsPaginator:
|
|
398
394
|
"""
|
|
@@ -402,8 +398,8 @@ class BatchClient(BaseClient):
|
|
|
402
398
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
403
399
|
"""
|
|
404
400
|
|
|
405
|
-
@overload
|
|
406
|
-
def get_paginator(
|
|
401
|
+
@overload # type: ignore[override]
|
|
402
|
+
def get_paginator( # type: ignore[override]
|
|
407
403
|
self, operation_name: Literal["describe_job_queues"]
|
|
408
404
|
) -> DescribeJobQueuesPaginator:
|
|
409
405
|
"""
|
|
@@ -413,8 +409,10 @@ class BatchClient(BaseClient):
|
|
|
413
409
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
414
410
|
"""
|
|
415
411
|
|
|
416
|
-
@overload
|
|
417
|
-
def get_paginator(
|
|
412
|
+
@overload # type: ignore[override]
|
|
413
|
+
def get_paginator( # type: ignore[override]
|
|
414
|
+
self, operation_name: Literal["list_jobs"]
|
|
415
|
+
) -> ListJobsPaginator:
|
|
418
416
|
"""
|
|
419
417
|
Create a paginator for an operation.
|
|
420
418
|
|
|
@@ -422,8 +420,8 @@ class BatchClient(BaseClient):
|
|
|
422
420
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
423
421
|
"""
|
|
424
422
|
|
|
425
|
-
@overload
|
|
426
|
-
def get_paginator(
|
|
423
|
+
@overload # type: ignore[override]
|
|
424
|
+
def get_paginator( # type: ignore[override]
|
|
427
425
|
self, operation_name: Literal["list_scheduling_policies"]
|
|
428
426
|
) -> ListSchedulingPoliciesPaginator:
|
|
429
427
|
"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Type annotations for batch service
|
|
2
|
+
Type annotations for batch service Client.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -13,13 +13,17 @@ Usage::
|
|
|
13
13
|
client: BatchClient = session.client("batch")
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
Copyright
|
|
16
|
+
Copyright 2025 Vlad Emelianov
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
19
21
|
import sys
|
|
20
|
-
from typing import Any,
|
|
22
|
+
from typing import Any, overload
|
|
21
23
|
|
|
22
24
|
from botocore.client import BaseClient, ClientMeta
|
|
25
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
26
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
23
27
|
|
|
24
28
|
from .paginator import (
|
|
25
29
|
DescribeComputeEnvironmentsPaginator,
|
|
@@ -72,6 +76,12 @@ from .type_defs import (
|
|
|
72
76
|
UpdateSchedulingPolicyRequestRequestTypeDef,
|
|
73
77
|
)
|
|
74
78
|
|
|
79
|
+
if sys.version_info >= (3, 9):
|
|
80
|
+
from builtins import dict as Dict
|
|
81
|
+
from builtins import type as Type
|
|
82
|
+
from collections.abc import Mapping
|
|
83
|
+
else:
|
|
84
|
+
from typing import Dict, Mapping, Type
|
|
75
85
|
if sys.version_info >= (3, 12):
|
|
76
86
|
from typing import Literal, Unpack
|
|
77
87
|
else:
|
|
@@ -79,14 +89,7 @@ else:
|
|
|
79
89
|
|
|
80
90
|
__all__ = ("BatchClient",)
|
|
81
91
|
|
|
82
|
-
class
|
|
83
|
-
MSG_TEMPLATE: str
|
|
84
|
-
|
|
85
|
-
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
86
|
-
self.response: Dict[str, Any]
|
|
87
|
-
self.operation_name: str
|
|
88
|
-
|
|
89
|
-
class Exceptions:
|
|
92
|
+
class Exceptions(BaseClientExceptions):
|
|
90
93
|
ClientError: Type[BotocoreClientError]
|
|
91
94
|
ClientException: Type[BotocoreClientError]
|
|
92
95
|
ServerException: Type[BotocoreClientError]
|
|
@@ -126,12 +129,6 @@ class BatchClient(BaseClient):
|
|
|
126
129
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
127
130
|
"""
|
|
128
131
|
|
|
129
|
-
def close(self) -> None:
|
|
130
|
-
"""
|
|
131
|
-
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/client/close.html)
|
|
132
|
-
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#close)
|
|
133
|
-
"""
|
|
134
|
-
|
|
135
132
|
def cancel_job(self, **kwargs: Unpack[CancelJobRequestRequestTypeDef]) -> Dict[str, Any]:
|
|
136
133
|
"""
|
|
137
134
|
Cancels a job in an Batch job queue.
|
|
@@ -376,8 +373,8 @@ class BatchClient(BaseClient):
|
|
|
376
373
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#update_scheduling_policy)
|
|
377
374
|
"""
|
|
378
375
|
|
|
379
|
-
@overload
|
|
380
|
-
def get_paginator(
|
|
376
|
+
@overload # type: ignore[override]
|
|
377
|
+
def get_paginator( # type: ignore[override]
|
|
381
378
|
self, operation_name: Literal["describe_compute_environments"]
|
|
382
379
|
) -> DescribeComputeEnvironmentsPaginator:
|
|
383
380
|
"""
|
|
@@ -387,8 +384,8 @@ class BatchClient(BaseClient):
|
|
|
387
384
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
388
385
|
"""
|
|
389
386
|
|
|
390
|
-
@overload
|
|
391
|
-
def get_paginator(
|
|
387
|
+
@overload # type: ignore[override]
|
|
388
|
+
def get_paginator( # type: ignore[override]
|
|
392
389
|
self, operation_name: Literal["describe_job_definitions"]
|
|
393
390
|
) -> DescribeJobDefinitionsPaginator:
|
|
394
391
|
"""
|
|
@@ -398,8 +395,8 @@ class BatchClient(BaseClient):
|
|
|
398
395
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
399
396
|
"""
|
|
400
397
|
|
|
401
|
-
@overload
|
|
402
|
-
def get_paginator(
|
|
398
|
+
@overload # type: ignore[override]
|
|
399
|
+
def get_paginator( # type: ignore[override]
|
|
403
400
|
self, operation_name: Literal["describe_job_queues"]
|
|
404
401
|
) -> DescribeJobQueuesPaginator:
|
|
405
402
|
"""
|
|
@@ -409,8 +406,10 @@ class BatchClient(BaseClient):
|
|
|
409
406
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
410
407
|
"""
|
|
411
408
|
|
|
412
|
-
@overload
|
|
413
|
-
def get_paginator(
|
|
409
|
+
@overload # type: ignore[override]
|
|
410
|
+
def get_paginator( # type: ignore[override]
|
|
411
|
+
self, operation_name: Literal["list_jobs"]
|
|
412
|
+
) -> ListJobsPaginator:
|
|
414
413
|
"""
|
|
415
414
|
Create a paginator for an operation.
|
|
416
415
|
|
|
@@ -418,8 +417,8 @@ class BatchClient(BaseClient):
|
|
|
418
417
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_paginator)
|
|
419
418
|
"""
|
|
420
419
|
|
|
421
|
-
@overload
|
|
422
|
-
def get_paginator(
|
|
420
|
+
@overload # type: ignore[override]
|
|
421
|
+
def get_paginator( # type: ignore[override]
|
|
423
422
|
self, operation_name: Literal["list_scheduling_policies"]
|
|
424
423
|
) -> ListSchedulingPoliciesPaginator:
|
|
425
424
|
"""
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ Usage::
|
|
|
11
11
|
data: ArrayJobDependencyType = "N_TO_N"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/literals/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@ Usage::
|
|
|
11
11
|
data: ArrayJobDependencyType = "N_TO_N"
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
import sys
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -27,24 +27,26 @@ Usage::
|
|
|
27
27
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Copyright
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
33
35
|
import sys
|
|
34
|
-
from typing import
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
35
37
|
|
|
36
38
|
from botocore.paginate import PageIterator, Paginator
|
|
37
39
|
|
|
38
40
|
from .type_defs import (
|
|
39
|
-
|
|
41
|
+
DescribeComputeEnvironmentsRequestPaginateTypeDef,
|
|
40
42
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
41
|
-
|
|
43
|
+
DescribeJobDefinitionsRequestPaginateTypeDef,
|
|
42
44
|
DescribeJobDefinitionsResponseTypeDef,
|
|
43
|
-
|
|
45
|
+
DescribeJobQueuesRequestPaginateTypeDef,
|
|
44
46
|
DescribeJobQueuesResponseTypeDef,
|
|
45
|
-
|
|
47
|
+
ListJobsRequestPaginateTypeDef,
|
|
46
48
|
ListJobsResponseTypeDef,
|
|
47
|
-
|
|
49
|
+
ListSchedulingPoliciesRequestPaginateTypeDef,
|
|
48
50
|
ListSchedulingPoliciesResponseTypeDef,
|
|
49
51
|
)
|
|
50
52
|
|
|
@@ -53,6 +55,7 @@ if sys.version_info >= (3, 12):
|
|
|
53
55
|
else:
|
|
54
56
|
from typing_extensions import Unpack
|
|
55
57
|
|
|
58
|
+
|
|
56
59
|
__all__ = (
|
|
57
60
|
"DescribeComputeEnvironmentsPaginator",
|
|
58
61
|
"DescribeJobDefinitionsPaginator",
|
|
@@ -61,77 +64,108 @@ __all__ = (
|
|
|
61
64
|
"ListSchedulingPoliciesPaginator",
|
|
62
65
|
)
|
|
63
66
|
|
|
64
|
-
_ItemTypeDef = TypeVar("_ItemTypeDef")
|
|
65
67
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
if TYPE_CHECKING:
|
|
69
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator[
|
|
70
|
+
DescribeComputeEnvironmentsResponseTypeDef
|
|
71
|
+
]
|
|
72
|
+
else:
|
|
73
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator # type: ignore[assignment]
|
|
74
|
+
|
|
71
75
|
|
|
72
|
-
class DescribeComputeEnvironmentsPaginator(
|
|
76
|
+
class DescribeComputeEnvironmentsPaginator(_DescribeComputeEnvironmentsPaginatorBase):
|
|
73
77
|
"""
|
|
74
78
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments)
|
|
75
79
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
76
80
|
"""
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
**kwargs: Unpack[
|
|
80
|
-
|
|
81
|
-
],
|
|
82
|
-
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
81
|
+
|
|
82
|
+
def paginate( # type: ignore[override]
|
|
83
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestPaginateTypeDef]
|
|
84
|
+
) -> PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
83
85
|
"""
|
|
84
86
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
85
87
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
86
88
|
"""
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
|
|
91
|
+
if TYPE_CHECKING:
|
|
92
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator[DescribeJobDefinitionsResponseTypeDef]
|
|
93
|
+
else:
|
|
94
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class DescribeJobDefinitionsPaginator(_DescribeJobDefinitionsPaginatorBase):
|
|
89
98
|
"""
|
|
90
99
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions)
|
|
91
100
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
92
101
|
"""
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
102
|
+
|
|
103
|
+
def paginate( # type: ignore[override]
|
|
104
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestPaginateTypeDef]
|
|
105
|
+
) -> PageIterator[DescribeJobDefinitionsResponseTypeDef]:
|
|
96
106
|
"""
|
|
97
107
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions.paginate)
|
|
98
108
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
99
109
|
"""
|
|
100
110
|
|
|
101
|
-
|
|
111
|
+
|
|
112
|
+
if TYPE_CHECKING:
|
|
113
|
+
_DescribeJobQueuesPaginatorBase = Paginator[DescribeJobQueuesResponseTypeDef]
|
|
114
|
+
else:
|
|
115
|
+
_DescribeJobQueuesPaginatorBase = Paginator # type: ignore[assignment]
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
class DescribeJobQueuesPaginator(_DescribeJobQueuesPaginatorBase):
|
|
102
119
|
"""
|
|
103
120
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues)
|
|
104
121
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobqueuespaginator)
|
|
105
122
|
"""
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
123
|
+
|
|
124
|
+
def paginate( # type: ignore[override]
|
|
125
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestPaginateTypeDef]
|
|
126
|
+
) -> PageIterator[DescribeJobQueuesResponseTypeDef]:
|
|
109
127
|
"""
|
|
110
128
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues.paginate)
|
|
111
129
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobqueuespaginator)
|
|
112
130
|
"""
|
|
113
131
|
|
|
114
|
-
|
|
132
|
+
|
|
133
|
+
if TYPE_CHECKING:
|
|
134
|
+
_ListJobsPaginatorBase = Paginator[ListJobsResponseTypeDef]
|
|
135
|
+
else:
|
|
136
|
+
_ListJobsPaginatorBase = Paginator # type: ignore[assignment]
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class ListJobsPaginator(_ListJobsPaginatorBase):
|
|
115
140
|
"""
|
|
116
141
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs)
|
|
117
142
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listjobspaginator)
|
|
118
143
|
"""
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
144
|
+
|
|
145
|
+
def paginate( # type: ignore[override]
|
|
146
|
+
self, **kwargs: Unpack[ListJobsRequestPaginateTypeDef]
|
|
147
|
+
) -> PageIterator[ListJobsResponseTypeDef]:
|
|
122
148
|
"""
|
|
123
149
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs.paginate)
|
|
124
150
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listjobspaginator)
|
|
125
151
|
"""
|
|
126
152
|
|
|
127
|
-
|
|
153
|
+
|
|
154
|
+
if TYPE_CHECKING:
|
|
155
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator[ListSchedulingPoliciesResponseTypeDef]
|
|
156
|
+
else:
|
|
157
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator # type: ignore[assignment]
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class ListSchedulingPoliciesPaginator(_ListSchedulingPoliciesPaginatorBase):
|
|
128
161
|
"""
|
|
129
162
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies)
|
|
130
163
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
131
164
|
"""
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
165
|
+
|
|
166
|
+
def paginate( # type: ignore[override]
|
|
167
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestPaginateTypeDef]
|
|
168
|
+
) -> PageIterator[ListSchedulingPoliciesResponseTypeDef]:
|
|
135
169
|
"""
|
|
136
170
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies.paginate)
|
|
137
171
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -27,24 +27,26 @@ Usage::
|
|
|
27
27
|
list_scheduling_policies_paginator: ListSchedulingPoliciesPaginator = client.get_paginator("list_scheduling_policies")
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
Copyright
|
|
30
|
+
Copyright 2025 Vlad Emelianov
|
|
31
31
|
"""
|
|
32
32
|
|
|
33
|
+
from __future__ import annotations
|
|
34
|
+
|
|
33
35
|
import sys
|
|
34
|
-
from typing import
|
|
36
|
+
from typing import TYPE_CHECKING
|
|
35
37
|
|
|
36
38
|
from botocore.paginate import PageIterator, Paginator
|
|
37
39
|
|
|
38
40
|
from .type_defs import (
|
|
39
|
-
|
|
41
|
+
DescribeComputeEnvironmentsRequestPaginateTypeDef,
|
|
40
42
|
DescribeComputeEnvironmentsResponseTypeDef,
|
|
41
|
-
|
|
43
|
+
DescribeJobDefinitionsRequestPaginateTypeDef,
|
|
42
44
|
DescribeJobDefinitionsResponseTypeDef,
|
|
43
|
-
|
|
45
|
+
DescribeJobQueuesRequestPaginateTypeDef,
|
|
44
46
|
DescribeJobQueuesResponseTypeDef,
|
|
45
|
-
|
|
47
|
+
ListJobsRequestPaginateTypeDef,
|
|
46
48
|
ListJobsResponseTypeDef,
|
|
47
|
-
|
|
49
|
+
ListSchedulingPoliciesRequestPaginateTypeDef,
|
|
48
50
|
ListSchedulingPoliciesResponseTypeDef,
|
|
49
51
|
)
|
|
50
52
|
|
|
@@ -53,7 +55,6 @@ if sys.version_info >= (3, 12):
|
|
|
53
55
|
else:
|
|
54
56
|
from typing_extensions import Unpack
|
|
55
57
|
|
|
56
|
-
|
|
57
58
|
__all__ = (
|
|
58
59
|
"DescribeComputeEnvironmentsPaginator",
|
|
59
60
|
"DescribeJobDefinitionsPaginator",
|
|
@@ -62,89 +63,93 @@ __all__ = (
|
|
|
62
63
|
"ListSchedulingPoliciesPaginator",
|
|
63
64
|
)
|
|
64
65
|
|
|
66
|
+
if TYPE_CHECKING:
|
|
67
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator[
|
|
68
|
+
DescribeComputeEnvironmentsResponseTypeDef
|
|
69
|
+
]
|
|
70
|
+
else:
|
|
71
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator # type: ignore[assignment]
|
|
65
72
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
|
|
70
|
-
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
71
|
-
"""
|
|
72
|
-
Proxy method to specify iterator item type.
|
|
73
|
-
"""
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
class DescribeComputeEnvironmentsPaginator(Paginator):
|
|
73
|
+
class DescribeComputeEnvironmentsPaginator(_DescribeComputeEnvironmentsPaginatorBase):
|
|
77
74
|
"""
|
|
78
75
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments)
|
|
79
76
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
80
77
|
"""
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
**kwargs: Unpack[
|
|
85
|
-
DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef
|
|
86
|
-
],
|
|
87
|
-
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
78
|
+
def paginate( # type: ignore[override]
|
|
79
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestPaginateTypeDef]
|
|
80
|
+
) -> PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
88
81
|
"""
|
|
89
82
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
90
83
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
91
84
|
"""
|
|
92
85
|
|
|
86
|
+
if TYPE_CHECKING:
|
|
87
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator[DescribeJobDefinitionsResponseTypeDef]
|
|
88
|
+
else:
|
|
89
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
93
90
|
|
|
94
|
-
class DescribeJobDefinitionsPaginator(
|
|
91
|
+
class DescribeJobDefinitionsPaginator(_DescribeJobDefinitionsPaginatorBase):
|
|
95
92
|
"""
|
|
96
93
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions)
|
|
97
94
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
98
95
|
"""
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
) -> _PageIterator[DescribeJobDefinitionsResponseTypeDef]:
|
|
96
|
+
def paginate( # type: ignore[override]
|
|
97
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestPaginateTypeDef]
|
|
98
|
+
) -> PageIterator[DescribeJobDefinitionsResponseTypeDef]:
|
|
103
99
|
"""
|
|
104
100
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions.paginate)
|
|
105
101
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
106
102
|
"""
|
|
107
103
|
|
|
104
|
+
if TYPE_CHECKING:
|
|
105
|
+
_DescribeJobQueuesPaginatorBase = Paginator[DescribeJobQueuesResponseTypeDef]
|
|
106
|
+
else:
|
|
107
|
+
_DescribeJobQueuesPaginatorBase = Paginator # type: ignore[assignment]
|
|
108
108
|
|
|
109
|
-
class DescribeJobQueuesPaginator(
|
|
109
|
+
class DescribeJobQueuesPaginator(_DescribeJobQueuesPaginatorBase):
|
|
110
110
|
"""
|
|
111
111
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues)
|
|
112
112
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobqueuespaginator)
|
|
113
113
|
"""
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
) -> _PageIterator[DescribeJobQueuesResponseTypeDef]:
|
|
114
|
+
def paginate( # type: ignore[override]
|
|
115
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestPaginateTypeDef]
|
|
116
|
+
) -> PageIterator[DescribeJobQueuesResponseTypeDef]:
|
|
118
117
|
"""
|
|
119
118
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues.paginate)
|
|
120
119
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describejobqueuespaginator)
|
|
121
120
|
"""
|
|
122
121
|
|
|
122
|
+
if TYPE_CHECKING:
|
|
123
|
+
_ListJobsPaginatorBase = Paginator[ListJobsResponseTypeDef]
|
|
124
|
+
else:
|
|
125
|
+
_ListJobsPaginatorBase = Paginator # type: ignore[assignment]
|
|
123
126
|
|
|
124
|
-
class ListJobsPaginator(
|
|
127
|
+
class ListJobsPaginator(_ListJobsPaginatorBase):
|
|
125
128
|
"""
|
|
126
129
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs)
|
|
127
130
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listjobspaginator)
|
|
128
131
|
"""
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
) -> _PageIterator[ListJobsResponseTypeDef]:
|
|
132
|
+
def paginate( # type: ignore[override]
|
|
133
|
+
self, **kwargs: Unpack[ListJobsRequestPaginateTypeDef]
|
|
134
|
+
) -> PageIterator[ListJobsResponseTypeDef]:
|
|
133
135
|
"""
|
|
134
136
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs.paginate)
|
|
135
137
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listjobspaginator)
|
|
136
138
|
"""
|
|
137
139
|
|
|
140
|
+
if TYPE_CHECKING:
|
|
141
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator[ListSchedulingPoliciesResponseTypeDef]
|
|
142
|
+
else:
|
|
143
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator # type: ignore[assignment]
|
|
138
144
|
|
|
139
|
-
class ListSchedulingPoliciesPaginator(
|
|
145
|
+
class ListSchedulingPoliciesPaginator(_ListSchedulingPoliciesPaginatorBase):
|
|
140
146
|
"""
|
|
141
147
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies)
|
|
142
148
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
143
149
|
"""
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
) -> _PageIterator[ListSchedulingPoliciesResponseTypeDef]:
|
|
150
|
+
def paginate( # type: ignore[override]
|
|
151
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestPaginateTypeDef]
|
|
152
|
+
) -> PageIterator[ListSchedulingPoliciesResponseTypeDef]:
|
|
148
153
|
"""
|
|
149
154
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies.paginate)
|
|
150
155
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,11 +11,13 @@ Usage::
|
|
|
11
11
|
data: ArrayPropertiesDetailTypeDef = ...
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
17
19
|
import sys
|
|
18
|
-
from typing import
|
|
20
|
+
from typing import Union
|
|
19
21
|
|
|
20
22
|
from .literals import (
|
|
21
23
|
ArrayJobDependencyType,
|
|
@@ -40,6 +42,12 @@ from .literals import (
|
|
|
40
42
|
RetryActionType,
|
|
41
43
|
)
|
|
42
44
|
|
|
45
|
+
if sys.version_info >= (3, 9):
|
|
46
|
+
from builtins import dict as Dict
|
|
47
|
+
from builtins import list as List
|
|
48
|
+
from collections.abc import Mapping, Sequence
|
|
49
|
+
else:
|
|
50
|
+
from typing import Dict, List, Mapping, Sequence
|
|
43
51
|
if sys.version_info >= (3, 12):
|
|
44
52
|
from typing import Literal, NotRequired, TypedDict
|
|
45
53
|
else:
|
|
@@ -76,13 +84,13 @@ __all__ = (
|
|
|
76
84
|
"DeleteJobQueueRequestRequestTypeDef",
|
|
77
85
|
"DeleteSchedulingPolicyRequestRequestTypeDef",
|
|
78
86
|
"DeregisterJobDefinitionRequestRequestTypeDef",
|
|
79
|
-
"
|
|
87
|
+
"DescribeComputeEnvironmentsRequestPaginateTypeDef",
|
|
80
88
|
"DescribeComputeEnvironmentsRequestRequestTypeDef",
|
|
81
89
|
"DescribeComputeEnvironmentsResponseTypeDef",
|
|
82
|
-
"
|
|
90
|
+
"DescribeJobDefinitionsRequestPaginateTypeDef",
|
|
83
91
|
"DescribeJobDefinitionsRequestRequestTypeDef",
|
|
84
92
|
"DescribeJobDefinitionsResponseTypeDef",
|
|
85
|
-
"
|
|
93
|
+
"DescribeJobQueuesRequestPaginateTypeDef",
|
|
86
94
|
"DescribeJobQueuesRequestRequestTypeDef",
|
|
87
95
|
"DescribeJobQueuesResponseTypeDef",
|
|
88
96
|
"DescribeJobsRequestRequestTypeDef",
|
|
@@ -165,10 +173,10 @@ __all__ = (
|
|
|
165
173
|
"LinuxParametersOutputTypeDef",
|
|
166
174
|
"LinuxParametersTypeDef",
|
|
167
175
|
"LinuxParametersUnionTypeDef",
|
|
168
|
-
"
|
|
176
|
+
"ListJobsRequestPaginateTypeDef",
|
|
169
177
|
"ListJobsRequestRequestTypeDef",
|
|
170
178
|
"ListJobsResponseTypeDef",
|
|
171
|
-
"
|
|
179
|
+
"ListSchedulingPoliciesRequestPaginateTypeDef",
|
|
172
180
|
"ListSchedulingPoliciesRequestRequestTypeDef",
|
|
173
181
|
"ListSchedulingPoliciesResponseTypeDef",
|
|
174
182
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
@@ -725,24 +733,24 @@ class UpdateJobQueueRequestRequestTypeDef(TypedDict):
|
|
|
725
733
|
jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]]
|
|
726
734
|
|
|
727
735
|
|
|
728
|
-
class
|
|
736
|
+
class DescribeComputeEnvironmentsRequestPaginateTypeDef(TypedDict):
|
|
729
737
|
computeEnvironments: NotRequired[Sequence[str]]
|
|
730
738
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
731
739
|
|
|
732
740
|
|
|
733
|
-
class
|
|
741
|
+
class DescribeJobDefinitionsRequestPaginateTypeDef(TypedDict):
|
|
734
742
|
jobDefinitions: NotRequired[Sequence[str]]
|
|
735
743
|
jobDefinitionName: NotRequired[str]
|
|
736
744
|
status: NotRequired[str]
|
|
737
745
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
738
746
|
|
|
739
747
|
|
|
740
|
-
class
|
|
748
|
+
class DescribeJobQueuesRequestPaginateTypeDef(TypedDict):
|
|
741
749
|
jobQueues: NotRequired[Sequence[str]]
|
|
742
750
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
743
751
|
|
|
744
752
|
|
|
745
|
-
class
|
|
753
|
+
class ListSchedulingPoliciesRequestPaginateTypeDef(TypedDict):
|
|
746
754
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
747
755
|
|
|
748
756
|
|
|
@@ -851,7 +859,7 @@ class JobSummaryTypeDef(TypedDict):
|
|
|
851
859
|
jobDefinition: NotRequired[str]
|
|
852
860
|
|
|
853
861
|
|
|
854
|
-
class
|
|
862
|
+
class ListJobsRequestPaginateTypeDef(TypedDict):
|
|
855
863
|
jobQueue: NotRequired[str]
|
|
856
864
|
arrayJobId: NotRequired[str]
|
|
857
865
|
multiNodeJobId: NotRequired[str]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,11 +11,13 @@ Usage::
|
|
|
11
11
|
data: ArrayPropertiesDetailTypeDef = ...
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
17
19
|
import sys
|
|
18
|
-
from typing import
|
|
20
|
+
from typing import Union
|
|
19
21
|
|
|
20
22
|
from .literals import (
|
|
21
23
|
ArrayJobDependencyType,
|
|
@@ -40,6 +42,12 @@ from .literals import (
|
|
|
40
42
|
RetryActionType,
|
|
41
43
|
)
|
|
42
44
|
|
|
45
|
+
if sys.version_info >= (3, 9):
|
|
46
|
+
from builtins import dict as Dict
|
|
47
|
+
from builtins import list as List
|
|
48
|
+
from collections.abc import Mapping, Sequence
|
|
49
|
+
else:
|
|
50
|
+
from typing import Dict, List, Mapping, Sequence
|
|
43
51
|
if sys.version_info >= (3, 12):
|
|
44
52
|
from typing import Literal, NotRequired, TypedDict
|
|
45
53
|
else:
|
|
@@ -75,13 +83,13 @@ __all__ = (
|
|
|
75
83
|
"DeleteJobQueueRequestRequestTypeDef",
|
|
76
84
|
"DeleteSchedulingPolicyRequestRequestTypeDef",
|
|
77
85
|
"DeregisterJobDefinitionRequestRequestTypeDef",
|
|
78
|
-
"
|
|
86
|
+
"DescribeComputeEnvironmentsRequestPaginateTypeDef",
|
|
79
87
|
"DescribeComputeEnvironmentsRequestRequestTypeDef",
|
|
80
88
|
"DescribeComputeEnvironmentsResponseTypeDef",
|
|
81
|
-
"
|
|
89
|
+
"DescribeJobDefinitionsRequestPaginateTypeDef",
|
|
82
90
|
"DescribeJobDefinitionsRequestRequestTypeDef",
|
|
83
91
|
"DescribeJobDefinitionsResponseTypeDef",
|
|
84
|
-
"
|
|
92
|
+
"DescribeJobQueuesRequestPaginateTypeDef",
|
|
85
93
|
"DescribeJobQueuesRequestRequestTypeDef",
|
|
86
94
|
"DescribeJobQueuesResponseTypeDef",
|
|
87
95
|
"DescribeJobsRequestRequestTypeDef",
|
|
@@ -164,10 +172,10 @@ __all__ = (
|
|
|
164
172
|
"LinuxParametersOutputTypeDef",
|
|
165
173
|
"LinuxParametersTypeDef",
|
|
166
174
|
"LinuxParametersUnionTypeDef",
|
|
167
|
-
"
|
|
175
|
+
"ListJobsRequestPaginateTypeDef",
|
|
168
176
|
"ListJobsRequestRequestTypeDef",
|
|
169
177
|
"ListJobsResponseTypeDef",
|
|
170
|
-
"
|
|
178
|
+
"ListSchedulingPoliciesRequestPaginateTypeDef",
|
|
171
179
|
"ListSchedulingPoliciesRequestRequestTypeDef",
|
|
172
180
|
"ListSchedulingPoliciesResponseTypeDef",
|
|
173
181
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
@@ -637,21 +645,21 @@ class UpdateJobQueueRequestRequestTypeDef(TypedDict):
|
|
|
637
645
|
computeEnvironmentOrder: NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]]
|
|
638
646
|
jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]]
|
|
639
647
|
|
|
640
|
-
class
|
|
648
|
+
class DescribeComputeEnvironmentsRequestPaginateTypeDef(TypedDict):
|
|
641
649
|
computeEnvironments: NotRequired[Sequence[str]]
|
|
642
650
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
643
651
|
|
|
644
|
-
class
|
|
652
|
+
class DescribeJobDefinitionsRequestPaginateTypeDef(TypedDict):
|
|
645
653
|
jobDefinitions: NotRequired[Sequence[str]]
|
|
646
654
|
jobDefinitionName: NotRequired[str]
|
|
647
655
|
status: NotRequired[str]
|
|
648
656
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
649
657
|
|
|
650
|
-
class
|
|
658
|
+
class DescribeJobQueuesRequestPaginateTypeDef(TypedDict):
|
|
651
659
|
jobQueues: NotRequired[Sequence[str]]
|
|
652
660
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
653
661
|
|
|
654
|
-
class
|
|
662
|
+
class ListSchedulingPoliciesRequestPaginateTypeDef(TypedDict):
|
|
655
663
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
656
664
|
|
|
657
665
|
DeviceUnionTypeDef = Union[DeviceTypeDef, DeviceOutputTypeDef]
|
|
@@ -746,7 +754,7 @@ class JobSummaryTypeDef(TypedDict):
|
|
|
746
754
|
nodeProperties: NotRequired[NodePropertiesSummaryTypeDef]
|
|
747
755
|
jobDefinition: NotRequired[str]
|
|
748
756
|
|
|
749
|
-
class
|
|
757
|
+
class ListJobsRequestPaginateTypeDef(TypedDict):
|
|
750
758
|
jobQueue: NotRequired[str]
|
|
751
759
|
arrayJobId: NotRequired[str]
|
|
752
760
|
multiNodeJobId: NotRequired[str]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-batch
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3 Batch 1.35.
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 Batch 1.35.93 service generated with mypy-boto3-builder 8.8.0
|
|
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
|
|
@@ -30,7 +30,7 @@ Classifier: Typing :: Stubs Only
|
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
34
|
|
|
35
35
|
<a id="mypy-boto3-batch"></a>
|
|
36
36
|
|
|
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
43
|
|
|
44
44
|

|
|
45
45
|
|
|
46
|
-
Type annotations for [boto3 Batch 1.35.
|
|
46
|
+
Type annotations for [boto3 Batch 1.35.93](https://pypi.org/project/boto3/)
|
|
47
47
|
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 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated with
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
55
|
+
[mypy-boto3-builder 8.8.0](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
|
|
@@ -105,8 +105,8 @@ You can generate type annotations for `boto3` package locally with
|
|
|
105
105
|
isolation.
|
|
106
106
|
|
|
107
107
|
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
-
`uvx --with 'boto3==1.35.
|
|
109
|
-
2. Select `boto3
|
|
108
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
109
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
110
110
|
3. Add `Batch` service.
|
|
111
111
|
4. Use provided commands to install generated packages.
|
|
112
112
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Setup script for mypy-boto3-batch.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
from pathlib import Path
|
|
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="mypy-boto3-batch",
|
|
16
|
-
version="1.35.
|
|
16
|
+
version="1.35.93",
|
|
17
17
|
packages=["mypy_boto3_batch"],
|
|
18
18
|
url="https://github.com/youtype/mypy_boto3_builder",
|
|
19
19
|
license="MIT License",
|
|
20
20
|
author="Vlad Emelianov",
|
|
21
21
|
author_email="vlad.emelianov.nz@gmail.com",
|
|
22
|
-
description="Type annotations for boto3 Batch 1.35.
|
|
22
|
+
description="Type annotations for boto3 Batch 1.35.93 service generated with mypy-boto3-builder 8.8.0",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -49,8 +49,6 @@ setup(
|
|
|
49
49
|
"Source": "https://github.com/youtype/mypy_boto3_builder",
|
|
50
50
|
"Tracker": "https://github.com/youtype/mypy_boto3_builder/issues",
|
|
51
51
|
},
|
|
52
|
-
install_requires=[
|
|
53
|
-
'typing-extensions>=4.1.0; python_version<"3.12"',
|
|
54
|
-
],
|
|
52
|
+
install_requires=['typing-extensions; python_version<"3.12"'],
|
|
55
53
|
zip_safe=False,
|
|
56
54
|
)
|
|
File without changes
|
|
File without changes
|
{mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{mypy_boto3_batch-1.35.83 → mypy_boto3_batch-1.35.93}/mypy_boto3_batch.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|