@aws-sdk/client-batch 3.687.0 → 3.691.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-types/commands/CreateComputeEnvironmentCommand.d.ts +10 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +10 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +592 -501
- package/dist-types/ts3.4/models/models_0.d.ts +501 -494
- package/package.json +7 -7
|
@@ -7,16 +7,16 @@ export declare const ArrayJobDependency: {
|
|
|
7
7
|
export type ArrayJobDependency =
|
|
8
8
|
(typeof ArrayJobDependency)[keyof typeof ArrayJobDependency];
|
|
9
9
|
export interface ArrayProperties {
|
|
10
|
-
size?: number;
|
|
10
|
+
size?: number | undefined;
|
|
11
11
|
}
|
|
12
12
|
export interface ArrayPropertiesDetail {
|
|
13
|
-
statusSummary?: Record<string, number
|
|
14
|
-
size?: number;
|
|
15
|
-
index?: number;
|
|
13
|
+
statusSummary?: Record<string, number> | undefined;
|
|
14
|
+
size?: number | undefined;
|
|
15
|
+
index?: number | undefined;
|
|
16
16
|
}
|
|
17
17
|
export interface ArrayPropertiesSummary {
|
|
18
|
-
size?: number;
|
|
19
|
-
index?: number;
|
|
18
|
+
size?: number | undefined;
|
|
19
|
+
index?: number | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare const AssignPublicIp: {
|
|
22
22
|
readonly DISABLED: "DISABLED";
|
|
@@ -25,36 +25,36 @@ export declare const AssignPublicIp: {
|
|
|
25
25
|
export type AssignPublicIp =
|
|
26
26
|
(typeof AssignPublicIp)[keyof typeof AssignPublicIp];
|
|
27
27
|
export interface NetworkInterface {
|
|
28
|
-
attachmentId?: string;
|
|
29
|
-
ipv6Address?: string;
|
|
30
|
-
privateIpv4Address?: string;
|
|
28
|
+
attachmentId?: string | undefined;
|
|
29
|
+
ipv6Address?: string | undefined;
|
|
30
|
+
privateIpv4Address?: string | undefined;
|
|
31
31
|
}
|
|
32
32
|
export interface AttemptContainerDetail {
|
|
33
|
-
containerInstanceArn?: string;
|
|
34
|
-
taskArn?: string;
|
|
35
|
-
exitCode?: number;
|
|
36
|
-
reason?: string;
|
|
37
|
-
logStreamName?: string;
|
|
38
|
-
networkInterfaces?: NetworkInterface[];
|
|
33
|
+
containerInstanceArn?: string | undefined;
|
|
34
|
+
taskArn?: string | undefined;
|
|
35
|
+
exitCode?: number | undefined;
|
|
36
|
+
reason?: string | undefined;
|
|
37
|
+
logStreamName?: string | undefined;
|
|
38
|
+
networkInterfaces?: NetworkInterface[] | undefined;
|
|
39
39
|
}
|
|
40
40
|
export interface AttemptTaskContainerDetails {
|
|
41
|
-
exitCode?: number;
|
|
42
|
-
name?: string;
|
|
43
|
-
reason?: string;
|
|
44
|
-
logStreamName?: string;
|
|
45
|
-
networkInterfaces?: NetworkInterface[];
|
|
41
|
+
exitCode?: number | undefined;
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
reason?: string | undefined;
|
|
44
|
+
logStreamName?: string | undefined;
|
|
45
|
+
networkInterfaces?: NetworkInterface[] | undefined;
|
|
46
46
|
}
|
|
47
47
|
export interface AttemptEcsTaskDetails {
|
|
48
|
-
containerInstanceArn?: string;
|
|
49
|
-
taskArn?: string;
|
|
50
|
-
containers?: AttemptTaskContainerDetails[];
|
|
48
|
+
containerInstanceArn?: string | undefined;
|
|
49
|
+
taskArn?: string | undefined;
|
|
50
|
+
containers?: AttemptTaskContainerDetails[] | undefined;
|
|
51
51
|
}
|
|
52
52
|
export interface AttemptDetail {
|
|
53
|
-
container?: AttemptContainerDetail;
|
|
54
|
-
startedAt?: number;
|
|
55
|
-
stoppedAt?: number;
|
|
56
|
-
statusReason?: string;
|
|
57
|
-
taskProperties?: AttemptEcsTaskDetails[];
|
|
53
|
+
container?: AttemptContainerDetail | undefined;
|
|
54
|
+
startedAt?: number | undefined;
|
|
55
|
+
stoppedAt?: number | undefined;
|
|
56
|
+
statusReason?: string | undefined;
|
|
57
|
+
taskProperties?: AttemptEcsTaskDetails[] | undefined;
|
|
58
58
|
}
|
|
59
59
|
export interface CancelJobRequest {
|
|
60
60
|
jobId: string | undefined;
|
|
@@ -81,13 +81,20 @@ export type CRAllocationStrategy =
|
|
|
81
81
|
(typeof CRAllocationStrategy)[keyof typeof CRAllocationStrategy];
|
|
82
82
|
export interface Ec2Configuration {
|
|
83
83
|
imageType: string | undefined;
|
|
84
|
-
imageIdOverride?: string;
|
|
85
|
-
imageKubernetesVersion?: string;
|
|
84
|
+
imageIdOverride?: string | undefined;
|
|
85
|
+
imageKubernetesVersion?: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface LaunchTemplateSpecificationOverride {
|
|
88
|
+
launchTemplateId?: string | undefined;
|
|
89
|
+
launchTemplateName?: string | undefined;
|
|
90
|
+
version?: string | undefined;
|
|
91
|
+
targetInstanceTypes?: string[] | undefined;
|
|
86
92
|
}
|
|
87
93
|
export interface LaunchTemplateSpecification {
|
|
88
|
-
launchTemplateId?: string;
|
|
89
|
-
launchTemplateName?: string;
|
|
90
|
-
version?: string;
|
|
94
|
+
launchTemplateId?: string | undefined;
|
|
95
|
+
launchTemplateName?: string | undefined;
|
|
96
|
+
version?: string | undefined;
|
|
97
|
+
overrides?: LaunchTemplateSpecificationOverride[] | undefined;
|
|
91
98
|
}
|
|
92
99
|
export declare const CRType: {
|
|
93
100
|
readonly EC2: "EC2";
|
|
@@ -98,22 +105,22 @@ export declare const CRType: {
|
|
|
98
105
|
export type CRType = (typeof CRType)[keyof typeof CRType];
|
|
99
106
|
export interface ComputeResource {
|
|
100
107
|
type: CRType | undefined;
|
|
101
|
-
allocationStrategy?: CRAllocationStrategy;
|
|
102
|
-
minvCpus?: number;
|
|
108
|
+
allocationStrategy?: CRAllocationStrategy | undefined;
|
|
109
|
+
minvCpus?: number | undefined;
|
|
103
110
|
maxvCpus: number | undefined;
|
|
104
|
-
desiredvCpus?: number;
|
|
105
|
-
instanceTypes?: string[];
|
|
106
|
-
imageId?: string;
|
|
111
|
+
desiredvCpus?: number | undefined;
|
|
112
|
+
instanceTypes?: string[] | undefined;
|
|
113
|
+
imageId?: string | undefined;
|
|
107
114
|
subnets: string[] | undefined;
|
|
108
|
-
securityGroupIds?: string[];
|
|
109
|
-
ec2KeyPair?: string;
|
|
110
|
-
instanceRole?: string;
|
|
111
|
-
tags?: Record<string, string
|
|
112
|
-
placementGroup?: string;
|
|
113
|
-
bidPercentage?: number;
|
|
114
|
-
spotIamFleetRole?: string;
|
|
115
|
-
launchTemplate?: LaunchTemplateSpecification;
|
|
116
|
-
ec2Configuration?: Ec2Configuration[];
|
|
115
|
+
securityGroupIds?: string[] | undefined;
|
|
116
|
+
ec2KeyPair?: string | undefined;
|
|
117
|
+
instanceRole?: string | undefined;
|
|
118
|
+
tags?: Record<string, string> | undefined;
|
|
119
|
+
placementGroup?: string | undefined;
|
|
120
|
+
bidPercentage?: number | undefined;
|
|
121
|
+
spotIamFleetRole?: string | undefined;
|
|
122
|
+
launchTemplate?: LaunchTemplateSpecification | undefined;
|
|
123
|
+
ec2Configuration?: Ec2Configuration[] | undefined;
|
|
117
124
|
}
|
|
118
125
|
export interface EksConfiguration {
|
|
119
126
|
eksClusterArn: string | undefined;
|
|
@@ -132,17 +139,17 @@ export type CEType = (typeof CEType)[keyof typeof CEType];
|
|
|
132
139
|
export interface CreateComputeEnvironmentRequest {
|
|
133
140
|
computeEnvironmentName: string | undefined;
|
|
134
141
|
type: CEType | undefined;
|
|
135
|
-
state?: CEState;
|
|
136
|
-
unmanagedvCpus?: number;
|
|
137
|
-
computeResources?: ComputeResource;
|
|
138
|
-
serviceRole?: string;
|
|
139
|
-
tags?: Record<string, string
|
|
140
|
-
eksConfiguration?: EksConfiguration;
|
|
141
|
-
context?: string;
|
|
142
|
+
state?: CEState | undefined;
|
|
143
|
+
unmanagedvCpus?: number | undefined;
|
|
144
|
+
computeResources?: ComputeResource | undefined;
|
|
145
|
+
serviceRole?: string | undefined;
|
|
146
|
+
tags?: Record<string, string> | undefined;
|
|
147
|
+
eksConfiguration?: EksConfiguration | undefined;
|
|
148
|
+
context?: string | undefined;
|
|
142
149
|
}
|
|
143
150
|
export interface CreateComputeEnvironmentResponse {
|
|
144
|
-
computeEnvironmentName?: string;
|
|
145
|
-
computeEnvironmentArn?: string;
|
|
151
|
+
computeEnvironmentName?: string | undefined;
|
|
152
|
+
computeEnvironmentArn?: string | undefined;
|
|
146
153
|
}
|
|
147
154
|
export interface ComputeEnvironmentOrder {
|
|
148
155
|
order: number | undefined;
|
|
@@ -171,12 +178,12 @@ export declare const JQState: {
|
|
|
171
178
|
export type JQState = (typeof JQState)[keyof typeof JQState];
|
|
172
179
|
export interface CreateJobQueueRequest {
|
|
173
180
|
jobQueueName: string | undefined;
|
|
174
|
-
state?: JQState;
|
|
175
|
-
schedulingPolicyArn?: string;
|
|
181
|
+
state?: JQState | undefined;
|
|
182
|
+
schedulingPolicyArn?: string | undefined;
|
|
176
183
|
priority: number | undefined;
|
|
177
184
|
computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
|
|
178
|
-
tags?: Record<string, string
|
|
179
|
-
jobStateTimeLimitActions?: JobStateTimeLimitAction[];
|
|
185
|
+
tags?: Record<string, string> | undefined;
|
|
186
|
+
jobStateTimeLimitActions?: JobStateTimeLimitAction[] | undefined;
|
|
180
187
|
}
|
|
181
188
|
export interface CreateJobQueueResponse {
|
|
182
189
|
jobQueueName: string | undefined;
|
|
@@ -184,17 +191,17 @@ export interface CreateJobQueueResponse {
|
|
|
184
191
|
}
|
|
185
192
|
export interface ShareAttributes {
|
|
186
193
|
shareIdentifier: string | undefined;
|
|
187
|
-
weightFactor?: number;
|
|
194
|
+
weightFactor?: number | undefined;
|
|
188
195
|
}
|
|
189
196
|
export interface FairsharePolicy {
|
|
190
|
-
shareDecaySeconds?: number;
|
|
191
|
-
computeReservation?: number;
|
|
192
|
-
shareDistribution?: ShareAttributes[];
|
|
197
|
+
shareDecaySeconds?: number | undefined;
|
|
198
|
+
computeReservation?: number | undefined;
|
|
199
|
+
shareDistribution?: ShareAttributes[] | undefined;
|
|
193
200
|
}
|
|
194
201
|
export interface CreateSchedulingPolicyRequest {
|
|
195
202
|
name: string | undefined;
|
|
196
|
-
fairsharePolicy?: FairsharePolicy;
|
|
197
|
-
tags?: Record<string, string
|
|
203
|
+
fairsharePolicy?: FairsharePolicy | undefined;
|
|
204
|
+
tags?: Record<string, string> | undefined;
|
|
198
205
|
}
|
|
199
206
|
export interface CreateSchedulingPolicyResponse {
|
|
200
207
|
name: string | undefined;
|
|
@@ -217,9 +224,9 @@ export interface DeregisterJobDefinitionRequest {
|
|
|
217
224
|
}
|
|
218
225
|
export interface DeregisterJobDefinitionResponse {}
|
|
219
226
|
export interface DescribeComputeEnvironmentsRequest {
|
|
220
|
-
computeEnvironments?: string[];
|
|
221
|
-
maxResults?: number;
|
|
222
|
-
nextToken?: string;
|
|
227
|
+
computeEnvironments?: string[] | undefined;
|
|
228
|
+
maxResults?: number | undefined;
|
|
229
|
+
nextToken?: string | undefined;
|
|
223
230
|
}
|
|
224
231
|
export declare const OrchestrationType: {
|
|
225
232
|
readonly ECS: "ECS";
|
|
@@ -237,47 +244,47 @@ export declare const CEStatus: {
|
|
|
237
244
|
};
|
|
238
245
|
export type CEStatus = (typeof CEStatus)[keyof typeof CEStatus];
|
|
239
246
|
export interface UpdatePolicy {
|
|
240
|
-
terminateJobsOnUpdate?: boolean;
|
|
241
|
-
jobExecutionTimeoutMinutes?: number;
|
|
247
|
+
terminateJobsOnUpdate?: boolean | undefined;
|
|
248
|
+
jobExecutionTimeoutMinutes?: number | undefined;
|
|
242
249
|
}
|
|
243
250
|
export interface ComputeEnvironmentDetail {
|
|
244
251
|
computeEnvironmentName: string | undefined;
|
|
245
252
|
computeEnvironmentArn: string | undefined;
|
|
246
|
-
unmanagedvCpus?: number;
|
|
247
|
-
ecsClusterArn?: string;
|
|
248
|
-
tags?: Record<string, string
|
|
249
|
-
type?: CEType;
|
|
250
|
-
state?: CEState;
|
|
251
|
-
status?: CEStatus;
|
|
252
|
-
statusReason?: string;
|
|
253
|
-
computeResources?: ComputeResource;
|
|
254
|
-
serviceRole?: string;
|
|
255
|
-
updatePolicy?: UpdatePolicy;
|
|
256
|
-
eksConfiguration?: EksConfiguration;
|
|
257
|
-
containerOrchestrationType?: OrchestrationType;
|
|
258
|
-
uuid?: string;
|
|
259
|
-
context?: string;
|
|
253
|
+
unmanagedvCpus?: number | undefined;
|
|
254
|
+
ecsClusterArn?: string | undefined;
|
|
255
|
+
tags?: Record<string, string> | undefined;
|
|
256
|
+
type?: CEType | undefined;
|
|
257
|
+
state?: CEState | undefined;
|
|
258
|
+
status?: CEStatus | undefined;
|
|
259
|
+
statusReason?: string | undefined;
|
|
260
|
+
computeResources?: ComputeResource | undefined;
|
|
261
|
+
serviceRole?: string | undefined;
|
|
262
|
+
updatePolicy?: UpdatePolicy | undefined;
|
|
263
|
+
eksConfiguration?: EksConfiguration | undefined;
|
|
264
|
+
containerOrchestrationType?: OrchestrationType | undefined;
|
|
265
|
+
uuid?: string | undefined;
|
|
266
|
+
context?: string | undefined;
|
|
260
267
|
}
|
|
261
268
|
export interface DescribeComputeEnvironmentsResponse {
|
|
262
|
-
computeEnvironments?: ComputeEnvironmentDetail[];
|
|
263
|
-
nextToken?: string;
|
|
269
|
+
computeEnvironments?: ComputeEnvironmentDetail[] | undefined;
|
|
270
|
+
nextToken?: string | undefined;
|
|
264
271
|
}
|
|
265
272
|
export interface DescribeJobDefinitionsRequest {
|
|
266
|
-
jobDefinitions?: string[];
|
|
267
|
-
maxResults?: number;
|
|
268
|
-
jobDefinitionName?: string;
|
|
269
|
-
status?: string;
|
|
270
|
-
nextToken?: string;
|
|
273
|
+
jobDefinitions?: string[] | undefined;
|
|
274
|
+
maxResults?: number | undefined;
|
|
275
|
+
jobDefinitionName?: string | undefined;
|
|
276
|
+
status?: string | undefined;
|
|
277
|
+
nextToken?: string | undefined;
|
|
271
278
|
}
|
|
272
279
|
export interface KeyValuePair {
|
|
273
|
-
name?: string;
|
|
274
|
-
value?: string;
|
|
280
|
+
name?: string | undefined;
|
|
281
|
+
value?: string | undefined;
|
|
275
282
|
}
|
|
276
283
|
export interface EphemeralStorage {
|
|
277
284
|
sizeInGiB: number | undefined;
|
|
278
285
|
}
|
|
279
286
|
export interface FargatePlatformConfiguration {
|
|
280
|
-
platformVersion?: string;
|
|
287
|
+
platformVersion?: string | undefined;
|
|
281
288
|
}
|
|
282
289
|
export declare const DeviceCgroupPermission: {
|
|
283
290
|
readonly MKNOD: "MKNOD";
|
|
@@ -288,21 +295,21 @@ export type DeviceCgroupPermission =
|
|
|
288
295
|
(typeof DeviceCgroupPermission)[keyof typeof DeviceCgroupPermission];
|
|
289
296
|
export interface Device {
|
|
290
297
|
hostPath: string | undefined;
|
|
291
|
-
containerPath?: string;
|
|
292
|
-
permissions?: DeviceCgroupPermission[];
|
|
298
|
+
containerPath?: string | undefined;
|
|
299
|
+
permissions?: DeviceCgroupPermission[] | undefined;
|
|
293
300
|
}
|
|
294
301
|
export interface Tmpfs {
|
|
295
302
|
containerPath: string | undefined;
|
|
296
303
|
size: number | undefined;
|
|
297
|
-
mountOptions?: string[];
|
|
304
|
+
mountOptions?: string[] | undefined;
|
|
298
305
|
}
|
|
299
306
|
export interface LinuxParameters {
|
|
300
|
-
devices?: Device[];
|
|
301
|
-
initProcessEnabled?: boolean;
|
|
302
|
-
sharedMemorySize?: number;
|
|
303
|
-
tmpfs?: Tmpfs[];
|
|
304
|
-
maxSwap?: number;
|
|
305
|
-
swappiness?: number;
|
|
307
|
+
devices?: Device[] | undefined;
|
|
308
|
+
initProcessEnabled?: boolean | undefined;
|
|
309
|
+
sharedMemorySize?: number | undefined;
|
|
310
|
+
tmpfs?: Tmpfs[] | undefined;
|
|
311
|
+
maxSwap?: number | undefined;
|
|
312
|
+
swappiness?: number | undefined;
|
|
306
313
|
}
|
|
307
314
|
export declare const LogDriver: {
|
|
308
315
|
readonly AWSLOGS: "awslogs";
|
|
@@ -320,16 +327,16 @@ export interface Secret {
|
|
|
320
327
|
}
|
|
321
328
|
export interface LogConfiguration {
|
|
322
329
|
logDriver: LogDriver | undefined;
|
|
323
|
-
options?: Record<string, string
|
|
324
|
-
secretOptions?: Secret[];
|
|
330
|
+
options?: Record<string, string> | undefined;
|
|
331
|
+
secretOptions?: Secret[] | undefined;
|
|
325
332
|
}
|
|
326
333
|
export interface MountPoint {
|
|
327
|
-
containerPath?: string;
|
|
328
|
-
readOnly?: boolean;
|
|
329
|
-
sourceVolume?: string;
|
|
334
|
+
containerPath?: string | undefined;
|
|
335
|
+
readOnly?: boolean | undefined;
|
|
336
|
+
sourceVolume?: string | undefined;
|
|
330
337
|
}
|
|
331
338
|
export interface NetworkConfiguration {
|
|
332
|
-
assignPublicIp?: AssignPublicIp;
|
|
339
|
+
assignPublicIp?: AssignPublicIp | undefined;
|
|
333
340
|
}
|
|
334
341
|
export interface RepositoryCredentials {
|
|
335
342
|
credentialsParameter: string | undefined;
|
|
@@ -345,8 +352,8 @@ export interface ResourceRequirement {
|
|
|
345
352
|
type: ResourceType | undefined;
|
|
346
353
|
}
|
|
347
354
|
export interface RuntimePlatform {
|
|
348
|
-
operatingSystemFamily?: string;
|
|
349
|
-
cpuArchitecture?: string;
|
|
355
|
+
operatingSystemFamily?: string | undefined;
|
|
356
|
+
cpuArchitecture?: string | undefined;
|
|
350
357
|
}
|
|
351
358
|
export interface Ulimit {
|
|
352
359
|
hardLimit: number | undefined;
|
|
@@ -360,8 +367,8 @@ export declare const EFSAuthorizationConfigIAM: {
|
|
|
360
367
|
export type EFSAuthorizationConfigIAM =
|
|
361
368
|
(typeof EFSAuthorizationConfigIAM)[keyof typeof EFSAuthorizationConfigIAM];
|
|
362
369
|
export interface EFSAuthorizationConfig {
|
|
363
|
-
accessPointId?: string;
|
|
364
|
-
iam?: EFSAuthorizationConfigIAM;
|
|
370
|
+
accessPointId?: string | undefined;
|
|
371
|
+
iam?: EFSAuthorizationConfigIAM | undefined;
|
|
365
372
|
}
|
|
366
373
|
export declare const EFSTransitEncryption: {
|
|
367
374
|
readonly DISABLED: "DISABLED";
|
|
@@ -371,156 +378,156 @@ export type EFSTransitEncryption =
|
|
|
371
378
|
(typeof EFSTransitEncryption)[keyof typeof EFSTransitEncryption];
|
|
372
379
|
export interface EFSVolumeConfiguration {
|
|
373
380
|
fileSystemId: string | undefined;
|
|
374
|
-
rootDirectory?: string;
|
|
375
|
-
transitEncryption?: EFSTransitEncryption;
|
|
376
|
-
transitEncryptionPort?: number;
|
|
377
|
-
authorizationConfig?: EFSAuthorizationConfig;
|
|
381
|
+
rootDirectory?: string | undefined;
|
|
382
|
+
transitEncryption?: EFSTransitEncryption | undefined;
|
|
383
|
+
transitEncryptionPort?: number | undefined;
|
|
384
|
+
authorizationConfig?: EFSAuthorizationConfig | undefined;
|
|
378
385
|
}
|
|
379
386
|
export interface Host {
|
|
380
|
-
sourcePath?: string;
|
|
387
|
+
sourcePath?: string | undefined;
|
|
381
388
|
}
|
|
382
389
|
export interface Volume {
|
|
383
|
-
host?: Host;
|
|
384
|
-
name?: string;
|
|
385
|
-
efsVolumeConfiguration?: EFSVolumeConfiguration;
|
|
390
|
+
host?: Host | undefined;
|
|
391
|
+
name?: string | undefined;
|
|
392
|
+
efsVolumeConfiguration?: EFSVolumeConfiguration | undefined;
|
|
386
393
|
}
|
|
387
394
|
export interface ContainerProperties {
|
|
388
|
-
image?: string;
|
|
389
|
-
vcpus?: number;
|
|
390
|
-
memory?: number;
|
|
391
|
-
command?: string[];
|
|
392
|
-
jobRoleArn?: string;
|
|
393
|
-
executionRoleArn?: string;
|
|
394
|
-
volumes?: Volume[];
|
|
395
|
-
environment?: KeyValuePair[];
|
|
396
|
-
mountPoints?: MountPoint[];
|
|
397
|
-
readonlyRootFilesystem?: boolean;
|
|
398
|
-
privileged?: boolean;
|
|
399
|
-
ulimits?: Ulimit[];
|
|
400
|
-
user?: string;
|
|
401
|
-
instanceType?: string;
|
|
402
|
-
resourceRequirements?: ResourceRequirement[];
|
|
403
|
-
linuxParameters?: LinuxParameters;
|
|
404
|
-
logConfiguration?: LogConfiguration;
|
|
405
|
-
secrets?: Secret[];
|
|
406
|
-
networkConfiguration?: NetworkConfiguration;
|
|
407
|
-
fargatePlatformConfiguration?: FargatePlatformConfiguration;
|
|
408
|
-
ephemeralStorage?: EphemeralStorage;
|
|
409
|
-
runtimePlatform?: RuntimePlatform;
|
|
410
|
-
repositoryCredentials?: RepositoryCredentials;
|
|
395
|
+
image?: string | undefined;
|
|
396
|
+
vcpus?: number | undefined;
|
|
397
|
+
memory?: number | undefined;
|
|
398
|
+
command?: string[] | undefined;
|
|
399
|
+
jobRoleArn?: string | undefined;
|
|
400
|
+
executionRoleArn?: string | undefined;
|
|
401
|
+
volumes?: Volume[] | undefined;
|
|
402
|
+
environment?: KeyValuePair[] | undefined;
|
|
403
|
+
mountPoints?: MountPoint[] | undefined;
|
|
404
|
+
readonlyRootFilesystem?: boolean | undefined;
|
|
405
|
+
privileged?: boolean | undefined;
|
|
406
|
+
ulimits?: Ulimit[] | undefined;
|
|
407
|
+
user?: string | undefined;
|
|
408
|
+
instanceType?: string | undefined;
|
|
409
|
+
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
410
|
+
linuxParameters?: LinuxParameters | undefined;
|
|
411
|
+
logConfiguration?: LogConfiguration | undefined;
|
|
412
|
+
secrets?: Secret[] | undefined;
|
|
413
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
414
|
+
fargatePlatformConfiguration?: FargatePlatformConfiguration | undefined;
|
|
415
|
+
ephemeralStorage?: EphemeralStorage | undefined;
|
|
416
|
+
runtimePlatform?: RuntimePlatform | undefined;
|
|
417
|
+
repositoryCredentials?: RepositoryCredentials | undefined;
|
|
411
418
|
}
|
|
412
419
|
export interface TaskContainerDependency {
|
|
413
|
-
containerName?: string;
|
|
414
|
-
condition?: string;
|
|
420
|
+
containerName?: string | undefined;
|
|
421
|
+
condition?: string | undefined;
|
|
415
422
|
}
|
|
416
423
|
export interface TaskContainerProperties {
|
|
417
|
-
command?: string[];
|
|
418
|
-
dependsOn?: TaskContainerDependency[];
|
|
419
|
-
environment?: KeyValuePair[];
|
|
420
|
-
essential?: boolean;
|
|
424
|
+
command?: string[] | undefined;
|
|
425
|
+
dependsOn?: TaskContainerDependency[] | undefined;
|
|
426
|
+
environment?: KeyValuePair[] | undefined;
|
|
427
|
+
essential?: boolean | undefined;
|
|
421
428
|
image: string | undefined;
|
|
422
|
-
linuxParameters?: LinuxParameters;
|
|
423
|
-
logConfiguration?: LogConfiguration;
|
|
424
|
-
mountPoints?: MountPoint[];
|
|
425
|
-
name?: string;
|
|
426
|
-
privileged?: boolean;
|
|
427
|
-
readonlyRootFilesystem?: boolean;
|
|
428
|
-
repositoryCredentials?: RepositoryCredentials;
|
|
429
|
-
resourceRequirements?: ResourceRequirement[];
|
|
430
|
-
secrets?: Secret[];
|
|
431
|
-
ulimits?: Ulimit[];
|
|
432
|
-
user?: string;
|
|
429
|
+
linuxParameters?: LinuxParameters | undefined;
|
|
430
|
+
logConfiguration?: LogConfiguration | undefined;
|
|
431
|
+
mountPoints?: MountPoint[] | undefined;
|
|
432
|
+
name?: string | undefined;
|
|
433
|
+
privileged?: boolean | undefined;
|
|
434
|
+
readonlyRootFilesystem?: boolean | undefined;
|
|
435
|
+
repositoryCredentials?: RepositoryCredentials | undefined;
|
|
436
|
+
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
437
|
+
secrets?: Secret[] | undefined;
|
|
438
|
+
ulimits?: Ulimit[] | undefined;
|
|
439
|
+
user?: string | undefined;
|
|
433
440
|
}
|
|
434
441
|
export interface EcsTaskProperties {
|
|
435
442
|
containers: TaskContainerProperties[] | undefined;
|
|
436
|
-
ephemeralStorage?: EphemeralStorage;
|
|
437
|
-
executionRoleArn?: string;
|
|
438
|
-
platformVersion?: string;
|
|
439
|
-
ipcMode?: string;
|
|
440
|
-
taskRoleArn?: string;
|
|
441
|
-
pidMode?: string;
|
|
442
|
-
networkConfiguration?: NetworkConfiguration;
|
|
443
|
-
runtimePlatform?: RuntimePlatform;
|
|
444
|
-
volumes?: Volume[];
|
|
443
|
+
ephemeralStorage?: EphemeralStorage | undefined;
|
|
444
|
+
executionRoleArn?: string | undefined;
|
|
445
|
+
platformVersion?: string | undefined;
|
|
446
|
+
ipcMode?: string | undefined;
|
|
447
|
+
taskRoleArn?: string | undefined;
|
|
448
|
+
pidMode?: string | undefined;
|
|
449
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
450
|
+
runtimePlatform?: RuntimePlatform | undefined;
|
|
451
|
+
volumes?: Volume[] | undefined;
|
|
445
452
|
}
|
|
446
453
|
export interface EcsProperties {
|
|
447
454
|
taskProperties: EcsTaskProperties[] | undefined;
|
|
448
455
|
}
|
|
449
456
|
export interface EksContainerEnvironmentVariable {
|
|
450
457
|
name: string | undefined;
|
|
451
|
-
value?: string;
|
|
458
|
+
value?: string | undefined;
|
|
452
459
|
}
|
|
453
460
|
export interface EksContainerResourceRequirements {
|
|
454
|
-
limits?: Record<string, string
|
|
455
|
-
requests?: Record<string, string
|
|
461
|
+
limits?: Record<string, string> | undefined;
|
|
462
|
+
requests?: Record<string, string> | undefined;
|
|
456
463
|
}
|
|
457
464
|
export interface EksContainerSecurityContext {
|
|
458
|
-
runAsUser?: number;
|
|
459
|
-
runAsGroup?: number;
|
|
460
|
-
privileged?: boolean;
|
|
461
|
-
allowPrivilegeEscalation?: boolean;
|
|
462
|
-
readOnlyRootFilesystem?: boolean;
|
|
463
|
-
runAsNonRoot?: boolean;
|
|
465
|
+
runAsUser?: number | undefined;
|
|
466
|
+
runAsGroup?: number | undefined;
|
|
467
|
+
privileged?: boolean | undefined;
|
|
468
|
+
allowPrivilegeEscalation?: boolean | undefined;
|
|
469
|
+
readOnlyRootFilesystem?: boolean | undefined;
|
|
470
|
+
runAsNonRoot?: boolean | undefined;
|
|
464
471
|
}
|
|
465
472
|
export interface EksContainerVolumeMount {
|
|
466
|
-
name?: string;
|
|
467
|
-
mountPath?: string;
|
|
468
|
-
readOnly?: boolean;
|
|
473
|
+
name?: string | undefined;
|
|
474
|
+
mountPath?: string | undefined;
|
|
475
|
+
readOnly?: boolean | undefined;
|
|
469
476
|
}
|
|
470
477
|
export interface EksContainer {
|
|
471
|
-
name?: string;
|
|
478
|
+
name?: string | undefined;
|
|
472
479
|
image: string | undefined;
|
|
473
|
-
imagePullPolicy?: string;
|
|
474
|
-
command?: string[];
|
|
475
|
-
args?: string[];
|
|
476
|
-
env?: EksContainerEnvironmentVariable[];
|
|
477
|
-
resources?: EksContainerResourceRequirements;
|
|
478
|
-
volumeMounts?: EksContainerVolumeMount[];
|
|
479
|
-
securityContext?: EksContainerSecurityContext;
|
|
480
|
+
imagePullPolicy?: string | undefined;
|
|
481
|
+
command?: string[] | undefined;
|
|
482
|
+
args?: string[] | undefined;
|
|
483
|
+
env?: EksContainerEnvironmentVariable[] | undefined;
|
|
484
|
+
resources?: EksContainerResourceRequirements | undefined;
|
|
485
|
+
volumeMounts?: EksContainerVolumeMount[] | undefined;
|
|
486
|
+
securityContext?: EksContainerSecurityContext | undefined;
|
|
480
487
|
}
|
|
481
488
|
export interface ImagePullSecret {
|
|
482
489
|
name: string | undefined;
|
|
483
490
|
}
|
|
484
491
|
export interface EksMetadata {
|
|
485
|
-
labels?: Record<string, string
|
|
492
|
+
labels?: Record<string, string> | undefined;
|
|
486
493
|
}
|
|
487
494
|
export interface EksEmptyDir {
|
|
488
|
-
medium?: string;
|
|
489
|
-
sizeLimit?: string;
|
|
495
|
+
medium?: string | undefined;
|
|
496
|
+
sizeLimit?: string | undefined;
|
|
490
497
|
}
|
|
491
498
|
export interface EksHostPath {
|
|
492
|
-
path?: string;
|
|
499
|
+
path?: string | undefined;
|
|
493
500
|
}
|
|
494
501
|
export interface EksSecret {
|
|
495
502
|
secretName: string | undefined;
|
|
496
|
-
optional?: boolean;
|
|
503
|
+
optional?: boolean | undefined;
|
|
497
504
|
}
|
|
498
505
|
export interface EksVolume {
|
|
499
506
|
name: string | undefined;
|
|
500
|
-
hostPath?: EksHostPath;
|
|
501
|
-
emptyDir?: EksEmptyDir;
|
|
502
|
-
secret?: EksSecret;
|
|
507
|
+
hostPath?: EksHostPath | undefined;
|
|
508
|
+
emptyDir?: EksEmptyDir | undefined;
|
|
509
|
+
secret?: EksSecret | undefined;
|
|
503
510
|
}
|
|
504
511
|
export interface EksPodProperties {
|
|
505
|
-
serviceAccountName?: string;
|
|
506
|
-
hostNetwork?: boolean;
|
|
507
|
-
dnsPolicy?: string;
|
|
508
|
-
imagePullSecrets?: ImagePullSecret[];
|
|
509
|
-
containers?: EksContainer[];
|
|
510
|
-
initContainers?: EksContainer[];
|
|
511
|
-
volumes?: EksVolume[];
|
|
512
|
-
metadata?: EksMetadata;
|
|
513
|
-
shareProcessNamespace?: boolean;
|
|
512
|
+
serviceAccountName?: string | undefined;
|
|
513
|
+
hostNetwork?: boolean | undefined;
|
|
514
|
+
dnsPolicy?: string | undefined;
|
|
515
|
+
imagePullSecrets?: ImagePullSecret[] | undefined;
|
|
516
|
+
containers?: EksContainer[] | undefined;
|
|
517
|
+
initContainers?: EksContainer[] | undefined;
|
|
518
|
+
volumes?: EksVolume[] | undefined;
|
|
519
|
+
metadata?: EksMetadata | undefined;
|
|
520
|
+
shareProcessNamespace?: boolean | undefined;
|
|
514
521
|
}
|
|
515
522
|
export interface EksProperties {
|
|
516
|
-
podProperties?: EksPodProperties;
|
|
523
|
+
podProperties?: EksPodProperties | undefined;
|
|
517
524
|
}
|
|
518
525
|
export interface NodeRangeProperty {
|
|
519
526
|
targetNodes: string | undefined;
|
|
520
|
-
container?: ContainerProperties;
|
|
521
|
-
instanceTypes?: string[];
|
|
522
|
-
ecsProperties?: EcsProperties;
|
|
523
|
-
eksProperties?: EksProperties;
|
|
527
|
+
container?: ContainerProperties | undefined;
|
|
528
|
+
instanceTypes?: string[] | undefined;
|
|
529
|
+
ecsProperties?: EcsProperties | undefined;
|
|
530
|
+
eksProperties?: EksProperties | undefined;
|
|
524
531
|
}
|
|
525
532
|
export interface NodeProperties {
|
|
526
533
|
numNodes: number | undefined;
|
|
@@ -539,45 +546,45 @@ export declare const RetryAction: {
|
|
|
539
546
|
};
|
|
540
547
|
export type RetryAction = (typeof RetryAction)[keyof typeof RetryAction];
|
|
541
548
|
export interface EvaluateOnExit {
|
|
542
|
-
onStatusReason?: string;
|
|
543
|
-
onReason?: string;
|
|
544
|
-
onExitCode?: string;
|
|
549
|
+
onStatusReason?: string | undefined;
|
|
550
|
+
onReason?: string | undefined;
|
|
551
|
+
onExitCode?: string | undefined;
|
|
545
552
|
action: RetryAction | undefined;
|
|
546
553
|
}
|
|
547
554
|
export interface RetryStrategy {
|
|
548
|
-
attempts?: number;
|
|
549
|
-
evaluateOnExit?: EvaluateOnExit[];
|
|
555
|
+
attempts?: number | undefined;
|
|
556
|
+
evaluateOnExit?: EvaluateOnExit[] | undefined;
|
|
550
557
|
}
|
|
551
558
|
export interface JobTimeout {
|
|
552
|
-
attemptDurationSeconds?: number;
|
|
559
|
+
attemptDurationSeconds?: number | undefined;
|
|
553
560
|
}
|
|
554
561
|
export interface JobDefinition {
|
|
555
562
|
jobDefinitionName: string | undefined;
|
|
556
563
|
jobDefinitionArn: string | undefined;
|
|
557
564
|
revision: number | undefined;
|
|
558
|
-
status?: string;
|
|
565
|
+
status?: string | undefined;
|
|
559
566
|
type: string | undefined;
|
|
560
|
-
schedulingPriority?: number;
|
|
561
|
-
parameters?: Record<string, string
|
|
562
|
-
retryStrategy?: RetryStrategy;
|
|
563
|
-
containerProperties?: ContainerProperties;
|
|
564
|
-
timeout?: JobTimeout;
|
|
565
|
-
nodeProperties?: NodeProperties;
|
|
566
|
-
tags?: Record<string, string
|
|
567
|
-
propagateTags?: boolean;
|
|
568
|
-
platformCapabilities?: PlatformCapability[];
|
|
569
|
-
ecsProperties?: EcsProperties;
|
|
570
|
-
eksProperties?: EksProperties;
|
|
571
|
-
containerOrchestrationType?: OrchestrationType;
|
|
567
|
+
schedulingPriority?: number | undefined;
|
|
568
|
+
parameters?: Record<string, string> | undefined;
|
|
569
|
+
retryStrategy?: RetryStrategy | undefined;
|
|
570
|
+
containerProperties?: ContainerProperties | undefined;
|
|
571
|
+
timeout?: JobTimeout | undefined;
|
|
572
|
+
nodeProperties?: NodeProperties | undefined;
|
|
573
|
+
tags?: Record<string, string> | undefined;
|
|
574
|
+
propagateTags?: boolean | undefined;
|
|
575
|
+
platformCapabilities?: PlatformCapability[] | undefined;
|
|
576
|
+
ecsProperties?: EcsProperties | undefined;
|
|
577
|
+
eksProperties?: EksProperties | undefined;
|
|
578
|
+
containerOrchestrationType?: OrchestrationType | undefined;
|
|
572
579
|
}
|
|
573
580
|
export interface DescribeJobDefinitionsResponse {
|
|
574
|
-
jobDefinitions?: JobDefinition[];
|
|
575
|
-
nextToken?: string;
|
|
581
|
+
jobDefinitions?: JobDefinition[] | undefined;
|
|
582
|
+
nextToken?: string | undefined;
|
|
576
583
|
}
|
|
577
584
|
export interface DescribeJobQueuesRequest {
|
|
578
|
-
jobQueues?: string[];
|
|
579
|
-
maxResults?: number;
|
|
580
|
-
nextToken?: string;
|
|
585
|
+
jobQueues?: string[] | undefined;
|
|
586
|
+
maxResults?: number | undefined;
|
|
587
|
+
nextToken?: string | undefined;
|
|
581
588
|
}
|
|
582
589
|
export declare const JQStatus: {
|
|
583
590
|
readonly CREATING: "CREATING";
|
|
@@ -592,144 +599,144 @@ export interface JobQueueDetail {
|
|
|
592
599
|
jobQueueName: string | undefined;
|
|
593
600
|
jobQueueArn: string | undefined;
|
|
594
601
|
state: JQState | undefined;
|
|
595
|
-
schedulingPolicyArn?: string;
|
|
596
|
-
status?: JQStatus;
|
|
597
|
-
statusReason?: string;
|
|
602
|
+
schedulingPolicyArn?: string | undefined;
|
|
603
|
+
status?: JQStatus | undefined;
|
|
604
|
+
statusReason?: string | undefined;
|
|
598
605
|
priority: number | undefined;
|
|
599
606
|
computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
|
|
600
|
-
tags?: Record<string, string
|
|
601
|
-
jobStateTimeLimitActions?: JobStateTimeLimitAction[];
|
|
607
|
+
tags?: Record<string, string> | undefined;
|
|
608
|
+
jobStateTimeLimitActions?: JobStateTimeLimitAction[] | undefined;
|
|
602
609
|
}
|
|
603
610
|
export interface DescribeJobQueuesResponse {
|
|
604
|
-
jobQueues?: JobQueueDetail[];
|
|
605
|
-
nextToken?: string;
|
|
611
|
+
jobQueues?: JobQueueDetail[] | undefined;
|
|
612
|
+
nextToken?: string | undefined;
|
|
606
613
|
}
|
|
607
614
|
export interface DescribeJobsRequest {
|
|
608
615
|
jobs: string[] | undefined;
|
|
609
616
|
}
|
|
610
617
|
export interface ContainerDetail {
|
|
611
|
-
image?: string;
|
|
612
|
-
vcpus?: number;
|
|
613
|
-
memory?: number;
|
|
614
|
-
command?: string[];
|
|
615
|
-
jobRoleArn?: string;
|
|
616
|
-
executionRoleArn?: string;
|
|
617
|
-
volumes?: Volume[];
|
|
618
|
-
environment?: KeyValuePair[];
|
|
619
|
-
mountPoints?: MountPoint[];
|
|
620
|
-
readonlyRootFilesystem?: boolean;
|
|
621
|
-
ulimits?: Ulimit[];
|
|
622
|
-
privileged?: boolean;
|
|
623
|
-
user?: string;
|
|
624
|
-
exitCode?: number;
|
|
625
|
-
reason?: string;
|
|
626
|
-
containerInstanceArn?: string;
|
|
627
|
-
taskArn?: string;
|
|
628
|
-
logStreamName?: string;
|
|
629
|
-
instanceType?: string;
|
|
630
|
-
networkInterfaces?: NetworkInterface[];
|
|
631
|
-
resourceRequirements?: ResourceRequirement[];
|
|
632
|
-
linuxParameters?: LinuxParameters;
|
|
633
|
-
logConfiguration?: LogConfiguration;
|
|
634
|
-
secrets?: Secret[];
|
|
635
|
-
networkConfiguration?: NetworkConfiguration;
|
|
636
|
-
fargatePlatformConfiguration?: FargatePlatformConfiguration;
|
|
637
|
-
ephemeralStorage?: EphemeralStorage;
|
|
638
|
-
runtimePlatform?: RuntimePlatform;
|
|
639
|
-
repositoryCredentials?: RepositoryCredentials;
|
|
618
|
+
image?: string | undefined;
|
|
619
|
+
vcpus?: number | undefined;
|
|
620
|
+
memory?: number | undefined;
|
|
621
|
+
command?: string[] | undefined;
|
|
622
|
+
jobRoleArn?: string | undefined;
|
|
623
|
+
executionRoleArn?: string | undefined;
|
|
624
|
+
volumes?: Volume[] | undefined;
|
|
625
|
+
environment?: KeyValuePair[] | undefined;
|
|
626
|
+
mountPoints?: MountPoint[] | undefined;
|
|
627
|
+
readonlyRootFilesystem?: boolean | undefined;
|
|
628
|
+
ulimits?: Ulimit[] | undefined;
|
|
629
|
+
privileged?: boolean | undefined;
|
|
630
|
+
user?: string | undefined;
|
|
631
|
+
exitCode?: number | undefined;
|
|
632
|
+
reason?: string | undefined;
|
|
633
|
+
containerInstanceArn?: string | undefined;
|
|
634
|
+
taskArn?: string | undefined;
|
|
635
|
+
logStreamName?: string | undefined;
|
|
636
|
+
instanceType?: string | undefined;
|
|
637
|
+
networkInterfaces?: NetworkInterface[] | undefined;
|
|
638
|
+
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
639
|
+
linuxParameters?: LinuxParameters | undefined;
|
|
640
|
+
logConfiguration?: LogConfiguration | undefined;
|
|
641
|
+
secrets?: Secret[] | undefined;
|
|
642
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
643
|
+
fargatePlatformConfiguration?: FargatePlatformConfiguration | undefined;
|
|
644
|
+
ephemeralStorage?: EphemeralStorage | undefined;
|
|
645
|
+
runtimePlatform?: RuntimePlatform | undefined;
|
|
646
|
+
repositoryCredentials?: RepositoryCredentials | undefined;
|
|
640
647
|
}
|
|
641
648
|
export interface JobDependency {
|
|
642
|
-
jobId?: string;
|
|
643
|
-
type?: ArrayJobDependency;
|
|
649
|
+
jobId?: string | undefined;
|
|
650
|
+
type?: ArrayJobDependency | undefined;
|
|
644
651
|
}
|
|
645
652
|
export interface TaskContainerDetails {
|
|
646
|
-
command?: string[];
|
|
647
|
-
dependsOn?: TaskContainerDependency[];
|
|
648
|
-
environment?: KeyValuePair[];
|
|
649
|
-
essential?: boolean;
|
|
650
|
-
image?: string;
|
|
651
|
-
linuxParameters?: LinuxParameters;
|
|
652
|
-
logConfiguration?: LogConfiguration;
|
|
653
|
-
mountPoints?: MountPoint[];
|
|
654
|
-
name?: string;
|
|
655
|
-
privileged?: boolean;
|
|
656
|
-
readonlyRootFilesystem?: boolean;
|
|
657
|
-
repositoryCredentials?: RepositoryCredentials;
|
|
658
|
-
resourceRequirements?: ResourceRequirement[];
|
|
659
|
-
secrets?: Secret[];
|
|
660
|
-
ulimits?: Ulimit[];
|
|
661
|
-
user?: string;
|
|
662
|
-
exitCode?: number;
|
|
663
|
-
reason?: string;
|
|
664
|
-
logStreamName?: string;
|
|
665
|
-
networkInterfaces?: NetworkInterface[];
|
|
653
|
+
command?: string[] | undefined;
|
|
654
|
+
dependsOn?: TaskContainerDependency[] | undefined;
|
|
655
|
+
environment?: KeyValuePair[] | undefined;
|
|
656
|
+
essential?: boolean | undefined;
|
|
657
|
+
image?: string | undefined;
|
|
658
|
+
linuxParameters?: LinuxParameters | undefined;
|
|
659
|
+
logConfiguration?: LogConfiguration | undefined;
|
|
660
|
+
mountPoints?: MountPoint[] | undefined;
|
|
661
|
+
name?: string | undefined;
|
|
662
|
+
privileged?: boolean | undefined;
|
|
663
|
+
readonlyRootFilesystem?: boolean | undefined;
|
|
664
|
+
repositoryCredentials?: RepositoryCredentials | undefined;
|
|
665
|
+
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
666
|
+
secrets?: Secret[] | undefined;
|
|
667
|
+
ulimits?: Ulimit[] | undefined;
|
|
668
|
+
user?: string | undefined;
|
|
669
|
+
exitCode?: number | undefined;
|
|
670
|
+
reason?: string | undefined;
|
|
671
|
+
logStreamName?: string | undefined;
|
|
672
|
+
networkInterfaces?: NetworkInterface[] | undefined;
|
|
666
673
|
}
|
|
667
674
|
export interface EcsTaskDetails {
|
|
668
|
-
containers?: TaskContainerDetails[];
|
|
669
|
-
containerInstanceArn?: string;
|
|
670
|
-
taskArn?: string;
|
|
671
|
-
ephemeralStorage?: EphemeralStorage;
|
|
672
|
-
executionRoleArn?: string;
|
|
673
|
-
platformVersion?: string;
|
|
674
|
-
ipcMode?: string;
|
|
675
|
-
taskRoleArn?: string;
|
|
676
|
-
pidMode?: string;
|
|
677
|
-
networkConfiguration?: NetworkConfiguration;
|
|
678
|
-
runtimePlatform?: RuntimePlatform;
|
|
679
|
-
volumes?: Volume[];
|
|
675
|
+
containers?: TaskContainerDetails[] | undefined;
|
|
676
|
+
containerInstanceArn?: string | undefined;
|
|
677
|
+
taskArn?: string | undefined;
|
|
678
|
+
ephemeralStorage?: EphemeralStorage | undefined;
|
|
679
|
+
executionRoleArn?: string | undefined;
|
|
680
|
+
platformVersion?: string | undefined;
|
|
681
|
+
ipcMode?: string | undefined;
|
|
682
|
+
taskRoleArn?: string | undefined;
|
|
683
|
+
pidMode?: string | undefined;
|
|
684
|
+
networkConfiguration?: NetworkConfiguration | undefined;
|
|
685
|
+
runtimePlatform?: RuntimePlatform | undefined;
|
|
686
|
+
volumes?: Volume[] | undefined;
|
|
680
687
|
}
|
|
681
688
|
export interface EcsPropertiesDetail {
|
|
682
|
-
taskProperties?: EcsTaskDetails[];
|
|
689
|
+
taskProperties?: EcsTaskDetails[] | undefined;
|
|
683
690
|
}
|
|
684
691
|
export interface EksAttemptContainerDetail {
|
|
685
|
-
name?: string;
|
|
686
|
-
containerID?: string;
|
|
687
|
-
exitCode?: number;
|
|
688
|
-
reason?: string;
|
|
692
|
+
name?: string | undefined;
|
|
693
|
+
containerID?: string | undefined;
|
|
694
|
+
exitCode?: number | undefined;
|
|
695
|
+
reason?: string | undefined;
|
|
689
696
|
}
|
|
690
697
|
export interface EksAttemptDetail {
|
|
691
|
-
containers?: EksAttemptContainerDetail[];
|
|
692
|
-
initContainers?: EksAttemptContainerDetail[];
|
|
693
|
-
eksClusterArn?: string;
|
|
694
|
-
podName?: string;
|
|
695
|
-
podNamespace?: string;
|
|
696
|
-
nodeName?: string;
|
|
697
|
-
startedAt?: number;
|
|
698
|
-
stoppedAt?: number;
|
|
699
|
-
statusReason?: string;
|
|
698
|
+
containers?: EksAttemptContainerDetail[] | undefined;
|
|
699
|
+
initContainers?: EksAttemptContainerDetail[] | undefined;
|
|
700
|
+
eksClusterArn?: string | undefined;
|
|
701
|
+
podName?: string | undefined;
|
|
702
|
+
podNamespace?: string | undefined;
|
|
703
|
+
nodeName?: string | undefined;
|
|
704
|
+
startedAt?: number | undefined;
|
|
705
|
+
stoppedAt?: number | undefined;
|
|
706
|
+
statusReason?: string | undefined;
|
|
700
707
|
}
|
|
701
708
|
export interface EksContainerDetail {
|
|
702
|
-
name?: string;
|
|
703
|
-
image?: string;
|
|
704
|
-
imagePullPolicy?: string;
|
|
705
|
-
command?: string[];
|
|
706
|
-
args?: string[];
|
|
707
|
-
env?: EksContainerEnvironmentVariable[];
|
|
708
|
-
resources?: EksContainerResourceRequirements;
|
|
709
|
-
exitCode?: number;
|
|
710
|
-
reason?: string;
|
|
711
|
-
volumeMounts?: EksContainerVolumeMount[];
|
|
712
|
-
securityContext?: EksContainerSecurityContext;
|
|
709
|
+
name?: string | undefined;
|
|
710
|
+
image?: string | undefined;
|
|
711
|
+
imagePullPolicy?: string | undefined;
|
|
712
|
+
command?: string[] | undefined;
|
|
713
|
+
args?: string[] | undefined;
|
|
714
|
+
env?: EksContainerEnvironmentVariable[] | undefined;
|
|
715
|
+
resources?: EksContainerResourceRequirements | undefined;
|
|
716
|
+
exitCode?: number | undefined;
|
|
717
|
+
reason?: string | undefined;
|
|
718
|
+
volumeMounts?: EksContainerVolumeMount[] | undefined;
|
|
719
|
+
securityContext?: EksContainerSecurityContext | undefined;
|
|
713
720
|
}
|
|
714
721
|
export interface EksPodPropertiesDetail {
|
|
715
|
-
serviceAccountName?: string;
|
|
716
|
-
hostNetwork?: boolean;
|
|
717
|
-
dnsPolicy?: string;
|
|
718
|
-
imagePullSecrets?: ImagePullSecret[];
|
|
719
|
-
containers?: EksContainerDetail[];
|
|
720
|
-
initContainers?: EksContainerDetail[];
|
|
721
|
-
volumes?: EksVolume[];
|
|
722
|
-
podName?: string;
|
|
723
|
-
nodeName?: string;
|
|
724
|
-
metadata?: EksMetadata;
|
|
725
|
-
shareProcessNamespace?: boolean;
|
|
722
|
+
serviceAccountName?: string | undefined;
|
|
723
|
+
hostNetwork?: boolean | undefined;
|
|
724
|
+
dnsPolicy?: string | undefined;
|
|
725
|
+
imagePullSecrets?: ImagePullSecret[] | undefined;
|
|
726
|
+
containers?: EksContainerDetail[] | undefined;
|
|
727
|
+
initContainers?: EksContainerDetail[] | undefined;
|
|
728
|
+
volumes?: EksVolume[] | undefined;
|
|
729
|
+
podName?: string | undefined;
|
|
730
|
+
nodeName?: string | undefined;
|
|
731
|
+
metadata?: EksMetadata | undefined;
|
|
732
|
+
shareProcessNamespace?: boolean | undefined;
|
|
726
733
|
}
|
|
727
734
|
export interface EksPropertiesDetail {
|
|
728
|
-
podProperties?: EksPodPropertiesDetail;
|
|
735
|
+
podProperties?: EksPodPropertiesDetail | undefined;
|
|
729
736
|
}
|
|
730
737
|
export interface NodeDetails {
|
|
731
|
-
nodeIndex?: number;
|
|
732
|
-
isMainNode?: boolean;
|
|
738
|
+
nodeIndex?: number | undefined;
|
|
739
|
+
isMainNode?: boolean | undefined;
|
|
733
740
|
}
|
|
734
741
|
export declare const JobStatus: {
|
|
735
742
|
readonly FAILED: "FAILED";
|
|
@@ -742,38 +749,38 @@ export declare const JobStatus: {
|
|
|
742
749
|
};
|
|
743
750
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
744
751
|
export interface JobDetail {
|
|
745
|
-
jobArn?: string;
|
|
752
|
+
jobArn?: string | undefined;
|
|
746
753
|
jobName: string | undefined;
|
|
747
754
|
jobId: string | undefined;
|
|
748
755
|
jobQueue: string | undefined;
|
|
749
756
|
status: JobStatus | undefined;
|
|
750
|
-
shareIdentifier?: string;
|
|
751
|
-
schedulingPriority?: number;
|
|
752
|
-
attempts?: AttemptDetail[];
|
|
753
|
-
statusReason?: string;
|
|
754
|
-
createdAt?: number;
|
|
755
|
-
retryStrategy?: RetryStrategy;
|
|
757
|
+
shareIdentifier?: string | undefined;
|
|
758
|
+
schedulingPriority?: number | undefined;
|
|
759
|
+
attempts?: AttemptDetail[] | undefined;
|
|
760
|
+
statusReason?: string | undefined;
|
|
761
|
+
createdAt?: number | undefined;
|
|
762
|
+
retryStrategy?: RetryStrategy | undefined;
|
|
756
763
|
startedAt: number | undefined;
|
|
757
|
-
stoppedAt?: number;
|
|
758
|
-
dependsOn?: JobDependency[];
|
|
764
|
+
stoppedAt?: number | undefined;
|
|
765
|
+
dependsOn?: JobDependency[] | undefined;
|
|
759
766
|
jobDefinition: string | undefined;
|
|
760
|
-
parameters?: Record<string, string
|
|
761
|
-
container?: ContainerDetail;
|
|
762
|
-
nodeDetails?: NodeDetails;
|
|
763
|
-
nodeProperties?: NodeProperties;
|
|
764
|
-
arrayProperties?: ArrayPropertiesDetail;
|
|
765
|
-
timeout?: JobTimeout;
|
|
766
|
-
tags?: Record<string, string
|
|
767
|
-
propagateTags?: boolean;
|
|
768
|
-
platformCapabilities?: PlatformCapability[];
|
|
769
|
-
eksProperties?: EksPropertiesDetail;
|
|
770
|
-
eksAttempts?: EksAttemptDetail[];
|
|
771
|
-
ecsProperties?: EcsPropertiesDetail;
|
|
772
|
-
isCancelled?: boolean;
|
|
773
|
-
isTerminated?: boolean;
|
|
767
|
+
parameters?: Record<string, string> | undefined;
|
|
768
|
+
container?: ContainerDetail | undefined;
|
|
769
|
+
nodeDetails?: NodeDetails | undefined;
|
|
770
|
+
nodeProperties?: NodeProperties | undefined;
|
|
771
|
+
arrayProperties?: ArrayPropertiesDetail | undefined;
|
|
772
|
+
timeout?: JobTimeout | undefined;
|
|
773
|
+
tags?: Record<string, string> | undefined;
|
|
774
|
+
propagateTags?: boolean | undefined;
|
|
775
|
+
platformCapabilities?: PlatformCapability[] | undefined;
|
|
776
|
+
eksProperties?: EksPropertiesDetail | undefined;
|
|
777
|
+
eksAttempts?: EksAttemptDetail[] | undefined;
|
|
778
|
+
ecsProperties?: EcsPropertiesDetail | undefined;
|
|
779
|
+
isCancelled?: boolean | undefined;
|
|
780
|
+
isTerminated?: boolean | undefined;
|
|
774
781
|
}
|
|
775
782
|
export interface DescribeJobsResponse {
|
|
776
|
-
jobs?: JobDetail[];
|
|
783
|
+
jobs?: JobDetail[] | undefined;
|
|
777
784
|
}
|
|
778
785
|
export interface DescribeSchedulingPoliciesRequest {
|
|
779
786
|
arns: string[] | undefined;
|
|
@@ -781,82 +788,82 @@ export interface DescribeSchedulingPoliciesRequest {
|
|
|
781
788
|
export interface SchedulingPolicyDetail {
|
|
782
789
|
name: string | undefined;
|
|
783
790
|
arn: string | undefined;
|
|
784
|
-
fairsharePolicy?: FairsharePolicy;
|
|
785
|
-
tags?: Record<string, string
|
|
791
|
+
fairsharePolicy?: FairsharePolicy | undefined;
|
|
792
|
+
tags?: Record<string, string> | undefined;
|
|
786
793
|
}
|
|
787
794
|
export interface DescribeSchedulingPoliciesResponse {
|
|
788
|
-
schedulingPolicies?: SchedulingPolicyDetail[];
|
|
795
|
+
schedulingPolicies?: SchedulingPolicyDetail[] | undefined;
|
|
789
796
|
}
|
|
790
797
|
export interface GetJobQueueSnapshotRequest {
|
|
791
798
|
jobQueue: string | undefined;
|
|
792
799
|
}
|
|
793
800
|
export interface FrontOfQueueJobSummary {
|
|
794
|
-
jobArn?: string;
|
|
795
|
-
earliestTimeAtPosition?: number;
|
|
801
|
+
jobArn?: string | undefined;
|
|
802
|
+
earliestTimeAtPosition?: number | undefined;
|
|
796
803
|
}
|
|
797
804
|
export interface FrontOfQueueDetail {
|
|
798
|
-
jobs?: FrontOfQueueJobSummary[];
|
|
799
|
-
lastUpdatedAt?: number;
|
|
805
|
+
jobs?: FrontOfQueueJobSummary[] | undefined;
|
|
806
|
+
lastUpdatedAt?: number | undefined;
|
|
800
807
|
}
|
|
801
808
|
export interface GetJobQueueSnapshotResponse {
|
|
802
|
-
frontOfQueue?: FrontOfQueueDetail;
|
|
809
|
+
frontOfQueue?: FrontOfQueueDetail | undefined;
|
|
803
810
|
}
|
|
804
811
|
export interface KeyValuesPair {
|
|
805
|
-
name?: string;
|
|
806
|
-
values?: string[];
|
|
812
|
+
name?: string | undefined;
|
|
813
|
+
values?: string[] | undefined;
|
|
807
814
|
}
|
|
808
815
|
export interface ListJobsRequest {
|
|
809
|
-
jobQueue?: string;
|
|
810
|
-
arrayJobId?: string;
|
|
811
|
-
multiNodeJobId?: string;
|
|
812
|
-
jobStatus?: JobStatus;
|
|
813
|
-
maxResults?: number;
|
|
814
|
-
nextToken?: string;
|
|
815
|
-
filters?: KeyValuesPair[];
|
|
816
|
+
jobQueue?: string | undefined;
|
|
817
|
+
arrayJobId?: string | undefined;
|
|
818
|
+
multiNodeJobId?: string | undefined;
|
|
819
|
+
jobStatus?: JobStatus | undefined;
|
|
820
|
+
maxResults?: number | undefined;
|
|
821
|
+
nextToken?: string | undefined;
|
|
822
|
+
filters?: KeyValuesPair[] | undefined;
|
|
816
823
|
}
|
|
817
824
|
export interface ContainerSummary {
|
|
818
|
-
exitCode?: number;
|
|
819
|
-
reason?: string;
|
|
825
|
+
exitCode?: number | undefined;
|
|
826
|
+
reason?: string | undefined;
|
|
820
827
|
}
|
|
821
828
|
export interface NodePropertiesSummary {
|
|
822
|
-
isMainNode?: boolean;
|
|
823
|
-
numNodes?: number;
|
|
824
|
-
nodeIndex?: number;
|
|
829
|
+
isMainNode?: boolean | undefined;
|
|
830
|
+
numNodes?: number | undefined;
|
|
831
|
+
nodeIndex?: number | undefined;
|
|
825
832
|
}
|
|
826
833
|
export interface JobSummary {
|
|
827
|
-
jobArn?: string;
|
|
834
|
+
jobArn?: string | undefined;
|
|
828
835
|
jobId: string | undefined;
|
|
829
836
|
jobName: string | undefined;
|
|
830
|
-
createdAt?: number;
|
|
831
|
-
status?: JobStatus;
|
|
832
|
-
statusReason?: string;
|
|
833
|
-
startedAt?: number;
|
|
834
|
-
stoppedAt?: number;
|
|
835
|
-
container?: ContainerSummary;
|
|
836
|
-
arrayProperties?: ArrayPropertiesSummary;
|
|
837
|
-
nodeProperties?: NodePropertiesSummary;
|
|
838
|
-
jobDefinition?: string;
|
|
837
|
+
createdAt?: number | undefined;
|
|
838
|
+
status?: JobStatus | undefined;
|
|
839
|
+
statusReason?: string | undefined;
|
|
840
|
+
startedAt?: number | undefined;
|
|
841
|
+
stoppedAt?: number | undefined;
|
|
842
|
+
container?: ContainerSummary | undefined;
|
|
843
|
+
arrayProperties?: ArrayPropertiesSummary | undefined;
|
|
844
|
+
nodeProperties?: NodePropertiesSummary | undefined;
|
|
845
|
+
jobDefinition?: string | undefined;
|
|
839
846
|
}
|
|
840
847
|
export interface ListJobsResponse {
|
|
841
848
|
jobSummaryList: JobSummary[] | undefined;
|
|
842
|
-
nextToken?: string;
|
|
849
|
+
nextToken?: string | undefined;
|
|
843
850
|
}
|
|
844
851
|
export interface ListSchedulingPoliciesRequest {
|
|
845
|
-
maxResults?: number;
|
|
846
|
-
nextToken?: string;
|
|
852
|
+
maxResults?: number | undefined;
|
|
853
|
+
nextToken?: string | undefined;
|
|
847
854
|
}
|
|
848
855
|
export interface SchedulingPolicyListingDetail {
|
|
849
856
|
arn: string | undefined;
|
|
850
857
|
}
|
|
851
858
|
export interface ListSchedulingPoliciesResponse {
|
|
852
|
-
schedulingPolicies?: SchedulingPolicyListingDetail[];
|
|
853
|
-
nextToken?: string;
|
|
859
|
+
schedulingPolicies?: SchedulingPolicyListingDetail[] | undefined;
|
|
860
|
+
nextToken?: string | undefined;
|
|
854
861
|
}
|
|
855
862
|
export interface ListTagsForResourceRequest {
|
|
856
863
|
resourceArn: string | undefined;
|
|
857
864
|
}
|
|
858
865
|
export interface ListTagsForResourceResponse {
|
|
859
|
-
tags?: Record<string, string
|
|
866
|
+
tags?: Record<string, string> | undefined;
|
|
860
867
|
}
|
|
861
868
|
export declare const JobDefinitionType: {
|
|
862
869
|
readonly Container: "container";
|
|
@@ -867,17 +874,17 @@ export type JobDefinitionType =
|
|
|
867
874
|
export interface RegisterJobDefinitionRequest {
|
|
868
875
|
jobDefinitionName: string | undefined;
|
|
869
876
|
type: JobDefinitionType | undefined;
|
|
870
|
-
parameters?: Record<string, string
|
|
871
|
-
schedulingPriority?: number;
|
|
872
|
-
containerProperties?: ContainerProperties;
|
|
873
|
-
nodeProperties?: NodeProperties;
|
|
874
|
-
retryStrategy?: RetryStrategy;
|
|
875
|
-
propagateTags?: boolean;
|
|
876
|
-
timeout?: JobTimeout;
|
|
877
|
-
tags?: Record<string, string
|
|
878
|
-
platformCapabilities?: PlatformCapability[];
|
|
879
|
-
eksProperties?: EksProperties;
|
|
880
|
-
ecsProperties?: EcsProperties;
|
|
877
|
+
parameters?: Record<string, string> | undefined;
|
|
878
|
+
schedulingPriority?: number | undefined;
|
|
879
|
+
containerProperties?: ContainerProperties | undefined;
|
|
880
|
+
nodeProperties?: NodeProperties | undefined;
|
|
881
|
+
retryStrategy?: RetryStrategy | undefined;
|
|
882
|
+
propagateTags?: boolean | undefined;
|
|
883
|
+
timeout?: JobTimeout | undefined;
|
|
884
|
+
tags?: Record<string, string> | undefined;
|
|
885
|
+
platformCapabilities?: PlatformCapability[] | undefined;
|
|
886
|
+
eksProperties?: EksProperties | undefined;
|
|
887
|
+
ecsProperties?: EcsProperties | undefined;
|
|
881
888
|
}
|
|
882
889
|
export interface RegisterJobDefinitionResponse {
|
|
883
890
|
jobDefinitionName: string | undefined;
|
|
@@ -885,72 +892,72 @@ export interface RegisterJobDefinitionResponse {
|
|
|
885
892
|
revision: number | undefined;
|
|
886
893
|
}
|
|
887
894
|
export interface ContainerOverrides {
|
|
888
|
-
vcpus?: number;
|
|
889
|
-
memory?: number;
|
|
890
|
-
command?: string[];
|
|
891
|
-
instanceType?: string;
|
|
892
|
-
environment?: KeyValuePair[];
|
|
893
|
-
resourceRequirements?: ResourceRequirement[];
|
|
895
|
+
vcpus?: number | undefined;
|
|
896
|
+
memory?: number | undefined;
|
|
897
|
+
command?: string[] | undefined;
|
|
898
|
+
instanceType?: string | undefined;
|
|
899
|
+
environment?: KeyValuePair[] | undefined;
|
|
900
|
+
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
894
901
|
}
|
|
895
902
|
export interface TaskContainerOverrides {
|
|
896
|
-
command?: string[];
|
|
897
|
-
environment?: KeyValuePair[];
|
|
898
|
-
name?: string;
|
|
899
|
-
resourceRequirements?: ResourceRequirement[];
|
|
903
|
+
command?: string[] | undefined;
|
|
904
|
+
environment?: KeyValuePair[] | undefined;
|
|
905
|
+
name?: string | undefined;
|
|
906
|
+
resourceRequirements?: ResourceRequirement[] | undefined;
|
|
900
907
|
}
|
|
901
908
|
export interface TaskPropertiesOverride {
|
|
902
|
-
containers?: TaskContainerOverrides[];
|
|
909
|
+
containers?: TaskContainerOverrides[] | undefined;
|
|
903
910
|
}
|
|
904
911
|
export interface EcsPropertiesOverride {
|
|
905
|
-
taskProperties?: TaskPropertiesOverride[];
|
|
912
|
+
taskProperties?: TaskPropertiesOverride[] | undefined;
|
|
906
913
|
}
|
|
907
914
|
export interface EksContainerOverride {
|
|
908
|
-
name?: string;
|
|
909
|
-
image?: string;
|
|
910
|
-
command?: string[];
|
|
911
|
-
args?: string[];
|
|
912
|
-
env?: EksContainerEnvironmentVariable[];
|
|
913
|
-
resources?: EksContainerResourceRequirements;
|
|
915
|
+
name?: string | undefined;
|
|
916
|
+
image?: string | undefined;
|
|
917
|
+
command?: string[] | undefined;
|
|
918
|
+
args?: string[] | undefined;
|
|
919
|
+
env?: EksContainerEnvironmentVariable[] | undefined;
|
|
920
|
+
resources?: EksContainerResourceRequirements | undefined;
|
|
914
921
|
}
|
|
915
922
|
export interface EksPodPropertiesOverride {
|
|
916
|
-
containers?: EksContainerOverride[];
|
|
917
|
-
initContainers?: EksContainerOverride[];
|
|
918
|
-
metadata?: EksMetadata;
|
|
923
|
+
containers?: EksContainerOverride[] | undefined;
|
|
924
|
+
initContainers?: EksContainerOverride[] | undefined;
|
|
925
|
+
metadata?: EksMetadata | undefined;
|
|
919
926
|
}
|
|
920
927
|
export interface EksPropertiesOverride {
|
|
921
|
-
podProperties?: EksPodPropertiesOverride;
|
|
928
|
+
podProperties?: EksPodPropertiesOverride | undefined;
|
|
922
929
|
}
|
|
923
930
|
export interface NodePropertyOverride {
|
|
924
931
|
targetNodes: string | undefined;
|
|
925
|
-
containerOverrides?: ContainerOverrides;
|
|
926
|
-
ecsPropertiesOverride?: EcsPropertiesOverride;
|
|
927
|
-
instanceTypes?: string[];
|
|
928
|
-
eksPropertiesOverride?: EksPropertiesOverride;
|
|
932
|
+
containerOverrides?: ContainerOverrides | undefined;
|
|
933
|
+
ecsPropertiesOverride?: EcsPropertiesOverride | undefined;
|
|
934
|
+
instanceTypes?: string[] | undefined;
|
|
935
|
+
eksPropertiesOverride?: EksPropertiesOverride | undefined;
|
|
929
936
|
}
|
|
930
937
|
export interface NodeOverrides {
|
|
931
|
-
numNodes?: number;
|
|
932
|
-
nodePropertyOverrides?: NodePropertyOverride[];
|
|
938
|
+
numNodes?: number | undefined;
|
|
939
|
+
nodePropertyOverrides?: NodePropertyOverride[] | undefined;
|
|
933
940
|
}
|
|
934
941
|
export interface SubmitJobRequest {
|
|
935
942
|
jobName: string | undefined;
|
|
936
943
|
jobQueue: string | undefined;
|
|
937
|
-
shareIdentifier?: string;
|
|
938
|
-
schedulingPriorityOverride?: number;
|
|
939
|
-
arrayProperties?: ArrayProperties;
|
|
940
|
-
dependsOn?: JobDependency[];
|
|
944
|
+
shareIdentifier?: string | undefined;
|
|
945
|
+
schedulingPriorityOverride?: number | undefined;
|
|
946
|
+
arrayProperties?: ArrayProperties | undefined;
|
|
947
|
+
dependsOn?: JobDependency[] | undefined;
|
|
941
948
|
jobDefinition: string | undefined;
|
|
942
|
-
parameters?: Record<string, string
|
|
943
|
-
containerOverrides?: ContainerOverrides;
|
|
944
|
-
nodeOverrides?: NodeOverrides;
|
|
945
|
-
retryStrategy?: RetryStrategy;
|
|
946
|
-
propagateTags?: boolean;
|
|
947
|
-
timeout?: JobTimeout;
|
|
948
|
-
tags?: Record<string, string
|
|
949
|
-
eksPropertiesOverride?: EksPropertiesOverride;
|
|
950
|
-
ecsPropertiesOverride?: EcsPropertiesOverride;
|
|
949
|
+
parameters?: Record<string, string> | undefined;
|
|
950
|
+
containerOverrides?: ContainerOverrides | undefined;
|
|
951
|
+
nodeOverrides?: NodeOverrides | undefined;
|
|
952
|
+
retryStrategy?: RetryStrategy | undefined;
|
|
953
|
+
propagateTags?: boolean | undefined;
|
|
954
|
+
timeout?: JobTimeout | undefined;
|
|
955
|
+
tags?: Record<string, string> | undefined;
|
|
956
|
+
eksPropertiesOverride?: EksPropertiesOverride | undefined;
|
|
957
|
+
ecsPropertiesOverride?: EcsPropertiesOverride | undefined;
|
|
951
958
|
}
|
|
952
959
|
export interface SubmitJobResponse {
|
|
953
|
-
jobArn?: string;
|
|
960
|
+
jobArn?: string | undefined;
|
|
954
961
|
jobName: string | undefined;
|
|
955
962
|
jobId: string | undefined;
|
|
956
963
|
}
|
|
@@ -977,51 +984,51 @@ export declare const CRUpdateAllocationStrategy: {
|
|
|
977
984
|
export type CRUpdateAllocationStrategy =
|
|
978
985
|
(typeof CRUpdateAllocationStrategy)[keyof typeof CRUpdateAllocationStrategy];
|
|
979
986
|
export interface ComputeResourceUpdate {
|
|
980
|
-
minvCpus?: number;
|
|
981
|
-
maxvCpus?: number;
|
|
982
|
-
desiredvCpus?: number;
|
|
983
|
-
subnets?: string[];
|
|
984
|
-
securityGroupIds?: string[];
|
|
985
|
-
allocationStrategy?: CRUpdateAllocationStrategy;
|
|
986
|
-
instanceTypes?: string[];
|
|
987
|
-
ec2KeyPair?: string;
|
|
988
|
-
instanceRole?: string;
|
|
989
|
-
tags?: Record<string, string
|
|
990
|
-
placementGroup?: string;
|
|
991
|
-
bidPercentage?: number;
|
|
992
|
-
launchTemplate?: LaunchTemplateSpecification;
|
|
993
|
-
ec2Configuration?: Ec2Configuration[];
|
|
994
|
-
updateToLatestImageVersion?: boolean;
|
|
995
|
-
type?: CRType;
|
|
996
|
-
imageId?: string;
|
|
987
|
+
minvCpus?: number | undefined;
|
|
988
|
+
maxvCpus?: number | undefined;
|
|
989
|
+
desiredvCpus?: number | undefined;
|
|
990
|
+
subnets?: string[] | undefined;
|
|
991
|
+
securityGroupIds?: string[] | undefined;
|
|
992
|
+
allocationStrategy?: CRUpdateAllocationStrategy | undefined;
|
|
993
|
+
instanceTypes?: string[] | undefined;
|
|
994
|
+
ec2KeyPair?: string | undefined;
|
|
995
|
+
instanceRole?: string | undefined;
|
|
996
|
+
tags?: Record<string, string> | undefined;
|
|
997
|
+
placementGroup?: string | undefined;
|
|
998
|
+
bidPercentage?: number | undefined;
|
|
999
|
+
launchTemplate?: LaunchTemplateSpecification | undefined;
|
|
1000
|
+
ec2Configuration?: Ec2Configuration[] | undefined;
|
|
1001
|
+
updateToLatestImageVersion?: boolean | undefined;
|
|
1002
|
+
type?: CRType | undefined;
|
|
1003
|
+
imageId?: string | undefined;
|
|
997
1004
|
}
|
|
998
1005
|
export interface UpdateComputeEnvironmentRequest {
|
|
999
1006
|
computeEnvironment: string | undefined;
|
|
1000
|
-
state?: CEState;
|
|
1001
|
-
unmanagedvCpus?: number;
|
|
1002
|
-
computeResources?: ComputeResourceUpdate;
|
|
1003
|
-
serviceRole?: string;
|
|
1004
|
-
updatePolicy?: UpdatePolicy;
|
|
1005
|
-
context?: string;
|
|
1007
|
+
state?: CEState | undefined;
|
|
1008
|
+
unmanagedvCpus?: number | undefined;
|
|
1009
|
+
computeResources?: ComputeResourceUpdate | undefined;
|
|
1010
|
+
serviceRole?: string | undefined;
|
|
1011
|
+
updatePolicy?: UpdatePolicy | undefined;
|
|
1012
|
+
context?: string | undefined;
|
|
1006
1013
|
}
|
|
1007
1014
|
export interface UpdateComputeEnvironmentResponse {
|
|
1008
|
-
computeEnvironmentName?: string;
|
|
1009
|
-
computeEnvironmentArn?: string;
|
|
1015
|
+
computeEnvironmentName?: string | undefined;
|
|
1016
|
+
computeEnvironmentArn?: string | undefined;
|
|
1010
1017
|
}
|
|
1011
1018
|
export interface UpdateJobQueueRequest {
|
|
1012
1019
|
jobQueue: string | undefined;
|
|
1013
|
-
state?: JQState;
|
|
1014
|
-
schedulingPolicyArn?: string;
|
|
1015
|
-
priority?: number;
|
|
1016
|
-
computeEnvironmentOrder?: ComputeEnvironmentOrder[];
|
|
1017
|
-
jobStateTimeLimitActions?: JobStateTimeLimitAction[];
|
|
1020
|
+
state?: JQState | undefined;
|
|
1021
|
+
schedulingPolicyArn?: string | undefined;
|
|
1022
|
+
priority?: number | undefined;
|
|
1023
|
+
computeEnvironmentOrder?: ComputeEnvironmentOrder[] | undefined;
|
|
1024
|
+
jobStateTimeLimitActions?: JobStateTimeLimitAction[] | undefined;
|
|
1018
1025
|
}
|
|
1019
1026
|
export interface UpdateJobQueueResponse {
|
|
1020
|
-
jobQueueName?: string;
|
|
1021
|
-
jobQueueArn?: string;
|
|
1027
|
+
jobQueueName?: string | undefined;
|
|
1028
|
+
jobQueueArn?: string | undefined;
|
|
1022
1029
|
}
|
|
1023
1030
|
export interface UpdateSchedulingPolicyRequest {
|
|
1024
1031
|
arn: string | undefined;
|
|
1025
|
-
fairsharePolicy?: FairsharePolicy;
|
|
1032
|
+
fairsharePolicy?: FairsharePolicy | undefined;
|
|
1026
1033
|
}
|
|
1027
1034
|
export interface UpdateSchedulingPolicyResponse {}
|