mypy-boto3-batch 1.34.39__tar.gz → 1.34.59__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/PKG-INFO +4 -4
  2. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/README.md +2 -2
  3. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/__main__.py +4 -4
  4. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/client.py +7 -0
  5. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/client.pyi +7 -0
  6. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/literals.py +6 -0
  7. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/literals.pyi +6 -0
  8. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/type_defs.py +218 -58
  9. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/type_defs.pyi +218 -58
  10. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/version.py +1 -1
  11. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch.egg-info/PKG-INFO +4 -4
  12. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/setup.py +2 -2
  13. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/LICENSE +0 -0
  14. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/__init__.py +0 -0
  15. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/__init__.pyi +0 -0
  16. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/paginator.py +0 -0
  17. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/paginator.pyi +0 -0
  18. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch/py.typed +0 -0
  19. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch.egg-info/SOURCES.txt +0 -0
  20. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch.egg-info/dependency_links.txt +0 -0
  21. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch.egg-info/not-zip-safe +0 -0
  22. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch.egg-info/requires.txt +0 -0
  23. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/mypy_boto3_batch.egg-info/top_level.txt +0 -0
  24. {mypy-boto3-batch-1.34.39 → mypy-boto3-batch-1.34.59}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-batch
3
- Version: 1.34.39
4
- Summary: Type annotations for boto3.Batch 1.34.39 service generated with mypy-boto3-builder 7.23.1
3
+ Version: 1.34.59
4
+ Summary: Type annotations for boto3.Batch 1.34.59 service generated with mypy-boto3-builder 7.23.2
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
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
43
43
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
44
 
45
45
  Type annotations for
