types-boto3-batch 1.35.71__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 +10 -2
- types_boto3_batch/literals.pyi +10 -2
- types_boto3_batch/paginator.py +60 -39
- types_boto3_batch/paginator.pyi +56 -38
- types_boto3_batch/type_defs.py +33 -13
- types_boto3_batch/type_defs.pyi +32 -13
- types_boto3_batch/version.py +2 -2
- {types_boto3_batch-1.35.71.dist-info → types_boto3_batch-1.35.93.dist-info}/LICENSE +1 -1
- {types_boto3_batch-1.35.71.dist-info → types_boto3_batch-1.35.93.dist-info}/METADATA +50 -10
- types_boto3_batch-1.35.93.dist-info/RECORD +18 -0
- {types_boto3_batch-1.35.71.dist-info → types_boto3_batch-1.35.93.dist-info}/WHEEL +1 -1
- types_boto3_batch-1.35.71.dist-info/RECORD +0 -18
- {types_boto3_batch-1.35.71.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
|
|
@@ -127,12 +127,15 @@ ServiceName = Literal[
|
|
|
127
127
|
"b2bi",
|
|
128
128
|
"backup",
|
|
129
129
|
"backup-gateway",
|
|
130
|
+
"backupsearch",
|
|
130
131
|
"batch",
|
|
131
132
|
"bcm-data-exports",
|
|
132
133
|
"bcm-pricing-calculator",
|
|
133
134
|
"bedrock",
|
|
134
135
|
"bedrock-agent",
|
|
135
136
|
"bedrock-agent-runtime",
|
|
137
|
+
"bedrock-data-automation",
|
|
138
|
+
"bedrock-data-automation-runtime",
|
|
136
139
|
"bedrock-runtime",
|
|
137
140
|
"billing",
|
|
138
141
|
"billingconductor",
|
|
@@ -210,6 +213,7 @@ ServiceName = Literal[
|
|
|
210
213
|
"drs",
|
|
211
214
|
"ds",
|
|
212
215
|
"ds-data",
|
|
216
|
+
"dsql",
|
|
213
217
|
"dynamodb",
|
|
214
218
|
"dynamodbstreams",
|
|
215
219
|
"ebs",
|
|
@@ -266,6 +270,7 @@ ServiceName = Literal[
|
|
|
266
270
|
"inspector-scan",
|
|
267
271
|
"inspector2",
|
|
268
272
|
"internetmonitor",
|
|
273
|
+
"invoicing",
|
|
269
274
|
"iot",
|
|
270
275
|
"iot-data",
|
|
271
276
|
"iot-jobs-data",
|
|
@@ -352,6 +357,7 @@ ServiceName = Literal[
|
|
|
352
357
|
"neptune-graph",
|
|
353
358
|
"neptunedata",
|
|
354
359
|
"network-firewall",
|
|
360
|
+
"networkflowmonitor",
|
|
355
361
|
"networkmanager",
|
|
356
362
|
"networkmonitor",
|
|
357
363
|
"notifications",
|
|
@@ -418,6 +424,7 @@ ServiceName = Literal[
|
|
|
418
424
|
"s3",
|
|
419
425
|
"s3control",
|
|
420
426
|
"s3outposts",
|
|
427
|
+
"s3tables",
|
|
421
428
|
"sagemaker",
|
|
422
429
|
"sagemaker-a2i-runtime",
|
|
423
430
|
"sagemaker-edge",
|
|
@@ -430,6 +437,7 @@ ServiceName = Literal[
|
|
|
430
437
|
"schemas",
|
|
431
438
|
"sdb",
|
|
432
439
|
"secretsmanager",
|
|
440
|
+
"security-ir",
|
|
433
441
|
"securityhub",
|
|
434
442
|
"securitylake",
|
|
435
443
|
"serverlessrepo",
|
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
|
|
@@ -125,12 +125,15 @@ ServiceName = Literal[
|
|
|
125
125
|
"b2bi",
|
|
126
126
|
"backup",
|
|
127
127
|
"backup-gateway",
|
|
128
|
+
"backupsearch",
|
|
128
129
|
"batch",
|
|
129
130
|
"bcm-data-exports",
|
|
130
131
|
"bcm-pricing-calculator",
|
|
131
132
|
"bedrock",
|
|
132
133
|
"bedrock-agent",
|
|
133
134
|
"bedrock-agent-runtime",
|
|
135
|
+
"bedrock-data-automation",
|
|
136
|
+
"bedrock-data-automation-runtime",
|
|
134
137
|
"bedrock-runtime",
|
|
135
138
|
"billing",
|
|
136
139
|
"billingconductor",
|
|
@@ -208,6 +211,7 @@ ServiceName = Literal[
|
|
|
208
211
|
"drs",
|
|
209
212
|
"ds",
|
|
210
213
|
"ds-data",
|
|
214
|
+
"dsql",
|
|
211
215
|
"dynamodb",
|
|
212
216
|
"dynamodbstreams",
|
|
213
217
|
"ebs",
|
|
@@ -264,6 +268,7 @@ ServiceName = Literal[
|
|
|
264
268
|
"inspector-scan",
|
|
265
269
|
"inspector2",
|
|
266
270
|
"internetmonitor",
|
|
271
|
+
"invoicing",
|
|
267
272
|
"iot",
|
|
268
273
|
"iot-data",
|
|
269
274
|
"iot-jobs-data",
|
|
@@ -350,6 +355,7 @@ ServiceName = Literal[
|
|
|
350
355
|
"neptune-graph",
|
|
351
356
|
"neptunedata",
|
|
352
357
|
"network-firewall",
|
|
358
|
+
"networkflowmonitor",
|
|
353
359
|
"networkmanager",
|
|
354
360
|
"networkmonitor",
|
|
355
361
|
"notifications",
|
|
@@ -416,6 +422,7 @@ ServiceName = Literal[
|
|
|
416
422
|
"s3",
|
|
417
423
|
"s3control",
|
|
418
424
|
"s3outposts",
|
|
425
|
+
"s3tables",
|
|
419
426
|
"sagemaker",
|
|
420
427
|
"sagemaker-a2i-runtime",
|
|
421
428
|
"sagemaker-edge",
|
|
@@ -428,6 +435,7 @@ ServiceName = Literal[
|
|
|
428
435
|
"schemas",
|
|
429
436
|
"sdb",
|
|
430
437
|
"secretsmanager",
|
|
438
|
+
"security-ir",
|
|
431
439
|
"securityhub",
|
|
432
440
|
"securitylake",
|
|
433
441
|
"serverlessrepo",
|
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",
|
|
@@ -123,6 +131,7 @@ __all__ = (
|
|
|
123
131
|
"EksMetadataOutputTypeDef",
|
|
124
132
|
"EksMetadataTypeDef",
|
|
125
133
|
"EksMetadataUnionTypeDef",
|
|
134
|
+
"EksPersistentVolumeClaimTypeDef",
|
|
126
135
|
"EksPodPropertiesDetailTypeDef",
|
|
127
136
|
"EksPodPropertiesOutputTypeDef",
|
|
128
137
|
"EksPodPropertiesOverrideTypeDef",
|
|
@@ -164,10 +173,10 @@ __all__ = (
|
|
|
164
173
|
"LinuxParametersOutputTypeDef",
|
|
165
174
|
"LinuxParametersTypeDef",
|
|
166
175
|
"LinuxParametersUnionTypeDef",
|
|
167
|
-
"
|
|
176
|
+
"ListJobsRequestPaginateTypeDef",
|
|
168
177
|
"ListJobsRequestRequestTypeDef",
|
|
169
178
|
"ListJobsResponseTypeDef",
|
|
170
|
-
"
|
|
179
|
+
"ListSchedulingPoliciesRequestPaginateTypeDef",
|
|
171
180
|
"ListSchedulingPoliciesRequestRequestTypeDef",
|
|
172
181
|
"ListSchedulingPoliciesResponseTypeDef",
|
|
173
182
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
@@ -441,6 +450,7 @@ class EksContainerSecurityContextTypeDef(TypedDict):
|
|
|
441
450
|
class EksContainerVolumeMountTypeDef(TypedDict):
|
|
442
451
|
name: NotRequired[str]
|
|
443
452
|
mountPath: NotRequired[str]
|
|
453
|
+
subPath: NotRequired[str]
|
|
444
454
|
readOnly: NotRequired[bool]
|
|
445
455
|
|
|
446
456
|
|
|
@@ -460,10 +470,19 @@ class EksHostPathTypeDef(TypedDict):
|
|
|
460
470
|
|
|
461
471
|
class EksMetadataOutputTypeDef(TypedDict):
|
|
462
472
|
labels: NotRequired[Dict[str, str]]
|
|
473
|
+
annotations: NotRequired[Dict[str, str]]
|
|
474
|
+
namespace: NotRequired[str]
|
|
463
475
|
|
|
464
476
|
|
|
465
477
|
class EksMetadataTypeDef(TypedDict):
|
|
466
478
|
labels: NotRequired[Mapping[str, str]]
|
|
479
|
+
annotations: NotRequired[Mapping[str, str]]
|
|
480
|
+
namespace: NotRequired[str]
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
class EksPersistentVolumeClaimTypeDef(TypedDict):
|
|
484
|
+
claimName: str
|
|
485
|
+
readOnly: NotRequired[bool]
|
|
467
486
|
|
|
468
487
|
|
|
469
488
|
class ImagePullSecretTypeDef(TypedDict):
|
|
@@ -714,24 +733,24 @@ class UpdateJobQueueRequestRequestTypeDef(TypedDict):
|
|
|
714
733
|
jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]]
|
|
715
734
|
|
|
716
735
|
|
|
717
|
-
class
|
|
736
|
+
class DescribeComputeEnvironmentsRequestPaginateTypeDef(TypedDict):
|
|
718
737
|
computeEnvironments: NotRequired[Sequence[str]]
|
|
719
738
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
720
739
|
|
|
721
740
|
|
|
722
|
-
class
|
|
741
|
+
class DescribeJobDefinitionsRequestPaginateTypeDef(TypedDict):
|
|
723
742
|
jobDefinitions: NotRequired[Sequence[str]]
|
|
724
743
|
jobDefinitionName: NotRequired[str]
|
|
725
744
|
status: NotRequired[str]
|
|
726
745
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
727
746
|
|
|
728
747
|
|
|
729
|
-
class
|
|
748
|
+
class DescribeJobQueuesRequestPaginateTypeDef(TypedDict):
|
|
730
749
|
jobQueues: NotRequired[Sequence[str]]
|
|
731
750
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
732
751
|
|
|
733
752
|
|
|
734
|
-
class
|
|
753
|
+
class ListSchedulingPoliciesRequestPaginateTypeDef(TypedDict):
|
|
735
754
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
736
755
|
|
|
737
756
|
|
|
@@ -795,6 +814,7 @@ class EksVolumeTypeDef(TypedDict):
|
|
|
795
814
|
hostPath: NotRequired[EksHostPathTypeDef]
|
|
796
815
|
emptyDir: NotRequired[EksEmptyDirTypeDef]
|
|
797
816
|
secret: NotRequired[EksSecretTypeDef]
|
|
817
|
+
persistentVolumeClaim: NotRequired[EksPersistentVolumeClaimTypeDef]
|
|
798
818
|
|
|
799
819
|
|
|
800
820
|
class RetryStrategyOutputTypeDef(TypedDict):
|
|
@@ -839,7 +859,7 @@ class JobSummaryTypeDef(TypedDict):
|
|
|
839
859
|
jobDefinition: NotRequired[str]
|
|
840
860
|
|
|
841
861
|
|
|
842
|
-
class
|
|
862
|
+
class ListJobsRequestPaginateTypeDef(TypedDict):
|
|
843
863
|
jobQueue: NotRequired[str]
|
|
844
864
|
arrayJobId: NotRequired[str]
|
|
845
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",
|
|
@@ -122,6 +130,7 @@ __all__ = (
|
|
|
122
130
|
"EksMetadataOutputTypeDef",
|
|
123
131
|
"EksMetadataTypeDef",
|
|
124
132
|
"EksMetadataUnionTypeDef",
|
|
133
|
+
"EksPersistentVolumeClaimTypeDef",
|
|
125
134
|
"EksPodPropertiesDetailTypeDef",
|
|
126
135
|
"EksPodPropertiesOutputTypeDef",
|
|
127
136
|
"EksPodPropertiesOverrideTypeDef",
|
|
@@ -163,10 +172,10 @@ __all__ = (
|
|
|
163
172
|
"LinuxParametersOutputTypeDef",
|
|
164
173
|
"LinuxParametersTypeDef",
|
|
165
174
|
"LinuxParametersUnionTypeDef",
|
|
166
|
-
"
|
|
175
|
+
"ListJobsRequestPaginateTypeDef",
|
|
167
176
|
"ListJobsRequestRequestTypeDef",
|
|
168
177
|
"ListJobsResponseTypeDef",
|
|
169
|
-
"
|
|
178
|
+
"ListSchedulingPoliciesRequestPaginateTypeDef",
|
|
170
179
|
"ListSchedulingPoliciesRequestRequestTypeDef",
|
|
171
180
|
"ListSchedulingPoliciesResponseTypeDef",
|
|
172
181
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
@@ -400,6 +409,7 @@ class EksContainerSecurityContextTypeDef(TypedDict):
|
|
|
400
409
|
class EksContainerVolumeMountTypeDef(TypedDict):
|
|
401
410
|
name: NotRequired[str]
|
|
402
411
|
mountPath: NotRequired[str]
|
|
412
|
+
subPath: NotRequired[str]
|
|
403
413
|
readOnly: NotRequired[bool]
|
|
404
414
|
|
|
405
415
|
class EksContainerResourceRequirementsTypeDef(TypedDict):
|
|
@@ -415,9 +425,17 @@ class EksHostPathTypeDef(TypedDict):
|
|
|
415
425
|
|
|
416
426
|
class EksMetadataOutputTypeDef(TypedDict):
|
|
417
427
|
labels: NotRequired[Dict[str, str]]
|
|
428
|
+
annotations: NotRequired[Dict[str, str]]
|
|
429
|
+
namespace: NotRequired[str]
|
|
418
430
|
|
|
419
431
|
class EksMetadataTypeDef(TypedDict):
|
|
420
432
|
labels: NotRequired[Mapping[str, str]]
|
|
433
|
+
annotations: NotRequired[Mapping[str, str]]
|
|
434
|
+
namespace: NotRequired[str]
|
|
435
|
+
|
|
436
|
+
class EksPersistentVolumeClaimTypeDef(TypedDict):
|
|
437
|
+
claimName: str
|
|
438
|
+
readOnly: NotRequired[bool]
|
|
421
439
|
|
|
422
440
|
class ImagePullSecretTypeDef(TypedDict):
|
|
423
441
|
name: str
|
|
@@ -627,21 +645,21 @@ class UpdateJobQueueRequestRequestTypeDef(TypedDict):
|
|
|
627
645
|
computeEnvironmentOrder: NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]]
|
|
628
646
|
jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]]
|
|
629
647
|
|
|
630
|
-
class
|
|
648
|
+
class DescribeComputeEnvironmentsRequestPaginateTypeDef(TypedDict):
|
|
631
649
|
computeEnvironments: NotRequired[Sequence[str]]
|
|
632
650
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
633
651
|
|
|
634
|
-
class
|
|
652
|
+
class DescribeJobDefinitionsRequestPaginateTypeDef(TypedDict):
|
|
635
653
|
jobDefinitions: NotRequired[Sequence[str]]
|
|
636
654
|
jobDefinitionName: NotRequired[str]
|
|
637
655
|
status: NotRequired[str]
|
|
638
656
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
639
657
|
|
|
640
|
-
class
|
|
658
|
+
class DescribeJobQueuesRequestPaginateTypeDef(TypedDict):
|
|
641
659
|
jobQueues: NotRequired[Sequence[str]]
|
|
642
660
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
643
661
|
|
|
644
|
-
class
|
|
662
|
+
class ListSchedulingPoliciesRequestPaginateTypeDef(TypedDict):
|
|
645
663
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
646
664
|
|
|
647
665
|
DeviceUnionTypeDef = Union[DeviceTypeDef, DeviceOutputTypeDef]
|
|
@@ -698,6 +716,7 @@ class EksVolumeTypeDef(TypedDict):
|
|
|
698
716
|
hostPath: NotRequired[EksHostPathTypeDef]
|
|
699
717
|
emptyDir: NotRequired[EksEmptyDirTypeDef]
|
|
700
718
|
secret: NotRequired[EksSecretTypeDef]
|
|
719
|
+
persistentVolumeClaim: NotRequired[EksPersistentVolumeClaimTypeDef]
|
|
701
720
|
|
|
702
721
|
class RetryStrategyOutputTypeDef(TypedDict):
|
|
703
722
|
attempts: NotRequired[int]
|
|
@@ -735,7 +754,7 @@ class JobSummaryTypeDef(TypedDict):
|
|
|
735
754
|
nodeProperties: NotRequired[NodePropertiesSummaryTypeDef]
|
|
736
755
|
jobDefinition: NotRequired[str]
|
|
737
756
|
|
|
738
|
-
class
|
|
757
|
+
class ListJobsRequestPaginateTypeDef(TypedDict):
|
|
739
758
|
jobQueue: NotRequired[str]
|
|
740
759
|
arrayJobId: NotRequired[str]
|
|
741
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
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/types_boto3_docs/types_boto3_batch/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 batch type-annotations
|
|
12
|
+
Keywords: boto3 batch boto3-stubs type-annotations mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -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/),
|
|
@@ -51,8 +51,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
51
51
|
[mypy](https://github.com/python/mypy),
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
|
-
Generated
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
Generated with
|
|
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
|
|
@@ -60,10 +60,11 @@ More information can be found on
|
|
|
60
60
|
|
|
61
61
|
See how it helps you find and fix potential bugs:
|
|
62
62
|
|
|
63
|
-

|
|
64
64
|
|
|
65
65
|
- [types-boto3-batch](#types-boto3-batch)
|
|
66
66
|
- [How to install](#how-to-install)
|
|
67
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
68
|
- [VSCode extension](#vscode-extension)
|
|
68
69
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
70
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +76,7 @@ See how it helps you find and fix potential bugs:
|
|
|
75
76
|
- [Other IDEs](#other-ides)
|
|
76
77
|
- [mypy](#mypy)
|
|
77
78
|
- [pyright](#pyright)
|
|
79
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
80
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
81
|
- [Client annotations](#client-annotations)
|
|
80
82
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +95,21 @@ See how it helps you find and fix potential bugs:
|
|
|
93
95
|
|
|
94
96
|
## How to install
|
|
95
97
|
|
|
98
|
+
<a id="generate-locally-(recommended)"></a>
|
|
99
|
+
|
|
100
|
+
### Generate locally (recommended)
|
|
101
|
+
|
|
102
|
+
You can generate type annotations for `boto3` package locally with
|
|
103
|
+
`mypy_boto3_builder`. Use
|
|
104
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
105
|
+
isolation.
|
|
106
|
+
|
|
107
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
109
|
+
2. Select `boto3` AWS SDK.
|
|
110
|
+
3. Add `Batch` service.
|
|
111
|
+
4. Use provided commands to install generated packages.
|
|
112
|
+
|
|
96
113
|
<a id="vscode-extension"></a>
|
|
97
114
|
|
|
98
115
|
### VSCode extension
|
|
@@ -113,12 +130,10 @@ Install `types-boto3` for `Batch` service.
|
|
|
113
130
|
# install with boto3 type annotations
|
|
114
131
|
python -m pip install 'types-boto3[batch]'
|
|
115
132
|
|
|
116
|
-
|
|
117
133
|
# Lite version does not provide session.client/resource overloads
|
|
118
134
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
135
|
python -m pip install 'types-boto3-lite[batch]'
|
|
120
136
|
|
|
121
|
-
|
|
122
137
|
# standalone installation
|
|
123
138
|
python -m pip install types-boto3-batch
|
|
124
139
|
```
|
|
@@ -267,6 +282,31 @@ Optionally, you can install `types-boto3` to `typings` directory.
|
|
|
267
282
|
Type checking should now work. No explicit type annotations required, write
|
|
268
283
|
your `boto3` code as usual.
|
|
269
284
|
|
|
285
|
+
<a id="pylint-compatibility"></a>
|
|
286
|
+
|
|
287
|
+
### Pylint compatibility
|
|
288
|
+
|
|
289
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
290
|
+
`types-boto3-batch` dependency in production. However, there is an issue in
|
|
291
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
292
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
293
|
+
|
|
294
|
+
```python
|
|
295
|
+
from typing import TYPE_CHECKING
|
|
296
|
+
|
|
297
|
+
if TYPE_CHECKING:
|
|
298
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
299
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
300
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
301
|
+
else:
|
|
302
|
+
EC2Client = object
|
|
303
|
+
EC2ServiceResource = object
|
|
304
|
+
BundleTaskCompleteWaiter = object
|
|
305
|
+
DescribeVolumesPaginator = object
|
|
306
|
+
|
|
307
|
+
...
|
|
308
|
+
```
|
|
309
|
+
|
|
270
310
|
<a id="explicit-type-annotations"></a>
|
|
271
311
|
|
|
272
312
|
## Explicit type annotations
|
|
@@ -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=v5tRHYa248HLoFpVSp1SWq1iY7EKxhL-H0FVYp0NOy8,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=K6pEWprGrmz3xq_zhPngUHCGolTw_hYDmlfmnSH2Hqg,12067
|
|
7
|
-
types_boto3_batch/literals.pyi,sha256=yNvcR0h8Kn1xAImrD2fUmsh3w8PJVo8Km_JIlhuHais,12065
|
|
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=_RBbnBtR0Wa1wvRYZSErItjIy1TeyajPcUvVAqCsxOc,50538
|
|
12
|
-
types_boto3_batch/type_defs.pyi,sha256=sFNjhwUmtFnIFNeZtNvnJLzS94boNSrzgkra3H17p1w,50367
|
|
13
|
-
types_boto3_batch/version.py,sha256=eIS36a5iw2-mD_eS7zeepUtx_w_DQOn6RiPaBDeB7EQ,93
|
|
14
|
-
types_boto3_batch-1.35.71.dist-info/LICENSE,sha256=eQDadZQZ3vRCiNF510ZT4yJV2zgo4000AOBoDRZyvKg,1070
|
|
15
|
-
types_boto3_batch-1.35.71.dist-info/METADATA,sha256=7AqcLgJLpR_BZsXIDwXau_Go-jwR3R7ZcqHosOG7H30,13741
|
|
16
|
-
types_boto3_batch-1.35.71.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
17
|
-
types_boto3_batch-1.35.71.dist-info/top_level.txt,sha256=Uom8UeK1nnEn9_7ktm0WqcI79MHSYcQA-TT0oD_e8mM,18
|
|
18
|
-
types_boto3_batch-1.35.71.dist-info/RECORD,,
|
|
File without changes
|