types-boto3-batch 1.39.0__py3-none-any.whl → 1.40.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types_boto3_batch/__init__.py +8 -0
- types_boto3_batch/__init__.pyi +8 -0
- types_boto3_batch/__main__.py +3 -3
- types_boto3_batch/client.py +118 -0
- types_boto3_batch/client.pyi +118 -0
- types_boto3_batch/literals.py +31 -1
- types_boto3_batch/literals.pyi +31 -1
- types_boto3_batch/paginator.py +54 -0
- types_boto3_batch/paginator.pyi +48 -0
- types_boto3_batch/type_defs.py +235 -2
- types_boto3_batch/type_defs.pyi +207 -2
- types_boto3_batch/version.py +1 -1
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/METADATA +10 -4
- types_boto3_batch-1.40.0.dist-info/RECORD +18 -0
- types_boto3_batch-1.39.0.dist-info/RECORD +0 -18
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/WHEEL +0 -0
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/licenses/LICENSE +0 -0
- {types_boto3_batch-1.39.0.dist-info → types_boto3_batch-1.40.0.dist-info}/top_level.txt +0 -0
types_boto3_batch/type_defs.py
CHANGED
|
@@ -33,6 +33,8 @@ from .literals import (
|
|
|
33
33
|
EFSTransitEncryptionType,
|
|
34
34
|
FirelensConfigurationTypeType,
|
|
35
35
|
JobDefinitionTypeType,
|
|
36
|
+
JobQueueTypeType,
|
|
37
|
+
JobStateTimeLimitActionsActionType,
|
|
36
38
|
JobStatusType,
|
|
37
39
|
JQStateType,
|
|
38
40
|
JQStatusType,
|
|
@@ -41,6 +43,10 @@ from .literals import (
|
|
|
41
43
|
PlatformCapabilityType,
|
|
42
44
|
ResourceTypeType,
|
|
43
45
|
RetryActionType,
|
|
46
|
+
ServiceEnvironmentStateType,
|
|
47
|
+
ServiceEnvironmentStatusType,
|
|
48
|
+
ServiceJobRetryActionType,
|
|
49
|
+
ServiceJobStatusType,
|
|
44
50
|
UserdataTypeType,
|
|
45
51
|
)
|
|
46
52
|
|
|
@@ -65,6 +71,7 @@ __all__ = (
|
|
|
65
71
|
"AttemptEcsTaskDetailsTypeDef",
|
|
66
72
|
"AttemptTaskContainerDetailsTypeDef",
|
|
67
73
|
"CancelJobRequestTypeDef",
|
|
74
|
+
"CapacityLimitTypeDef",
|
|
68
75
|
"ComputeEnvironmentDetailTypeDef",
|
|
69
76
|
"ComputeEnvironmentOrderTypeDef",
|
|
70
77
|
"ComputeResourceOutputTypeDef",
|
|
@@ -90,10 +97,13 @@ __all__ = (
|
|
|
90
97
|
"CreateJobQueueResponseTypeDef",
|
|
91
98
|
"CreateSchedulingPolicyRequestTypeDef",
|
|
92
99
|
"CreateSchedulingPolicyResponseTypeDef",
|
|
100
|
+
"CreateServiceEnvironmentRequestTypeDef",
|
|
101
|
+
"CreateServiceEnvironmentResponseTypeDef",
|
|
93
102
|
"DeleteComputeEnvironmentRequestTypeDef",
|
|
94
103
|
"DeleteConsumableResourceRequestTypeDef",
|
|
95
104
|
"DeleteJobQueueRequestTypeDef",
|
|
96
105
|
"DeleteSchedulingPolicyRequestTypeDef",
|
|
106
|
+
"DeleteServiceEnvironmentRequestTypeDef",
|
|
97
107
|
"DeregisterJobDefinitionRequestTypeDef",
|
|
98
108
|
"DescribeComputeEnvironmentsRequestPaginateTypeDef",
|
|
99
109
|
"DescribeComputeEnvironmentsRequestTypeDef",
|
|
@@ -110,6 +120,11 @@ __all__ = (
|
|
|
110
120
|
"DescribeJobsResponseTypeDef",
|
|
111
121
|
"DescribeSchedulingPoliciesRequestTypeDef",
|
|
112
122
|
"DescribeSchedulingPoliciesResponseTypeDef",
|
|
123
|
+
"DescribeServiceEnvironmentsRequestPaginateTypeDef",
|
|
124
|
+
"DescribeServiceEnvironmentsRequestTypeDef",
|
|
125
|
+
"DescribeServiceEnvironmentsResponseTypeDef",
|
|
126
|
+
"DescribeServiceJobRequestTypeDef",
|
|
127
|
+
"DescribeServiceJobResponseTypeDef",
|
|
113
128
|
"DeviceOutputTypeDef",
|
|
114
129
|
"DeviceTypeDef",
|
|
115
130
|
"EFSAuthorizationConfigTypeDef",
|
|
@@ -176,6 +191,7 @@ __all__ = (
|
|
|
176
191
|
"JobTimeoutTypeDef",
|
|
177
192
|
"KeyValuePairTypeDef",
|
|
178
193
|
"KeyValuesPairTypeDef",
|
|
194
|
+
"LatestServiceJobAttemptTypeDef",
|
|
179
195
|
"LaunchTemplateSpecificationOutputTypeDef",
|
|
180
196
|
"LaunchTemplateSpecificationOverrideOutputTypeDef",
|
|
181
197
|
"LaunchTemplateSpecificationOverrideTypeDef",
|
|
@@ -197,6 +213,9 @@ __all__ = (
|
|
|
197
213
|
"ListSchedulingPoliciesRequestPaginateTypeDef",
|
|
198
214
|
"ListSchedulingPoliciesRequestTypeDef",
|
|
199
215
|
"ListSchedulingPoliciesResponseTypeDef",
|
|
216
|
+
"ListServiceJobsRequestPaginateTypeDef",
|
|
217
|
+
"ListServiceJobsRequestTypeDef",
|
|
218
|
+
"ListServiceJobsResponseTypeDef",
|
|
200
219
|
"ListTagsForResourceRequestTypeDef",
|
|
201
220
|
"ListTagsForResourceResponseTypeDef",
|
|
202
221
|
"LogConfigurationOutputTypeDef",
|
|
@@ -226,9 +245,21 @@ __all__ = (
|
|
|
226
245
|
"SchedulingPolicyDetailTypeDef",
|
|
227
246
|
"SchedulingPolicyListingDetailTypeDef",
|
|
228
247
|
"SecretTypeDef",
|
|
248
|
+
"ServiceEnvironmentDetailTypeDef",
|
|
249
|
+
"ServiceEnvironmentOrderTypeDef",
|
|
250
|
+
"ServiceJobAttemptDetailTypeDef",
|
|
251
|
+
"ServiceJobEvaluateOnExitTypeDef",
|
|
252
|
+
"ServiceJobRetryStrategyOutputTypeDef",
|
|
253
|
+
"ServiceJobRetryStrategyTypeDef",
|
|
254
|
+
"ServiceJobRetryStrategyUnionTypeDef",
|
|
255
|
+
"ServiceJobSummaryTypeDef",
|
|
256
|
+
"ServiceJobTimeoutTypeDef",
|
|
257
|
+
"ServiceResourceIdTypeDef",
|
|
229
258
|
"ShareAttributesTypeDef",
|
|
230
259
|
"SubmitJobRequestTypeDef",
|
|
231
260
|
"SubmitJobResponseTypeDef",
|
|
261
|
+
"SubmitServiceJobRequestTypeDef",
|
|
262
|
+
"SubmitServiceJobResponseTypeDef",
|
|
232
263
|
"TagResourceRequestTypeDef",
|
|
233
264
|
"TaskContainerDependencyTypeDef",
|
|
234
265
|
"TaskContainerDetailsTypeDef",
|
|
@@ -237,6 +268,7 @@ __all__ = (
|
|
|
237
268
|
"TaskContainerPropertiesTypeDef",
|
|
238
269
|
"TaskPropertiesOverrideTypeDef",
|
|
239
270
|
"TerminateJobRequestTypeDef",
|
|
271
|
+
"TerminateServiceJobRequestTypeDef",
|
|
240
272
|
"TmpfsOutputTypeDef",
|
|
241
273
|
"TmpfsTypeDef",
|
|
242
274
|
"UlimitTypeDef",
|
|
@@ -249,6 +281,8 @@ __all__ = (
|
|
|
249
281
|
"UpdateJobQueueResponseTypeDef",
|
|
250
282
|
"UpdatePolicyTypeDef",
|
|
251
283
|
"UpdateSchedulingPolicyRequestTypeDef",
|
|
284
|
+
"UpdateServiceEnvironmentRequestTypeDef",
|
|
285
|
+
"UpdateServiceEnvironmentResponseTypeDef",
|
|
252
286
|
"VolumeTypeDef",
|
|
253
287
|
)
|
|
254
288
|
|
|
@@ -279,6 +313,11 @@ class CancelJobRequestTypeDef(TypedDict):
|
|
|
279
313
|
reason: str
|
|
280
314
|
|
|
281
315
|
|
|
316
|
+
class CapacityLimitTypeDef(TypedDict):
|
|
317
|
+
maxCapacity: NotRequired[int]
|
|
318
|
+
capacityUnit: NotRequired[str]
|
|
319
|
+
|
|
320
|
+
|
|
282
321
|
class EksConfigurationTypeDef(TypedDict):
|
|
283
322
|
eksClusterArn: str
|
|
284
323
|
kubernetesNamespace: str
|
|
@@ -389,7 +428,12 @@ class JobStateTimeLimitActionTypeDef(TypedDict):
|
|
|
389
428
|
reason: str
|
|
390
429
|
state: Literal["RUNNABLE"]
|
|
391
430
|
maxTimeSeconds: int
|
|
392
|
-
action:
|
|
431
|
+
action: JobStateTimeLimitActionsActionType
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class ServiceEnvironmentOrderTypeDef(TypedDict):
|
|
435
|
+
order: int
|
|
436
|
+
serviceEnvironment: str
|
|
393
437
|
|
|
394
438
|
|
|
395
439
|
class DeleteComputeEnvironmentRequestTypeDef(TypedDict):
|
|
@@ -408,6 +452,10 @@ class DeleteSchedulingPolicyRequestTypeDef(TypedDict):
|
|
|
408
452
|
arn: str
|
|
409
453
|
|
|
410
454
|
|
|
455
|
+
class DeleteServiceEnvironmentRequestTypeDef(TypedDict):
|
|
456
|
+
serviceEnvironment: str
|
|
457
|
+
|
|
458
|
+
|
|
411
459
|
class DeregisterJobDefinitionRequestTypeDef(TypedDict):
|
|
412
460
|
jobDefinition: str
|
|
413
461
|
|
|
@@ -450,6 +498,20 @@ class DescribeSchedulingPoliciesRequestTypeDef(TypedDict):
|
|
|
450
498
|
arns: Sequence[str]
|
|
451
499
|
|
|
452
500
|
|
|
501
|
+
class DescribeServiceEnvironmentsRequestTypeDef(TypedDict):
|
|
502
|
+
serviceEnvironments: NotRequired[Sequence[str]]
|
|
503
|
+
maxResults: NotRequired[int]
|
|
504
|
+
nextToken: NotRequired[str]
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
class DescribeServiceJobRequestTypeDef(TypedDict):
|
|
508
|
+
jobId: str
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
class ServiceJobTimeoutTypeDef(TypedDict):
|
|
512
|
+
attemptDurationSeconds: NotRequired[int]
|
|
513
|
+
|
|
514
|
+
|
|
453
515
|
class DeviceOutputTypeDef(TypedDict):
|
|
454
516
|
hostPath: str
|
|
455
517
|
containerPath: NotRequired[str]
|
|
@@ -610,6 +672,11 @@ class KeyValuesPairTypeDef(TypedDict):
|
|
|
610
672
|
values: NotRequired[Sequence[str]]
|
|
611
673
|
|
|
612
674
|
|
|
675
|
+
class ServiceResourceIdTypeDef(TypedDict):
|
|
676
|
+
name: Literal["TrainingJobArn"]
|
|
677
|
+
value: str
|
|
678
|
+
|
|
679
|
+
|
|
613
680
|
class LaunchTemplateSpecificationOverrideOutputTypeDef(TypedDict):
|
|
614
681
|
launchTemplateId: NotRequired[str]
|
|
615
682
|
launchTemplateName: NotRequired[str]
|
|
@@ -651,6 +718,11 @@ class ListTagsForResourceRequestTypeDef(TypedDict):
|
|
|
651
718
|
resourceArn: str
|
|
652
719
|
|
|
653
720
|
|
|
721
|
+
class ServiceJobEvaluateOnExitTypeDef(TypedDict):
|
|
722
|
+
action: NotRequired[ServiceJobRetryActionType]
|
|
723
|
+
onStatusReason: NotRequired[str]
|
|
724
|
+
|
|
725
|
+
|
|
654
726
|
class TagResourceRequestTypeDef(TypedDict):
|
|
655
727
|
resourceArn: str
|
|
656
728
|
tags: Mapping[str, str]
|
|
@@ -666,6 +738,11 @@ class TerminateJobRequestTypeDef(TypedDict):
|
|
|
666
738
|
reason: str
|
|
667
739
|
|
|
668
740
|
|
|
741
|
+
class TerminateServiceJobRequestTypeDef(TypedDict):
|
|
742
|
+
jobId: str
|
|
743
|
+
reason: str
|
|
744
|
+
|
|
745
|
+
|
|
669
746
|
class UntagResourceRequestTypeDef(TypedDict):
|
|
670
747
|
resourceArn: str
|
|
671
748
|
tagKeys: Sequence[str]
|
|
@@ -695,6 +772,30 @@ class AttemptTaskContainerDetailsTypeDef(TypedDict):
|
|
|
695
772
|
networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]]
|
|
696
773
|
|
|
697
774
|
|
|
775
|
+
class CreateServiceEnvironmentRequestTypeDef(TypedDict):
|
|
776
|
+
serviceEnvironmentName: str
|
|
777
|
+
serviceEnvironmentType: Literal["SAGEMAKER_TRAINING"]
|
|
778
|
+
capacityLimits: Sequence[CapacityLimitTypeDef]
|
|
779
|
+
state: NotRequired[ServiceEnvironmentStateType]
|
|
780
|
+
tags: NotRequired[Mapping[str, str]]
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
class ServiceEnvironmentDetailTypeDef(TypedDict):
|
|
784
|
+
serviceEnvironmentName: str
|
|
785
|
+
serviceEnvironmentArn: str
|
|
786
|
+
serviceEnvironmentType: Literal["SAGEMAKER_TRAINING"]
|
|
787
|
+
capacityLimits: List[CapacityLimitTypeDef]
|
|
788
|
+
state: NotRequired[ServiceEnvironmentStateType]
|
|
789
|
+
status: NotRequired[ServiceEnvironmentStatusType]
|
|
790
|
+
tags: NotRequired[Dict[str, str]]
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
class UpdateServiceEnvironmentRequestTypeDef(TypedDict):
|
|
794
|
+
serviceEnvironment: str
|
|
795
|
+
state: NotRequired[ServiceEnvironmentStateType]
|
|
796
|
+
capacityLimits: NotRequired[Sequence[CapacityLimitTypeDef]]
|
|
797
|
+
|
|
798
|
+
|
|
698
799
|
class ConsumableResourcePropertiesOutputTypeDef(TypedDict):
|
|
699
800
|
consumableResourceList: NotRequired[List[ConsumableResourceRequirementTypeDef]]
|
|
700
801
|
|
|
@@ -755,6 +856,12 @@ class CreateSchedulingPolicyResponseTypeDef(TypedDict):
|
|
|
755
856
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
756
857
|
|
|
757
858
|
|
|
859
|
+
class CreateServiceEnvironmentResponseTypeDef(TypedDict):
|
|
860
|
+
serviceEnvironmentName: str
|
|
861
|
+
serviceEnvironmentArn: str
|
|
862
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
863
|
+
|
|
864
|
+
|
|
758
865
|
class DescribeConsumableResourceResponseTypeDef(TypedDict):
|
|
759
866
|
consumableResourceName: str
|
|
760
867
|
consumableResourceArn: str
|
|
@@ -792,6 +899,13 @@ class SubmitJobResponseTypeDef(TypedDict):
|
|
|
792
899
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
793
900
|
|
|
794
901
|
|
|
902
|
+
class SubmitServiceJobResponseTypeDef(TypedDict):
|
|
903
|
+
jobArn: str
|
|
904
|
+
jobName: str
|
|
905
|
+
jobId: str
|
|
906
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
907
|
+
|
|
908
|
+
|
|
795
909
|
class UpdateComputeEnvironmentResponseTypeDef(TypedDict):
|
|
796
910
|
computeEnvironmentName: str
|
|
797
911
|
computeEnvironmentArn: str
|
|
@@ -811,12 +925,20 @@ class UpdateJobQueueResponseTypeDef(TypedDict):
|
|
|
811
925
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
812
926
|
|
|
813
927
|
|
|
928
|
+
class UpdateServiceEnvironmentResponseTypeDef(TypedDict):
|
|
929
|
+
serviceEnvironmentName: str
|
|
930
|
+
serviceEnvironmentArn: str
|
|
931
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
932
|
+
|
|
933
|
+
|
|
814
934
|
class CreateJobQueueRequestTypeDef(TypedDict):
|
|
815
935
|
jobQueueName: str
|
|
816
936
|
priority: int
|
|
817
|
-
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef]
|
|
818
937
|
state: NotRequired[JQStateType]
|
|
819
938
|
schedulingPolicyArn: NotRequired[str]
|
|
939
|
+
computeEnvironmentOrder: NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]]
|
|
940
|
+
serviceEnvironmentOrder: NotRequired[Sequence[ServiceEnvironmentOrderTypeDef]]
|
|
941
|
+
jobQueueType: NotRequired[JobQueueTypeType]
|
|
820
942
|
tags: NotRequired[Mapping[str, str]]
|
|
821
943
|
jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]]
|
|
822
944
|
|
|
@@ -830,6 +952,8 @@ class JobQueueDetailTypeDef(TypedDict):
|
|
|
830
952
|
schedulingPolicyArn: NotRequired[str]
|
|
831
953
|
status: NotRequired[JQStatusType]
|
|
832
954
|
statusReason: NotRequired[str]
|
|
955
|
+
serviceEnvironmentOrder: NotRequired[List[ServiceEnvironmentOrderTypeDef]]
|
|
956
|
+
jobQueueType: NotRequired[JobQueueTypeType]
|
|
833
957
|
tags: NotRequired[Dict[str, str]]
|
|
834
958
|
jobStateTimeLimitActions: NotRequired[List[JobStateTimeLimitActionTypeDef]]
|
|
835
959
|
|
|
@@ -840,6 +964,7 @@ class UpdateJobQueueRequestTypeDef(TypedDict):
|
|
|
840
964
|
schedulingPolicyArn: NotRequired[str]
|
|
841
965
|
priority: NotRequired[int]
|
|
842
966
|
computeEnvironmentOrder: NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]]
|
|
967
|
+
serviceEnvironmentOrder: NotRequired[Sequence[ServiceEnvironmentOrderTypeDef]]
|
|
843
968
|
jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]]
|
|
844
969
|
|
|
845
970
|
|
|
@@ -860,6 +985,11 @@ class DescribeJobQueuesRequestPaginateTypeDef(TypedDict):
|
|
|
860
985
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
861
986
|
|
|
862
987
|
|
|
988
|
+
class DescribeServiceEnvironmentsRequestPaginateTypeDef(TypedDict):
|
|
989
|
+
serviceEnvironments: NotRequired[Sequence[str]]
|
|
990
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
991
|
+
|
|
992
|
+
|
|
863
993
|
class ListSchedulingPoliciesRequestPaginateTypeDef(TypedDict):
|
|
864
994
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
865
995
|
|
|
@@ -1023,6 +1153,32 @@ class ListJobsRequestTypeDef(TypedDict):
|
|
|
1023
1153
|
filters: NotRequired[Sequence[KeyValuesPairTypeDef]]
|
|
1024
1154
|
|
|
1025
1155
|
|
|
1156
|
+
class ListServiceJobsRequestPaginateTypeDef(TypedDict):
|
|
1157
|
+
jobQueue: NotRequired[str]
|
|
1158
|
+
jobStatus: NotRequired[ServiceJobStatusType]
|
|
1159
|
+
filters: NotRequired[Sequence[KeyValuesPairTypeDef]]
|
|
1160
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
class ListServiceJobsRequestTypeDef(TypedDict):
|
|
1164
|
+
jobQueue: NotRequired[str]
|
|
1165
|
+
jobStatus: NotRequired[ServiceJobStatusType]
|
|
1166
|
+
maxResults: NotRequired[int]
|
|
1167
|
+
nextToken: NotRequired[str]
|
|
1168
|
+
filters: NotRequired[Sequence[KeyValuesPairTypeDef]]
|
|
1169
|
+
|
|
1170
|
+
|
|
1171
|
+
class LatestServiceJobAttemptTypeDef(TypedDict):
|
|
1172
|
+
serviceResourceId: NotRequired[ServiceResourceIdTypeDef]
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
class ServiceJobAttemptDetailTypeDef(TypedDict):
|
|
1176
|
+
serviceResourceId: NotRequired[ServiceResourceIdTypeDef]
|
|
1177
|
+
startedAt: NotRequired[int]
|
|
1178
|
+
stoppedAt: NotRequired[int]
|
|
1179
|
+
statusReason: NotRequired[str]
|
|
1180
|
+
|
|
1181
|
+
|
|
1026
1182
|
class LaunchTemplateSpecificationOutputTypeDef(TypedDict):
|
|
1027
1183
|
launchTemplateId: NotRequired[str]
|
|
1028
1184
|
launchTemplateName: NotRequired[str]
|
|
@@ -1060,12 +1216,28 @@ class ListSchedulingPoliciesResponseTypeDef(TypedDict):
|
|
|
1060
1216
|
nextToken: NotRequired[str]
|
|
1061
1217
|
|
|
1062
1218
|
|
|
1219
|
+
class ServiceJobRetryStrategyOutputTypeDef(TypedDict):
|
|
1220
|
+
attempts: int
|
|
1221
|
+
evaluateOnExit: NotRequired[List[ServiceJobEvaluateOnExitTypeDef]]
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
class ServiceJobRetryStrategyTypeDef(TypedDict):
|
|
1225
|
+
attempts: int
|
|
1226
|
+
evaluateOnExit: NotRequired[Sequence[ServiceJobEvaluateOnExitTypeDef]]
|
|
1227
|
+
|
|
1228
|
+
|
|
1063
1229
|
class AttemptEcsTaskDetailsTypeDef(TypedDict):
|
|
1064
1230
|
containerInstanceArn: NotRequired[str]
|
|
1065
1231
|
taskArn: NotRequired[str]
|
|
1066
1232
|
containers: NotRequired[List[AttemptTaskContainerDetailsTypeDef]]
|
|
1067
1233
|
|
|
1068
1234
|
|
|
1235
|
+
class DescribeServiceEnvironmentsResponseTypeDef(TypedDict):
|
|
1236
|
+
serviceEnvironments: List[ServiceEnvironmentDetailTypeDef]
|
|
1237
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1238
|
+
nextToken: NotRequired[str]
|
|
1239
|
+
|
|
1240
|
+
|
|
1069
1241
|
class ListJobsByConsumableResourceSummaryTypeDef(TypedDict):
|
|
1070
1242
|
jobArn: str
|
|
1071
1243
|
jobQueueArn: str
|
|
@@ -1172,6 +1344,20 @@ class ListJobsResponseTypeDef(TypedDict):
|
|
|
1172
1344
|
nextToken: NotRequired[str]
|
|
1173
1345
|
|
|
1174
1346
|
|
|
1347
|
+
class ServiceJobSummaryTypeDef(TypedDict):
|
|
1348
|
+
jobId: str
|
|
1349
|
+
jobName: str
|
|
1350
|
+
serviceJobType: Literal["SAGEMAKER_TRAINING"]
|
|
1351
|
+
latestAttempt: NotRequired[LatestServiceJobAttemptTypeDef]
|
|
1352
|
+
createdAt: NotRequired[int]
|
|
1353
|
+
jobArn: NotRequired[str]
|
|
1354
|
+
shareIdentifier: NotRequired[str]
|
|
1355
|
+
status: NotRequired[ServiceJobStatusType]
|
|
1356
|
+
statusReason: NotRequired[str]
|
|
1357
|
+
startedAt: NotRequired[int]
|
|
1358
|
+
stoppedAt: NotRequired[int]
|
|
1359
|
+
|
|
1360
|
+
|
|
1175
1361
|
ComputeResourceOutputTypeDef = TypedDict(
|
|
1176
1362
|
"ComputeResourceOutputTypeDef",
|
|
1177
1363
|
{
|
|
@@ -1268,6 +1454,34 @@ class TaskContainerPropertiesTypeDef(TypedDict):
|
|
|
1268
1454
|
user: NotRequired[str]
|
|
1269
1455
|
|
|
1270
1456
|
|
|
1457
|
+
class DescribeServiceJobResponseTypeDef(TypedDict):
|
|
1458
|
+
attempts: List[ServiceJobAttemptDetailTypeDef]
|
|
1459
|
+
createdAt: int
|
|
1460
|
+
isTerminated: bool
|
|
1461
|
+
jobArn: str
|
|
1462
|
+
jobId: str
|
|
1463
|
+
jobName: str
|
|
1464
|
+
jobQueue: str
|
|
1465
|
+
latestAttempt: LatestServiceJobAttemptTypeDef
|
|
1466
|
+
retryStrategy: ServiceJobRetryStrategyOutputTypeDef
|
|
1467
|
+
schedulingPriority: int
|
|
1468
|
+
serviceRequestPayload: str
|
|
1469
|
+
serviceJobType: Literal["SAGEMAKER_TRAINING"]
|
|
1470
|
+
shareIdentifier: str
|
|
1471
|
+
startedAt: int
|
|
1472
|
+
status: ServiceJobStatusType
|
|
1473
|
+
statusReason: str
|
|
1474
|
+
stoppedAt: int
|
|
1475
|
+
tags: Dict[str, str]
|
|
1476
|
+
timeoutConfig: ServiceJobTimeoutTypeDef
|
|
1477
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
ServiceJobRetryStrategyUnionTypeDef = Union[
|
|
1481
|
+
ServiceJobRetryStrategyTypeDef, ServiceJobRetryStrategyOutputTypeDef
|
|
1482
|
+
]
|
|
1483
|
+
|
|
1484
|
+
|
|
1271
1485
|
class AttemptDetailTypeDef(TypedDict):
|
|
1272
1486
|
container: NotRequired[AttemptContainerDetailTypeDef]
|
|
1273
1487
|
startedAt: NotRequired[int]
|
|
@@ -1407,6 +1621,12 @@ class UpdateSchedulingPolicyRequestTypeDef(TypedDict):
|
|
|
1407
1621
|
fairsharePolicy: NotRequired[FairsharePolicyUnionTypeDef]
|
|
1408
1622
|
|
|
1409
1623
|
|
|
1624
|
+
class ListServiceJobsResponseTypeDef(TypedDict):
|
|
1625
|
+
jobSummaryList: List[ServiceJobSummaryTypeDef]
|
|
1626
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
1627
|
+
nextToken: NotRequired[str]
|
|
1628
|
+
|
|
1629
|
+
|
|
1410
1630
|
ComputeEnvironmentDetailTypeDef = TypedDict(
|
|
1411
1631
|
"ComputeEnvironmentDetailTypeDef",
|
|
1412
1632
|
{
|
|
@@ -1499,6 +1719,19 @@ class EcsTaskPropertiesTypeDef(TypedDict):
|
|
|
1499
1719
|
enableExecuteCommand: NotRequired[bool]
|
|
1500
1720
|
|
|
1501
1721
|
|
|
1722
|
+
class SubmitServiceJobRequestTypeDef(TypedDict):
|
|
1723
|
+
jobName: str
|
|
1724
|
+
jobQueue: str
|
|
1725
|
+
serviceRequestPayload: str
|
|
1726
|
+
serviceJobType: Literal["SAGEMAKER_TRAINING"]
|
|
1727
|
+
retryStrategy: NotRequired[ServiceJobRetryStrategyUnionTypeDef]
|
|
1728
|
+
schedulingPriority: NotRequired[int]
|
|
1729
|
+
shareIdentifier: NotRequired[str]
|
|
1730
|
+
timeoutConfig: NotRequired[ServiceJobTimeoutTypeDef]
|
|
1731
|
+
tags: NotRequired[Mapping[str, str]]
|
|
1732
|
+
clientToken: NotRequired[str]
|
|
1733
|
+
|
|
1734
|
+
|
|
1502
1735
|
ContainerPropertiesUnionTypeDef = Union[
|
|
1503
1736
|
ContainerPropertiesTypeDef, ContainerPropertiesOutputTypeDef
|
|
1504
1737
|
]
|