mypy-boto3-batch 1.29.0__py3-none-any.whl → 1.34.59__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/__init__.py +0 -1
- mypy_boto3_batch/__main__.py +8 -7
- mypy_boto3_batch/client.py +17 -11
- mypy_boto3_batch/client.pyi +17 -10
- mypy_boto3_batch/literals.py +27 -3
- mypy_boto3_batch/literals.pyi +27 -1
- mypy_boto3_batch/paginator.py +3 -4
- mypy_boto3_batch/paginator.pyi +3 -3
- mypy_boto3_batch/type_defs.py +227 -59
- mypy_boto3_batch/type_defs.pyi +227 -58
- mypy_boto3_batch/version.py +1 -1
- {mypy_boto3_batch-1.29.0.dist-info → mypy_boto3_batch-1.34.59.dist-info}/LICENSE +1 -1
- {mypy_boto3_batch-1.29.0.dist-info → mypy_boto3_batch-1.34.59.dist-info}/METADATA +6 -7
- mypy_boto3_batch-1.34.59.dist-info/RECORD +18 -0
- {mypy_boto3_batch-1.29.0.dist-info → mypy_boto3_batch-1.34.59.dist-info}/WHEEL +1 -1
- mypy_boto3_batch-1.29.0.dist-info/RECORD +0 -18
- {mypy_boto3_batch-1.29.0.dist-info → mypy_boto3_batch-1.34.59.dist-info}/top_level.txt +0 -0
mypy_boto3_batch/type_defs.py
CHANGED
|
@@ -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:
|
|
@@ -47,7 +51,6 @@ if sys.version_info >= (3, 12):
|
|
|
47
51
|
else:
|
|
48
52
|
from typing_extensions import TypedDict
|
|
49
53
|
|
|
50
|
-
|
|
51
54
|
__all__ = (
|
|
52
55
|
"ArrayPropertiesDetailTypeDef",
|
|
53
56
|
"ArrayPropertiesSummaryTypeDef",
|
|
@@ -64,12 +67,14 @@ __all__ = (
|
|
|
64
67
|
"KeyValuePairTypeDef",
|
|
65
68
|
"MountPointTypeDef",
|
|
66
69
|
"NetworkConfigurationTypeDef",
|
|
70
|
+
"RepositoryCredentialsTypeDef",
|
|
67
71
|
"ResourceRequirementTypeDef",
|
|
68
72
|
"RuntimePlatformTypeDef",
|
|
69
73
|
"SecretTypeDef",
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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",
|
|
@@ -280,6 +295,12 @@ NetworkConfigurationTypeDef = TypedDict(
|
|
|
280
295
|
"assignPublicIp": NotRequired[AssignPublicIpType],
|
|
281
296
|
},
|
|
282
297
|
)
|
|
298
|
+
RepositoryCredentialsTypeDef = TypedDict(
|
|
299
|
+
"RepositoryCredentialsTypeDef",
|
|
300
|
+
{
|
|
301
|
+
"credentialsParameter": str,
|
|
302
|
+
},
|
|
303
|
+
)
|
|
283
304
|
ResourceRequirementTypeDef = TypedDict(
|
|
284
305
|
"ResourceRequirementTypeDef",
|
|
285
306
|
{
|
|
@@ -320,10 +341,19 @@ ResponseMetadataTypeDef = TypedDict(
|
|
|
320
341
|
"ResponseMetadataTypeDef",
|
|
321
342
|
{
|
|
322
343
|
"RequestId": str,
|
|
323
|
-
"HostId": str,
|
|
324
344
|
"HTTPStatusCode": int,
|
|
325
345
|
"HTTPHeaders": Dict[str, str],
|
|
326
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"],
|
|
327
357
|
},
|
|
328
358
|
)
|
|
329
359
|
DeleteComputeEnvironmentRequestRequestTypeDef = TypedDict(
|
|
@@ -567,6 +597,13 @@ TagResourceRequestRequestTypeDef = TypedDict(
|
|
|
567
597
|
"tags": Mapping[str, str],
|
|
568
598
|
},
|
|
569
599
|
)
|
|
600
|
+
TaskContainerDependencyTypeDef = TypedDict(
|
|
601
|
+
"TaskContainerDependencyTypeDef",
|
|
602
|
+
{
|
|
603
|
+
"containerName": NotRequired[str],
|
|
604
|
+
"condition": NotRequired[str],
|
|
605
|
+
},
|
|
606
|
+
)
|
|
570
607
|
TerminateJobRequestRequestTypeDef = TypedDict(
|
|
571
608
|
"TerminateJobRequestRequestTypeDef",
|
|
572
609
|
{
|
|
@@ -592,41 +629,6 @@ AttemptContainerDetailTypeDef = TypedDict(
|
|
|
592
629
|
"networkInterfaces": NotRequired[List[NetworkInterfaceTypeDef]],
|
|
593
630
|
},
|
|
594
631
|
)
|
|
595
|
-
CreateJobQueueRequestRequestTypeDef = TypedDict(
|
|
596
|
-
"CreateJobQueueRequestRequestTypeDef",
|
|
597
|
-
{
|
|
598
|
-
"jobQueueName": str,
|
|
599
|
-
"priority": int,
|
|
600
|
-
"computeEnvironmentOrder": Sequence[ComputeEnvironmentOrderTypeDef],
|
|
601
|
-
"state": NotRequired[JQStateType],
|
|
602
|
-
"schedulingPolicyArn": NotRequired[str],
|
|
603
|
-
"tags": NotRequired[Mapping[str, str]],
|
|
604
|
-
},
|
|
605
|
-
)
|
|
606
|
-
JobQueueDetailTypeDef = TypedDict(
|
|
607
|
-
"JobQueueDetailTypeDef",
|
|
608
|
-
{
|
|
609
|
-
"jobQueueName": str,
|
|
610
|
-
"jobQueueArn": str,
|
|
611
|
-
"state": JQStateType,
|
|
612
|
-
"priority": int,
|
|
613
|
-
"computeEnvironmentOrder": List[ComputeEnvironmentOrderTypeDef],
|
|
614
|
-
"schedulingPolicyArn": NotRequired[str],
|
|
615
|
-
"status": NotRequired[JQStatusType],
|
|
616
|
-
"statusReason": NotRequired[str],
|
|
617
|
-
"tags": NotRequired[Dict[str, str]],
|
|
618
|
-
},
|
|
619
|
-
)
|
|
620
|
-
UpdateJobQueueRequestRequestTypeDef = TypedDict(
|
|
621
|
-
"UpdateJobQueueRequestRequestTypeDef",
|
|
622
|
-
{
|
|
623
|
-
"jobQueue": str,
|
|
624
|
-
"state": NotRequired[JQStateType],
|
|
625
|
-
"schedulingPolicyArn": NotRequired[str],
|
|
626
|
-
"priority": NotRequired[int],
|
|
627
|
-
"computeEnvironmentOrder": NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]],
|
|
628
|
-
},
|
|
629
|
-
)
|
|
630
632
|
ComputeResourcePaginatorTypeDef = TypedDict(
|
|
631
633
|
"ComputeResourcePaginatorTypeDef",
|
|
632
634
|
{
|
|
@@ -704,6 +706,15 @@ ContainerOverridesTypeDef = TypedDict(
|
|
|
704
706
|
"resourceRequirements": NotRequired[Sequence[ResourceRequirementTypeDef]],
|
|
705
707
|
},
|
|
706
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
|
+
)
|
|
707
718
|
LogConfigurationTypeDef = TypedDict(
|
|
708
719
|
"LogConfigurationTypeDef",
|
|
709
720
|
{
|
|
@@ -777,6 +788,44 @@ UpdateJobQueueResponseTypeDef = TypedDict(
|
|
|
777
788
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
778
789
|
},
|
|
779
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
|
+
)
|
|
780
829
|
DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef = TypedDict(
|
|
781
830
|
"DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef",
|
|
782
831
|
{
|
|
@@ -820,6 +869,7 @@ EksAttemptDetailTypeDef = TypedDict(
|
|
|
820
869
|
"EksAttemptDetailTypeDef",
|
|
821
870
|
{
|
|
822
871
|
"containers": NotRequired[List[EksAttemptContainerDetailTypeDef]],
|
|
872
|
+
"initContainers": NotRequired[List[EksAttemptContainerDetailTypeDef]],
|
|
823
873
|
"podName": NotRequired[str],
|
|
824
874
|
"nodeName": NotRequired[str],
|
|
825
875
|
"startedAt": NotRequired[int],
|
|
@@ -830,6 +880,7 @@ EksAttemptDetailTypeDef = TypedDict(
|
|
|
830
880
|
EksContainerOverrideTypeDef = TypedDict(
|
|
831
881
|
"EksContainerOverrideTypeDef",
|
|
832
882
|
{
|
|
883
|
+
"name": NotRequired[str],
|
|
833
884
|
"image": NotRequired[str],
|
|
834
885
|
"command": NotRequired[Sequence[str]],
|
|
835
886
|
"args": NotRequired[Sequence[str]],
|
|
@@ -959,14 +1010,6 @@ AttemptDetailTypeDef = TypedDict(
|
|
|
959
1010
|
"statusReason": NotRequired[str],
|
|
960
1011
|
},
|
|
961
1012
|
)
|
|
962
|
-
DescribeJobQueuesResponseTypeDef = TypedDict(
|
|
963
|
-
"DescribeJobQueuesResponseTypeDef",
|
|
964
|
-
{
|
|
965
|
-
"jobQueues": List[JobQueueDetailTypeDef],
|
|
966
|
-
"nextToken": str,
|
|
967
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
968
|
-
},
|
|
969
|
-
)
|
|
970
1013
|
ComputeEnvironmentDetailPaginatorTypeDef = TypedDict(
|
|
971
1014
|
"ComputeEnvironmentDetailPaginatorTypeDef",
|
|
972
1015
|
{
|
|
@@ -1031,11 +1074,18 @@ UpdateComputeEnvironmentRequestRequestTypeDef = TypedDict(
|
|
|
1031
1074
|
"updatePolicy": NotRequired[UpdatePolicyTypeDef],
|
|
1032
1075
|
},
|
|
1033
1076
|
)
|
|
1034
|
-
|
|
1035
|
-
"
|
|
1077
|
+
TaskPropertiesOverrideTypeDef = TypedDict(
|
|
1078
|
+
"TaskPropertiesOverrideTypeDef",
|
|
1036
1079
|
{
|
|
1037
|
-
"
|
|
1038
|
-
|
|
1080
|
+
"containers": NotRequired[Sequence[TaskContainerOverridesTypeDef]],
|
|
1081
|
+
},
|
|
1082
|
+
)
|
|
1083
|
+
DescribeJobQueuesResponseTypeDef = TypedDict(
|
|
1084
|
+
"DescribeJobQueuesResponseTypeDef",
|
|
1085
|
+
{
|
|
1086
|
+
"jobQueues": List[JobQueueDetailTypeDef],
|
|
1087
|
+
"nextToken": str,
|
|
1088
|
+
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1039
1089
|
},
|
|
1040
1090
|
)
|
|
1041
1091
|
VolumeTypeDef = TypedDict(
|
|
@@ -1050,6 +1100,7 @@ EksPodPropertiesOverrideTypeDef = TypedDict(
|
|
|
1050
1100
|
"EksPodPropertiesOverrideTypeDef",
|
|
1051
1101
|
{
|
|
1052
1102
|
"containers": NotRequired[Sequence[EksContainerOverrideTypeDef]],
|
|
1103
|
+
"initContainers": NotRequired[Sequence[EksContainerOverrideTypeDef]],
|
|
1053
1104
|
"metadata": NotRequired[EksMetadataTypeDef],
|
|
1054
1105
|
},
|
|
1055
1106
|
)
|
|
@@ -1060,10 +1111,12 @@ EksPodPropertiesDetailTypeDef = TypedDict(
|
|
|
1060
1111
|
"hostNetwork": NotRequired[bool],
|
|
1061
1112
|
"dnsPolicy": NotRequired[str],
|
|
1062
1113
|
"containers": NotRequired[List[EksContainerDetailTypeDef]],
|
|
1114
|
+
"initContainers": NotRequired[List[EksContainerDetailTypeDef]],
|
|
1063
1115
|
"volumes": NotRequired[List[EksVolumeTypeDef]],
|
|
1064
1116
|
"podName": NotRequired[str],
|
|
1065
1117
|
"nodeName": NotRequired[str],
|
|
1066
1118
|
"metadata": NotRequired[EksMetadataTypeDef],
|
|
1119
|
+
"shareProcessNamespace": NotRequired[bool],
|
|
1067
1120
|
},
|
|
1068
1121
|
)
|
|
1069
1122
|
EksPodPropertiesTypeDef = TypedDict(
|
|
@@ -1073,8 +1126,10 @@ EksPodPropertiesTypeDef = TypedDict(
|
|
|
1073
1126
|
"hostNetwork": NotRequired[bool],
|
|
1074
1127
|
"dnsPolicy": NotRequired[str],
|
|
1075
1128
|
"containers": NotRequired[List[EksContainerTypeDef]],
|
|
1129
|
+
"initContainers": NotRequired[List[EksContainerTypeDef]],
|
|
1076
1130
|
"volumes": NotRequired[List[EksVolumeTypeDef]],
|
|
1077
1131
|
"metadata": NotRequired[EksMetadataTypeDef],
|
|
1132
|
+
"shareProcessNamespace": NotRequired[bool],
|
|
1078
1133
|
},
|
|
1079
1134
|
)
|
|
1080
1135
|
CreateSchedulingPolicyRequestRequestTypeDef = TypedDict(
|
|
@@ -1109,6 +1164,52 @@ ListJobsResponseTypeDef = TypedDict(
|
|
|
1109
1164
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1110
1165
|
},
|
|
1111
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
|
+
)
|
|
1112
1213
|
DescribeComputeEnvironmentsResponsePaginatorTypeDef = TypedDict(
|
|
1113
1214
|
"DescribeComputeEnvironmentsResponsePaginatorTypeDef",
|
|
1114
1215
|
{
|
|
@@ -1125,11 +1226,10 @@ DescribeComputeEnvironmentsResponseTypeDef = TypedDict(
|
|
|
1125
1226
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1126
1227
|
},
|
|
1127
1228
|
)
|
|
1128
|
-
|
|
1129
|
-
"
|
|
1229
|
+
EcsPropertiesOverrideTypeDef = TypedDict(
|
|
1230
|
+
"EcsPropertiesOverrideTypeDef",
|
|
1130
1231
|
{
|
|
1131
|
-
"
|
|
1132
|
-
"nodePropertyOverrides": NotRequired[Sequence[NodePropertyOverrideTypeDef]],
|
|
1232
|
+
"taskProperties": NotRequired[Sequence[TaskPropertiesOverrideTypeDef]],
|
|
1133
1233
|
},
|
|
1134
1234
|
)
|
|
1135
1235
|
ContainerDetailTypeDef = TypedDict(
|
|
@@ -1163,6 +1263,7 @@ ContainerDetailTypeDef = TypedDict(
|
|
|
1163
1263
|
"fargatePlatformConfiguration": NotRequired[FargatePlatformConfigurationTypeDef],
|
|
1164
1264
|
"ephemeralStorage": NotRequired[EphemeralStorageTypeDef],
|
|
1165
1265
|
"runtimePlatform": NotRequired[RuntimePlatformTypeDef],
|
|
1266
|
+
"repositoryCredentials": NotRequired[RepositoryCredentialsTypeDef],
|
|
1166
1267
|
},
|
|
1167
1268
|
)
|
|
1168
1269
|
ContainerPropertiesTypeDef = TypedDict(
|
|
@@ -1190,6 +1291,7 @@ ContainerPropertiesTypeDef = TypedDict(
|
|
|
1190
1291
|
"fargatePlatformConfiguration": NotRequired[FargatePlatformConfigurationTypeDef],
|
|
1191
1292
|
"ephemeralStorage": NotRequired[EphemeralStorageTypeDef],
|
|
1192
1293
|
"runtimePlatform": NotRequired[RuntimePlatformTypeDef],
|
|
1294
|
+
"repositoryCredentials": NotRequired[RepositoryCredentialsTypeDef],
|
|
1193
1295
|
},
|
|
1194
1296
|
)
|
|
1195
1297
|
EksPropertiesOverrideTypeDef = TypedDict(
|
|
@@ -1217,11 +1319,73 @@ DescribeSchedulingPoliciesResponseTypeDef = TypedDict(
|
|
|
1217
1319
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1218
1320
|
},
|
|
1219
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
|
+
)
|
|
1220
1382
|
NodeRangePropertyTypeDef = TypedDict(
|
|
1221
1383
|
"NodeRangePropertyTypeDef",
|
|
1222
1384
|
{
|
|
1223
1385
|
"targetNodes": str,
|
|
1224
1386
|
"container": NotRequired[ContainerPropertiesTypeDef],
|
|
1387
|
+
"instanceTypes": NotRequired[List[str]],
|
|
1388
|
+
"ecsProperties": NotRequired[EcsPropertiesTypeDef],
|
|
1225
1389
|
},
|
|
1226
1390
|
)
|
|
1227
1391
|
SubmitJobRequestRequestTypeDef = TypedDict(
|
|
@@ -1242,6 +1406,7 @@ SubmitJobRequestRequestTypeDef = TypedDict(
|
|
|
1242
1406
|
"timeout": NotRequired[JobTimeoutTypeDef],
|
|
1243
1407
|
"tags": NotRequired[Mapping[str, str]],
|
|
1244
1408
|
"eksPropertiesOverride": NotRequired[EksPropertiesOverrideTypeDef],
|
|
1409
|
+
"ecsPropertiesOverride": NotRequired[EcsPropertiesOverrideTypeDef],
|
|
1245
1410
|
},
|
|
1246
1411
|
)
|
|
1247
1412
|
NodePropertiesTypeDef = TypedDict(
|
|
@@ -1269,6 +1434,7 @@ JobDefinitionTypeDef = TypedDict(
|
|
|
1269
1434
|
"tags": NotRequired[Dict[str, str]],
|
|
1270
1435
|
"propagateTags": NotRequired[bool],
|
|
1271
1436
|
"platformCapabilities": NotRequired[List[PlatformCapabilityType]],
|
|
1437
|
+
"ecsProperties": NotRequired[EcsPropertiesTypeDef],
|
|
1272
1438
|
"eksProperties": NotRequired[EksPropertiesTypeDef],
|
|
1273
1439
|
"containerOrchestrationType": NotRequired[OrchestrationTypeType],
|
|
1274
1440
|
},
|
|
@@ -1302,6 +1468,7 @@ JobDetailTypeDef = TypedDict(
|
|
|
1302
1468
|
"platformCapabilities": NotRequired[List[PlatformCapabilityType]],
|
|
1303
1469
|
"eksProperties": NotRequired[EksPropertiesDetailTypeDef],
|
|
1304
1470
|
"eksAttempts": NotRequired[List[EksAttemptDetailTypeDef]],
|
|
1471
|
+
"ecsProperties": NotRequired[EcsPropertiesDetailTypeDef],
|
|
1305
1472
|
"isCancelled": NotRequired[bool],
|
|
1306
1473
|
"isTerminated": NotRequired[bool],
|
|
1307
1474
|
},
|
|
@@ -1321,6 +1488,7 @@ RegisterJobDefinitionRequestRequestTypeDef = TypedDict(
|
|
|
1321
1488
|
"tags": NotRequired[Mapping[str, str]],
|
|
1322
1489
|
"platformCapabilities": NotRequired[Sequence[PlatformCapabilityType]],
|
|
1323
1490
|
"eksProperties": NotRequired[EksPropertiesTypeDef],
|
|
1491
|
+
"ecsProperties": NotRequired[EcsPropertiesTypeDef],
|
|
1324
1492
|
},
|
|
1325
1493
|
)
|
|
1326
1494
|
DescribeJobDefinitionsResponseTypeDef = TypedDict(
|