46
- [boto3.Batch 1.34.39](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
46
+ [boto3.Batch 1.34.59](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
47
47
  service 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 @@ service compatible with [VSCode](https://code.visualstudio.com/),
52
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
53
 
54
54
  Generated by
55
- [mypy-boto3-builder 7.23.1](https://github.com/youtype/mypy_boto3_builder).
55
+ [mypy-boto3-builder 7.23.2](https://github.com/youtype/mypy_boto3_builder).
56
56
 
57
57
  More information can be found on
58
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -10,7 +10,7 @@
10
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
11
11
 
12
12
  Type annotations for
13
- [boto3.Batch 1.34.39](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
13
+ [boto3.Batch 1.34.59](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
14
14
  service compatible with [VSCode](https://code.visualstudio.com/),
15
15
  [PyCharm](https://www.jetbrains.com/pycharm/),
16
16
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
19
19
  [pyright](https://github.com/microsoft/pyright) and other tools.
20
20
 
21
21
  Generated by
22
- [mypy-boto3-builder 7.23.1](https://github.com/youtype/mypy_boto3_builder).
22
+ [mypy-boto3-builder 7.23.2](https://github.com/youtype/mypy_boto3_builder).
23
23
 
24
24
  More information can be found on
25
25
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -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.39\n"
14
- "Version: 1.34.39\n"
15
- "Builder version: 7.23.1\n"
13
+ "Type annotations for boto3.Batch 1.34.59\n"
14
+ "Version: 1.34.59\n"
15
+ "Builder version: 7.23.2\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.39")
27
+ print("1.34.59")
28
28
 
29
29
 
30
30
  def main() -> None:
@@ -49,11 +49,14 @@ from .type_defs import (
49
49
  DescribeJobQueuesResponseTypeDef,
50
50
  DescribeJobsResponseTypeDef,
51
51
  DescribeSchedulingPoliciesResponseTypeDef,
52
+ EcsPropertiesOverrideTypeDef,
53
+ EcsPropertiesTypeDef,
52
54
  EksConfigurationTypeDef,
53
55
  EksPropertiesOverrideTypeDef,
54
56
  EksPropertiesTypeDef,
55
57
  FairsharePolicyTypeDef,
56
58
  JobDependencyTypeDef,
59
+ JobStateTimeLimitActionTypeDef,
57
60
  JobTimeoutTypeDef,
58
61
  KeyValuesPairTypeDef,
59
62
  ListJobsResponseTypeDef,
@@ -160,6 +163,7 @@ class BatchClient(BaseClient):
160
163
  state: JQStateType = ...,
161
164
  schedulingPolicyArn: str = ...,
162
165
  tags: Mapping[str, str] = ...,
166
+ jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
163
167
  ) -> CreateJobQueueResponseTypeDef:
164
168
  """
165
169
  Creates an Batch job queue.
@@ -337,6 +341,7 @@ class BatchClient(BaseClient):
337
341
  tags: Mapping[str, str] = ...,
338
342
  platformCapabilities: Sequence[PlatformCapabilityType] = ...,
339
343
  eksProperties: EksPropertiesTypeDef = ...,
344
+ ecsProperties: EcsPropertiesTypeDef = ...,
340
345
  ) -> RegisterJobDefinitionResponseTypeDef:
341
346
  """
342
347
  Registers an Batch job definition.
@@ -363,6 +368,7 @@ class BatchClient(BaseClient):
363
368
  timeout: JobTimeoutTypeDef = ...,
364
369
  tags: Mapping[str, str] = ...,
365
370
  eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
371
+ ecsPropertiesOverride: EcsPropertiesOverrideTypeDef = ...,
366
372
  ) -> SubmitJobResponseTypeDef:
367
373
  """
368
374
  Submits an Batch job from a job definition.
@@ -420,6 +426,7 @@ class BatchClient(BaseClient):
420
426
  schedulingPolicyArn: str = ...,
421
427
  priority: int = ...,
422
428
  computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
429
+ jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
423
430
  ) -> UpdateJobQueueResponseTypeDef:
424
431
  """
425
432
  Updates a job queue.
@@ -49,11 +49,14 @@ from .type_defs import (
49
49
  DescribeJobQueuesResponseTypeDef,
50
50
  DescribeJobsResponseTypeDef,
51
51
  DescribeSchedulingPoliciesResponseTypeDef,
52
+ EcsPropertiesOverrideTypeDef,
53
+ EcsPropertiesTypeDef,
52
54
  EksConfigurationTypeDef,
53
55
  EksPropertiesOverrideTypeDef,
54
56
  EksPropertiesTypeDef,
55
57
  FairsharePolicyTypeDef,
56
58
  JobDependencyTypeDef,
59
+ JobStateTimeLimitActionTypeDef,
57
60
  JobTimeoutTypeDef,
58
61
  KeyValuesPairTypeDef,
59
62
  ListJobsResponseTypeDef,
@@ -157,6 +160,7 @@ class BatchClient(BaseClient):
157
160
  state: JQStateType = ...,
158
161
  schedulingPolicyArn: str = ...,
159
162
  tags: Mapping[str, str] = ...,
163
+ jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
160
164
  ) -> CreateJobQueueResponseTypeDef:
161
165
  """
162
166
  Creates an Batch job queue.
@@ -334,6 +338,7 @@ class BatchClient(BaseClient):
334
338
  tags: Mapping[str, str] = ...,
335
339
  platformCapabilities: Sequence[PlatformCapabilityType] = ...,
336
340
  eksProperties: EksPropertiesTypeDef = ...,
341
+ ecsProperties: EcsPropertiesTypeDef = ...,
337
342
  ) -> RegisterJobDefinitionResponseTypeDef:
338
343
  """
339
344
  Registers an Batch job definition.
@@ -360,6 +365,7 @@ class BatchClient(BaseClient):
360
365
  timeout: JobTimeoutTypeDef = ...,
361
366
  tags: Mapping[str, str] = ...,
362
367
  eksPropertiesOverride: EksPropertiesOverrideTypeDef = ...,
368
+ ecsPropertiesOverride: EcsPropertiesOverrideTypeDef = ...,
363
369
  ) -> SubmitJobResponseTypeDef:
364
370
  """
365
371
  Submits an Batch job from a job definition.
@@ -417,6 +423,7 @@ class BatchClient(BaseClient):
417
423
  schedulingPolicyArn: str = ...,
418
424
  priority: int = ...,
419
425
  computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef] = ...,
426
+ jobStateTimeLimitActions: Sequence[JobStateTimeLimitActionTypeDef] = ...,
420
427
  ) -> UpdateJobQueueResponseTypeDef:
421
428
  """
422
429
  Updates a job queue.
@@ -37,6 +37,8 @@ __all__ = (
37
37
  "JQStateType",
38
38
  "JQStatusType",
39
39
  "JobDefinitionTypeType",
40
+ "JobStateTimeLimitActionsActionType",
41
+ "JobStateTimeLimitActionsStateType",
40
42
  "JobStatusType",
41
43
  "ListJobsPaginatorName",
42
44
  "ListSchedulingPoliciesPaginatorName",
@@ -73,6 +75,8 @@ EFSTransitEncryptionType = Literal["DISABLED", "ENABLED"]
73
75
  JQStateType = Literal["DISABLED", "ENABLED"]
74
76
  JQStatusType = Literal["CREATING", "DELETED", "DELETING", "INVALID", "UPDATING", "VALID"]
75
77
  JobDefinitionTypeType = Literal["container", "multinode"]
78
+ JobStateTimeLimitActionsActionType = Literal["CANCEL"]
79
+ JobStateTimeLimitActionsStateType = Literal["RUNNABLE"]
76
80
  JobStatusType = Literal[
77
81
  "FAILED", "PENDING", "RUNNABLE", "RUNNING", "STARTING", "SUBMITTED", "SUCCEEDED"
78
82
  ]
@@ -110,6 +114,7 @@ ServiceName = Literal[
110
114
  "appstream",
111
115
  "appsync",
112
116
  "arc-zonal-shift",
117
+ "artifact",
113
118
  "athena",
114
119
  "auditmanager",
115
120
  "autoscaling",
@@ -128,6 +133,7 @@ ServiceName = Literal[
128
133
  "braket",
129
134
  "budgets",
130
135
  "ce",
136
+ "chatbot",
131
137
  "chime",
132
138
  "chime-sdk-identity",
133
139
  "chime-sdk-media-pipelines",
@@ -37,6 +37,8 @@ __all__ = (
37
37
  "JQStateType",
38
38
  "JQStatusType",
39
39
  "JobDefinitionTypeType",
40
+ "JobStateTimeLimitActionsActionType",
41
+ "JobStateTimeLimitActionsStateType",
40
42
  "JobStatusType",
41
43
  "ListJobsPaginatorName",
42
44
  "ListSchedulingPoliciesPaginatorName",
@@ -73,6 +75,8 @@ EFSTransitEncryptionType = Literal["DISABLED", "ENABLED"]
73
75
  JQStateType = Literal["DISABLED", "ENABLED"]
74
76
  JQStatusType = Literal["CREATING", "DELETED", "DELETING", "INVALID", "UPDATING", "VALID"]
75
77
  JobDefinitionTypeType = Literal["container", "multinode"]
78
+ JobStateTimeLimitActionsActionType = Literal["CANCEL"]
79
+ JobStateTimeLimitActionsStateType = Literal["RUNNABLE"]
76
80
  JobStatusType = Literal[
77
81
  "FAILED", "PENDING", "RUNNABLE", "RUNNING", "STARTING", "SUBMITTED", "SUCCEEDED"
78
82
  ]
@@ -110,6 +114,7 @@ ServiceName = Literal[
110
114
  "appstream",
111
115
  "appsync",
112
116
  "arc-zonal-shift",
117
+ "artifact",
113
118
  "athena",
114
119
  "auditmanager",
115
120
  "autoscaling",
@@ -128,6 +133,7 @@ ServiceName = Literal[
128
133
  "braket",
129
134
  "budgets",
130
135
  "ce",
136
+ "chatbot",
131
137
  "chime",
132
138
  "chime-sdk-identity",
133
139
  "chime-sdk-media-pipelines",
@@ -38,6 +38,10 @@ from .literals import (
38
38
  RetryActionType,
39
39
  )
40
40
 
41
+ if sys.version_info >= (3, 12):
42
+ from typing import Literal
43
+ else:
44
+ from typing_extensions import Literal
41
45
  if sys.version_info >= (3, 12):
42
46
  from typing import NotRequired
43
47
  else:
@@ -70,6 +74,7 @@ __all__ = (
70
74
  "UlimitTypeDef",
71
75
  "ContainerSummaryTypeDef",
72
76
  "ResponseMetadataTypeDef",
77
+ "JobStateTimeLimitActionTypeDef",
73
78
  "DeleteComputeEnvironmentRequestRequestTypeDef",
74
79
  "DeleteJobQueueRequestRequestTypeDef",
75
80
  "DeleteSchedulingPolicyRequestRequestTypeDef",
@@ -104,16 +109,15 @@ __all__ = (
104
109
  "SchedulingPolicyListingDetailTypeDef",
105
110
  "ListTagsForResourceRequestRequestTypeDef",
106
111
  "TagResourceRequestRequestTypeDef",
112
+ "TaskContainerDependencyTypeDef",
107
113
  "TerminateJobRequestRequestTypeDef",
108
114
  "UntagResourceRequestRequestTypeDef",
109
115
  "AttemptContainerDetailTypeDef",
110
- "CreateJobQueueRequestRequestTypeDef",
111
- "JobQueueDetailTypeDef",
112
- "UpdateJobQueueRequestRequestTypeDef",
113
116
  "ComputeResourcePaginatorTypeDef",
114
117
  "ComputeResourceTypeDef",
115
118
  "ComputeResourceUpdateTypeDef",
116
119
  "ContainerOverridesTypeDef",
120
+ "TaskContainerOverridesTypeDef",
117
121
  "LogConfigurationTypeDef",
118
122
  "CreateComputeEnvironmentResponseTypeDef",
119
123
  "CreateJobQueueResponseTypeDef",
@@ -123,6 +127,9 @@ __all__ = (
123
127
  "SubmitJobResponseTypeDef",
124
128
  "UpdateComputeEnvironmentResponseTypeDef",
125
129
  "UpdateJobQueueResponseTypeDef",
130
+ "CreateJobQueueRequestRequestTypeDef",
131
+ "JobQueueDetailTypeDef",
132
+ "UpdateJobQueueRequestRequestTypeDef",
126
133
  "DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef",
127
134
  "DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef",
128
135
  "DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef",
@@ -141,12 +148,12 @@ __all__ = (
141
148
  "LinuxParametersTypeDef",
142
149
  "ListSchedulingPoliciesResponseTypeDef",
143
150
  "AttemptDetailTypeDef",
144
- "DescribeJobQueuesResponseTypeDef",
145
151
  "ComputeEnvironmentDetailPaginatorTypeDef",
146
152
  "ComputeEnvironmentDetailTypeDef",
147
153
  "CreateComputeEnvironmentRequestRequestTypeDef",
148
154
  "UpdateComputeEnvironmentRequestRequestTypeDef",
149
- "NodePropertyOverrideTypeDef",
155
+ "TaskPropertiesOverrideTypeDef",
156
+ "DescribeJobQueuesResponseTypeDef",
150
157
  "VolumeTypeDef",
151
158
  "EksPodPropertiesOverrideTypeDef",
152
159
  "EksPodPropertiesDetailTypeDef",
@@ -155,15 +162,23 @@ __all__ = (
155
162
  "SchedulingPolicyDetailTypeDef",
156
163
  "UpdateSchedulingPolicyRequestRequestTypeDef",
157
164
  "ListJobsResponseTypeDef",
165
+ "TaskContainerDetailsTypeDef",
166
+ "TaskContainerPropertiesTypeDef",
158
167
  "DescribeComputeEnvironmentsResponsePaginatorTypeDef",
159
168
  "DescribeComputeEnvironmentsResponseTypeDef",
160
- "NodeOverridesTypeDef",
169
+ "EcsPropertiesOverrideTypeDef",
161
170
  "ContainerDetailTypeDef",
162
171
  "ContainerPropertiesTypeDef",
163
172
  "EksPropertiesOverrideTypeDef",
164
173
  "EksPropertiesDetailTypeDef",
165
174
  "EksPropertiesTypeDef",
166
175
  "DescribeSchedulingPoliciesResponseTypeDef",
176
+ "EcsTaskDetailsTypeDef",
177
+ "EcsTaskPropertiesTypeDef",
178
+ "NodePropertyOverrideTypeDef",
179
+ "EcsPropertiesDetailTypeDef",
180
+ "EcsPropertiesTypeDef",
181
+ "NodeOverridesTypeDef",
167
182
  "NodeRangePropertyTypeDef",
168
183
  "SubmitJobRequestRequestTypeDef",
169
184
  "NodePropertiesTypeDef",
@@ -326,10 +341,19 @@ ResponseMetadataTypeDef = TypedDict(
326
341
  "ResponseMetadataTypeDef",
327
342
  {
328
343
  "RequestId": str,
329
- "HostId": str,
330
344
  "HTTPStatusCode": int,
331
345
  "HTTPHeaders": Dict[str, str],
332
346
  "RetryAttempts": int,
347
+ "HostId": NotRequired[str],
348
+ },
349
+ )
350
+ JobStateTimeLimitActionTypeDef = TypedDict(
351
+ "JobStateTimeLimitActionTypeDef",
352
+ {
353
+ "reason": str,
354
+ "state": Literal["RUNNABLE"],
355
+ "maxTimeSeconds": int,
356
+ "action": Literal["CANCEL"],
333
357
  },
334
358
  )
335
359
  DeleteComputeEnvironmentRequestRequestTypeDef = TypedDict(
@@ -573,6 +597,13 @@ TagResourceRequestRequestTypeDef = TypedDict(
573
597
  "tags": Mapping[str, str],
574
598
  },
575
599
  )
600
+ TaskContainerDependencyTypeDef = TypedDict(
601
+ "TaskContainerDependencyTypeDef",
602
+ {
603
+ "containerName": NotRequired[str],
604
+ "condition": NotRequired[str],
605
+ },
606
+ )
576
607
  TerminateJobRequestRequestTypeDef = TypedDict(
577
608
  "TerminateJobRequestRequestTypeDef",
578
609
  {
@@ -598,41 +629,6 @@ AttemptContainerDetailTypeDef = TypedDict(
598
629
  "networkInterfaces": NotRequired[List[NetworkInterfaceTypeDef]],
599
630
  },
600
631
  )
601
- CreateJobQueueRequestRequestTypeDef = TypedDict(
602
- "CreateJobQueueRequestRequestTypeDef",
603
- {
604
- "jobQueueName": str,
605
- "priority": int,
606
- "computeEnvironmentOrder": Sequence[ComputeEnvironmentOrderTypeDef],
607
- "state": NotRequired[JQStateType],
608
- "schedulingPolicyArn": NotRequired[str],
609
- "tags": NotRequired[Mapping[str, str]],
610
- },
611
- )
612
- JobQueueDetailTypeDef = TypedDict(
613
- "JobQueueDetailTypeDef",
614
- {
615
- "jobQueueName": str,
616
- "jobQueueArn": str,
617
- "state": JQStateType,
618
- "priority": int,
619
- "computeEnvironmentOrder": List[ComputeEnvironmentOrderTypeDef],
620
- "schedulingPolicyArn": NotRequired[str],
621
- "status": NotRequired[JQStatusType],
622
- "statusReason": NotRequired[str],
623
- "tags": NotRequired[Dict[str, str]],
624
- },
625
- )
626
- UpdateJobQueueRequestRequestTypeDef = TypedDict(
627
- "UpdateJobQueueRequestRequestTypeDef",
628
- {
629
- "jobQueue": str,
630
- "state": NotRequired[JQStateType],
631
- "schedulingPolicyArn": NotRequired[str],
632
- "priority": NotRequired[int],
633
- "computeEnvironmentOrder": NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]],
634
- },
635
- )
636
632
  ComputeResourcePaginatorTypeDef = TypedDict(
637
633
  "ComputeResourcePaginatorTypeDef",
638
634
  {
@@ -710,6 +706,15 @@ ContainerOverridesTypeDef = TypedDict(
710
706
  "resourceRequirements": NotRequired[Sequence[ResourceRequirementTypeDef]],
711
707
  },
712
708
  )
709
+ TaskContainerOverridesTypeDef = TypedDict(
710
+ "TaskContainerOverridesTypeDef",
711
+ {
712
+ "command": NotRequired[Sequence[str]],
713
+ "environment": NotRequired[Sequence[KeyValuePairTypeDef]],
714
+ "name": NotRequired[str],
715
+ "resourceRequirements": NotRequired[Sequence[ResourceRequirementTypeDef]],
716
+ },
717
+ )
713
718
  LogConfigurationTypeDef = TypedDict(
714
719
  "LogConfigurationTypeDef",
715
720
  {
@@ -783,6 +788,44 @@ UpdateJobQueueResponseTypeDef = TypedDict(
783
788
  "ResponseMetadata": ResponseMetadataTypeDef,
784
789
  },
785
790
  )
791
+ CreateJobQueueRequestRequestTypeDef = TypedDict(
792
+ "CreateJobQueueRequestRequestTypeDef",
793
+ {
794
+ "jobQueueName": str,
795
+ "priority": int,
796
+ "computeEnvironmentOrder": Sequence[ComputeEnvironmentOrderTypeDef],
797
+ "state": NotRequired[JQStateType],
798
+ "schedulingPolicyArn": NotRequired[str],
799
+ "tags": NotRequired[Mapping[str, str]],
800
+ "jobStateTimeLimitActions": NotRequired[Sequence[JobStateTimeLimitActionTypeDef]],
801
+ },
802
+ )
803
+ JobQueueDetailTypeDef = TypedDict(
804
+ "JobQueueDetailTypeDef",
805
+ {
806
+ "jobQueueName": str,
807
+ "jobQueueArn": str,
808
+ "state": JQStateType,
809
+ "priority": int,
810
+ "computeEnvironmentOrder": List[ComputeEnvironmentOrderTypeDef],
811
+ "schedulingPolicyArn": NotRequired[str],
812
+ "status": NotRequired[JQStatusType],
813
+ "statusReason": NotRequired[str],
814
+ "tags": NotRequired[Dict[str, str]],
815
+ "jobStateTimeLimitActions": NotRequired[List[JobStateTimeLimitActionTypeDef]],
816
+ },
817
+ )
818
+ UpdateJobQueueRequestRequestTypeDef = TypedDict(
819
+ "UpdateJobQueueRequestRequestTypeDef",
820
+ {
821
+ "jobQueue": str,
822
+ "state": NotRequired[JQStateType],
823
+ "schedulingPolicyArn": NotRequired[str],
824
+ "priority": NotRequired[int],
825
+ "computeEnvironmentOrder": NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]],
826
+ "jobStateTimeLimitActions": NotRequired[Sequence[JobStateTimeLimitActionTypeDef]],
827
+ },
828
+ )
786
829
  DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef = TypedDict(
787
830
  "DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef",
788
831
  {
@@ -826,6 +869,7 @@ EksAttemptDetailTypeDef = TypedDict(
826
869
  "EksAttemptDetailTypeDef",
827
870
  {
828
871
  "containers": NotRequired[List[EksAttemptContainerDetailTypeDef]],
872
+ "initContainers": NotRequired[List[EksAttemptContainerDetailTypeDef]],
829
873
  "podName": NotRequired[str],
830
874
  "nodeName": NotRequired[str],
831
875
  "startedAt": NotRequired[int],
@@ -836,6 +880,7 @@ EksAttemptDetailTypeDef = TypedDict(
836
880
  EksContainerOverrideTypeDef = TypedDict(
837
881
  "EksContainerOverrideTypeDef",
838
882
  {
883
+ "name": NotRequired[str],
839
884
  "image": NotRequired[str],
840
885
  "command": NotRequired[Sequence[str]],
841
886
  "args": NotRequired[Sequence[str]],
@@ -965,14 +1010,6 @@ AttemptDetailTypeDef = TypedDict(
965
1010
  "statusReason": NotRequired[str],
966
1011
  },
967
1012
  )
968
- DescribeJobQueuesResponseTypeDef = TypedDict(
969
- "DescribeJobQueuesResponseTypeDef",
970
- {
971
- "jobQueues": List[JobQueueDetailTypeDef],
972
- "nextToken": str,
973
- "ResponseMetadata": ResponseMetadataTypeDef,
974
- },
975
- )
976
1013
  ComputeEnvironmentDetailPaginatorTypeDef = TypedDict(
977
1014
  "ComputeEnvironmentDetailPaginatorTypeDef",
978
1015
  {
@@ -1037,11 +1074,18 @@ UpdateComputeEnvironmentRequestRequestTypeDef = TypedDict(
1037
1074
  "updatePolicy": NotRequired[UpdatePolicyTypeDef],
1038
1075
  },
1039
1076
  )
1040
- NodePropertyOverrideTypeDef = TypedDict(
1041
- "NodePropertyOverrideTypeDef",
1077
+ TaskPropertiesOverrideTypeDef = TypedDict(
1078
+ "TaskPropertiesOverrideTypeDef",
1042
1079
  {
1043
- "targetNodes": str,
1044
- "containerOverrides": NotRequired[ContainerOverridesTypeDef],
1080
+ "containers": NotRequired[Sequence[TaskContainerOverridesTypeDef]],
1081
+ },
1082
+ )
1083
+ DescribeJobQueuesResponseTypeDef = TypedDict(
1084
+ "DescribeJobQueuesResponseTypeDef",
1085
+ {
1086
+ "jobQueues": List[JobQueueDetailTypeDef],
1087
+ "nextToken": str,
1088
+ "ResponseMetadata": ResponseMetadataTypeDef,
1045
1089
  },
1046
1090
  )
1047
1091
  VolumeTypeDef = TypedDict(
@@ -1056,6 +1100,7 @@ EksPodPropertiesOverrideTypeDef = TypedDict(
1056
1100
  "EksPodPropertiesOverrideTypeDef",
1057
1101
  {
1058
1102
  "containers": NotRequired[Sequence[EksContainerOverrideTypeDef]],
1103
+ "initContainers": NotRequired[Sequence[EksContainerOverrideTypeDef]],
1059
1104
  "metadata": NotRequired[EksMetadataTypeDef],
1060
1105
  },
1061
1106
  )
@@ -1066,10 +1111,12 @@ EksPodPropertiesDetailTypeDef = TypedDict(
1066
1111
  "hostNetwork": NotRequired[bool],
1067
1112
  "dnsPolicy": NotRequired[str],
1068
1113
  "containers": NotRequired[List[EksContainerDetailTypeDef]],
1114
+ "initContainers": NotRequired[List[EksContainerDetailTypeDef]],
1069
1115
  "volumes": NotRequired[List[EksVolumeTypeDef]],
1070
1116
  "podName": NotRequired[str],
1071
1117
  "nodeName": NotRequired[str],
1072
1118
  "metadata": NotRequired[EksMetadataTypeDef],
1119
+ "shareProcessNamespace": NotRequired[bool],
1073
1120
  },
1074
1121
  )
1075
1122
  EksPodPropertiesTypeDef = TypedDict(
@@ -1079,8 +1126,10 @@ EksPodPropertiesTypeDef = TypedDict(
1079
1126
  "hostNetwork": NotRequired[bool],
1080
1127
  "dnsPolicy": NotRequired[str],
1081
1128
  "containers": NotRequired[List[EksContainerTypeDef]],
1129
+ "initContainers": NotRequired[List[EksContainerTypeDef]],
1082
1130
  "volumes": NotRequired[List[EksVolumeTypeDef]],
1083
1131
  "metadata": NotRequired[EksMetadataTypeDef],
1132
+ "shareProcessNamespace": NotRequired[bool],
1084
1133
  },
1085
1134
  )
1086
1135
  CreateSchedulingPolicyRequestRequestTypeDef = TypedDict(
@@ -1115,6 +1164,52 @@ ListJobsResponseTypeDef = TypedDict(
1115
1164
  "ResponseMetadata": ResponseMetadataTypeDef,
1116
1165
  },
1117
1166
  )
1167
+ TaskContainerDetailsTypeDef = TypedDict(
1168
+ "TaskContainerDetailsTypeDef",
1169
+ {
1170
+ "command": NotRequired[List[str]],
1171
+ "dependsOn": NotRequired[List[TaskContainerDependencyTypeDef]],
1172
+ "environment": NotRequired[List[KeyValuePairTypeDef]],
1173
+ "essential": NotRequired[bool],
1174
+ "image": NotRequired[str],
1175
+ "linuxParameters": NotRequired[LinuxParametersTypeDef],
1176
+ "logConfiguration": NotRequired[LogConfigurationTypeDef],
1177
+ "mountPoints": NotRequired[List[MountPointTypeDef]],
1178
+ "name": NotRequired[str],
1179
+ "privileged": NotRequired[bool],
1180
+ "readonlyRootFilesystem": NotRequired[bool],
1181
+ "repositoryCredentials": NotRequired[RepositoryCredentialsTypeDef],
1182
+ "resourceRequirements": NotRequired[List[ResourceRequirementTypeDef]],
1183
+ "secrets": NotRequired[List[SecretTypeDef]],
1184
+ "ulimits": NotRequired[List[UlimitTypeDef]],
1185
+ "user": NotRequired[str],
1186
+ "exitCode": NotRequired[int],
1187
+ "reason": NotRequired[str],
1188
+ "logStreamName": NotRequired[str],
1189
+ "networkInterfaces": NotRequired[List[NetworkInterfaceTypeDef]],
1190
+ },
1191
+ )
1192
+ TaskContainerPropertiesTypeDef = TypedDict(
1193
+ "TaskContainerPropertiesTypeDef",
1194
+ {
1195
+ "image": str,
1196
+ "command": NotRequired[List[str]],
1197
+ "dependsOn": NotRequired[List[TaskContainerDependencyTypeDef]],
1198
+ "environment": NotRequired[List[KeyValuePairTypeDef]],
1199
+ "essential": NotRequired[bool],
1200
+ "linuxParameters": NotRequired[LinuxParametersTypeDef],
1201
+ "logConfiguration": NotRequired[LogConfigurationTypeDef],
1202
+ "mountPoints": NotRequired[List[MountPointTypeDef]],
1203
+ "name": NotRequired[str],
1204
+ "privileged": NotRequired[bool],
1205
+ "readonlyRootFilesystem": NotRequired[bool],
1206
+ "repositoryCredentials": NotRequired[RepositoryCredentialsTypeDef],
1207
+ "resourceRequirements": NotRequired[List[ResourceRequirementTypeDef]],
1208
+ "secrets": NotRequired[List[SecretTypeDef]],
1209
+ "ulimits": NotRequired[List[UlimitTypeDef]],
1210
+ "user": NotRequired[str],
1211
+ },
1212
+ )
1118
1213
  DescribeComputeEnvironmentsResponsePaginatorTypeDef = TypedDict(
1119
1214
  "DescribeComputeEnvironmentsResponsePaginatorTypeDef",
1120
1215
  {
@@ -1131,11 +1226,10 @@ DescribeComputeEnvironmentsResponseTypeDef = TypedDict(
1131
1226
  "ResponseMetadata": ResponseMetadataTypeDef,
1132
1227
  },
1133
1228
  )
1134
- NodeOverridesTypeDef = TypedDict(
1135
- "NodeOverridesTypeDef",
1229
+ EcsPropertiesOverrideTypeDef = TypedDict(
1230
+ "EcsPropertiesOverrideTypeDef",
1136
1231
  {
1137
- "numNodes": NotRequired[int],
1138
- "nodePropertyOverrides": NotRequired[Sequence[NodePropertyOverrideTypeDef]],
1232
+ "taskProperties": NotRequired[Sequence[TaskPropertiesOverrideTypeDef]],
1139
1233
  },
1140
1234
  )
1141
1235
  ContainerDetailTypeDef = TypedDict(
@@ -1225,11 +1319,73 @@ DescribeSchedulingPoliciesResponseTypeDef = TypedDict(
1225
1319
  "ResponseMetadata": ResponseMetadataTypeDef,
1226
1320
  },
1227
1321
  )
1322
+ EcsTaskDetailsTypeDef = TypedDict(
1323
+ "EcsTaskDetailsTypeDef",
1324
+ {
1325
+ "containers": NotRequired[List[TaskContainerDetailsTypeDef]],
1326
+ "containerInstanceArn": NotRequired[str],
1327
+ "taskArn": NotRequired[str],
1328
+ "ephemeralStorage": NotRequired[EphemeralStorageTypeDef],
1329
+ "executionRoleArn": NotRequired[str],
1330
+ "platformVersion": NotRequired[str],
1331
+ "ipcMode": NotRequired[str],
1332
+ "taskRoleArn": NotRequired[str],
1333
+ "pidMode": NotRequired[str],
1334
+ "networkConfiguration": NotRequired[NetworkConfigurationTypeDef],
1335
+ "runtimePlatform": NotRequired[RuntimePlatformTypeDef],
1336
+ "volumes": NotRequired[List[VolumeTypeDef]],
1337
+ },
1338
+ )
1339
+ EcsTaskPropertiesTypeDef = TypedDict(
1340
+ "EcsTaskPropertiesTypeDef",
1341
+ {
1342
+ "containers": List[TaskContainerPropertiesTypeDef],
1343
+ "ephemeralStorage": NotRequired[EphemeralStorageTypeDef],
1344
+ "executionRoleArn": NotRequired[str],
1345
+ "platformVersion": NotRequired[str],
1346
+ "ipcMode": NotRequired[str],
1347
+ "taskRoleArn": NotRequired[str],
1348
+ "pidMode": NotRequired[str],
1349
+ "networkConfiguration": NotRequired[NetworkConfigurationTypeDef],
1350
+ "runtimePlatform": NotRequired[RuntimePlatformTypeDef],
1351
+ "volumes": NotRequired[List[VolumeTypeDef]],
1352
+ },
1353
+ )
1354
+ NodePropertyOverrideTypeDef = TypedDict(
1355
+ "NodePropertyOverrideTypeDef",
1356
+ {
1357
+ "targetNodes": str,
1358
+ "containerOverrides": NotRequired[ContainerOverridesTypeDef],
1359
+ "ecsPropertiesOverride": NotRequired[EcsPropertiesOverrideTypeDef],
1360
+ "instanceTypes": NotRequired[Sequence[str]],
1361
+ },
1362
+ )
1363
+ EcsPropertiesDetailTypeDef = TypedDict(
1364
+ "EcsPropertiesDetailTypeDef",
1365
+ {
1366
+ "taskProperties": NotRequired[List[EcsTaskDetailsTypeDef]],
1367
+ },
1368
+ )
1369
+ EcsPropertiesTypeDef = TypedDict(
1370
+ "EcsPropertiesTypeDef",
1371
+ {
1372
+ "taskProperties": List[EcsTaskPropertiesTypeDef],
1373
+ },
1374
+ )
1375
+ NodeOverridesTypeDef = TypedDict(
1376
+ "NodeOverridesTypeDef",
1377
+ {
1378
+ "numNodes": NotRequired[int],
1379
+ "nodePropertyOverrides": NotRequired[Sequence[NodePropertyOverrideTypeDef]],
1380
+ },
1381
+ )
1228
1382
  NodeRangePropertyTypeDef = TypedDict(
1229
1383
  "NodeRangePropertyTypeDef",
1230
1384
  {
1231
1385
  "targetNodes": str,
1232
1386
  "container": NotRequired[ContainerPropertiesTypeDef],
1387
+ "instanceTypes": NotRequired[List[str]],
1388
+ "ecsProperties": NotRequired[EcsPropertiesTypeDef],
1233
1389
  },
1234
1390
  )
1235
1391
  SubmitJobRequestRequestTypeDef = TypedDict(
@@ -1250,6 +1406,7 @@ SubmitJobRequestRequestTypeDef = TypedDict(
1250
1406
  "timeout": NotRequired[JobTimeoutTypeDef],
1251
1407
  "tags": NotRequired[Mapping[str, str]],
1252
1408
  "eksPropertiesOverride": NotRequired[EksPropertiesOverrideTypeDef],
1409
+ "ecsPropertiesOverride": NotRequired[EcsPropertiesOverrideTypeDef],
1253
1410
  },
1254
1411
  )
1255
1412
  NodePropertiesTypeDef = TypedDict(
@@ -1277,6 +1434,7 @@ JobDefinitionTypeDef = TypedDict(
1277
1434
  "tags": NotRequired[Dict[str, str]],
1278
1435
  "propagateTags": NotRequired[bool],
1279
1436
  "platformCapabilities": NotRequired[List[PlatformCapabilityType]],
1437
+ "ecsProperties": NotRequired[EcsPropertiesTypeDef],
1280
1438
  "eksProperties": NotRequired[EksPropertiesTypeDef],
1281
1439
  "containerOrchestrationType": NotRequired[OrchestrationTypeType],
1282
1440
  },
@@ -1310,6 +1468,7 @@ JobDetailTypeDef = TypedDict(
1310
1468
  "platformCapabilities": NotRequired[List[PlatformCapabilityType]],
1311
1469
  "eksProperties": NotRequired[EksPropertiesDetailTypeDef],
1312
1470
  "eksAttempts": NotRequired[List[EksAttemptDetailTypeDef]],
1471
+ "ecsProperties": NotRequired[EcsPropertiesDetailTypeDef],
1313
1472
  "isCancelled": NotRequired[bool],
1314
1473
  "isTerminated": NotRequired[bool],
1315
1474
  },
@@ -1329,6 +1488,7 @@ RegisterJobDefinitionRequestRequestTypeDef = TypedDict(
1329
1488
  "tags": NotRequired[Mapping[str, str]],
1330
1489
  "platformCapabilities": NotRequired[Sequence[PlatformCapabilityType]],
1331
1490
  "eksProperties": NotRequired[EksPropertiesTypeDef],
1491
+ "ecsProperties": NotRequired[EcsPropertiesTypeDef],
1332
1492
  },
1333
1493
  )
1334
1494
  DescribeJobDefinitionsResponseTypeDef = TypedDict(
@@ -38,6 +38,10 @@ from .literals import (
38
38
  RetryActionType,
39
39
  )
40
40
 
41
+ if sys.version_info >= (3, 12):
42
+ from typing import Literal
43
+ else:
44
+ from typing_extensions import Literal
41
45
  if sys.version_info >= (3, 12):
42
46
  from typing import NotRequired
43
47
  else:
@@ -70,6 +74,7 @@ __all__ = (
70
74
  "UlimitTypeDef",
71
75
  "ContainerSummaryTypeDef",
72
76
  "ResponseMetadataTypeDef",
77
+ "JobStateTimeLimitActionTypeDef",
73
78
  "DeleteComputeEnvironmentRequestRequestTypeDef",
74
79
  "DeleteJobQueueRequestRequestTypeDef",
75
80
  "DeleteSchedulingPolicyRequestRequestTypeDef",
@@ -104,16 +109,15 @@ __all__ = (
104
109
  "SchedulingPolicyListingDetailTypeDef",
105
110
  "ListTagsForResourceRequestRequestTypeDef",
106
111
  "TagResourceRequestRequestTypeDef",
112
+ "TaskContainerDependencyTypeDef",
107
113
  "TerminateJobRequestRequestTypeDef",
108
114
  "UntagResourceRequestRequestTypeDef",
109
115
  "AttemptContainerDetailTypeDef",
110
- "CreateJobQueueRequestRequestTypeDef",
111
- "JobQueueDetailTypeDef",
112
- "UpdateJobQueueRequestRequestTypeDef",
113
116
  "ComputeResourcePaginatorTypeDef",
114
117
  "ComputeResourceTypeDef",
115
118
  "ComputeResourceUpdateTypeDef",
116
119
  "ContainerOverridesTypeDef",
120
+ "TaskContainerOverridesTypeDef",
117
121
  "LogConfigurationTypeDef",
118
122
  "CreateComputeEnvironmentResponseTypeDef",
119
123
  "CreateJobQueueResponseTypeDef",
@@ -123,6 +127,9 @@ __all__ = (
123
127
  "SubmitJobResponseTypeDef",
124
128
  "UpdateComputeEnvironmentResponseTypeDef",
125
129
  "UpdateJobQueueResponseTypeDef",
130
+ "CreateJobQueueRequestRequestTypeDef",
131
+ "JobQueueDetailTypeDef",
132
+ "UpdateJobQueueRequestRequestTypeDef",
126
133
  "DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef",
127
134
  "DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef",
128
135
  "DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef",
@@ -141,12 +148,12 @@ __all__ = (
141
148
  "LinuxParametersTypeDef",
142
149
  "ListSchedulingPoliciesResponseTypeDef",
143
150
  "AttemptDetailTypeDef",
144
- "DescribeJobQueuesResponseTypeDef",
145
151
  "ComputeEnvironmentDetailPaginatorTypeDef",
146
152
  "ComputeEnvironmentDetailTypeDef",
147
153
  "CreateComputeEnvironmentRequestRequestTypeDef",
148
154
  "UpdateComputeEnvironmentRequestRequestTypeDef",
149
- "NodePropertyOverrideTypeDef",
155
+ "TaskPropertiesOverrideTypeDef",
156
+ "DescribeJobQueuesResponseTypeDef",
150
157
  "VolumeTypeDef",
151
158
  "EksPodPropertiesOverrideTypeDef",
152
159
  "EksPodPropertiesDetailTypeDef",
@@ -155,15 +162,23 @@ __all__ = (
155
162
  "SchedulingPolicyDetailTypeDef",
156
163
  "UpdateSchedulingPolicyRequestRequestTypeDef",
157
164
  "ListJobsResponseTypeDef",
165
+ "TaskContainerDetailsTypeDef",
166
+ "TaskContainerPropertiesTypeDef",
158
167
  "DescribeComputeEnvironmentsResponsePaginatorTypeDef",
159
168
  "DescribeComputeEnvironmentsResponseTypeDef",
160
- "NodeOverridesTypeDef",
169
+ "EcsPropertiesOverrideTypeDef",
161
170
  "ContainerDetailTypeDef",
162
171
  "ContainerPropertiesTypeDef",
163
172
  "EksPropertiesOverrideTypeDef",
164
173
  "EksPropertiesDetailTypeDef",
165
174
  "EksPropertiesTypeDef",
166
175
  "DescribeSchedulingPoliciesResponseTypeDef",
176
+ "EcsTaskDetailsTypeDef",
177
+ "EcsTaskPropertiesTypeDef",
178
+ "NodePropertyOverrideTypeDef",
179
+ "EcsPropertiesDetailTypeDef",
180
+ "EcsPropertiesTypeDef",
181
+ "NodeOverridesTypeDef",
167
182
  "NodeRangePropertyTypeDef",
168
183
  "SubmitJobRequestRequestTypeDef",
169
184
  "NodePropertiesTypeDef",
@@ -326,10 +341,19 @@ ResponseMetadataTypeDef = TypedDict(
326
341
  "ResponseMetadataTypeDef",
327
342
  {
328
343
  "RequestId": str,
329
- "HostId": str,
330
344
  "HTTPStatusCode": int,
331
345
  "HTTPHeaders": Dict[str, str],
332
346
  "RetryAttempts": int,
347
+ "HostId": NotRequired[str],
348
+ },
349
+ )
350
+ JobStateTimeLimitActionTypeDef = TypedDict(
351
+ "JobStateTimeLimitActionTypeDef",
352
+ {
353
+ "reason": str,
354
+ "state": Literal["RUNNABLE"],
355
+ "maxTimeSeconds": int,
356
+ "action": Literal["CANCEL"],
333
357
  },
334
358
  )
335
359
  DeleteComputeEnvironmentRequestRequestTypeDef = TypedDict(
@@ -573,6 +597,13 @@ TagResourceRequestRequestTypeDef = TypedDict(
573
597
  "tags": Mapping[str, str],
574
598
  },
575
599
  )
600
+ TaskContainerDependencyTypeDef = TypedDict(
601
+ "TaskContainerDependencyTypeDef",
602
+ {
603
+ "containerName": NotRequired[str],
604
+ "condition": NotRequired[str],
605
+ },
606
+ )
576
607
  TerminateJobRequestRequestTypeDef = TypedDict(
577
608
  "TerminateJobRequestRequestTypeDef",
578
609
  {
@@ -598,41 +629,6 @@ AttemptContainerDetailTypeDef = TypedDict(
598
629
  "networkInterfaces": NotRequired[List[NetworkInterfaceTypeDef]],
599
630
  },
600
631
  )
601
- CreateJobQueueRequestRequestTypeDef = TypedDict(
602
- "CreateJobQueueRequestRequestTypeDef",
603
- {
604
- "jobQueueName": str,
605
- "priority": int,
606
- "computeEnvironmentOrder": Sequence[ComputeEnvironmentOrderTypeDef],
607
- "state": NotRequired[JQStateType],
608
- "schedulingPolicyArn": NotRequired[str],
609
- "tags": NotRequired[Mapping[str, str]],
610
- },
611
- )
612
- JobQueueDetailTypeDef = TypedDict(
613
- "JobQueueDetailTypeDef",
614
- {
615
- "jobQueueName": str,
616
- "jobQueueArn": str,
617
- "state": JQStateType,
618
- "priority": int,
619
- "computeEnvironmentOrder": List[ComputeEnvironmentOrderTypeDef],
620
- "schedulingPolicyArn": NotRequired[str],
621
- "status": NotRequired[JQStatusType],
622
- "statusReason": NotRequired[str],
623
- "tags": NotRequired[Dict[str, str]],
624
- },
625
- )
626
- UpdateJobQueueRequestRequestTypeDef = TypedDict(
627
- "UpdateJobQueueRequestRequestTypeDef",
628
- {
629
- "jobQueue": str,
630
- "state": NotRequired[JQStateType],
631
- "schedulingPolicyArn": NotRequired[str],
632
- "priority": NotRequired[int],
633
- "computeEnvironmentOrder": NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]],
634
- },
635
- )
636
632
  ComputeResourcePaginatorTypeDef = TypedDict(
637
633
  "ComputeResourcePaginatorTypeDef",
638
634
  {
@@ -710,6 +706,15 @@ ContainerOverridesTypeDef = TypedDict(
710
706
  "resourceRequirements": NotRequired[Sequence[ResourceRequirementTypeDef]],
711
707
  },
712
708
  )
709
+ TaskContainerOverridesTypeDef = TypedDict(
710
+ "TaskContainerOverridesTypeDef",
711
+ {
712
+ "command": NotRequired[Sequence[str]],
713
+ "environment": NotRequired[Sequence[KeyValuePairTypeDef]],
714
+ "name": NotRequired[str],
715
+ "resourceRequirements": NotRequired[Sequence[ResourceRequirementTypeDef]],
716
+ },
717
+ )
713
718
  LogConfigurationTypeDef = TypedDict(
714
719
  "LogConfigurationTypeDef",
715
720
  {
@@ -783,6 +788,44 @@ UpdateJobQueueResponseTypeDef = TypedDict(
783
788
  "ResponseMetadata": ResponseMetadataTypeDef,
784
789
  },
785
790
  )
791
+ CreateJobQueueRequestRequestTypeDef = TypedDict(
792
+ "CreateJobQueueRequestRequestTypeDef",
793
+ {
794
+ "jobQueueName": str,
795
+ "priority": int,
796
+ "computeEnvironmentOrder": Sequence[ComputeEnvironmentOrderTypeDef],
797
+ "state": NotRequired[JQStateType],
798
+ "schedulingPolicyArn": NotRequired[str],
799
+ "tags": NotRequired[Mapping[str, str]],
800
+ "jobStateTimeLimitActions": NotRequired[Sequence[JobStateTimeLimitActionTypeDef]],
801
+ },
802
+ )
803
+ JobQueueDetailTypeDef = TypedDict(
804
+ "JobQueueDetailTypeDef",
805
+ {
806
+ "jobQueueName": str,
807
+ "jobQueueArn": str,
808
+ "state": JQStateType,
809
+ "priority": int,
810
+ "computeEnvironmentOrder": List[ComputeEnvironmentOrderTypeDef],
811
+ "schedulingPolicyArn": NotRequired[str],
812
+ "status": NotRequired[JQStatusType],
813
+ "statusReason": NotRequired[str],
814
+ "tags": NotRequired[Dict[str, str]],
815
+ "jobStateTimeLimitActions": NotRequired[List[JobStateTimeLimitActionTypeDef]],
816
+ },
817
+ )
818
+ UpdateJobQueueRequestRequestTypeDef = TypedDict(
819
+ "UpdateJobQueueRequestRequestTypeDef",
820
+ {
821
+ "jobQueue": str,
822
+ "state": NotRequired[JQStateType],
823
+ "schedulingPolicyArn": NotRequired[str],
824
+ "priority": NotRequired[int],
825
+ "computeEnvironmentOrder": NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]],
826
+ "jobStateTimeLimitActions": NotRequired[Sequence[JobStateTimeLimitActionTypeDef]],
827
+ },
828
+ )
786
829
  DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef = TypedDict(
787
830
  "DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef",
788
831
  {
@@ -826,6 +869,7 @@ EksAttemptDetailTypeDef = TypedDict(
826
869
  "EksAttemptDetailTypeDef",
827
870
  {
828
871
  "containers": NotRequired[List[EksAttemptContainerDetailTypeDef]],
872
+ "initContainers": NotRequired[List[EksAttemptContainerDetailTypeDef]],
829
873
  "podName": NotRequired[str],
830
874
  "nodeName": NotRequired[str],
831
875
  "startedAt": NotRequired[int],
@@ -836,6 +880,7 @@ EksAttemptDetailTypeDef = TypedDict(
836
880
  EksContainerOverrideTypeDef = TypedDict(
837
881
  "EksContainerOverrideTypeDef",
838
882
  {
883
+ "name": NotRequired[str],
839
884
  "image": NotRequired[str],
840
885
  "command": NotRequired[Sequence[str]],
841
886
  "args": NotRequired[Sequence[str]],
@@ -965,14 +1010,6 @@ AttemptDetailTypeDef = TypedDict(
965
1010
  "statusReason": NotRequired[str],
966
1011
  },
967
1012
  )
968
- DescribeJobQueuesResponseTypeDef = TypedDict(
969
- "DescribeJobQueuesResponseTypeDef",
970
- {
971
- "jobQueues": List[JobQueueDetailTypeDef],
972
- "nextToken": str,
973
- "ResponseMetadata": ResponseMetadataTypeDef,
974
- },
975
- )
976
1013
  ComputeEnvironmentDetailPaginatorTypeDef = TypedDict(
977
1014
  "ComputeEnvironmentDetailPaginatorTypeDef",
978
1015
  {
@@ -1037,11 +1074,18 @@ UpdateComputeEnvironmentRequestRequestTypeDef = TypedDict(
1037
1074
  "updatePolicy": NotRequired[UpdatePolicyTypeDef],
1038
1075
  },
1039
1076
  )
1040
- NodePropertyOverrideTypeDef = TypedDict(
1041
- "NodePropertyOverrideTypeDef",
1077
+ TaskPropertiesOverrideTypeDef = TypedDict(
1078
+ "TaskPropertiesOverrideTypeDef",
1042
1079
  {
1043
- "targetNodes": str,
1044
- "containerOverrides": NotRequired[ContainerOverridesTypeDef],
1080
+ "containers": NotRequired[Sequence[TaskContainerOverridesTypeDef]],
1081
+ },
1082
+ )
1083
+ DescribeJobQueuesResponseTypeDef = TypedDict(
1084
+ "DescribeJobQueuesResponseTypeDef",
1085
+ {
1086
+ "jobQueues": List[JobQueueDetailTypeDef],
1087
+ "nextToken": str,
1088
+ "ResponseMetadata": ResponseMetadataTypeDef,
1045
1089
  },
1046
1090
  )
1047
1091
  VolumeTypeDef = TypedDict(
@@ -1056,6 +1100,7 @@ EksPodPropertiesOverrideTypeDef = TypedDict(
1056
1100
  "EksPodPropertiesOverrideTypeDef",
1057
1101
  {
1058
1102
  "containers": NotRequired[Sequence[EksContainerOverrideTypeDef]],
1103
+ "initContainers": NotRequired[Sequence[EksContainerOverrideTypeDef]],
1059
1104
  "metadata": NotRequired[EksMetadataTypeDef],
1060
1105
  },
1061
1106
  )
@@ -1066,10 +1111,12 @@ EksPodPropertiesDetailTypeDef = TypedDict(
1066
1111
  "hostNetwork": NotRequired[bool],
1067
1112
  "dnsPolicy": NotRequired[str],
1068
1113
  "containers": NotRequired[List[EksContainerDetailTypeDef]],
1114
+ "initContainers": NotRequired[List[EksContainerDetailTypeDef]],
1069
1115
  "volumes": NotRequired[List[EksVolumeTypeDef]],
1070
1116
  "podName": NotRequired[str],
1071
1117
  "nodeName": NotRequired[str],
1072
1118
  "metadata": NotRequired[EksMetadataTypeDef],
1119
+ "shareProcessNamespace": NotRequired[bool],
1073
1120
  },
1074
1121
  )
1075
1122
  EksPodPropertiesTypeDef = TypedDict(
@@ -1079,8 +1126,10 @@ EksPodPropertiesTypeDef = TypedDict(
1079
1126
  "hostNetwork": NotRequired[bool],
1080
1127
  "dnsPolicy": NotRequired[str],
1081
1128
  "containers": NotRequired[List[EksContainerTypeDef]],
1129
+ "initContainers": NotRequired[List[EksContainerTypeDef]],
1082
1130
  "volumes": NotRequired[List[EksVolumeTypeDef]],
1083
1131
  "metadata": NotRequired[EksMetadataTypeDef],
1132
+ "shareProcessNamespace": NotRequired[bool],
1084
1133
  },
1085
1134
  )
1086
1135
  CreateSchedulingPolicyRequestRequestTypeDef = TypedDict(
@@ -1115,6 +1164,52 @@ ListJobsResponseTypeDef = TypedDict(
1115
1164
  "ResponseMetadata": ResponseMetadataTypeDef,
1116
1165
  },
1117
1166
  )
1167
+ TaskContainerDetailsTypeDef = TypedDict(
1168
+ "TaskContainerDetailsTypeDef",
1169
+ {
1170
+ "command": NotRequired[List[str]],
1171
+ "dependsOn": NotRequired[List[TaskContainerDependencyTypeDef]],
1172
+ "environment": NotRequired[List[KeyValuePairTypeDef]],
1173
+ "essential": NotRequired[bool],
1174
+ "image": NotRequired[str],
1175
+ "linuxParameters": NotRequired[LinuxParametersTypeDef],
1176
+ "logConfiguration": NotRequired[LogConfigurationTypeDef],
1177
+ "mountPoints": NotRequired[List[MountPointTypeDef]],
1178
+ "name": NotRequired[str],
1179
+ "privileged": NotRequired[bool],
1180
+ "readonlyRootFilesystem": NotRequired[bool],
1181
+ "repositoryCredentials": NotRequired[RepositoryCredentialsTypeDef],
1182
+ "resourceRequirements": NotRequired[List[ResourceRequirementTypeDef]],
1183
+ "secrets": NotRequired[List[SecretTypeDef]],
1184
+ "ulimits": NotRequired[List[UlimitTypeDef]],
1185
+ "user": NotRequired[str],
1186
+ "exitCode": NotRequired[int],
1187
+ "reason": NotRequired[str],
1188
+ "logStreamName": NotRequired[str],
1189
+ "networkInterfaces": NotRequired[List[NetworkInterfaceTypeDef]],
1190
+ },
1191
+ )
1192
+ TaskContainerPropertiesTypeDef = TypedDict(
1193
+ "TaskContainerPropertiesTypeDef",
1194
+ {
1195
+ "image": str,
1196
+ "command": NotRequired[List[str]],
1197
+ "dependsOn": NotRequired[List[TaskContainerDependencyTypeDef]],
1198
+ "environment": NotRequired[List[KeyValuePairTypeDef]],
1199
+ "essential": NotRequired[bool],
1200
+ "linuxParameters": NotRequired[LinuxParametersTypeDef],
1201
+ "logConfiguration": NotRequired[LogConfigurationTypeDef],
1202
+ "mountPoints": NotRequired[List[MountPointTypeDef]],
1203
+ "name": NotRequired[str],
1204
+ "privileged": NotRequired[bool],
1205
+ "readonlyRootFilesystem": NotRequired[bool],
1206
+ "repositoryCredentials": NotRequired[RepositoryCredentialsTypeDef],
1207
+ "resourceRequirements": NotRequired[List[ResourceRequirementTypeDef]],
1208
+ "secrets": NotRequired[List[SecretTypeDef]],
1209
+ "ulimits": NotRequired[List[UlimitTypeDef]],
1210
+ "user": NotRequired[str],
1211
+ },
1212
+ )
1118
1213
  DescribeComputeEnvironmentsResponsePaginatorTypeDef = TypedDict(
1119
1214
  "DescribeComputeEnvironmentsResponsePaginatorTypeDef",
1120
1215
  {
@@ -1131,11 +1226,10 @@ DescribeComputeEnvironmentsResponseTypeDef = TypedDict(
1131
1226
  "ResponseMetadata": ResponseMetadataTypeDef,
1132
1227
  },
1133
1228
  )
1134
- NodeOverridesTypeDef = TypedDict(
1135
- "NodeOverridesTypeDef",
1229
+ EcsPropertiesOverrideTypeDef = TypedDict(
1230
+ "EcsPropertiesOverrideTypeDef",
1136
1231
  {
1137
- "numNodes": NotRequired[int],
1138
- "nodePropertyOverrides": NotRequired[Sequence[NodePropertyOverrideTypeDef]],
1232
+ "taskProperties": NotRequired[Sequence[TaskPropertiesOverrideTypeDef]],
1139
1233
  },
1140
1234
  )
1141
1235
  ContainerDetailTypeDef = TypedDict(
@@ -1225,11 +1319,73 @@ DescribeSchedulingPoliciesResponseTypeDef = TypedDict(
1225
1319
  "ResponseMetadata": ResponseMetadataTypeDef,
1226
1320
  },
1227
1321
  )
1322
+ EcsTaskDetailsTypeDef = TypedDict(
1323
+ "EcsTaskDetailsTypeDef",
1324
+ {
1325
+ "containers": NotRequired[List[TaskContainerDetailsTypeDef]],
1326
+ "containerInstanceArn": NotRequired[str],
1327
+ "taskArn": NotRequired[str],
1328
+ "ephemeralStorage": NotRequired[EphemeralStorageTypeDef],
1329
+ "executionRoleArn": NotRequired[str],
1330
+ "platformVersion": NotRequired[str],
1331
+ "ipcMode": NotRequired[str],
1332
+ "taskRoleArn": NotRequired[str],
1333
+ "pidMode": NotRequired[str],
1334
+ "networkConfiguration": NotRequired[NetworkConfigurationTypeDef],
1335
+ "runtimePlatform": NotRequired[RuntimePlatformTypeDef],
1336
+ "volumes": NotRequired[List[VolumeTypeDef]],
1337
+ },
1338
+ )
1339
+ EcsTaskPropertiesTypeDef = TypedDict(
1340
+ "EcsTaskPropertiesTypeDef",
1341
+ {
1342
+ "containers": List[TaskContainerPropertiesTypeDef],
1343
+ "ephemeralStorage": NotRequired[EphemeralStorageTypeDef],
1344
+ "executionRoleArn": NotRequired[str],
1345
+ "platformVersion": NotRequired[str],
1346
+ "ipcMode": NotRequired[str],
1347
+ "taskRoleArn": NotRequired[str],
1348
+ "pidMode": NotRequired[str],
1349
+ "networkConfiguration": NotRequired[NetworkConfigurationTypeDef],
1350
+ "runtimePlatform": NotRequired[RuntimePlatformTypeDef],
1351
+ "volumes": NotRequired[List[VolumeTypeDef]],
1352
+ },
1353
+ )
1354
+ NodePropertyOverrideTypeDef = TypedDict(
1355
+ "NodePropertyOverrideTypeDef",
1356
+ {
1357
+ "targetNodes": str,
1358
+ "containerOverrides": NotRequired[ContainerOverridesTypeDef],
1359
+ "ecsPropertiesOverride": NotRequired[EcsPropertiesOverrideTypeDef],
1360
+ "instanceTypes": NotRequired[Sequence[str]],
1361
+ },
1362
+ )
1363
+ EcsPropertiesDetailTypeDef = TypedDict(
1364
+ "EcsPropertiesDetailTypeDef",
1365
+ {
1366
+ "taskProperties": NotRequired[List[EcsTaskDetailsTypeDef]],
1367
+ },
1368
+ )
1369
+ EcsPropertiesTypeDef = TypedDict(
1370
+ "EcsPropertiesTypeDef",
1371
+ {
1372
+ "taskProperties": List[EcsTaskPropertiesTypeDef],
1373
+ },
1374
+ )
1375
+ NodeOverridesTypeDef = TypedDict(
1376
+ "NodeOverridesTypeDef",
1377
+ {
1378
+ "numNodes": NotRequired[int],
1379
+ "nodePropertyOverrides": NotRequired[Sequence[NodePropertyOverrideTypeDef]],
1380
+ },
1381
+ )
1228
1382
  NodeRangePropertyTypeDef = TypedDict(
1229
1383
  "NodeRangePropertyTypeDef",
1230
1384
  {
1231
1385
  "targetNodes": str,
1232
1386
  "container": NotRequired[ContainerPropertiesTypeDef],
1387
+ "instanceTypes": NotRequired[List[str]],
1388
+ "ecsProperties": NotRequired[EcsPropertiesTypeDef],
1233
1389
  },
1234
1390
  )
1235
1391
  SubmitJobRequestRequestTypeDef = TypedDict(
@@ -1250,6 +1406,7 @@ SubmitJobRequestRequestTypeDef = TypedDict(
1250
1406
  "timeout": NotRequired[JobTimeoutTypeDef],
1251
1407
  "tags": NotRequired[Mapping[str, str]],
1252
1408
  "eksPropertiesOverride": NotRequired[EksPropertiesOverrideTypeDef],
1409
+ "ecsPropertiesOverride": NotRequired[EcsPropertiesOverrideTypeDef],
1253
1410
  },
1254
1411
  )
1255
1412
  NodePropertiesTypeDef = TypedDict(
@@ -1277,6 +1434,7 @@ JobDefinitionTypeDef = TypedDict(
1277
1434
  "tags": NotRequired[Dict[str, str]],
1278
1435
  "propagateTags": NotRequired[bool],
1279
1436
  "platformCapabilities": NotRequired[List[PlatformCapabilityType]],
1437
+ "ecsProperties": NotRequired[EcsPropertiesTypeDef],
1280
1438
  "eksProperties": NotRequired[EksPropertiesTypeDef],
1281
1439
  "containerOrchestrationType": NotRequired[OrchestrationTypeType],
1282
1440
  },
@@ -1310,6 +1468,7 @@ JobDetailTypeDef = TypedDict(
1310
1468
  "platformCapabilities": NotRequired[List[PlatformCapabilityType]],
1311
1469
  "eksProperties": NotRequired[EksPropertiesDetailTypeDef],
1312
1470
  "eksAttempts": NotRequired[List[EksAttemptDetailTypeDef]],
1471
+ "ecsProperties": NotRequired[EcsPropertiesDetailTypeDef],
1313
1472
  "isCancelled": NotRequired[bool],
1314
1473
  "isTerminated": NotRequired[bool],
1315
1474
  },
@@ -1329,6 +1488,7 @@ RegisterJobDefinitionRequestRequestTypeDef = TypedDict(
1329
1488
  "tags": NotRequired[Mapping[str, str]],
1330
1489
  "platformCapabilities": NotRequired[Sequence[PlatformCapabilityType]],
1331
1490
  "eksProperties": NotRequired[EksPropertiesTypeDef],
1491
+ "ecsProperties": NotRequired[EcsPropertiesTypeDef],
1332
1492
  },
1333
1493
  )
1334
1494
  DescribeJobDefinitionsResponseTypeDef = TypedDict(
@@ -2,4 +2,4 @@
2
2
  Source of truth for version.
3
3
  """
4
4
 
5
- __version__ = "1.34.39"
5
+ __version__ = "1.34.59"
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-batch
3
- Version: 1.34.39
4
- Summary: Type annotations for boto3.Batch 1.34.39 service generated with mypy-boto3-builder 7.23.1
3
+ Version: 1.34.59
4
+ Summary: Type annotations for boto3.Batch 1.34.59 service generated with mypy-boto3-builder 7.23.2
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
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
43
43
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
44
 
45
45
  Type annotations for
46
- [boto3.Batch 1.34.39](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
46
+ [boto3.Batch 1.34.59](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch)
47
47
  service 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 @@ service compatible with [VSCode](https://code.visualstudio.com/),
52
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
53
53
 
54
54
  Generated by
55
- [mypy-boto3-builder 7.23.1](https://github.com/youtype/mypy_boto3_builder).
55
+ [mypy-boto3-builder 7.23.2](https://github.com/youtype/mypy_boto3_builder).
56
56
 
57
57
  More information can be found on
58
58
  [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
@@ -11,13 +11,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
11
11
 
12
12
  setup(
13
13
  name="mypy-boto3-batch",
14
- version="1.34.39",
14
+ version="1.34.59",
15
15
  packages=["mypy_boto3_batch"],
16
16
  url="https://github.com/youtype/mypy_boto3_builder",
17
17
  license="MIT License",
18
18
  author="Vlad Emelianov",
19
19
  author_email="vlad.emelianov.nz@gmail.com",
20
- description="Type annotations for boto3.Batch 1.34.39 service generated with mypy-boto3-builder 7.23.1",
20
+ description="Type annotations for boto3.Batch 1.34.59 service generated with mypy-boto3-builder 7.23.2",
21
21
  classifiers=[
22
22
  "Development Status :: 5 - Production/Stable",
23
23
  "Intended Audience :: Developers",