mypy-boto3-batch 1.34.83__py3-none-any.whl → 1.34.118__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.
- mypy_boto3_batch/__main__.py +4 -4
- mypy_boto3_batch/client.py +26 -16
- mypy_boto3_batch/client.pyi +26 -16
- mypy_boto3_batch/literals.py +2 -0
- mypy_boto3_batch/literals.pyi +2 -0
- mypy_boto3_batch/paginator.py +2 -2
- mypy_boto3_batch/paginator.pyi +2 -2
- mypy_boto3_batch/type_defs.py +531 -98
- mypy_boto3_batch/type_defs.pyi +531 -98
- mypy_boto3_batch/version.py +1 -1
- {mypy_boto3_batch-1.34.83.dist-info → mypy_boto3_batch-1.34.118.dist-info}/METADATA +4 -4
- mypy_boto3_batch-1.34.118.dist-info/RECORD +18 -0
- mypy_boto3_batch-1.34.83.dist-info/RECORD +0 -18
- {mypy_boto3_batch-1.34.83.dist-info → mypy_boto3_batch-1.34.118.dist-info}/LICENSE +0 -0
- {mypy_boto3_batch-1.34.83.dist-info → mypy_boto3_batch-1.34.118.dist-info}/WHEEL +0 -0
- {mypy_boto3_batch-1.34.83.dist-info → mypy_boto3_batch-1.34.118.dist-info}/top_level.txt +0 -0
mypy_boto3_batch/__main__.py
CHANGED
|
@@ -10,9 +10,9 @@ def print_info() -> None:
|
|
|
10
10
|
Print package info to stdout.
|
|
11
11
|
"""
|
|
12
12
|
print(
|
|
13
|
-
"Type annotations for boto3.Batch 1.34.
|
|
14
|
-
"Version: 1.34.
|
|
15
|
-
"Builder version: 7.
|
|
13
|
+
"Type annotations for boto3.Batch 1.34.118\n"
|
|
14
|
+
"Version: 1.34.118\n"
|
|
15
|
+
"Builder version: 7.24.0\n"
|
|
16
16
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
|
|
17
17
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch\n"
|
|
18
18
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -24,7 +24,7 @@ def print_version() -> None:
|
|
|
24
24
|
"""
|
|
25
25
|
Print package version to stdout.
|
|
26
26
|
"""
|
|
27
|
-
print("1.34.
|
|
27
|
+
print("1.34.118")
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def main() -> None:
|
mypy_boto3_batch/client.py
CHANGED
|
@@ -37,10 +37,10 @@ from .paginator import (
|
|
|
37
37
|
from .type_defs import (
|
|
38
38
|
ArrayPropertiesTypeDef,
|
|
39
39
|
ComputeEnvironmentOrderTypeDef,
|
|
40
|
-
|
|
40
|
+
ComputeResourceUnionTypeDef,
|
|
41
41
|
ComputeResourceUpdateTypeDef,
|
|
42
42
|
ContainerOverridesTypeDef,
|
|
43
|
-
|
|
43
|
+
ContainerPropertiesUnionTypeDef,
|
|
44
44
|
CreateComputeEnvironmentResponseTypeDef,
|
|
45
45
|
CreateJobQueueResponseTypeDef,
|
|
46
46
|
CreateSchedulingPolicyResponseTypeDef,
|
|
@@ -50,11 +50,12 @@ from .type_defs import (
|
|
|
50
50
|
DescribeJobsResponseTypeDef,
|
|
51
51
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
52
52
|
EcsPropertiesOverrideTypeDef,
|
|
53
|
-
|
|
53
|
+
EcsPropertiesUnionTypeDef,
|
|
54
54
|
EksConfigurationTypeDef,
|
|
55
55
|
EksPropertiesOverrideTypeDef,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
EksPropertiesUnionTypeDef,
|
|
57
|
+
FairsharePolicyUnionTypeDef,
|
|
58
|
+
GetJobQueueSnapshotResponseTypeDef,
|
|
58
59
|
JobDependencyTypeDef,
|
|
59
60
|
JobStateTimeLimitActionTypeDef,
|
|
60
61
|
JobTimeoutTypeDef,
|
|
@@ -63,9 +64,9 @@ from .type_defs import (
|
|
|
63
64
|
ListSchedulingPoliciesResponseTypeDef,
|
|
64
65
|
ListTagsForResourceResponseTypeDef,
|
|
65
66
|
NodeOverridesTypeDef,
|
|
66
|
-
|
|
67
|
+
NodePropertiesUnionTypeDef,
|
|
67
68
|
RegisterJobDefinitionResponseTypeDef,
|
|
68
|
-
|
|
69
|
+
RetryStrategyUnionTypeDef,
|
|
69
70
|
SubmitJobResponseTypeDef,
|
|
70
71
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
71
72
|
UpdateJobQueueResponseTypeDef,
|
|
@@ -142,7 +143,7 @@ class BatchClient(BaseClient):
|
|
|
142
143
|
type: CETypeType,
|
|
143
144
|
state: CEStateType = ...,
|
|
144
145
|
unmanagedvCpus: int = ...,
|
|
145
|
-
computeResources:
|
|
146
|
+
computeResources: ComputeResourceUnionTypeDef = ...,
|
|
146
147
|
serviceRole: str = ...,
|
|
147
148
|
tags: Mapping[str, str] = ...,
|
|
148
149
|
eksConfiguration: EksConfigurationTypeDef = ...,
|
|
@@ -176,7 +177,7 @@ class BatchClient(BaseClient):
|
|
|
176
177
|
self,
|
|
177
178
|
*,
|
|
178
179
|
name: str,
|
|
179
|
-
fairsharePolicy:
|
|
180
|
+
fairsharePolicy: FairsharePolicyUnionTypeDef = ...,
|
|
180
181
|
tags: Mapping[str, str] = ...,
|
|
181
182
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
182
183
|
"""
|
|
@@ -290,6 +291,15 @@ class BatchClient(BaseClient):
|
|
|
290
291
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
291
292
|
"""
|
|
292
293
|
|
|
294
|
+
def get_job_queue_snapshot(self, *, jobQueue: str) -> GetJobQueueSnapshotResponseTypeDef:
|
|
295
|
+
"""
|
|
296
|
+
Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
|
|
297
|
+
queue.
|
|
298
|
+
|
|
299
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_job_queue_snapshot)
|
|
300
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
301
|
+
"""
|
|
302
|
+
|
|
293
303
|
def list_jobs(
|
|
294
304
|
self,
|
|
295
305
|
*,
|
|
@@ -333,15 +343,15 @@ class BatchClient(BaseClient):
|
|
|
333
343
|
type: JobDefinitionTypeType,
|
|
334
344
|
parameters: Mapping[str, str] = ...,
|
|
335
345
|
schedulingPriority: int = ...,
|
|
336
|
-
containerProperties:
|
|
337
|
-
nodeProperties:
|
|
338
|
-
retryStrategy:
|
|
346
|
+
containerProperties: ContainerPropertiesUnionTypeDef = ...,
|
|
347
|
+
nodeProperties: NodePropertiesUnionTypeDef = ...,
|
|
348
|
+
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
339
349
|
propagateTags: bool = ...,
|
|
340
350
|
timeout: JobTimeoutTypeDef = ...,
|
|
341
351
|
tags: Mapping[str, str] = ...,
|
|
342
352
|
platformCapabilities: Sequence[PlatformCapabilityType] = ...,
|
|
343
|
-
eksProperties:
|
|
344
|
-
ecsProperties:
|
|
353
|
+
eksProperties: EksPropertiesUnionTypeDef = ...,
|
|
354
|
+
ecsProperties: EcsPropertiesUnionTypeDef = ...,
|
|
345
355
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
346
356
|
"""
|
|
347
357
|
Registers an Batch job definition.
|
|
@@ -363,7 +373,7 @@ class BatchClient(BaseClient):
|
|
|
363
373
|
parameters: Mapping[str, str] = ...,
|
|
364
374
|
containerOverrides: ContainerOverridesTypeDef = ...,
|
|
365
375
|
nodeOverrides: NodeOverridesTypeDef = ...,
|
|
366
|
-
retryStrategy:
|
|
376
|
+
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
367
377
|
propagateTags: bool = ...,
|
|
368
378
|
timeout: JobTimeoutTypeDef = ...,
|
|
369
379
|
tags: Mapping[str, str] = ...,
|
|
@@ -436,7 +446,7 @@ class BatchClient(BaseClient):
|
|
|
436
446
|
"""
|
|
437
447
|
|
|
438
448
|
def update_scheduling_policy(
|
|
439
|
-
self, *, arn: str, fairsharePolicy:
|
|
449
|
+
self, *, arn: str, fairsharePolicy: FairsharePolicyUnionTypeDef = ...
|
|
440
450
|
) -> Dict[str, Any]:
|
|
441
451
|
"""
|
|
442
452
|
Updates a scheduling policy.
|
mypy_boto3_batch/client.pyi
CHANGED
|
@@ -37,10 +37,10 @@ from .paginator import (
|
|
|
37
37
|
from .type_defs import (
|
|
38
38
|
ArrayPropertiesTypeDef,
|
|
39
39
|
ComputeEnvironmentOrderTypeDef,
|
|
40
|
-
|
|
40
|
+
ComputeResourceUnionTypeDef,
|
|
41
41
|
ComputeResourceUpdateTypeDef,
|
|
42
42
|
ContainerOverridesTypeDef,
|
|
43
|
-
|
|
43
|
+
ContainerPropertiesUnionTypeDef,
|
|
44
44
|
CreateComputeEnvironmentResponseTypeDef,
|
|
45
45
|
CreateJobQueueResponseTypeDef,
|
|
46
46
|
CreateSchedulingPolicyResponseTypeDef,
|
|
@@ -50,11 +50,12 @@ from .type_defs import (
|
|
|
50
50
|
DescribeJobsResponseTypeDef,
|
|
51
51
|
DescribeSchedulingPoliciesResponseTypeDef,
|
|
52
52
|
EcsPropertiesOverrideTypeDef,
|
|
53
|
-
|
|
53
|
+
EcsPropertiesUnionTypeDef,
|
|
54
54
|
EksConfigurationTypeDef,
|
|
55
55
|
EksPropertiesOverrideTypeDef,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
EksPropertiesUnionTypeDef,
|
|
57
|
+
FairsharePolicyUnionTypeDef,
|
|
58
|
+
GetJobQueueSnapshotResponseTypeDef,
|
|
58
59
|
JobDependencyTypeDef,
|
|
59
60
|
JobStateTimeLimitActionTypeDef,
|
|
60
61
|
JobTimeoutTypeDef,
|
|
@@ -63,9 +64,9 @@ from .type_defs import (
|
|
|
63
64
|
ListSchedulingPoliciesResponseTypeDef,
|
|
64
65
|
ListTagsForResourceResponseTypeDef,
|
|
65
66
|
NodeOverridesTypeDef,
|
|
66
|
-
|
|
67
|
+
NodePropertiesUnionTypeDef,
|
|
67
68
|
RegisterJobDefinitionResponseTypeDef,
|
|
68
|
-
|
|
69
|
+
RetryStrategyUnionTypeDef,
|
|
69
70
|
SubmitJobResponseTypeDef,
|
|
70
71
|
UpdateComputeEnvironmentResponseTypeDef,
|
|
71
72
|
UpdateJobQueueResponseTypeDef,
|
|
@@ -139,7 +140,7 @@ class BatchClient(BaseClient):
|
|
|
139
140
|
type: CETypeType,
|
|
140
141
|
state: CEStateType = ...,
|
|
141
142
|
unmanagedvCpus: int = ...,
|
|
142
|
-
computeResources:
|
|
143
|
+
computeResources: ComputeResourceUnionTypeDef = ...,
|
|
143
144
|
serviceRole: str = ...,
|
|
144
145
|
tags: Mapping[str, str] = ...,
|
|
145
146
|
eksConfiguration: EksConfigurationTypeDef = ...,
|
|
@@ -173,7 +174,7 @@ class BatchClient(BaseClient):
|
|
|
173
174
|
self,
|
|
174
175
|
*,
|
|
175
176
|
name: str,
|
|
176
|
-
fairsharePolicy:
|
|
177
|
+
fairsharePolicy: FairsharePolicyUnionTypeDef = ...,
|
|
177
178
|
tags: Mapping[str, str] = ...,
|
|
178
179
|
) -> CreateSchedulingPolicyResponseTypeDef:
|
|
179
180
|
"""
|
|
@@ -287,6 +288,15 @@ class BatchClient(BaseClient):
|
|
|
287
288
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
|
|
288
289
|
"""
|
|
289
290
|
|
|
291
|
+
def get_job_queue_snapshot(self, *, jobQueue: str) -> GetJobQueueSnapshotResponseTypeDef:
|
|
292
|
+
"""
|
|
293
|
+
Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
|
|
294
|
+
queue.
|
|
295
|
+
|
|
296
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_job_queue_snapshot)
|
|
297
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
|
|
298
|
+
"""
|
|
299
|
+
|
|
290
300
|
def list_jobs(
|
|
291
301
|
self,
|
|
292
302
|
*,
|
|
@@ -330,15 +340,15 @@ class BatchClient(BaseClient):
|
|
|
330
340
|
type: JobDefinitionTypeType,
|
|
331
341
|
parameters: Mapping[str, str] = ...,
|
|
332
342
|
schedulingPriority: int = ...,
|
|
333
|
-
containerProperties:
|
|
334
|
-
nodeProperties:
|
|
335
|
-
retryStrategy:
|
|
343
|
+
containerProperties: ContainerPropertiesUnionTypeDef = ...,
|
|
344
|
+
nodeProperties: NodePropertiesUnionTypeDef = ...,
|
|
345
|
+
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
336
346
|
propagateTags: bool = ...,
|
|
337
347
|
timeout: JobTimeoutTypeDef = ...,
|
|
338
348
|
tags: Mapping[str, str] = ...,
|
|
339
349
|
platformCapabilities: Sequence[PlatformCapabilityType] = ...,
|
|
340
|
-
eksProperties:
|
|
341
|
-
ecsProperties:
|
|
350
|
+
eksProperties: EksPropertiesUnionTypeDef = ...,
|
|
351
|
+
ecsProperties: EcsPropertiesUnionTypeDef = ...,
|
|
342
352
|
) -> RegisterJobDefinitionResponseTypeDef:
|
|
343
353
|
"""
|
|
344
354
|
Registers an Batch job definition.
|
|
@@ -360,7 +370,7 @@ class BatchClient(BaseClient):
|
|
|
360
370
|
parameters: Mapping[str, str] = ...,
|
|
361
371
|
containerOverrides: ContainerOverridesTypeDef = ...,
|
|
362
372
|
nodeOverrides: NodeOverridesTypeDef = ...,
|
|
363
|
-
retryStrategy:
|
|
373
|
+
retryStrategy: RetryStrategyUnionTypeDef = ...,
|
|
364
374
|
propagateTags: bool = ...,
|
|
365
375
|
timeout: JobTimeoutTypeDef = ...,
|
|
366
376
|
tags: Mapping[str, str] = ...,
|
|
@@ -433,7 +443,7 @@ class BatchClient(BaseClient):
|
|
|
433
443
|
"""
|
|
434
444
|
|
|
435
445
|
def update_scheduling_policy(
|
|
436
|
-
self, *, arn: str, fairsharePolicy:
|
|
446
|
+
self, *, arn: str, fairsharePolicy: FairsharePolicyUnionTypeDef = ...
|
|
437
447
|
) -> Dict[str, Any]:
|
|
438
448
|
"""
|
|
439
449
|
Updates a scheduling policy.
|
mypy_boto3_batch/literals.py
CHANGED
|
@@ -309,6 +309,7 @@ ServiceName = Literal[
|
|
|
309
309
|
"m2",
|
|
310
310
|
"machinelearning",
|
|
311
311
|
"macie2",
|
|
312
|
+
"mailmanager",
|
|
312
313
|
"managedblockchain",
|
|
313
314
|
"managedblockchain-query",
|
|
314
315
|
"marketplace-agreement",
|
|
@@ -396,6 +397,7 @@ ServiceName = Literal[
|
|
|
396
397
|
"route53-recovery-control-config",
|
|
397
398
|
"route53-recovery-readiness",
|
|
398
399
|
"route53domains",
|
|
400
|
+
"route53profiles",
|
|
399
401
|
"route53resolver",
|
|
400
402
|
"rum",
|
|
401
403
|
"s3",
|
mypy_boto3_batch/literals.pyi
CHANGED
|
@@ -309,6 +309,7 @@ ServiceName = Literal[
|
|
|
309
309
|
"m2",
|
|
310
310
|
"machinelearning",
|
|
311
311
|
"macie2",
|
|
312
|
+
"mailmanager",
|
|
312
313
|
"managedblockchain",
|
|
313
314
|
"managedblockchain-query",
|
|
314
315
|
"marketplace-agreement",
|
|
@@ -396,6 +397,7 @@ ServiceName = Literal[
|
|
|
396
397
|
"route53-recovery-control-config",
|
|
397
398
|
"route53-recovery-readiness",
|
|
398
399
|
"route53domains",
|
|
400
|
+
"route53profiles",
|
|
399
401
|
"route53resolver",
|
|
400
402
|
"rum",
|
|
401
403
|
"s3",
|
mypy_boto3_batch/paginator.py
CHANGED
|
@@ -34,7 +34,7 @@ from botocore.paginate import PageIterator, Paginator
|
|
|
34
34
|
|
|
35
35
|
from .literals import JobStatusType
|
|
36
36
|
from .type_defs import (
|
|
37
|
-
|
|
37
|
+
DescribeComputeEnvironmentsResponseTypeDef,
|
|
38
38
|
DescribeJobDefinitionsResponseTypeDef,
|
|
39
39
|
DescribeJobQueuesResponseTypeDef,
|
|
40
40
|
KeyValuesPairTypeDef,
|
|
@@ -72,7 +72,7 @@ class DescribeComputeEnvironmentsPaginator(Paginator):
|
|
|
72
72
|
*,
|
|
73
73
|
computeEnvironments: Sequence[str] = ...,
|
|
74
74
|
PaginationConfig: PaginatorConfigTypeDef = ...,
|
|
75
|
-
) -> _PageIterator[
|
|
75
|
+
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
76
76
|
"""
|
|
77
77
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
78
78
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|
mypy_boto3_batch/paginator.pyi
CHANGED
|
@@ -34,7 +34,7 @@ from botocore.paginate import PageIterator, Paginator
|
|
|
34
34
|
|
|
35
35
|
from .literals import JobStatusType
|
|
36
36
|
from .type_defs import (
|
|
37
|
-
|
|
37
|
+
DescribeComputeEnvironmentsResponseTypeDef,
|
|
38
38
|
DescribeJobDefinitionsResponseTypeDef,
|
|
39
39
|
DescribeJobQueuesResponseTypeDef,
|
|
40
40
|
KeyValuesPairTypeDef,
|
|
@@ -70,7 +70,7 @@ class DescribeComputeEnvironmentsPaginator(Paginator):
|
|
|
70
70
|
*,
|
|
71
71
|
computeEnvironments: Sequence[str] = ...,
|
|
72
72
|
PaginationConfig: PaginatorConfigTypeDef = ...,
|
|
73
|
-
) -> _PageIterator[
|
|
73
|
+
) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
|
|
74
74
|
"""
|
|
75
75
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
|
|
76
76
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
|