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