@aws-sdk/client-batch 3.933.0 → 3.935.0
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.
- package/dist-cjs/index.js +163 -162
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +162 -0
- package/dist-es/models/errors.js +25 -0
- package/dist-es/models/models_0.js +1 -187
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +418 -0
- package/dist-types/models/errors.d.ts +28 -0
- package/dist-types/models/models_0.d.ts +1 -446
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +214 -0
- package/dist-types/ts3.4/models/errors.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -226
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,14 +117,6 @@ let BatchServiceException$1 = class BatchServiceException extends smithyClient.S
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const ArrayJobDependency = {
|
|
121
|
-
N_TO_N: "N_TO_N",
|
|
122
|
-
SEQUENTIAL: "SEQUENTIAL",
|
|
123
|
-
};
|
|
124
|
-
const AssignPublicIp = {
|
|
125
|
-
DISABLED: "DISABLED",
|
|
126
|
-
ENABLED: "ENABLED",
|
|
127
|
-
};
|
|
128
120
|
let ClientException$1 = class ClientException extends BatchServiceException$1 {
|
|
129
121
|
name = "ClientException";
|
|
130
122
|
$fault = "client";
|
|
@@ -149,160 +141,6 @@ let ServerException$1 = class ServerException extends BatchServiceException$1 {
|
|
|
149
141
|
Object.setPrototypeOf(this, ServerException.prototype);
|
|
150
142
|
}
|
|
151
143
|
};
|
|
152
|
-
const CRAllocationStrategy = {
|
|
153
|
-
BEST_FIT: "BEST_FIT",
|
|
154
|
-
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
155
|
-
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
156
|
-
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
157
|
-
};
|
|
158
|
-
const UserdataType = {
|
|
159
|
-
EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH",
|
|
160
|
-
EKS_NODEADM: "EKS_NODEADM",
|
|
161
|
-
};
|
|
162
|
-
const CRType = {
|
|
163
|
-
EC2: "EC2",
|
|
164
|
-
FARGATE: "FARGATE",
|
|
165
|
-
FARGATE_SPOT: "FARGATE_SPOT",
|
|
166
|
-
SPOT: "SPOT",
|
|
167
|
-
};
|
|
168
|
-
const CEState = {
|
|
169
|
-
DISABLED: "DISABLED",
|
|
170
|
-
ENABLED: "ENABLED",
|
|
171
|
-
};
|
|
172
|
-
const CEType = {
|
|
173
|
-
MANAGED: "MANAGED",
|
|
174
|
-
UNMANAGED: "UNMANAGED",
|
|
175
|
-
};
|
|
176
|
-
const JobQueueType = {
|
|
177
|
-
ECS: "ECS",
|
|
178
|
-
ECS_FARGATE: "ECS_FARGATE",
|
|
179
|
-
EKS: "EKS",
|
|
180
|
-
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
181
|
-
};
|
|
182
|
-
const JobStateTimeLimitActionsAction = {
|
|
183
|
-
CANCEL: "CANCEL",
|
|
184
|
-
TERMINATE: "TERMINATE",
|
|
185
|
-
};
|
|
186
|
-
const JobStateTimeLimitActionsState = {
|
|
187
|
-
RUNNABLE: "RUNNABLE",
|
|
188
|
-
};
|
|
189
|
-
const JQState = {
|
|
190
|
-
DISABLED: "DISABLED",
|
|
191
|
-
ENABLED: "ENABLED",
|
|
192
|
-
};
|
|
193
|
-
const ServiceEnvironmentType = {
|
|
194
|
-
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
195
|
-
};
|
|
196
|
-
const ServiceEnvironmentState = {
|
|
197
|
-
DISABLED: "DISABLED",
|
|
198
|
-
ENABLED: "ENABLED",
|
|
199
|
-
};
|
|
200
|
-
const OrchestrationType = {
|
|
201
|
-
ECS: "ECS",
|
|
202
|
-
EKS: "EKS",
|
|
203
|
-
};
|
|
204
|
-
const CEStatus = {
|
|
205
|
-
CREATING: "CREATING",
|
|
206
|
-
DELETED: "DELETED",
|
|
207
|
-
DELETING: "DELETING",
|
|
208
|
-
INVALID: "INVALID",
|
|
209
|
-
UPDATING: "UPDATING",
|
|
210
|
-
VALID: "VALID",
|
|
211
|
-
};
|
|
212
|
-
const DeviceCgroupPermission = {
|
|
213
|
-
MKNOD: "MKNOD",
|
|
214
|
-
READ: "READ",
|
|
215
|
-
WRITE: "WRITE",
|
|
216
|
-
};
|
|
217
|
-
const LogDriver = {
|
|
218
|
-
AWSFIRELENS: "awsfirelens",
|
|
219
|
-
AWSLOGS: "awslogs",
|
|
220
|
-
FLUENTD: "fluentd",
|
|
221
|
-
GELF: "gelf",
|
|
222
|
-
JOURNALD: "journald",
|
|
223
|
-
JSON_FILE: "json-file",
|
|
224
|
-
SPLUNK: "splunk",
|
|
225
|
-
SYSLOG: "syslog",
|
|
226
|
-
};
|
|
227
|
-
const ResourceType = {
|
|
228
|
-
GPU: "GPU",
|
|
229
|
-
MEMORY: "MEMORY",
|
|
230
|
-
VCPU: "VCPU",
|
|
231
|
-
};
|
|
232
|
-
const EFSAuthorizationConfigIAM = {
|
|
233
|
-
DISABLED: "DISABLED",
|
|
234
|
-
ENABLED: "ENABLED",
|
|
235
|
-
};
|
|
236
|
-
const EFSTransitEncryption = {
|
|
237
|
-
DISABLED: "DISABLED",
|
|
238
|
-
ENABLED: "ENABLED",
|
|
239
|
-
};
|
|
240
|
-
const FirelensConfigurationType = {
|
|
241
|
-
FLUENTBIT: "fluentbit",
|
|
242
|
-
FLUENTD: "fluentd",
|
|
243
|
-
};
|
|
244
|
-
const PlatformCapability = {
|
|
245
|
-
EC2: "EC2",
|
|
246
|
-
FARGATE: "FARGATE",
|
|
247
|
-
};
|
|
248
|
-
const RetryAction = {
|
|
249
|
-
EXIT: "EXIT",
|
|
250
|
-
RETRY: "RETRY",
|
|
251
|
-
};
|
|
252
|
-
const JQStatus = {
|
|
253
|
-
CREATING: "CREATING",
|
|
254
|
-
DELETED: "DELETED",
|
|
255
|
-
DELETING: "DELETING",
|
|
256
|
-
INVALID: "INVALID",
|
|
257
|
-
UPDATING: "UPDATING",
|
|
258
|
-
VALID: "VALID",
|
|
259
|
-
};
|
|
260
|
-
const JobStatus = {
|
|
261
|
-
FAILED: "FAILED",
|
|
262
|
-
PENDING: "PENDING",
|
|
263
|
-
RUNNABLE: "RUNNABLE",
|
|
264
|
-
RUNNING: "RUNNING",
|
|
265
|
-
STARTING: "STARTING",
|
|
266
|
-
SUBMITTED: "SUBMITTED",
|
|
267
|
-
SUCCEEDED: "SUCCEEDED",
|
|
268
|
-
};
|
|
269
|
-
const ServiceEnvironmentStatus = {
|
|
270
|
-
CREATING: "CREATING",
|
|
271
|
-
DELETED: "DELETED",
|
|
272
|
-
DELETING: "DELETING",
|
|
273
|
-
INVALID: "INVALID",
|
|
274
|
-
UPDATING: "UPDATING",
|
|
275
|
-
VALID: "VALID",
|
|
276
|
-
};
|
|
277
|
-
const ServiceResourceIdName = {
|
|
278
|
-
SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn",
|
|
279
|
-
};
|
|
280
|
-
const ServiceJobRetryAction = {
|
|
281
|
-
EXIT: "EXIT",
|
|
282
|
-
RETRY: "RETRY",
|
|
283
|
-
};
|
|
284
|
-
const ServiceJobType = {
|
|
285
|
-
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
286
|
-
};
|
|
287
|
-
const ServiceJobStatus = {
|
|
288
|
-
FAILED: "FAILED",
|
|
289
|
-
PENDING: "PENDING",
|
|
290
|
-
RUNNABLE: "RUNNABLE",
|
|
291
|
-
RUNNING: "RUNNING",
|
|
292
|
-
SCHEDULED: "SCHEDULED",
|
|
293
|
-
STARTING: "STARTING",
|
|
294
|
-
SUBMITTED: "SUBMITTED",
|
|
295
|
-
SUCCEEDED: "SUCCEEDED",
|
|
296
|
-
};
|
|
297
|
-
const JobDefinitionType = {
|
|
298
|
-
Container: "container",
|
|
299
|
-
Multinode: "multinode",
|
|
300
|
-
};
|
|
301
|
-
const CRUpdateAllocationStrategy = {
|
|
302
|
-
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
303
|
-
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
304
|
-
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
305
|
-
};
|
|
306
144
|
|
|
307
145
|
const _ACD = "AttemptContainerDetail";
|
|
308
146
|
const _AD = "AttemptDetail";
|
|
@@ -3054,6 +2892,169 @@ const paginateListSchedulingPolicies = core.createPaginator(BatchClient, ListSch
|
|
|
3054
2892
|
|
|
3055
2893
|
const paginateListServiceJobs = core.createPaginator(BatchClient, ListServiceJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
3056
2894
|
|
|
2895
|
+
const ArrayJobDependency = {
|
|
2896
|
+
N_TO_N: "N_TO_N",
|
|
2897
|
+
SEQUENTIAL: "SEQUENTIAL",
|
|
2898
|
+
};
|
|
2899
|
+
const AssignPublicIp = {
|
|
2900
|
+
DISABLED: "DISABLED",
|
|
2901
|
+
ENABLED: "ENABLED",
|
|
2902
|
+
};
|
|
2903
|
+
const CRAllocationStrategy = {
|
|
2904
|
+
BEST_FIT: "BEST_FIT",
|
|
2905
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
2906
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
2907
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
2908
|
+
};
|
|
2909
|
+
const UserdataType = {
|
|
2910
|
+
EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH",
|
|
2911
|
+
EKS_NODEADM: "EKS_NODEADM",
|
|
2912
|
+
};
|
|
2913
|
+
const CRType = {
|
|
2914
|
+
EC2: "EC2",
|
|
2915
|
+
FARGATE: "FARGATE",
|
|
2916
|
+
FARGATE_SPOT: "FARGATE_SPOT",
|
|
2917
|
+
SPOT: "SPOT",
|
|
2918
|
+
};
|
|
2919
|
+
const CEState = {
|
|
2920
|
+
DISABLED: "DISABLED",
|
|
2921
|
+
ENABLED: "ENABLED",
|
|
2922
|
+
};
|
|
2923
|
+
const CEType = {
|
|
2924
|
+
MANAGED: "MANAGED",
|
|
2925
|
+
UNMANAGED: "UNMANAGED",
|
|
2926
|
+
};
|
|
2927
|
+
const JobQueueType = {
|
|
2928
|
+
ECS: "ECS",
|
|
2929
|
+
ECS_FARGATE: "ECS_FARGATE",
|
|
2930
|
+
EKS: "EKS",
|
|
2931
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
2932
|
+
};
|
|
2933
|
+
const JobStateTimeLimitActionsAction = {
|
|
2934
|
+
CANCEL: "CANCEL",
|
|
2935
|
+
TERMINATE: "TERMINATE",
|
|
2936
|
+
};
|
|
2937
|
+
const JobStateTimeLimitActionsState = {
|
|
2938
|
+
RUNNABLE: "RUNNABLE",
|
|
2939
|
+
};
|
|
2940
|
+
const JQState = {
|
|
2941
|
+
DISABLED: "DISABLED",
|
|
2942
|
+
ENABLED: "ENABLED",
|
|
2943
|
+
};
|
|
2944
|
+
const ServiceEnvironmentType = {
|
|
2945
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
2946
|
+
};
|
|
2947
|
+
const ServiceEnvironmentState = {
|
|
2948
|
+
DISABLED: "DISABLED",
|
|
2949
|
+
ENABLED: "ENABLED",
|
|
2950
|
+
};
|
|
2951
|
+
const OrchestrationType = {
|
|
2952
|
+
ECS: "ECS",
|
|
2953
|
+
EKS: "EKS",
|
|
2954
|
+
};
|
|
2955
|
+
const CEStatus = {
|
|
2956
|
+
CREATING: "CREATING",
|
|
2957
|
+
DELETED: "DELETED",
|
|
2958
|
+
DELETING: "DELETING",
|
|
2959
|
+
INVALID: "INVALID",
|
|
2960
|
+
UPDATING: "UPDATING",
|
|
2961
|
+
VALID: "VALID",
|
|
2962
|
+
};
|
|
2963
|
+
const DeviceCgroupPermission = {
|
|
2964
|
+
MKNOD: "MKNOD",
|
|
2965
|
+
READ: "READ",
|
|
2966
|
+
WRITE: "WRITE",
|
|
2967
|
+
};
|
|
2968
|
+
const LogDriver = {
|
|
2969
|
+
AWSFIRELENS: "awsfirelens",
|
|
2970
|
+
AWSLOGS: "awslogs",
|
|
2971
|
+
FLUENTD: "fluentd",
|
|
2972
|
+
GELF: "gelf",
|
|
2973
|
+
JOURNALD: "journald",
|
|
2974
|
+
JSON_FILE: "json-file",
|
|
2975
|
+
SPLUNK: "splunk",
|
|
2976
|
+
SYSLOG: "syslog",
|
|
2977
|
+
};
|
|
2978
|
+
const ResourceType = {
|
|
2979
|
+
GPU: "GPU",
|
|
2980
|
+
MEMORY: "MEMORY",
|
|
2981
|
+
VCPU: "VCPU",
|
|
2982
|
+
};
|
|
2983
|
+
const EFSAuthorizationConfigIAM = {
|
|
2984
|
+
DISABLED: "DISABLED",
|
|
2985
|
+
ENABLED: "ENABLED",
|
|
2986
|
+
};
|
|
2987
|
+
const EFSTransitEncryption = {
|
|
2988
|
+
DISABLED: "DISABLED",
|
|
2989
|
+
ENABLED: "ENABLED",
|
|
2990
|
+
};
|
|
2991
|
+
const FirelensConfigurationType = {
|
|
2992
|
+
FLUENTBIT: "fluentbit",
|
|
2993
|
+
FLUENTD: "fluentd",
|
|
2994
|
+
};
|
|
2995
|
+
const PlatformCapability = {
|
|
2996
|
+
EC2: "EC2",
|
|
2997
|
+
FARGATE: "FARGATE",
|
|
2998
|
+
};
|
|
2999
|
+
const RetryAction = {
|
|
3000
|
+
EXIT: "EXIT",
|
|
3001
|
+
RETRY: "RETRY",
|
|
3002
|
+
};
|
|
3003
|
+
const JQStatus = {
|
|
3004
|
+
CREATING: "CREATING",
|
|
3005
|
+
DELETED: "DELETED",
|
|
3006
|
+
DELETING: "DELETING",
|
|
3007
|
+
INVALID: "INVALID",
|
|
3008
|
+
UPDATING: "UPDATING",
|
|
3009
|
+
VALID: "VALID",
|
|
3010
|
+
};
|
|
3011
|
+
const JobStatus = {
|
|
3012
|
+
FAILED: "FAILED",
|
|
3013
|
+
PENDING: "PENDING",
|
|
3014
|
+
RUNNABLE: "RUNNABLE",
|
|
3015
|
+
RUNNING: "RUNNING",
|
|
3016
|
+
STARTING: "STARTING",
|
|
3017
|
+
SUBMITTED: "SUBMITTED",
|
|
3018
|
+
SUCCEEDED: "SUCCEEDED",
|
|
3019
|
+
};
|
|
3020
|
+
const ServiceEnvironmentStatus = {
|
|
3021
|
+
CREATING: "CREATING",
|
|
3022
|
+
DELETED: "DELETED",
|
|
3023
|
+
DELETING: "DELETING",
|
|
3024
|
+
INVALID: "INVALID",
|
|
3025
|
+
UPDATING: "UPDATING",
|
|
3026
|
+
VALID: "VALID",
|
|
3027
|
+
};
|
|
3028
|
+
const ServiceResourceIdName = {
|
|
3029
|
+
SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn",
|
|
3030
|
+
};
|
|
3031
|
+
const ServiceJobRetryAction = {
|
|
3032
|
+
EXIT: "EXIT",
|
|
3033
|
+
RETRY: "RETRY",
|
|
3034
|
+
};
|
|
3035
|
+
const ServiceJobType = {
|
|
3036
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
3037
|
+
};
|
|
3038
|
+
const ServiceJobStatus = {
|
|
3039
|
+
FAILED: "FAILED",
|
|
3040
|
+
PENDING: "PENDING",
|
|
3041
|
+
RUNNABLE: "RUNNABLE",
|
|
3042
|
+
RUNNING: "RUNNING",
|
|
3043
|
+
SCHEDULED: "SCHEDULED",
|
|
3044
|
+
STARTING: "STARTING",
|
|
3045
|
+
SUBMITTED: "SUBMITTED",
|
|
3046
|
+
SUCCEEDED: "SUCCEEDED",
|
|
3047
|
+
};
|
|
3048
|
+
const JobDefinitionType = {
|
|
3049
|
+
Container: "container",
|
|
3050
|
+
Multinode: "multinode",
|
|
3051
|
+
};
|
|
3052
|
+
const CRUpdateAllocationStrategy = {
|
|
3053
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
3054
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
3055
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
3056
|
+
};
|
|
3057
|
+
|
|
3057
3058
|
Object.defineProperty(exports, "$Command", {
|
|
3058
3059
|
enumerable: true,
|
|
3059
3060
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./BatchClient";
|
|
|
2
2
|
export * from "./Batch";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { BatchServiceException } from "./models/BatchServiceException";
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
export const ArrayJobDependency = {
|
|
2
|
+
N_TO_N: "N_TO_N",
|
|
3
|
+
SEQUENTIAL: "SEQUENTIAL",
|
|
4
|
+
};
|
|
5
|
+
export const AssignPublicIp = {
|
|
6
|
+
DISABLED: "DISABLED",
|
|
7
|
+
ENABLED: "ENABLED",
|
|
8
|
+
};
|
|
9
|
+
export const CRAllocationStrategy = {
|
|
10
|
+
BEST_FIT: "BEST_FIT",
|
|
11
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
12
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
13
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
14
|
+
};
|
|
15
|
+
export const UserdataType = {
|
|
16
|
+
EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH",
|
|
17
|
+
EKS_NODEADM: "EKS_NODEADM",
|
|
18
|
+
};
|
|
19
|
+
export const CRType = {
|
|
20
|
+
EC2: "EC2",
|
|
21
|
+
FARGATE: "FARGATE",
|
|
22
|
+
FARGATE_SPOT: "FARGATE_SPOT",
|
|
23
|
+
SPOT: "SPOT",
|
|
24
|
+
};
|
|
25
|
+
export const CEState = {
|
|
26
|
+
DISABLED: "DISABLED",
|
|
27
|
+
ENABLED: "ENABLED",
|
|
28
|
+
};
|
|
29
|
+
export const CEType = {
|
|
30
|
+
MANAGED: "MANAGED",
|
|
31
|
+
UNMANAGED: "UNMANAGED",
|
|
32
|
+
};
|
|
33
|
+
export const JobQueueType = {
|
|
34
|
+
ECS: "ECS",
|
|
35
|
+
ECS_FARGATE: "ECS_FARGATE",
|
|
36
|
+
EKS: "EKS",
|
|
37
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
38
|
+
};
|
|
39
|
+
export const JobStateTimeLimitActionsAction = {
|
|
40
|
+
CANCEL: "CANCEL",
|
|
41
|
+
TERMINATE: "TERMINATE",
|
|
42
|
+
};
|
|
43
|
+
export const JobStateTimeLimitActionsState = {
|
|
44
|
+
RUNNABLE: "RUNNABLE",
|
|
45
|
+
};
|
|
46
|
+
export const JQState = {
|
|
47
|
+
DISABLED: "DISABLED",
|
|
48
|
+
ENABLED: "ENABLED",
|
|
49
|
+
};
|
|
50
|
+
export const ServiceEnvironmentType = {
|
|
51
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
52
|
+
};
|
|
53
|
+
export const ServiceEnvironmentState = {
|
|
54
|
+
DISABLED: "DISABLED",
|
|
55
|
+
ENABLED: "ENABLED",
|
|
56
|
+
};
|
|
57
|
+
export const OrchestrationType = {
|
|
58
|
+
ECS: "ECS",
|
|
59
|
+
EKS: "EKS",
|
|
60
|
+
};
|
|
61
|
+
export const CEStatus = {
|
|
62
|
+
CREATING: "CREATING",
|
|
63
|
+
DELETED: "DELETED",
|
|
64
|
+
DELETING: "DELETING",
|
|
65
|
+
INVALID: "INVALID",
|
|
66
|
+
UPDATING: "UPDATING",
|
|
67
|
+
VALID: "VALID",
|
|
68
|
+
};
|
|
69
|
+
export const DeviceCgroupPermission = {
|
|
70
|
+
MKNOD: "MKNOD",
|
|
71
|
+
READ: "READ",
|
|
72
|
+
WRITE: "WRITE",
|
|
73
|
+
};
|
|
74
|
+
export const LogDriver = {
|
|
75
|
+
AWSFIRELENS: "awsfirelens",
|
|
76
|
+
AWSLOGS: "awslogs",
|
|
77
|
+
FLUENTD: "fluentd",
|
|
78
|
+
GELF: "gelf",
|
|
79
|
+
JOURNALD: "journald",
|
|
80
|
+
JSON_FILE: "json-file",
|
|
81
|
+
SPLUNK: "splunk",
|
|
82
|
+
SYSLOG: "syslog",
|
|
83
|
+
};
|
|
84
|
+
export const ResourceType = {
|
|
85
|
+
GPU: "GPU",
|
|
86
|
+
MEMORY: "MEMORY",
|
|
87
|
+
VCPU: "VCPU",
|
|
88
|
+
};
|
|
89
|
+
export const EFSAuthorizationConfigIAM = {
|
|
90
|
+
DISABLED: "DISABLED",
|
|
91
|
+
ENABLED: "ENABLED",
|
|
92
|
+
};
|
|
93
|
+
export const EFSTransitEncryption = {
|
|
94
|
+
DISABLED: "DISABLED",
|
|
95
|
+
ENABLED: "ENABLED",
|
|
96
|
+
};
|
|
97
|
+
export const FirelensConfigurationType = {
|
|
98
|
+
FLUENTBIT: "fluentbit",
|
|
99
|
+
FLUENTD: "fluentd",
|
|
100
|
+
};
|
|
101
|
+
export const PlatformCapability = {
|
|
102
|
+
EC2: "EC2",
|
|
103
|
+
FARGATE: "FARGATE",
|
|
104
|
+
};
|
|
105
|
+
export const RetryAction = {
|
|
106
|
+
EXIT: "EXIT",
|
|
107
|
+
RETRY: "RETRY",
|
|
108
|
+
};
|
|
109
|
+
export const JQStatus = {
|
|
110
|
+
CREATING: "CREATING",
|
|
111
|
+
DELETED: "DELETED",
|
|
112
|
+
DELETING: "DELETING",
|
|
113
|
+
INVALID: "INVALID",
|
|
114
|
+
UPDATING: "UPDATING",
|
|
115
|
+
VALID: "VALID",
|
|
116
|
+
};
|
|
117
|
+
export const JobStatus = {
|
|
118
|
+
FAILED: "FAILED",
|
|
119
|
+
PENDING: "PENDING",
|
|
120
|
+
RUNNABLE: "RUNNABLE",
|
|
121
|
+
RUNNING: "RUNNING",
|
|
122
|
+
STARTING: "STARTING",
|
|
123
|
+
SUBMITTED: "SUBMITTED",
|
|
124
|
+
SUCCEEDED: "SUCCEEDED",
|
|
125
|
+
};
|
|
126
|
+
export const ServiceEnvironmentStatus = {
|
|
127
|
+
CREATING: "CREATING",
|
|
128
|
+
DELETED: "DELETED",
|
|
129
|
+
DELETING: "DELETING",
|
|
130
|
+
INVALID: "INVALID",
|
|
131
|
+
UPDATING: "UPDATING",
|
|
132
|
+
VALID: "VALID",
|
|
133
|
+
};
|
|
134
|
+
export const ServiceResourceIdName = {
|
|
135
|
+
SAGEMAKER_TRAINING_JOB_ARN: "TrainingJobArn",
|
|
136
|
+
};
|
|
137
|
+
export const ServiceJobRetryAction = {
|
|
138
|
+
EXIT: "EXIT",
|
|
139
|
+
RETRY: "RETRY",
|
|
140
|
+
};
|
|
141
|
+
export const ServiceJobType = {
|
|
142
|
+
SAGEMAKER_TRAINING: "SAGEMAKER_TRAINING",
|
|
143
|
+
};
|
|
144
|
+
export const ServiceJobStatus = {
|
|
145
|
+
FAILED: "FAILED",
|
|
146
|
+
PENDING: "PENDING",
|
|
147
|
+
RUNNABLE: "RUNNABLE",
|
|
148
|
+
RUNNING: "RUNNING",
|
|
149
|
+
SCHEDULED: "SCHEDULED",
|
|
150
|
+
STARTING: "STARTING",
|
|
151
|
+
SUBMITTED: "SUBMITTED",
|
|
152
|
+
SUCCEEDED: "SUCCEEDED",
|
|
153
|
+
};
|
|
154
|
+
export const JobDefinitionType = {
|
|
155
|
+
Container: "container",
|
|
156
|
+
Multinode: "multinode",
|
|
157
|
+
};
|
|
158
|
+
export const CRUpdateAllocationStrategy = {
|
|
159
|
+
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
160
|
+
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
161
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
162
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
2
|
+
export class ClientException extends __BaseException {
|
|
3
|
+
name = "ClientException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ClientException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, ClientException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ServerException extends __BaseException {
|
|
15
|
+
name = "ServerException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
constructor(opts) {
|
|
18
|
+
super({
|
|
19
|
+
name: "ServerException",
|
|
20
|
+
$fault: "server",
|
|
21
|
+
...opts,
|
|
22
|
+
});
|
|
23
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|