types-boto3-batch 1.35.83__py3-none-any.whl → 1.35.93__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types_boto3_batch/__init__.py +1 -1
- types_boto3_batch/__init__.pyi +1 -1
- types_boto3_batch/__main__.py +9 -8
- types_boto3_batch/client.py +27 -29
- types_boto3_batch/client.pyi +27 -28
- types_boto3_batch/literals.py +2 -2
- types_boto3_batch/literals.pyi +2 -2
- types_boto3_batch/paginator.py +60 -39
- types_boto3_batch/paginator.pyi +56 -38
- types_boto3_batch/type_defs.py +21 -13
- types_boto3_batch/type_defs.pyi +21 -13
- types_boto3_batch/version.py +2 -2
- {types_boto3_batch-1.35.83.dist-info → types_boto3_batch-1.35.93.dist-info}/LICENSE +1 -1
- {types_boto3_batch-1.35.83.dist-info → types_boto3_batch-1.35.93.dist-info}/METADATA +6 -6
- types_boto3_batch-1.35.93.dist-info/RECORD +18 -0
- {types_boto3_batch-1.35.83.dist-info → types_boto3_batch-1.35.93.dist-info}/WHEEL +1 -1
- types_boto3_batch-1.35.83.dist-info/RECORD +0 -18
- {types_boto3_batch-1.35.83.dist-info → types_boto3_batch-1.35.93.dist-info}/top_level.txt +0 -0
types_boto3_batch/__init__.py
CHANGED
types_boto3_batch/__init__.pyi
CHANGED
types_boto3_batch/__main__.py
CHANGED
|
@@ -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/types_boto3_docs/types_boto3_batch//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#batch\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
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
|
|
types_boto3_batch/client.py
CHANGED
|
@@ -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/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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
|
"""
|
types_boto3_batch/client.pyi
CHANGED
|
@@ -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/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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 types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_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
|
"""
|
types_boto3_batch/literals.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_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
|
types_boto3_batch/literals.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service literal definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_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
|
types_boto3_batch/paginator.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_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
|
|
|
@@ -63,88 +65,107 @@ __all__ = (
|
|
|
63
65
|
)
|
|
64
66
|
|
|
65
67
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Proxy method to specify iterator item type.
|
|
73
|
-
"""
|
|
68
|
+
if TYPE_CHECKING:
|
|
69
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator[
|
|
70
|
+
DescribeComputeEnvironmentsResponseTypeDef
|
|
71
|
+
]
|
|
72
|
+
else:
|
|
73
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator # type: ignore[assignment]
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
class DescribeComputeEnvironmentsPaginator(
|
|
76
|
+
class DescribeComputeEnvironmentsPaginator(_DescribeComputeEnvironmentsPaginatorBase):
|
|
77
77
|
"""
|
|
78
78
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments)
|
|
79
79
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
80
80
|
"""
|
|
81
81
|
|
|
82
|
-
def paginate(
|
|
83
|
-
self,
|
|
84
|
-
|
|
85
|
-
DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef
|
|
86
|
-
],
|
|
87
|
-
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
82
|
+
def paginate( # type: ignore[override]
|
|
83
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestPaginateTypeDef]
|
|
84
|
+
) -> PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
88
85
|
"""
|
|
89
86
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
90
87
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
91
88
|
"""
|
|
92
89
|
|
|
93
90
|
|
|
94
|
-
|
|
91
|
+
if TYPE_CHECKING:
|
|
92
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator[DescribeJobDefinitionsResponseTypeDef]
|
|
93
|
+
else:
|
|
94
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class DescribeJobDefinitionsPaginator(_DescribeJobDefinitionsPaginatorBase):
|
|
95
98
|
"""
|
|
96
99
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions)
|
|
97
100
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
98
101
|
"""
|
|
99
102
|
|
|
100
|
-
def paginate(
|
|
101
|
-
self, **kwargs: Unpack[
|
|
102
|
-
) ->
|
|
103
|
+
def paginate( # type: ignore[override]
|
|
104
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestPaginateTypeDef]
|
|
105
|
+
) -> PageIterator[DescribeJobDefinitionsResponseTypeDef]:
|
|
103
106
|
"""
|
|
104
107
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions.paginate)
|
|
105
108
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
106
109
|
"""
|
|
107
110
|
|
|
108
111
|
|
|
109
|
-
|
|
112
|
+
if TYPE_CHECKING:
|
|
113
|
+
_DescribeJobQueuesPaginatorBase = Paginator[DescribeJobQueuesResponseTypeDef]
|
|
114
|
+
else:
|
|
115
|
+
_DescribeJobQueuesPaginatorBase = Paginator # type: ignore[assignment]
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
class DescribeJobQueuesPaginator(_DescribeJobQueuesPaginatorBase):
|
|
110
119
|
"""
|
|
111
120
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues)
|
|
112
121
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobqueuespaginator)
|
|
113
122
|
"""
|
|
114
123
|
|
|
115
|
-
def paginate(
|
|
116
|
-
self, **kwargs: Unpack[
|
|
117
|
-
) ->
|
|
124
|
+
def paginate( # type: ignore[override]
|
|
125
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestPaginateTypeDef]
|
|
126
|
+
) -> PageIterator[DescribeJobQueuesResponseTypeDef]:
|
|
118
127
|
"""
|
|
119
128
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues.paginate)
|
|
120
129
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobqueuespaginator)
|
|
121
130
|
"""
|
|
122
131
|
|
|
123
132
|
|
|
124
|
-
|
|
133
|
+
if TYPE_CHECKING:
|
|
134
|
+
_ListJobsPaginatorBase = Paginator[ListJobsResponseTypeDef]
|
|
135
|
+
else:
|
|
136
|
+
_ListJobsPaginatorBase = Paginator # type: ignore[assignment]
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class ListJobsPaginator(_ListJobsPaginatorBase):
|
|
125
140
|
"""
|
|
126
141
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs)
|
|
127
142
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listjobspaginator)
|
|
128
143
|
"""
|
|
129
144
|
|
|
130
|
-
def paginate(
|
|
131
|
-
self, **kwargs: Unpack[
|
|
132
|
-
) ->
|
|
145
|
+
def paginate( # type: ignore[override]
|
|
146
|
+
self, **kwargs: Unpack[ListJobsRequestPaginateTypeDef]
|
|
147
|
+
) -> PageIterator[ListJobsResponseTypeDef]:
|
|
133
148
|
"""
|
|
134
149
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs.paginate)
|
|
135
150
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listjobspaginator)
|
|
136
151
|
"""
|
|
137
152
|
|
|
138
153
|
|
|
139
|
-
|
|
154
|
+
if TYPE_CHECKING:
|
|
155
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator[ListSchedulingPoliciesResponseTypeDef]
|
|
156
|
+
else:
|
|
157
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator # type: ignore[assignment]
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class ListSchedulingPoliciesPaginator(_ListSchedulingPoliciesPaginatorBase):
|
|
140
161
|
"""
|
|
141
162
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies)
|
|
142
163
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
143
164
|
"""
|
|
144
165
|
|
|
145
|
-
def paginate(
|
|
146
|
-
self, **kwargs: Unpack[
|
|
147
|
-
) ->
|
|
166
|
+
def paginate( # type: ignore[override]
|
|
167
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestPaginateTypeDef]
|
|
168
|
+
) -> PageIterator[ListSchedulingPoliciesResponseTypeDef]:
|
|
148
169
|
"""
|
|
149
170
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies.paginate)
|
|
150
171
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
types_boto3_batch/paginator.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_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
|
|
|
@@ -61,77 +63,93 @@ __all__ = (
|
|
|
61
63
|
"ListSchedulingPoliciesPaginator",
|
|
62
64
|
)
|
|
63
65
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"""
|
|
66
|
+
if TYPE_CHECKING:
|
|
67
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator[
|
|
68
|
+
DescribeComputeEnvironmentsResponseTypeDef
|
|
69
|
+
]
|
|
70
|
+
else:
|
|
71
|
+
_DescribeComputeEnvironmentsPaginatorBase = Paginator # type: ignore[assignment]
|
|
71
72
|
|
|
72
|
-
class DescribeComputeEnvironmentsPaginator(
|
|
73
|
+
class DescribeComputeEnvironmentsPaginator(_DescribeComputeEnvironmentsPaginatorBase):
|
|
73
74
|
"""
|
|
74
75
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments)
|
|
75
76
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
76
77
|
"""
|
|
77
|
-
def paginate(
|
|
78
|
-
self,
|
|
79
|
-
|
|
80
|
-
DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef
|
|
81
|
-
],
|
|
82
|
-
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
78
|
+
def paginate( # type: ignore[override]
|
|
79
|
+
self, **kwargs: Unpack[DescribeComputeEnvironmentsRequestPaginateTypeDef]
|
|
80
|
+
) -> PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
83
81
|
"""
|
|
84
82
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeComputeEnvironments.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
85
83
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
|
86
84
|
"""
|
|
87
85
|
|
|
88
|
-
|
|
86
|
+
if TYPE_CHECKING:
|
|
87
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator[DescribeJobDefinitionsResponseTypeDef]
|
|
88
|
+
else:
|
|
89
|
+
_DescribeJobDefinitionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
90
|
+
|
|
91
|
+
class DescribeJobDefinitionsPaginator(_DescribeJobDefinitionsPaginatorBase):
|
|
89
92
|
"""
|
|
90
93
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions)
|
|
91
94
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
92
95
|
"""
|
|
93
|
-
def paginate(
|
|
94
|
-
self, **kwargs: Unpack[
|
|
95
|
-
) ->
|
|
96
|
+
def paginate( # type: ignore[override]
|
|
97
|
+
self, **kwargs: Unpack[DescribeJobDefinitionsRequestPaginateTypeDef]
|
|
98
|
+
) -> PageIterator[DescribeJobDefinitionsResponseTypeDef]:
|
|
96
99
|
"""
|
|
97
100
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobDefinitions.html#Batch.Paginator.DescribeJobDefinitions.paginate)
|
|
98
101
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobdefinitionspaginator)
|
|
99
102
|
"""
|
|
100
103
|
|
|
101
|
-
|
|
104
|
+
if TYPE_CHECKING:
|
|
105
|
+
_DescribeJobQueuesPaginatorBase = Paginator[DescribeJobQueuesResponseTypeDef]
|
|
106
|
+
else:
|
|
107
|
+
_DescribeJobQueuesPaginatorBase = Paginator # type: ignore[assignment]
|
|
108
|
+
|
|
109
|
+
class DescribeJobQueuesPaginator(_DescribeJobQueuesPaginatorBase):
|
|
102
110
|
"""
|
|
103
111
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues)
|
|
104
112
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobqueuespaginator)
|
|
105
113
|
"""
|
|
106
|
-
def paginate(
|
|
107
|
-
self, **kwargs: Unpack[
|
|
108
|
-
) ->
|
|
114
|
+
def paginate( # type: ignore[override]
|
|
115
|
+
self, **kwargs: Unpack[DescribeJobQueuesRequestPaginateTypeDef]
|
|
116
|
+
) -> PageIterator[DescribeJobQueuesResponseTypeDef]:
|
|
109
117
|
"""
|
|
110
118
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/DescribeJobQueues.html#Batch.Paginator.DescribeJobQueues.paginate)
|
|
111
119
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#describejobqueuespaginator)
|
|
112
120
|
"""
|
|
113
121
|
|
|
114
|
-
|
|
122
|
+
if TYPE_CHECKING:
|
|
123
|
+
_ListJobsPaginatorBase = Paginator[ListJobsResponseTypeDef]
|
|
124
|
+
else:
|
|
125
|
+
_ListJobsPaginatorBase = Paginator # type: ignore[assignment]
|
|
126
|
+
|
|
127
|
+
class ListJobsPaginator(_ListJobsPaginatorBase):
|
|
115
128
|
"""
|
|
116
129
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs)
|
|
117
130
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listjobspaginator)
|
|
118
131
|
"""
|
|
119
|
-
def paginate(
|
|
120
|
-
self, **kwargs: Unpack[
|
|
121
|
-
) ->
|
|
132
|
+
def paginate( # type: ignore[override]
|
|
133
|
+
self, **kwargs: Unpack[ListJobsRequestPaginateTypeDef]
|
|
134
|
+
) -> PageIterator[ListJobsResponseTypeDef]:
|
|
122
135
|
"""
|
|
123
136
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListJobs.html#Batch.Paginator.ListJobs.paginate)
|
|
124
137
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listjobspaginator)
|
|
125
138
|
"""
|
|
126
139
|
|
|
127
|
-
|
|
140
|
+
if TYPE_CHECKING:
|
|
141
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator[ListSchedulingPoliciesResponseTypeDef]
|
|
142
|
+
else:
|
|
143
|
+
_ListSchedulingPoliciesPaginatorBase = Paginator # type: ignore[assignment]
|
|
144
|
+
|
|
145
|
+
class ListSchedulingPoliciesPaginator(_ListSchedulingPoliciesPaginatorBase):
|
|
128
146
|
"""
|
|
129
147
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies)
|
|
130
148
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
|
131
149
|
"""
|
|
132
|
-
def paginate(
|
|
133
|
-
self, **kwargs: Unpack[
|
|
134
|
-
) ->
|
|
150
|
+
def paginate( # type: ignore[override]
|
|
151
|
+
self, **kwargs: Unpack[ListSchedulingPoliciesRequestPaginateTypeDef]
|
|
152
|
+
) -> PageIterator[ListSchedulingPoliciesResponseTypeDef]:
|
|
135
153
|
"""
|
|
136
154
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch/paginator/ListSchedulingPolicies.html#Batch.Paginator.ListSchedulingPolicies.paginate)
|
|
137
155
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_batch/paginators/#listschedulingpoliciespaginator)
|
types_boto3_batch/type_defs.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_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]
|
types_boto3_batch/type_defs.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for batch service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_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]
|
types_boto3_batch/version.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: types-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="types-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
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -105,7 +105,7 @@ 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.
|
|
108
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
109
109
|
2. Select `boto3` AWS SDK.
|
|
110
110
|
3. Add `Batch` service.
|
|
111
111
|
4. Use provided commands to install generated packages.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
types_boto3_batch/__init__.py,sha256=30OjOv3u281DgGrO-CpC_e4Eqwx8CistWOj8VM1fur8,1543
|
|
2
|
+
types_boto3_batch/__init__.pyi,sha256=GjAU-dVLeJqK0lWN7S8-Mr4vb_Yl_oOhoFFzPXPqDE8,1542
|
|
3
|
+
types_boto3_batch/__main__.py,sha256=G-oSnbJwXWiAElu5T8b-3-lOG1mk7a4pnMeIvM3-Pzs,976
|
|
4
|
+
types_boto3_batch/client.py,sha256=DM8v_ICH8vDpUn3gCSXZZ5voCrh0aj6p39J4VkmVbNs,19700
|
|
5
|
+
types_boto3_batch/client.pyi,sha256=nCi0DTBux82XzLAqxV_x7Tv1QGCv_SPPN_X5he3nuLc,19697
|
|
6
|
+
types_boto3_batch/literals.py,sha256=UHHjJx-a8SCMuDso-EoyOm-sktfjp6WyiqznJkqOR_Y,12242
|
|
7
|
+
types_boto3_batch/literals.pyi,sha256=505CYgVrK7z9a3KtRBIwjdoNJ9kzANvUdRMRrRCPvu4,12240
|
|
8
|
+
types_boto3_batch/paginator.py,sha256=Q2alFMijI9PzwpeD57uIIiasx-SjHxQzRENA7_k6lEQ,7863
|
|
9
|
+
types_boto3_batch/paginator.pyi,sha256=KwFU4iUY_Uen8qp0GIcTpUzUNB4i6nQTYGiy3aAOyY8,7847
|
|
10
|
+
types_boto3_batch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
types_boto3_batch/type_defs.py,sha256=r73SymqTZAPALfQg2_5giZ04Wyc9xDF_8cBBz8crNfE,50963
|
|
12
|
+
types_boto3_batch/type_defs.pyi,sha256=GtzDpj7NP5OSmTFckXyY-dDjssrrSKEcRvthOb6Kfm0,50791
|
|
13
|
+
types_boto3_batch/version.py,sha256=n6wyMBvI3Tp0INYol4fUJ84y0BqM9ti-SkLRGfsif5s,93
|
|
14
|
+
types_boto3_batch-1.35.93.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
+
types_boto3_batch-1.35.93.dist-info/METADATA,sha256=xAlQ0nMGaRyN_Lp91UbWLqZVuawWNOcH20z336Vkvls,15066
|
|
16
|
+
types_boto3_batch-1.35.93.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
17
|
+
types_boto3_batch-1.35.93.dist-info/top_level.txt,sha256=Uom8UeK1nnEn9_7ktm0WqcI79MHSYcQA-TT0oD_e8mM,18
|
|
18
|
+
types_boto3_batch-1.35.93.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
types_boto3_batch/__init__.py,sha256=PH9c98yrNmE_SzVCV0gERY9VOHgyl7QoXYzzYnq6mKc,1543
|
|
2
|
-
types_boto3_batch/__init__.pyi,sha256=MdoB47f4IMO3yyC_1VzCp7qMKmDXAo-O-qOKXfhHgDM,1542
|
|
3
|
-
types_boto3_batch/__main__.py,sha256=AGuvzTfYWScDZtmQZWti2xahLbKAnMQkrmuhy2spuqw,942
|
|
4
|
-
types_boto3_batch/client.py,sha256=SqRClz7O5FCw9NxodrwHWcde76esVpmNKObNhubQA-g,19604
|
|
5
|
-
types_boto3_batch/client.pyi,sha256=xCMXGHsPjSPJ6uidyU85NrszZWK_q7dVLXEmvdB9gmE,19600
|
|
6
|
-
types_boto3_batch/literals.py,sha256=KVK0Sy031nkXuxzD3h5hSDu5odxOuSOTJe0r3kPTurs,12247
|
|
7
|
-
types_boto3_batch/literals.pyi,sha256=Ys4JrOjf4f40m6Fxy83lJImOyfQ9T5eplxfgO7HFlKY,12245
|
|
8
|
-
types_boto3_batch/paginator.py,sha256=psT5QOv4JNebQF71dJ6Z6Dc8xE_F-aLfh4r-N8svt4E,7082
|
|
9
|
-
types_boto3_batch/paginator.pyi,sha256=wBtete7tO_7EUMYmi9_Br5xeSPRzSJvsBy4gZ0JZaX0,7069
|
|
10
|
-
types_boto3_batch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
types_boto3_batch/type_defs.py,sha256=GPhTjoGu88_BypCF8Ok5i2y0X_IXH5sQeR4K83u7VkA,50939
|
|
12
|
-
types_boto3_batch/type_defs.pyi,sha256=UWT5XX2LwI73JMYp173oUiLr2QrLZD3cm0xApW0oTiw,50767
|
|
13
|
-
types_boto3_batch/version.py,sha256=HyYLplYlaHm_1OJJTwGTM8xIs3SOlKqP5N_0q2GiPbQ,93
|
|
14
|
-
types_boto3_batch-1.35.83.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
15
|
-
types_boto3_batch-1.35.83.dist-info/METADATA,sha256=fIboXKtNrZvYv5AtRytFM_QFeu20iBmJKQNJHLfwPIQ,15073
|
|
16
|
-
types_boto3_batch-1.35.83.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
17
|
-
types_boto3_batch-1.35.83.dist-info/top_level.txt,sha256=Uom8UeK1nnEn9_7ktm0WqcI79MHSYcQA-TT0oD_e8mM,18
|
|
18
|
-
types_boto3_batch-1.35.83.dist-info/RECORD,,
|
|
File without changes
|