@aws-sdk/client-batch 3.168.0 → 3.170.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Batch.d.ts +436 -125
  3. package/dist-types/ts3.4/BatchClient.d.ts +273 -97
  4. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +34 -17
  5. package/dist-types/ts3.4/commands/CreateComputeEnvironmentCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/CreateJobQueueCommand.d.ts +37 -17
  7. package/dist-types/ts3.4/commands/CreateSchedulingPolicyCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/DeleteComputeEnvironmentCommand.d.ts +41 -17
  9. package/dist-types/ts3.4/commands/DeleteJobQueueCommand.d.ts +37 -17
  10. package/dist-types/ts3.4/commands/DeleteSchedulingPolicyCommand.d.ts +41 -17
  11. package/dist-types/ts3.4/commands/DeregisterJobDefinitionCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/DescribeComputeEnvironmentsCommand.d.ts +41 -17
  13. package/dist-types/ts3.4/commands/DescribeJobDefinitionsCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DescribeJobQueuesCommand.d.ts +38 -17
  15. package/dist-types/ts3.4/commands/DescribeJobsCommand.d.ts +34 -17
  16. package/dist-types/ts3.4/commands/DescribeSchedulingPoliciesCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +34 -17
  18. package/dist-types/ts3.4/commands/ListSchedulingPoliciesCommand.d.ts +41 -17
  19. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  20. package/dist-types/ts3.4/commands/RegisterJobDefinitionCommand.d.ts +41 -17
  21. package/dist-types/ts3.4/commands/SubmitJobCommand.d.ts +34 -17
  22. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  23. package/dist-types/ts3.4/commands/TerminateJobCommand.d.ts +34 -17
  24. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  25. package/dist-types/ts3.4/commands/UpdateComputeEnvironmentCommand.d.ts +41 -17
  26. package/dist-types/ts3.4/commands/UpdateJobQueueCommand.d.ts +37 -17
  27. package/dist-types/ts3.4/commands/UpdateSchedulingPolicyCommand.d.ts +41 -17
  28. package/dist-types/ts3.4/commands/index.d.ts +24 -24
  29. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  30. package/dist-types/ts3.4/index.d.ts +6 -6
  31. package/dist-types/ts3.4/models/BatchServiceException.d.ts +8 -6
  32. package/dist-types/ts3.4/models/index.d.ts +1 -1
  33. package/dist-types/ts3.4/models/models_0.d.ts +1418 -1345
  34. package/dist-types/ts3.4/pagination/DescribeComputeEnvironmentsPaginator.d.ts +11 -4
  35. package/dist-types/ts3.4/pagination/DescribeJobDefinitionsPaginator.d.ts +11 -4
  36. package/dist-types/ts3.4/pagination/DescribeJobQueuesPaginator.d.ts +11 -4
  37. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -6
  38. package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +11 -4
  39. package/dist-types/ts3.4/pagination/ListSchedulingPoliciesPaginator.d.ts +11 -4
  40. package/dist-types/ts3.4/pagination/index.d.ts +6 -6
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -74
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  46. package/package.json +34 -34
@@ -1,1345 +1,1418 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { BatchServiceException as __BaseException } from "./BatchServiceException";
3
- export declare enum ArrayJobDependency {
4
- N_TO_N = "N_TO_N",
5
- SEQUENTIAL = "SEQUENTIAL"
6
- }
7
-
8
- export interface ArrayProperties {
9
-
10
- size?: number;
11
- }
12
-
13
- export interface ArrayPropertiesDetail {
14
-
15
- statusSummary?: Record<string, number>;
16
-
17
- size?: number;
18
-
19
- index?: number;
20
- }
21
-
22
- export interface ArrayPropertiesSummary {
23
-
24
- size?: number;
25
-
26
- index?: number;
27
- }
28
- export declare enum AssignPublicIp {
29
- DISABLED = "DISABLED",
30
- ENABLED = "ENABLED"
31
- }
32
-
33
- export interface NetworkInterface {
34
-
35
- attachmentId?: string;
36
-
37
- ipv6Address?: string;
38
-
39
- privateIpv4Address?: string;
40
- }
41
-
42
- export interface AttemptContainerDetail {
43
-
44
- containerInstanceArn?: string;
45
-
46
- taskArn?: string;
47
-
48
- exitCode?: number;
49
-
50
- reason?: string;
51
-
52
- logStreamName?: string;
53
-
54
- networkInterfaces?: NetworkInterface[];
55
- }
56
-
57
- export interface AttemptDetail {
58
-
59
- container?: AttemptContainerDetail;
60
-
61
- startedAt?: number;
62
-
63
- stoppedAt?: number;
64
-
65
- statusReason?: string;
66
- }
67
-
68
- export interface CancelJobRequest {
69
-
70
- jobId: string | undefined;
71
-
72
- reason: string | undefined;
73
- }
74
- export interface CancelJobResponse {
75
- }
76
-
77
- export declare class ClientException extends __BaseException {
78
- readonly name: "ClientException";
79
- readonly $fault: "client";
80
-
81
- constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
82
- }
83
-
84
- export declare class ServerException extends __BaseException {
85
- readonly name: "ServerException";
86
- readonly $fault: "server";
87
-
88
- constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
89
- }
90
- export declare enum CRAllocationStrategy {
91
- BEST_FIT = "BEST_FIT",
92
- BEST_FIT_PROGRESSIVE = "BEST_FIT_PROGRESSIVE",
93
- SPOT_CAPACITY_OPTIMIZED = "SPOT_CAPACITY_OPTIMIZED"
94
- }
95
-
96
- export interface Ec2Configuration {
97
-
98
- imageType: string | undefined;
99
-
100
- imageIdOverride?: string;
101
- }
102
-
103
- export interface LaunchTemplateSpecification {
104
-
105
- launchTemplateId?: string;
106
-
107
- launchTemplateName?: string;
108
-
109
- version?: string;
110
- }
111
- export declare enum CRType {
112
- EC2 = "EC2",
113
- FARGATE = "FARGATE",
114
- FARGATE_SPOT = "FARGATE_SPOT",
115
- SPOT = "SPOT"
116
- }
117
-
118
- export interface ComputeResource {
119
-
120
- type: CRType | string | undefined;
121
-
122
- allocationStrategy?: CRAllocationStrategy | string;
123
-
124
- minvCpus?: number;
125
-
126
- maxvCpus: number | undefined;
127
-
128
- desiredvCpus?: number;
129
-
130
- instanceTypes?: string[];
131
-
132
- imageId?: string;
133
-
134
- subnets: string[] | undefined;
135
-
136
- securityGroupIds?: string[];
137
-
138
- ec2KeyPair?: string;
139
-
140
- instanceRole?: string;
141
-
142
- tags?: Record<string, string>;
143
-
144
- placementGroup?: string;
145
-
146
- bidPercentage?: number;
147
-
148
- spotIamFleetRole?: string;
149
-
150
- launchTemplate?: LaunchTemplateSpecification;
151
-
152
- ec2Configuration?: Ec2Configuration[];
153
- }
154
- export declare enum CEState {
155
- DISABLED = "DISABLED",
156
- ENABLED = "ENABLED"
157
- }
158
- export declare enum CEType {
159
- MANAGED = "MANAGED",
160
- UNMANAGED = "UNMANAGED"
161
- }
162
-
163
- export interface CreateComputeEnvironmentRequest {
164
-
165
- computeEnvironmentName: string | undefined;
166
-
167
- type: CEType | string | undefined;
168
-
169
- state?: CEState | string;
170
-
171
- unmanagedvCpus?: number;
172
-
173
- computeResources?: ComputeResource;
174
-
175
- serviceRole?: string;
176
-
177
- tags?: Record<string, string>;
178
- }
179
- export interface CreateComputeEnvironmentResponse {
180
-
181
- computeEnvironmentName?: string;
182
-
183
- computeEnvironmentArn?: string;
184
- }
185
-
186
- export interface ComputeEnvironmentOrder {
187
-
188
- order: number | undefined;
189
-
190
- computeEnvironment: string | undefined;
191
- }
192
- export declare enum JQState {
193
- DISABLED = "DISABLED",
194
- ENABLED = "ENABLED"
195
- }
196
-
197
- export interface CreateJobQueueRequest {
198
-
199
- jobQueueName: string | undefined;
200
-
201
- state?: JQState | string;
202
-
203
- schedulingPolicyArn?: string;
204
-
205
- priority: number | undefined;
206
-
207
- computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
208
-
209
- tags?: Record<string, string>;
210
- }
211
- export interface CreateJobQueueResponse {
212
-
213
- jobQueueName: string | undefined;
214
-
215
- jobQueueArn: string | undefined;
216
- }
217
-
218
- export interface ShareAttributes {
219
-
220
- shareIdentifier: string | undefined;
221
-
222
- weightFactor?: number;
223
- }
224
-
225
- export interface FairsharePolicy {
226
-
227
- shareDecaySeconds?: number;
228
-
229
- computeReservation?: number;
230
-
231
- shareDistribution?: ShareAttributes[];
232
- }
233
-
234
- export interface CreateSchedulingPolicyRequest {
235
-
236
- name: string | undefined;
237
-
238
- fairsharePolicy?: FairsharePolicy;
239
-
240
- tags?: Record<string, string>;
241
- }
242
- export interface CreateSchedulingPolicyResponse {
243
-
244
- name: string | undefined;
245
-
246
- arn: string | undefined;
247
- }
248
-
249
- export interface DeleteComputeEnvironmentRequest {
250
-
251
- computeEnvironment: string | undefined;
252
- }
253
- export interface DeleteComputeEnvironmentResponse {
254
- }
255
-
256
- export interface DeleteJobQueueRequest {
257
-
258
- jobQueue: string | undefined;
259
- }
260
- export interface DeleteJobQueueResponse {
261
- }
262
-
263
- export interface DeleteSchedulingPolicyRequest {
264
-
265
- arn: string | undefined;
266
- }
267
- export interface DeleteSchedulingPolicyResponse {
268
- }
269
- export interface DeregisterJobDefinitionRequest {
270
-
271
- jobDefinition: string | undefined;
272
- }
273
- export interface DeregisterJobDefinitionResponse {
274
- }
275
-
276
- export interface DescribeComputeEnvironmentsRequest {
277
-
278
- computeEnvironments?: string[];
279
-
280
- maxResults?: number;
281
-
282
- nextToken?: string;
283
- }
284
- export declare enum CEStatus {
285
- CREATING = "CREATING",
286
- DELETED = "DELETED",
287
- DELETING = "DELETING",
288
- INVALID = "INVALID",
289
- UPDATING = "UPDATING",
290
- VALID = "VALID"
291
- }
292
-
293
- export interface UpdatePolicy {
294
-
295
- terminateJobsOnUpdate?: boolean;
296
-
297
- jobExecutionTimeoutMinutes?: number;
298
- }
299
-
300
- export interface ComputeEnvironmentDetail {
301
-
302
- computeEnvironmentName: string | undefined;
303
-
304
- computeEnvironmentArn: string | undefined;
305
-
306
- unmanagedvCpus?: number;
307
-
308
- ecsClusterArn?: string;
309
-
310
- tags?: Record<string, string>;
311
-
312
- type?: CEType | string;
313
-
314
- state?: CEState | string;
315
-
316
- status?: CEStatus | string;
317
-
318
- statusReason?: string;
319
-
320
- computeResources?: ComputeResource;
321
-
322
- serviceRole?: string;
323
-
324
- updatePolicy?: UpdatePolicy;
325
- }
326
- export interface DescribeComputeEnvironmentsResponse {
327
-
328
- computeEnvironments?: ComputeEnvironmentDetail[];
329
-
330
- nextToken?: string;
331
- }
332
-
333
- export interface DescribeJobDefinitionsRequest {
334
-
335
- jobDefinitions?: string[];
336
-
337
- maxResults?: number;
338
-
339
- jobDefinitionName?: string;
340
-
341
- status?: string;
342
-
343
- nextToken?: string;
344
- }
345
-
346
- export interface KeyValuePair {
347
-
348
- name?: string;
349
-
350
- value?: string;
351
- }
352
-
353
- export interface FargatePlatformConfiguration {
354
-
355
- platformVersion?: string;
356
- }
357
- export declare enum DeviceCgroupPermission {
358
- MKNOD = "MKNOD",
359
- READ = "READ",
360
- WRITE = "WRITE"
361
- }
362
-
363
- export interface Device {
364
-
365
- hostPath: string | undefined;
366
-
367
- containerPath?: string;
368
-
369
- permissions?: (DeviceCgroupPermission | string)[];
370
- }
371
-
372
- export interface Tmpfs {
373
-
374
- containerPath: string | undefined;
375
-
376
- size: number | undefined;
377
-
378
- mountOptions?: string[];
379
- }
380
-
381
- export interface LinuxParameters {
382
-
383
- devices?: Device[];
384
-
385
- initProcessEnabled?: boolean;
386
-
387
- sharedMemorySize?: number;
388
-
389
- tmpfs?: Tmpfs[];
390
-
391
- maxSwap?: number;
392
-
393
- swappiness?: number;
394
- }
395
- export declare enum LogDriver {
396
- AWSLOGS = "awslogs",
397
- FLUENTD = "fluentd",
398
- GELF = "gelf",
399
- JOURNALD = "journald",
400
- JSON_FILE = "json-file",
401
- SPLUNK = "splunk",
402
- SYSLOG = "syslog"
403
- }
404
-
405
- export interface Secret {
406
-
407
- name: string | undefined;
408
-
409
- valueFrom: string | undefined;
410
- }
411
-
412
- export interface LogConfiguration {
413
-
414
- logDriver: LogDriver | string | undefined;
415
-
416
- options?: Record<string, string>;
417
-
418
- secretOptions?: Secret[];
419
- }
420
-
421
- export interface MountPoint {
422
-
423
- containerPath?: string;
424
-
425
- readOnly?: boolean;
426
-
427
- sourceVolume?: string;
428
- }
429
-
430
- export interface NetworkConfiguration {
431
-
432
- assignPublicIp?: AssignPublicIp | string;
433
- }
434
- export declare enum ResourceType {
435
- GPU = "GPU",
436
- MEMORY = "MEMORY",
437
- VCPU = "VCPU"
438
- }
439
-
440
- export interface ResourceRequirement {
441
-
442
- value: string | undefined;
443
-
444
- type: ResourceType | string | undefined;
445
- }
446
-
447
- export interface Ulimit {
448
-
449
- hardLimit: number | undefined;
450
-
451
- name: string | undefined;
452
-
453
- softLimit: number | undefined;
454
- }
455
- export declare enum EFSAuthorizationConfigIAM {
456
- DISABLED = "DISABLED",
457
- ENABLED = "ENABLED"
458
- }
459
-
460
- export interface EFSAuthorizationConfig {
461
-
462
- accessPointId?: string;
463
-
464
- iam?: EFSAuthorizationConfigIAM | string;
465
- }
466
- export declare enum EFSTransitEncryption {
467
- DISABLED = "DISABLED",
468
- ENABLED = "ENABLED"
469
- }
470
-
471
- export interface EFSVolumeConfiguration {
472
-
473
- fileSystemId: string | undefined;
474
-
475
- rootDirectory?: string;
476
-
477
- transitEncryption?: EFSTransitEncryption | string;
478
-
479
- transitEncryptionPort?: number;
480
-
481
- authorizationConfig?: EFSAuthorizationConfig;
482
- }
483
-
484
- export interface Host {
485
-
486
- sourcePath?: string;
487
- }
488
-
489
- export interface Volume {
490
-
491
- host?: Host;
492
-
493
- name?: string;
494
-
495
- efsVolumeConfiguration?: EFSVolumeConfiguration;
496
- }
497
-
498
- export interface ContainerProperties {
499
-
500
- image?: string;
501
-
502
- vcpus?: number;
503
-
504
- memory?: number;
505
-
506
- command?: string[];
507
-
508
- jobRoleArn?: string;
509
-
510
- executionRoleArn?: string;
511
-
512
- volumes?: Volume[];
513
-
514
- environment?: KeyValuePair[];
515
-
516
- mountPoints?: MountPoint[];
517
-
518
- readonlyRootFilesystem?: boolean;
519
-
520
- privileged?: boolean;
521
-
522
- ulimits?: Ulimit[];
523
-
524
- user?: string;
525
-
526
- instanceType?: string;
527
-
528
- resourceRequirements?: ResourceRequirement[];
529
-
530
- linuxParameters?: LinuxParameters;
531
-
532
- logConfiguration?: LogConfiguration;
533
-
534
- secrets?: Secret[];
535
-
536
- networkConfiguration?: NetworkConfiguration;
537
-
538
- fargatePlatformConfiguration?: FargatePlatformConfiguration;
539
- }
540
-
541
- export interface NodeRangeProperty {
542
-
543
- targetNodes: string | undefined;
544
-
545
- container?: ContainerProperties;
546
- }
547
-
548
- export interface NodeProperties {
549
-
550
- numNodes: number | undefined;
551
-
552
- mainNode: number | undefined;
553
-
554
- nodeRangeProperties: NodeRangeProperty[] | undefined;
555
- }
556
- export declare enum PlatformCapability {
557
- EC2 = "EC2",
558
- FARGATE = "FARGATE"
559
- }
560
- export declare enum RetryAction {
561
- EXIT = "EXIT",
562
- RETRY = "RETRY"
563
- }
564
-
565
- export interface EvaluateOnExit {
566
-
567
- onStatusReason?: string;
568
-
569
- onReason?: string;
570
-
571
- onExitCode?: string;
572
-
573
- action: RetryAction | string | undefined;
574
- }
575
-
576
- export interface RetryStrategy {
577
-
578
- attempts?: number;
579
-
580
- evaluateOnExit?: EvaluateOnExit[];
581
- }
582
-
583
- export interface JobTimeout {
584
-
585
- attemptDurationSeconds?: number;
586
- }
587
-
588
- export interface JobDefinition {
589
-
590
- jobDefinitionName: string | undefined;
591
-
592
- jobDefinitionArn: string | undefined;
593
-
594
- revision: number | undefined;
595
-
596
- status?: string;
597
-
598
- type: string | undefined;
599
-
600
- schedulingPriority?: number;
601
-
602
- parameters?: Record<string, string>;
603
-
604
- retryStrategy?: RetryStrategy;
605
-
606
- containerProperties?: ContainerProperties;
607
-
608
- timeout?: JobTimeout;
609
-
610
- nodeProperties?: NodeProperties;
611
-
612
- tags?: Record<string, string>;
613
-
614
- propagateTags?: boolean;
615
-
616
- platformCapabilities?: (PlatformCapability | string)[];
617
- }
618
- export interface DescribeJobDefinitionsResponse {
619
-
620
- jobDefinitions?: JobDefinition[];
621
-
622
- nextToken?: string;
623
- }
624
-
625
- export interface DescribeJobQueuesRequest {
626
-
627
- jobQueues?: string[];
628
-
629
- maxResults?: number;
630
-
631
- nextToken?: string;
632
- }
633
- export declare enum JQStatus {
634
- CREATING = "CREATING",
635
- DELETED = "DELETED",
636
- DELETING = "DELETING",
637
- INVALID = "INVALID",
638
- UPDATING = "UPDATING",
639
- VALID = "VALID"
640
- }
641
-
642
- export interface JobQueueDetail {
643
-
644
- jobQueueName: string | undefined;
645
-
646
- jobQueueArn: string | undefined;
647
-
648
- state: JQState | string | undefined;
649
-
650
- schedulingPolicyArn?: string;
651
-
652
- status?: JQStatus | string;
653
-
654
- statusReason?: string;
655
-
656
- priority: number | undefined;
657
-
658
- computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
659
-
660
- tags?: Record<string, string>;
661
- }
662
- export interface DescribeJobQueuesResponse {
663
-
664
- jobQueues?: JobQueueDetail[];
665
-
666
- nextToken?: string;
667
- }
668
-
669
- export interface DescribeJobsRequest {
670
-
671
- jobs: string[] | undefined;
672
- }
673
-
674
- export interface ContainerDetail {
675
-
676
- image?: string;
677
-
678
- vcpus?: number;
679
-
680
- memory?: number;
681
-
682
- command?: string[];
683
-
684
- jobRoleArn?: string;
685
-
686
- executionRoleArn?: string;
687
-
688
- volumes?: Volume[];
689
-
690
- environment?: KeyValuePair[];
691
-
692
- mountPoints?: MountPoint[];
693
-
694
- readonlyRootFilesystem?: boolean;
695
-
696
- ulimits?: Ulimit[];
697
-
698
- privileged?: boolean;
699
-
700
- user?: string;
701
-
702
- exitCode?: number;
703
-
704
- reason?: string;
705
-
706
- containerInstanceArn?: string;
707
-
708
- taskArn?: string;
709
-
710
- logStreamName?: string;
711
-
712
- instanceType?: string;
713
-
714
- networkInterfaces?: NetworkInterface[];
715
-
716
- resourceRequirements?: ResourceRequirement[];
717
-
718
- linuxParameters?: LinuxParameters;
719
-
720
- logConfiguration?: LogConfiguration;
721
-
722
- secrets?: Secret[];
723
-
724
- networkConfiguration?: NetworkConfiguration;
725
-
726
- fargatePlatformConfiguration?: FargatePlatformConfiguration;
727
- }
728
-
729
- export interface JobDependency {
730
-
731
- jobId?: string;
732
-
733
- type?: ArrayJobDependency | string;
734
- }
735
-
736
- export interface NodeDetails {
737
-
738
- nodeIndex?: number;
739
-
740
- isMainNode?: boolean;
741
- }
742
- export declare enum JobStatus {
743
- FAILED = "FAILED",
744
- PENDING = "PENDING",
745
- RUNNABLE = "RUNNABLE",
746
- RUNNING = "RUNNING",
747
- STARTING = "STARTING",
748
- SUBMITTED = "SUBMITTED",
749
- SUCCEEDED = "SUCCEEDED"
750
- }
751
-
752
- export interface JobDetail {
753
-
754
- jobArn?: string;
755
-
756
- jobName: string | undefined;
757
-
758
- jobId: string | undefined;
759
-
760
- jobQueue: string | undefined;
761
-
762
- status: JobStatus | string | undefined;
763
-
764
- shareIdentifier?: string;
765
-
766
- schedulingPriority?: number;
767
-
768
- attempts?: AttemptDetail[];
769
-
770
- statusReason?: string;
771
-
772
- createdAt?: number;
773
-
774
- retryStrategy?: RetryStrategy;
775
-
776
- startedAt: number | undefined;
777
-
778
- stoppedAt?: number;
779
-
780
- dependsOn?: JobDependency[];
781
-
782
- jobDefinition: string | undefined;
783
-
784
- parameters?: Record<string, string>;
785
-
786
- container?: ContainerDetail;
787
-
788
- nodeDetails?: NodeDetails;
789
-
790
- nodeProperties?: NodeProperties;
791
-
792
- arrayProperties?: ArrayPropertiesDetail;
793
-
794
- timeout?: JobTimeout;
795
-
796
- tags?: Record<string, string>;
797
-
798
- propagateTags?: boolean;
799
-
800
- platformCapabilities?: (PlatformCapability | string)[];
801
- }
802
- export interface DescribeJobsResponse {
803
-
804
- jobs?: JobDetail[];
805
- }
806
-
807
- export interface DescribeSchedulingPoliciesRequest {
808
-
809
- arns: string[] | undefined;
810
- }
811
-
812
- export interface SchedulingPolicyDetail {
813
-
814
- name: string | undefined;
815
-
816
- arn: string | undefined;
817
-
818
- fairsharePolicy?: FairsharePolicy;
819
-
820
- tags?: Record<string, string>;
821
- }
822
- export interface DescribeSchedulingPoliciesResponse {
823
-
824
- schedulingPolicies?: SchedulingPolicyDetail[];
825
- }
826
-
827
- export interface KeyValuesPair {
828
-
829
- name?: string;
830
-
831
- values?: string[];
832
- }
833
-
834
- export interface ListJobsRequest {
835
-
836
- jobQueue?: string;
837
-
838
- arrayJobId?: string;
839
-
840
- multiNodeJobId?: string;
841
-
842
- jobStatus?: JobStatus | string;
843
-
844
- maxResults?: number;
845
-
846
- nextToken?: string;
847
-
848
- filters?: KeyValuesPair[];
849
- }
850
-
851
- export interface ContainerSummary {
852
-
853
- exitCode?: number;
854
-
855
- reason?: string;
856
- }
857
-
858
- export interface NodePropertiesSummary {
859
-
860
- isMainNode?: boolean;
861
-
862
- numNodes?: number;
863
-
864
- nodeIndex?: number;
865
- }
866
-
867
- export interface JobSummary {
868
-
869
- jobArn?: string;
870
-
871
- jobId: string | undefined;
872
-
873
- jobName: string | undefined;
874
-
875
- createdAt?: number;
876
-
877
- status?: JobStatus | string;
878
-
879
- statusReason?: string;
880
-
881
- startedAt?: number;
882
-
883
- stoppedAt?: number;
884
-
885
- container?: ContainerSummary;
886
-
887
- arrayProperties?: ArrayPropertiesSummary;
888
-
889
- nodeProperties?: NodePropertiesSummary;
890
-
891
- jobDefinition?: string;
892
- }
893
- export interface ListJobsResponse {
894
-
895
- jobSummaryList: JobSummary[] | undefined;
896
-
897
- nextToken?: string;
898
- }
899
-
900
- export interface ListSchedulingPoliciesRequest {
901
-
902
- maxResults?: number;
903
-
904
- nextToken?: string;
905
- }
906
-
907
- export interface SchedulingPolicyListingDetail {
908
-
909
- arn: string | undefined;
910
- }
911
- export interface ListSchedulingPoliciesResponse {
912
-
913
- schedulingPolicies?: SchedulingPolicyListingDetail[];
914
-
915
- nextToken?: string;
916
- }
917
-
918
- export interface ListTagsForResourceRequest {
919
-
920
- resourceArn: string | undefined;
921
- }
922
- export interface ListTagsForResourceResponse {
923
-
924
- tags?: Record<string, string>;
925
- }
926
- export declare enum JobDefinitionType {
927
- Container = "container",
928
- Multinode = "multinode"
929
- }
930
-
931
- export interface RegisterJobDefinitionRequest {
932
-
933
- jobDefinitionName: string | undefined;
934
-
935
- type: JobDefinitionType | string | undefined;
936
-
937
- parameters?: Record<string, string>;
938
-
939
- schedulingPriority?: number;
940
-
941
- containerProperties?: ContainerProperties;
942
-
943
- nodeProperties?: NodeProperties;
944
-
945
- retryStrategy?: RetryStrategy;
946
-
947
- propagateTags?: boolean;
948
-
949
- timeout?: JobTimeout;
950
-
951
- tags?: Record<string, string>;
952
-
953
- platformCapabilities?: (PlatformCapability | string)[];
954
- }
955
- export interface RegisterJobDefinitionResponse {
956
-
957
- jobDefinitionName: string | undefined;
958
-
959
- jobDefinitionArn: string | undefined;
960
-
961
- revision: number | undefined;
962
- }
963
-
964
- export interface ContainerOverrides {
965
-
966
- vcpus?: number;
967
-
968
- memory?: number;
969
-
970
- command?: string[];
971
-
972
- instanceType?: string;
973
-
974
- environment?: KeyValuePair[];
975
-
976
- resourceRequirements?: ResourceRequirement[];
977
- }
978
-
979
- export interface NodePropertyOverride {
980
-
981
- targetNodes: string | undefined;
982
-
983
- containerOverrides?: ContainerOverrides;
984
- }
985
-
986
- export interface NodeOverrides {
987
-
988
- numNodes?: number;
989
-
990
- nodePropertyOverrides?: NodePropertyOverride[];
991
- }
992
-
993
- export interface SubmitJobRequest {
994
-
995
- jobName: string | undefined;
996
-
997
- jobQueue: string | undefined;
998
-
999
- shareIdentifier?: string;
1000
-
1001
- schedulingPriorityOverride?: number;
1002
-
1003
- arrayProperties?: ArrayProperties;
1004
-
1005
- dependsOn?: JobDependency[];
1006
-
1007
- jobDefinition: string | undefined;
1008
-
1009
- parameters?: Record<string, string>;
1010
-
1011
- containerOverrides?: ContainerOverrides;
1012
-
1013
- nodeOverrides?: NodeOverrides;
1014
-
1015
- retryStrategy?: RetryStrategy;
1016
-
1017
- propagateTags?: boolean;
1018
-
1019
- timeout?: JobTimeout;
1020
-
1021
- tags?: Record<string, string>;
1022
- }
1023
- export interface SubmitJobResponse {
1024
-
1025
- jobArn?: string;
1026
-
1027
- jobName: string | undefined;
1028
-
1029
- jobId: string | undefined;
1030
- }
1031
-
1032
- export interface TagResourceRequest {
1033
-
1034
- resourceArn: string | undefined;
1035
-
1036
- tags: Record<string, string> | undefined;
1037
- }
1038
- export interface TagResourceResponse {
1039
- }
1040
-
1041
- export interface TerminateJobRequest {
1042
-
1043
- jobId: string | undefined;
1044
-
1045
- reason: string | undefined;
1046
- }
1047
- export interface TerminateJobResponse {
1048
- }
1049
-
1050
- export interface UntagResourceRequest {
1051
-
1052
- resourceArn: string | undefined;
1053
-
1054
- tagKeys: string[] | undefined;
1055
- }
1056
- export interface UntagResourceResponse {
1057
- }
1058
- export declare enum CRUpdateAllocationStrategy {
1059
- BEST_FIT_PROGRESSIVE = "BEST_FIT_PROGRESSIVE",
1060
- SPOT_CAPACITY_OPTIMIZED = "SPOT_CAPACITY_OPTIMIZED"
1061
- }
1062
-
1063
- export interface ComputeResourceUpdate {
1064
-
1065
- minvCpus?: number;
1066
-
1067
- maxvCpus?: number;
1068
-
1069
- desiredvCpus?: number;
1070
-
1071
- subnets?: string[];
1072
-
1073
- securityGroupIds?: string[];
1074
-
1075
- allocationStrategy?: CRUpdateAllocationStrategy | string;
1076
-
1077
- instanceTypes?: string[];
1078
-
1079
- ec2KeyPair?: string;
1080
-
1081
- instanceRole?: string;
1082
-
1083
- tags?: Record<string, string>;
1084
-
1085
- placementGroup?: string;
1086
-
1087
- bidPercentage?: number;
1088
-
1089
- launchTemplate?: LaunchTemplateSpecification;
1090
-
1091
- ec2Configuration?: Ec2Configuration[];
1092
-
1093
- updateToLatestImageVersion?: boolean;
1094
-
1095
- type?: CRType | string;
1096
-
1097
- imageId?: string;
1098
- }
1099
-
1100
- export interface UpdateComputeEnvironmentRequest {
1101
-
1102
- computeEnvironment: string | undefined;
1103
-
1104
- state?: CEState | string;
1105
-
1106
- unmanagedvCpus?: number;
1107
-
1108
- computeResources?: ComputeResourceUpdate;
1109
-
1110
- serviceRole?: string;
1111
-
1112
- updatePolicy?: UpdatePolicy;
1113
- }
1114
- export interface UpdateComputeEnvironmentResponse {
1115
-
1116
- computeEnvironmentName?: string;
1117
-
1118
- computeEnvironmentArn?: string;
1119
- }
1120
-
1121
- export interface UpdateJobQueueRequest {
1122
-
1123
- jobQueue: string | undefined;
1124
-
1125
- state?: JQState | string;
1126
-
1127
- schedulingPolicyArn?: string;
1128
-
1129
- priority?: number;
1130
-
1131
- computeEnvironmentOrder?: ComputeEnvironmentOrder[];
1132
- }
1133
- export interface UpdateJobQueueResponse {
1134
-
1135
- jobQueueName?: string;
1136
-
1137
- jobQueueArn?: string;
1138
- }
1139
-
1140
- export interface UpdateSchedulingPolicyRequest {
1141
-
1142
- arn: string | undefined;
1143
-
1144
- fairsharePolicy?: FairsharePolicy;
1145
- }
1146
- export interface UpdateSchedulingPolicyResponse {
1147
- }
1148
-
1149
- export declare const ArrayPropertiesFilterSensitiveLog: (obj: ArrayProperties) => any;
1150
-
1151
- export declare const ArrayPropertiesDetailFilterSensitiveLog: (obj: ArrayPropertiesDetail) => any;
1152
-
1153
- export declare const ArrayPropertiesSummaryFilterSensitiveLog: (obj: ArrayPropertiesSummary) => any;
1154
-
1155
- export declare const NetworkInterfaceFilterSensitiveLog: (obj: NetworkInterface) => any;
1156
-
1157
- export declare const AttemptContainerDetailFilterSensitiveLog: (obj: AttemptContainerDetail) => any;
1158
-
1159
- export declare const AttemptDetailFilterSensitiveLog: (obj: AttemptDetail) => any;
1160
-
1161
- export declare const CancelJobRequestFilterSensitiveLog: (obj: CancelJobRequest) => any;
1162
-
1163
- export declare const CancelJobResponseFilterSensitiveLog: (obj: CancelJobResponse) => any;
1164
-
1165
- export declare const Ec2ConfigurationFilterSensitiveLog: (obj: Ec2Configuration) => any;
1166
-
1167
- export declare const LaunchTemplateSpecificationFilterSensitiveLog: (obj: LaunchTemplateSpecification) => any;
1168
-
1169
- export declare const ComputeResourceFilterSensitiveLog: (obj: ComputeResource) => any;
1170
-
1171
- export declare const CreateComputeEnvironmentRequestFilterSensitiveLog: (obj: CreateComputeEnvironmentRequest) => any;
1172
-
1173
- export declare const CreateComputeEnvironmentResponseFilterSensitiveLog: (obj: CreateComputeEnvironmentResponse) => any;
1174
-
1175
- export declare const ComputeEnvironmentOrderFilterSensitiveLog: (obj: ComputeEnvironmentOrder) => any;
1176
-
1177
- export declare const CreateJobQueueRequestFilterSensitiveLog: (obj: CreateJobQueueRequest) => any;
1178
-
1179
- export declare const CreateJobQueueResponseFilterSensitiveLog: (obj: CreateJobQueueResponse) => any;
1180
-
1181
- export declare const ShareAttributesFilterSensitiveLog: (obj: ShareAttributes) => any;
1182
-
1183
- export declare const FairsharePolicyFilterSensitiveLog: (obj: FairsharePolicy) => any;
1184
-
1185
- export declare const CreateSchedulingPolicyRequestFilterSensitiveLog: (obj: CreateSchedulingPolicyRequest) => any;
1186
-
1187
- export declare const CreateSchedulingPolicyResponseFilterSensitiveLog: (obj: CreateSchedulingPolicyResponse) => any;
1188
-
1189
- export declare const DeleteComputeEnvironmentRequestFilterSensitiveLog: (obj: DeleteComputeEnvironmentRequest) => any;
1190
-
1191
- export declare const DeleteComputeEnvironmentResponseFilterSensitiveLog: (obj: DeleteComputeEnvironmentResponse) => any;
1192
-
1193
- export declare const DeleteJobQueueRequestFilterSensitiveLog: (obj: DeleteJobQueueRequest) => any;
1194
-
1195
- export declare const DeleteJobQueueResponseFilterSensitiveLog: (obj: DeleteJobQueueResponse) => any;
1196
-
1197
- export declare const DeleteSchedulingPolicyRequestFilterSensitiveLog: (obj: DeleteSchedulingPolicyRequest) => any;
1198
-
1199
- export declare const DeleteSchedulingPolicyResponseFilterSensitiveLog: (obj: DeleteSchedulingPolicyResponse) => any;
1200
-
1201
- export declare const DeregisterJobDefinitionRequestFilterSensitiveLog: (obj: DeregisterJobDefinitionRequest) => any;
1202
-
1203
- export declare const DeregisterJobDefinitionResponseFilterSensitiveLog: (obj: DeregisterJobDefinitionResponse) => any;
1204
-
1205
- export declare const DescribeComputeEnvironmentsRequestFilterSensitiveLog: (obj: DescribeComputeEnvironmentsRequest) => any;
1206
-
1207
- export declare const UpdatePolicyFilterSensitiveLog: (obj: UpdatePolicy) => any;
1208
-
1209
- export declare const ComputeEnvironmentDetailFilterSensitiveLog: (obj: ComputeEnvironmentDetail) => any;
1210
-
1211
- export declare const DescribeComputeEnvironmentsResponseFilterSensitiveLog: (obj: DescribeComputeEnvironmentsResponse) => any;
1212
-
1213
- export declare const DescribeJobDefinitionsRequestFilterSensitiveLog: (obj: DescribeJobDefinitionsRequest) => any;
1214
-
1215
- export declare const KeyValuePairFilterSensitiveLog: (obj: KeyValuePair) => any;
1216
-
1217
- export declare const FargatePlatformConfigurationFilterSensitiveLog: (obj: FargatePlatformConfiguration) => any;
1218
-
1219
- export declare const DeviceFilterSensitiveLog: (obj: Device) => any;
1220
-
1221
- export declare const TmpfsFilterSensitiveLog: (obj: Tmpfs) => any;
1222
-
1223
- export declare const LinuxParametersFilterSensitiveLog: (obj: LinuxParameters) => any;
1224
-
1225
- export declare const SecretFilterSensitiveLog: (obj: Secret) => any;
1226
-
1227
- export declare const LogConfigurationFilterSensitiveLog: (obj: LogConfiguration) => any;
1228
-
1229
- export declare const MountPointFilterSensitiveLog: (obj: MountPoint) => any;
1230
-
1231
- export declare const NetworkConfigurationFilterSensitiveLog: (obj: NetworkConfiguration) => any;
1232
-
1233
- export declare const ResourceRequirementFilterSensitiveLog: (obj: ResourceRequirement) => any;
1234
-
1235
- export declare const UlimitFilterSensitiveLog: (obj: Ulimit) => any;
1236
-
1237
- export declare const EFSAuthorizationConfigFilterSensitiveLog: (obj: EFSAuthorizationConfig) => any;
1238
-
1239
- export declare const EFSVolumeConfigurationFilterSensitiveLog: (obj: EFSVolumeConfiguration) => any;
1240
-
1241
- export declare const HostFilterSensitiveLog: (obj: Host) => any;
1242
-
1243
- export declare const VolumeFilterSensitiveLog: (obj: Volume) => any;
1244
-
1245
- export declare const ContainerPropertiesFilterSensitiveLog: (obj: ContainerProperties) => any;
1246
-
1247
- export declare const NodeRangePropertyFilterSensitiveLog: (obj: NodeRangeProperty) => any;
1248
-
1249
- export declare const NodePropertiesFilterSensitiveLog: (obj: NodeProperties) => any;
1250
-
1251
- export declare const EvaluateOnExitFilterSensitiveLog: (obj: EvaluateOnExit) => any;
1252
-
1253
- export declare const RetryStrategyFilterSensitiveLog: (obj: RetryStrategy) => any;
1254
-
1255
- export declare const JobTimeoutFilterSensitiveLog: (obj: JobTimeout) => any;
1256
-
1257
- export declare const JobDefinitionFilterSensitiveLog: (obj: JobDefinition) => any;
1258
-
1259
- export declare const DescribeJobDefinitionsResponseFilterSensitiveLog: (obj: DescribeJobDefinitionsResponse) => any;
1260
-
1261
- export declare const DescribeJobQueuesRequestFilterSensitiveLog: (obj: DescribeJobQueuesRequest) => any;
1262
-
1263
- export declare const JobQueueDetailFilterSensitiveLog: (obj: JobQueueDetail) => any;
1264
-
1265
- export declare const DescribeJobQueuesResponseFilterSensitiveLog: (obj: DescribeJobQueuesResponse) => any;
1266
-
1267
- export declare const DescribeJobsRequestFilterSensitiveLog: (obj: DescribeJobsRequest) => any;
1268
-
1269
- export declare const ContainerDetailFilterSensitiveLog: (obj: ContainerDetail) => any;
1270
-
1271
- export declare const JobDependencyFilterSensitiveLog: (obj: JobDependency) => any;
1272
-
1273
- export declare const NodeDetailsFilterSensitiveLog: (obj: NodeDetails) => any;
1274
-
1275
- export declare const JobDetailFilterSensitiveLog: (obj: JobDetail) => any;
1276
-
1277
- export declare const DescribeJobsResponseFilterSensitiveLog: (obj: DescribeJobsResponse) => any;
1278
-
1279
- export declare const DescribeSchedulingPoliciesRequestFilterSensitiveLog: (obj: DescribeSchedulingPoliciesRequest) => any;
1280
-
1281
- export declare const SchedulingPolicyDetailFilterSensitiveLog: (obj: SchedulingPolicyDetail) => any;
1282
-
1283
- export declare const DescribeSchedulingPoliciesResponseFilterSensitiveLog: (obj: DescribeSchedulingPoliciesResponse) => any;
1284
-
1285
- export declare const KeyValuesPairFilterSensitiveLog: (obj: KeyValuesPair) => any;
1286
-
1287
- export declare const ListJobsRequestFilterSensitiveLog: (obj: ListJobsRequest) => any;
1288
-
1289
- export declare const ContainerSummaryFilterSensitiveLog: (obj: ContainerSummary) => any;
1290
-
1291
- export declare const NodePropertiesSummaryFilterSensitiveLog: (obj: NodePropertiesSummary) => any;
1292
-
1293
- export declare const JobSummaryFilterSensitiveLog: (obj: JobSummary) => any;
1294
-
1295
- export declare const ListJobsResponseFilterSensitiveLog: (obj: ListJobsResponse) => any;
1296
-
1297
- export declare const ListSchedulingPoliciesRequestFilterSensitiveLog: (obj: ListSchedulingPoliciesRequest) => any;
1298
-
1299
- export declare const SchedulingPolicyListingDetailFilterSensitiveLog: (obj: SchedulingPolicyListingDetail) => any;
1300
-
1301
- export declare const ListSchedulingPoliciesResponseFilterSensitiveLog: (obj: ListSchedulingPoliciesResponse) => any;
1302
-
1303
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
1304
-
1305
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
1306
-
1307
- export declare const RegisterJobDefinitionRequestFilterSensitiveLog: (obj: RegisterJobDefinitionRequest) => any;
1308
-
1309
- export declare const RegisterJobDefinitionResponseFilterSensitiveLog: (obj: RegisterJobDefinitionResponse) => any;
1310
-
1311
- export declare const ContainerOverridesFilterSensitiveLog: (obj: ContainerOverrides) => any;
1312
-
1313
- export declare const NodePropertyOverrideFilterSensitiveLog: (obj: NodePropertyOverride) => any;
1314
-
1315
- export declare const NodeOverridesFilterSensitiveLog: (obj: NodeOverrides) => any;
1316
-
1317
- export declare const SubmitJobRequestFilterSensitiveLog: (obj: SubmitJobRequest) => any;
1318
-
1319
- export declare const SubmitJobResponseFilterSensitiveLog: (obj: SubmitJobResponse) => any;
1320
-
1321
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
1322
-
1323
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
1324
-
1325
- export declare const TerminateJobRequestFilterSensitiveLog: (obj: TerminateJobRequest) => any;
1326
-
1327
- export declare const TerminateJobResponseFilterSensitiveLog: (obj: TerminateJobResponse) => any;
1328
-
1329
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
1330
-
1331
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
1332
-
1333
- export declare const ComputeResourceUpdateFilterSensitiveLog: (obj: ComputeResourceUpdate) => any;
1334
-
1335
- export declare const UpdateComputeEnvironmentRequestFilterSensitiveLog: (obj: UpdateComputeEnvironmentRequest) => any;
1336
-
1337
- export declare const UpdateComputeEnvironmentResponseFilterSensitiveLog: (obj: UpdateComputeEnvironmentResponse) => any;
1338
-
1339
- export declare const UpdateJobQueueRequestFilterSensitiveLog: (obj: UpdateJobQueueRequest) => any;
1340
-
1341
- export declare const UpdateJobQueueResponseFilterSensitiveLog: (obj: UpdateJobQueueResponse) => any;
1342
-
1343
- export declare const UpdateSchedulingPolicyRequestFilterSensitiveLog: (obj: UpdateSchedulingPolicyRequest) => any;
1344
-
1345
- export declare const UpdateSchedulingPolicyResponseFilterSensitiveLog: (obj: UpdateSchedulingPolicyResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { BatchServiceException as __BaseException } from "./BatchServiceException";
3
+ export declare enum ArrayJobDependency {
4
+ N_TO_N = "N_TO_N",
5
+ SEQUENTIAL = "SEQUENTIAL",
6
+ }
7
+
8
+ export interface ArrayProperties {
9
+ size?: number;
10
+ }
11
+
12
+ export interface ArrayPropertiesDetail {
13
+ statusSummary?: Record<string, number>;
14
+
15
+ size?: number;
16
+
17
+ index?: number;
18
+ }
19
+
20
+ export interface ArrayPropertiesSummary {
21
+ size?: number;
22
+
23
+ index?: number;
24
+ }
25
+ export declare enum AssignPublicIp {
26
+ DISABLED = "DISABLED",
27
+ ENABLED = "ENABLED",
28
+ }
29
+
30
+ export interface NetworkInterface {
31
+ attachmentId?: string;
32
+
33
+ ipv6Address?: string;
34
+
35
+ privateIpv4Address?: string;
36
+ }
37
+
38
+ export interface AttemptContainerDetail {
39
+ containerInstanceArn?: string;
40
+
41
+ taskArn?: string;
42
+
43
+ exitCode?: number;
44
+
45
+ reason?: string;
46
+
47
+ logStreamName?: string;
48
+
49
+ networkInterfaces?: NetworkInterface[];
50
+ }
51
+
52
+ export interface AttemptDetail {
53
+ container?: AttemptContainerDetail;
54
+
55
+ startedAt?: number;
56
+
57
+ stoppedAt?: number;
58
+
59
+ statusReason?: string;
60
+ }
61
+
62
+ export interface CancelJobRequest {
63
+ jobId: string | undefined;
64
+
65
+ reason: string | undefined;
66
+ }
67
+ export interface CancelJobResponse {}
68
+
69
+ export declare class ClientException extends __BaseException {
70
+ readonly name: "ClientException";
71
+ readonly $fault: "client";
72
+
73
+ constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
74
+ }
75
+
76
+ export declare class ServerException extends __BaseException {
77
+ readonly name: "ServerException";
78
+ readonly $fault: "server";
79
+
80
+ constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
81
+ }
82
+ export declare enum CRAllocationStrategy {
83
+ BEST_FIT = "BEST_FIT",
84
+ BEST_FIT_PROGRESSIVE = "BEST_FIT_PROGRESSIVE",
85
+ SPOT_CAPACITY_OPTIMIZED = "SPOT_CAPACITY_OPTIMIZED",
86
+ }
87
+
88
+ export interface Ec2Configuration {
89
+ imageType: string | undefined;
90
+
91
+ imageIdOverride?: string;
92
+ }
93
+
94
+ export interface LaunchTemplateSpecification {
95
+ launchTemplateId?: string;
96
+
97
+ launchTemplateName?: string;
98
+
99
+ version?: string;
100
+ }
101
+ export declare enum CRType {
102
+ EC2 = "EC2",
103
+ FARGATE = "FARGATE",
104
+ FARGATE_SPOT = "FARGATE_SPOT",
105
+ SPOT = "SPOT",
106
+ }
107
+
108
+ export interface ComputeResource {
109
+ type: CRType | string | undefined;
110
+
111
+ allocationStrategy?: CRAllocationStrategy | string;
112
+
113
+ minvCpus?: number;
114
+
115
+ maxvCpus: number | undefined;
116
+
117
+ desiredvCpus?: number;
118
+
119
+ instanceTypes?: string[];
120
+
121
+ imageId?: string;
122
+
123
+ subnets: string[] | undefined;
124
+
125
+ securityGroupIds?: string[];
126
+
127
+ ec2KeyPair?: string;
128
+
129
+ instanceRole?: string;
130
+
131
+ tags?: Record<string, string>;
132
+
133
+ placementGroup?: string;
134
+
135
+ bidPercentage?: number;
136
+
137
+ spotIamFleetRole?: string;
138
+
139
+ launchTemplate?: LaunchTemplateSpecification;
140
+
141
+ ec2Configuration?: Ec2Configuration[];
142
+ }
143
+ export declare enum CEState {
144
+ DISABLED = "DISABLED",
145
+ ENABLED = "ENABLED",
146
+ }
147
+ export declare enum CEType {
148
+ MANAGED = "MANAGED",
149
+ UNMANAGED = "UNMANAGED",
150
+ }
151
+
152
+ export interface CreateComputeEnvironmentRequest {
153
+ computeEnvironmentName: string | undefined;
154
+
155
+ type: CEType | string | undefined;
156
+
157
+ state?: CEState | string;
158
+
159
+ unmanagedvCpus?: number;
160
+
161
+ computeResources?: ComputeResource;
162
+
163
+ serviceRole?: string;
164
+
165
+ tags?: Record<string, string>;
166
+ }
167
+ export interface CreateComputeEnvironmentResponse {
168
+ computeEnvironmentName?: string;
169
+
170
+ computeEnvironmentArn?: string;
171
+ }
172
+
173
+ export interface ComputeEnvironmentOrder {
174
+ order: number | undefined;
175
+
176
+ computeEnvironment: string | undefined;
177
+ }
178
+ export declare enum JQState {
179
+ DISABLED = "DISABLED",
180
+ ENABLED = "ENABLED",
181
+ }
182
+
183
+ export interface CreateJobQueueRequest {
184
+ jobQueueName: string | undefined;
185
+
186
+ state?: JQState | string;
187
+
188
+ schedulingPolicyArn?: string;
189
+
190
+ priority: number | undefined;
191
+
192
+ computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
193
+
194
+ tags?: Record<string, string>;
195
+ }
196
+ export interface CreateJobQueueResponse {
197
+ jobQueueName: string | undefined;
198
+
199
+ jobQueueArn: string | undefined;
200
+ }
201
+
202
+ export interface ShareAttributes {
203
+ shareIdentifier: string | undefined;
204
+
205
+ weightFactor?: number;
206
+ }
207
+
208
+ export interface FairsharePolicy {
209
+ shareDecaySeconds?: number;
210
+
211
+ computeReservation?: number;
212
+
213
+ shareDistribution?: ShareAttributes[];
214
+ }
215
+
216
+ export interface CreateSchedulingPolicyRequest {
217
+ name: string | undefined;
218
+
219
+ fairsharePolicy?: FairsharePolicy;
220
+
221
+ tags?: Record<string, string>;
222
+ }
223
+ export interface CreateSchedulingPolicyResponse {
224
+ name: string | undefined;
225
+
226
+ arn: string | undefined;
227
+ }
228
+
229
+ export interface DeleteComputeEnvironmentRequest {
230
+ computeEnvironment: string | undefined;
231
+ }
232
+ export interface DeleteComputeEnvironmentResponse {}
233
+
234
+ export interface DeleteJobQueueRequest {
235
+ jobQueue: string | undefined;
236
+ }
237
+ export interface DeleteJobQueueResponse {}
238
+
239
+ export interface DeleteSchedulingPolicyRequest {
240
+ arn: string | undefined;
241
+ }
242
+ export interface DeleteSchedulingPolicyResponse {}
243
+ export interface DeregisterJobDefinitionRequest {
244
+ jobDefinition: string | undefined;
245
+ }
246
+ export interface DeregisterJobDefinitionResponse {}
247
+
248
+ export interface DescribeComputeEnvironmentsRequest {
249
+ computeEnvironments?: string[];
250
+
251
+ maxResults?: number;
252
+
253
+ nextToken?: string;
254
+ }
255
+ export declare enum CEStatus {
256
+ CREATING = "CREATING",
257
+ DELETED = "DELETED",
258
+ DELETING = "DELETING",
259
+ INVALID = "INVALID",
260
+ UPDATING = "UPDATING",
261
+ VALID = "VALID",
262
+ }
263
+
264
+ export interface UpdatePolicy {
265
+ terminateJobsOnUpdate?: boolean;
266
+
267
+ jobExecutionTimeoutMinutes?: number;
268
+ }
269
+
270
+ export interface ComputeEnvironmentDetail {
271
+ computeEnvironmentName: string | undefined;
272
+
273
+ computeEnvironmentArn: string | undefined;
274
+
275
+ unmanagedvCpus?: number;
276
+
277
+ ecsClusterArn?: string;
278
+
279
+ tags?: Record<string, string>;
280
+
281
+ type?: CEType | string;
282
+
283
+ state?: CEState | string;
284
+
285
+ status?: CEStatus | string;
286
+
287
+ statusReason?: string;
288
+
289
+ computeResources?: ComputeResource;
290
+
291
+ serviceRole?: string;
292
+
293
+ updatePolicy?: UpdatePolicy;
294
+ }
295
+ export interface DescribeComputeEnvironmentsResponse {
296
+ computeEnvironments?: ComputeEnvironmentDetail[];
297
+
298
+ nextToken?: string;
299
+ }
300
+
301
+ export interface DescribeJobDefinitionsRequest {
302
+ jobDefinitions?: string[];
303
+
304
+ maxResults?: number;
305
+
306
+ jobDefinitionName?: string;
307
+
308
+ status?: string;
309
+
310
+ nextToken?: string;
311
+ }
312
+
313
+ export interface KeyValuePair {
314
+ name?: string;
315
+
316
+ value?: string;
317
+ }
318
+
319
+ export interface FargatePlatformConfiguration {
320
+ platformVersion?: string;
321
+ }
322
+ export declare enum DeviceCgroupPermission {
323
+ MKNOD = "MKNOD",
324
+ READ = "READ",
325
+ WRITE = "WRITE",
326
+ }
327
+
328
+ export interface Device {
329
+ hostPath: string | undefined;
330
+
331
+ containerPath?: string;
332
+
333
+ permissions?: (DeviceCgroupPermission | string)[];
334
+ }
335
+
336
+ export interface Tmpfs {
337
+ containerPath: string | undefined;
338
+
339
+ size: number | undefined;
340
+
341
+ mountOptions?: string[];
342
+ }
343
+
344
+ export interface LinuxParameters {
345
+ devices?: Device[];
346
+
347
+ initProcessEnabled?: boolean;
348
+
349
+ sharedMemorySize?: number;
350
+
351
+ tmpfs?: Tmpfs[];
352
+
353
+ maxSwap?: number;
354
+
355
+ swappiness?: number;
356
+ }
357
+ export declare enum LogDriver {
358
+ AWSLOGS = "awslogs",
359
+ FLUENTD = "fluentd",
360
+ GELF = "gelf",
361
+ JOURNALD = "journald",
362
+ JSON_FILE = "json-file",
363
+ SPLUNK = "splunk",
364
+ SYSLOG = "syslog",
365
+ }
366
+
367
+ export interface Secret {
368
+ name: string | undefined;
369
+
370
+ valueFrom: string | undefined;
371
+ }
372
+
373
+ export interface LogConfiguration {
374
+ logDriver: LogDriver | string | undefined;
375
+
376
+ options?: Record<string, string>;
377
+
378
+ secretOptions?: Secret[];
379
+ }
380
+
381
+ export interface MountPoint {
382
+ containerPath?: string;
383
+
384
+ readOnly?: boolean;
385
+
386
+ sourceVolume?: string;
387
+ }
388
+
389
+ export interface NetworkConfiguration {
390
+ assignPublicIp?: AssignPublicIp | string;
391
+ }
392
+ export declare enum ResourceType {
393
+ GPU = "GPU",
394
+ MEMORY = "MEMORY",
395
+ VCPU = "VCPU",
396
+ }
397
+
398
+ export interface ResourceRequirement {
399
+ value: string | undefined;
400
+
401
+ type: ResourceType | string | undefined;
402
+ }
403
+
404
+ export interface Ulimit {
405
+ hardLimit: number | undefined;
406
+
407
+ name: string | undefined;
408
+
409
+ softLimit: number | undefined;
410
+ }
411
+ export declare enum EFSAuthorizationConfigIAM {
412
+ DISABLED = "DISABLED",
413
+ ENABLED = "ENABLED",
414
+ }
415
+
416
+ export interface EFSAuthorizationConfig {
417
+ accessPointId?: string;
418
+
419
+ iam?: EFSAuthorizationConfigIAM | string;
420
+ }
421
+ export declare enum EFSTransitEncryption {
422
+ DISABLED = "DISABLED",
423
+ ENABLED = "ENABLED",
424
+ }
425
+
426
+ export interface EFSVolumeConfiguration {
427
+ fileSystemId: string | undefined;
428
+
429
+ rootDirectory?: string;
430
+
431
+ transitEncryption?: EFSTransitEncryption | string;
432
+
433
+ transitEncryptionPort?: number;
434
+
435
+ authorizationConfig?: EFSAuthorizationConfig;
436
+ }
437
+
438
+ export interface Host {
439
+ sourcePath?: string;
440
+ }
441
+
442
+ export interface Volume {
443
+ host?: Host;
444
+
445
+ name?: string;
446
+
447
+ efsVolumeConfiguration?: EFSVolumeConfiguration;
448
+ }
449
+
450
+ export interface ContainerProperties {
451
+ image?: string;
452
+
453
+ vcpus?: number;
454
+
455
+ memory?: number;
456
+
457
+ command?: string[];
458
+
459
+ jobRoleArn?: string;
460
+
461
+ executionRoleArn?: string;
462
+
463
+ volumes?: Volume[];
464
+
465
+ environment?: KeyValuePair[];
466
+
467
+ mountPoints?: MountPoint[];
468
+
469
+ readonlyRootFilesystem?: boolean;
470
+
471
+ privileged?: boolean;
472
+
473
+ ulimits?: Ulimit[];
474
+
475
+ user?: string;
476
+
477
+ instanceType?: string;
478
+
479
+ resourceRequirements?: ResourceRequirement[];
480
+
481
+ linuxParameters?: LinuxParameters;
482
+
483
+ logConfiguration?: LogConfiguration;
484
+
485
+ secrets?: Secret[];
486
+
487
+ networkConfiguration?: NetworkConfiguration;
488
+
489
+ fargatePlatformConfiguration?: FargatePlatformConfiguration;
490
+ }
491
+
492
+ export interface NodeRangeProperty {
493
+ targetNodes: string | undefined;
494
+
495
+ container?: ContainerProperties;
496
+ }
497
+
498
+ export interface NodeProperties {
499
+ numNodes: number | undefined;
500
+
501
+ mainNode: number | undefined;
502
+
503
+ nodeRangeProperties: NodeRangeProperty[] | undefined;
504
+ }
505
+ export declare enum PlatformCapability {
506
+ EC2 = "EC2",
507
+ FARGATE = "FARGATE",
508
+ }
509
+ export declare enum RetryAction {
510
+ EXIT = "EXIT",
511
+ RETRY = "RETRY",
512
+ }
513
+
514
+ export interface EvaluateOnExit {
515
+ onStatusReason?: string;
516
+
517
+ onReason?: string;
518
+
519
+ onExitCode?: string;
520
+
521
+ action: RetryAction | string | undefined;
522
+ }
523
+
524
+ export interface RetryStrategy {
525
+ attempts?: number;
526
+
527
+ evaluateOnExit?: EvaluateOnExit[];
528
+ }
529
+
530
+ export interface JobTimeout {
531
+ attemptDurationSeconds?: number;
532
+ }
533
+
534
+ export interface JobDefinition {
535
+ jobDefinitionName: string | undefined;
536
+
537
+ jobDefinitionArn: string | undefined;
538
+
539
+ revision: number | undefined;
540
+
541
+ status?: string;
542
+
543
+ type: string | undefined;
544
+
545
+ schedulingPriority?: number;
546
+
547
+ parameters?: Record<string, string>;
548
+
549
+ retryStrategy?: RetryStrategy;
550
+
551
+ containerProperties?: ContainerProperties;
552
+
553
+ timeout?: JobTimeout;
554
+
555
+ nodeProperties?: NodeProperties;
556
+
557
+ tags?: Record<string, string>;
558
+
559
+ propagateTags?: boolean;
560
+
561
+ platformCapabilities?: (PlatformCapability | string)[];
562
+ }
563
+ export interface DescribeJobDefinitionsResponse {
564
+ jobDefinitions?: JobDefinition[];
565
+
566
+ nextToken?: string;
567
+ }
568
+
569
+ export interface DescribeJobQueuesRequest {
570
+ jobQueues?: string[];
571
+
572
+ maxResults?: number;
573
+
574
+ nextToken?: string;
575
+ }
576
+ export declare enum JQStatus {
577
+ CREATING = "CREATING",
578
+ DELETED = "DELETED",
579
+ DELETING = "DELETING",
580
+ INVALID = "INVALID",
581
+ UPDATING = "UPDATING",
582
+ VALID = "VALID",
583
+ }
584
+
585
+ export interface JobQueueDetail {
586
+ jobQueueName: string | undefined;
587
+
588
+ jobQueueArn: string | undefined;
589
+
590
+ state: JQState | string | undefined;
591
+
592
+ schedulingPolicyArn?: string;
593
+
594
+ status?: JQStatus | string;
595
+
596
+ statusReason?: string;
597
+
598
+ priority: number | undefined;
599
+
600
+ computeEnvironmentOrder: ComputeEnvironmentOrder[] | undefined;
601
+
602
+ tags?: Record<string, string>;
603
+ }
604
+ export interface DescribeJobQueuesResponse {
605
+ jobQueues?: JobQueueDetail[];
606
+
607
+ nextToken?: string;
608
+ }
609
+
610
+ export interface DescribeJobsRequest {
611
+ jobs: string[] | undefined;
612
+ }
613
+
614
+ export interface ContainerDetail {
615
+ image?: string;
616
+
617
+ vcpus?: number;
618
+
619
+ memory?: number;
620
+
621
+ command?: string[];
622
+
623
+ jobRoleArn?: string;
624
+
625
+ executionRoleArn?: string;
626
+
627
+ volumes?: Volume[];
628
+
629
+ environment?: KeyValuePair[];
630
+
631
+ mountPoints?: MountPoint[];
632
+
633
+ readonlyRootFilesystem?: boolean;
634
+
635
+ ulimits?: Ulimit[];
636
+
637
+ privileged?: boolean;
638
+
639
+ user?: string;
640
+
641
+ exitCode?: number;
642
+
643
+ reason?: string;
644
+
645
+ containerInstanceArn?: string;
646
+
647
+ taskArn?: string;
648
+
649
+ logStreamName?: string;
650
+
651
+ instanceType?: string;
652
+
653
+ networkInterfaces?: NetworkInterface[];
654
+
655
+ resourceRequirements?: ResourceRequirement[];
656
+
657
+ linuxParameters?: LinuxParameters;
658
+
659
+ logConfiguration?: LogConfiguration;
660
+
661
+ secrets?: Secret[];
662
+
663
+ networkConfiguration?: NetworkConfiguration;
664
+
665
+ fargatePlatformConfiguration?: FargatePlatformConfiguration;
666
+ }
667
+
668
+ export interface JobDependency {
669
+ jobId?: string;
670
+
671
+ type?: ArrayJobDependency | string;
672
+ }
673
+
674
+ export interface NodeDetails {
675
+ nodeIndex?: number;
676
+
677
+ isMainNode?: boolean;
678
+ }
679
+ export declare enum JobStatus {
680
+ FAILED = "FAILED",
681
+ PENDING = "PENDING",
682
+ RUNNABLE = "RUNNABLE",
683
+ RUNNING = "RUNNING",
684
+ STARTING = "STARTING",
685
+ SUBMITTED = "SUBMITTED",
686
+ SUCCEEDED = "SUCCEEDED",
687
+ }
688
+
689
+ export interface JobDetail {
690
+ jobArn?: string;
691
+
692
+ jobName: string | undefined;
693
+
694
+ jobId: string | undefined;
695
+
696
+ jobQueue: string | undefined;
697
+
698
+ status: JobStatus | string | undefined;
699
+
700
+ shareIdentifier?: string;
701
+
702
+ schedulingPriority?: number;
703
+
704
+ attempts?: AttemptDetail[];
705
+
706
+ statusReason?: string;
707
+
708
+ createdAt?: number;
709
+
710
+ retryStrategy?: RetryStrategy;
711
+
712
+ startedAt: number | undefined;
713
+
714
+ stoppedAt?: number;
715
+
716
+ dependsOn?: JobDependency[];
717
+
718
+ jobDefinition: string | undefined;
719
+
720
+ parameters?: Record<string, string>;
721
+
722
+ container?: ContainerDetail;
723
+
724
+ nodeDetails?: NodeDetails;
725
+
726
+ nodeProperties?: NodeProperties;
727
+
728
+ arrayProperties?: ArrayPropertiesDetail;
729
+
730
+ timeout?: JobTimeout;
731
+
732
+ tags?: Record<string, string>;
733
+
734
+ propagateTags?: boolean;
735
+
736
+ platformCapabilities?: (PlatformCapability | string)[];
737
+ }
738
+ export interface DescribeJobsResponse {
739
+ jobs?: JobDetail[];
740
+ }
741
+
742
+ export interface DescribeSchedulingPoliciesRequest {
743
+ arns: string[] | undefined;
744
+ }
745
+
746
+ export interface SchedulingPolicyDetail {
747
+ name: string | undefined;
748
+
749
+ arn: string | undefined;
750
+
751
+ fairsharePolicy?: FairsharePolicy;
752
+
753
+ tags?: Record<string, string>;
754
+ }
755
+ export interface DescribeSchedulingPoliciesResponse {
756
+ schedulingPolicies?: SchedulingPolicyDetail[];
757
+ }
758
+
759
+ export interface KeyValuesPair {
760
+ name?: string;
761
+
762
+ values?: string[];
763
+ }
764
+
765
+ export interface ListJobsRequest {
766
+ jobQueue?: string;
767
+
768
+ arrayJobId?: string;
769
+
770
+ multiNodeJobId?: string;
771
+
772
+ jobStatus?: JobStatus | string;
773
+
774
+ maxResults?: number;
775
+
776
+ nextToken?: string;
777
+
778
+ filters?: KeyValuesPair[];
779
+ }
780
+
781
+ export interface ContainerSummary {
782
+ exitCode?: number;
783
+
784
+ reason?: string;
785
+ }
786
+
787
+ export interface NodePropertiesSummary {
788
+ isMainNode?: boolean;
789
+
790
+ numNodes?: number;
791
+
792
+ nodeIndex?: number;
793
+ }
794
+
795
+ export interface JobSummary {
796
+ jobArn?: string;
797
+
798
+ jobId: string | undefined;
799
+
800
+ jobName: string | undefined;
801
+
802
+ createdAt?: number;
803
+
804
+ status?: JobStatus | string;
805
+
806
+ statusReason?: string;
807
+
808
+ startedAt?: number;
809
+
810
+ stoppedAt?: number;
811
+
812
+ container?: ContainerSummary;
813
+
814
+ arrayProperties?: ArrayPropertiesSummary;
815
+
816
+ nodeProperties?: NodePropertiesSummary;
817
+
818
+ jobDefinition?: string;
819
+ }
820
+ export interface ListJobsResponse {
821
+ jobSummaryList: JobSummary[] | undefined;
822
+
823
+ nextToken?: string;
824
+ }
825
+
826
+ export interface ListSchedulingPoliciesRequest {
827
+ maxResults?: number;
828
+
829
+ nextToken?: string;
830
+ }
831
+
832
+ export interface SchedulingPolicyListingDetail {
833
+ arn: string | undefined;
834
+ }
835
+ export interface ListSchedulingPoliciesResponse {
836
+ schedulingPolicies?: SchedulingPolicyListingDetail[];
837
+
838
+ nextToken?: string;
839
+ }
840
+
841
+ export interface ListTagsForResourceRequest {
842
+ resourceArn: string | undefined;
843
+ }
844
+ export interface ListTagsForResourceResponse {
845
+ tags?: Record<string, string>;
846
+ }
847
+ export declare enum JobDefinitionType {
848
+ Container = "container",
849
+ Multinode = "multinode",
850
+ }
851
+
852
+ export interface RegisterJobDefinitionRequest {
853
+ jobDefinitionName: string | undefined;
854
+
855
+ type: JobDefinitionType | string | undefined;
856
+
857
+ parameters?: Record<string, string>;
858
+
859
+ schedulingPriority?: number;
860
+
861
+ containerProperties?: ContainerProperties;
862
+
863
+ nodeProperties?: NodeProperties;
864
+
865
+ retryStrategy?: RetryStrategy;
866
+
867
+ propagateTags?: boolean;
868
+
869
+ timeout?: JobTimeout;
870
+
871
+ tags?: Record<string, string>;
872
+
873
+ platformCapabilities?: (PlatformCapability | string)[];
874
+ }
875
+ export interface RegisterJobDefinitionResponse {
876
+ jobDefinitionName: string | undefined;
877
+
878
+ jobDefinitionArn: string | undefined;
879
+
880
+ revision: number | undefined;
881
+ }
882
+
883
+ export interface ContainerOverrides {
884
+ vcpus?: number;
885
+
886
+ memory?: number;
887
+
888
+ command?: string[];
889
+
890
+ instanceType?: string;
891
+
892
+ environment?: KeyValuePair[];
893
+
894
+ resourceRequirements?: ResourceRequirement[];
895
+ }
896
+
897
+ export interface NodePropertyOverride {
898
+ targetNodes: string | undefined;
899
+
900
+ containerOverrides?: ContainerOverrides;
901
+ }
902
+
903
+ export interface NodeOverrides {
904
+ numNodes?: number;
905
+
906
+ nodePropertyOverrides?: NodePropertyOverride[];
907
+ }
908
+
909
+ export interface SubmitJobRequest {
910
+ jobName: string | undefined;
911
+
912
+ jobQueue: string | undefined;
913
+
914
+ shareIdentifier?: string;
915
+
916
+ schedulingPriorityOverride?: number;
917
+
918
+ arrayProperties?: ArrayProperties;
919
+
920
+ dependsOn?: JobDependency[];
921
+
922
+ jobDefinition: string | undefined;
923
+
924
+ parameters?: Record<string, string>;
925
+
926
+ containerOverrides?: ContainerOverrides;
927
+
928
+ nodeOverrides?: NodeOverrides;
929
+
930
+ retryStrategy?: RetryStrategy;
931
+
932
+ propagateTags?: boolean;
933
+
934
+ timeout?: JobTimeout;
935
+
936
+ tags?: Record<string, string>;
937
+ }
938
+ export interface SubmitJobResponse {
939
+ jobArn?: string;
940
+
941
+ jobName: string | undefined;
942
+
943
+ jobId: string | undefined;
944
+ }
945
+
946
+ export interface TagResourceRequest {
947
+ resourceArn: string | undefined;
948
+
949
+ tags: Record<string, string> | undefined;
950
+ }
951
+ export interface TagResourceResponse {}
952
+
953
+ export interface TerminateJobRequest {
954
+ jobId: string | undefined;
955
+
956
+ reason: string | undefined;
957
+ }
958
+ export interface TerminateJobResponse {}
959
+
960
+ export interface UntagResourceRequest {
961
+ resourceArn: string | undefined;
962
+
963
+ tagKeys: string[] | undefined;
964
+ }
965
+ export interface UntagResourceResponse {}
966
+ export declare enum CRUpdateAllocationStrategy {
967
+ BEST_FIT_PROGRESSIVE = "BEST_FIT_PROGRESSIVE",
968
+ SPOT_CAPACITY_OPTIMIZED = "SPOT_CAPACITY_OPTIMIZED",
969
+ }
970
+
971
+ export interface ComputeResourceUpdate {
972
+ minvCpus?: number;
973
+
974
+ maxvCpus?: number;
975
+
976
+ desiredvCpus?: number;
977
+
978
+ subnets?: string[];
979
+
980
+ securityGroupIds?: string[];
981
+
982
+ allocationStrategy?: CRUpdateAllocationStrategy | string;
983
+
984
+ instanceTypes?: string[];
985
+
986
+ ec2KeyPair?: string;
987
+
988
+ instanceRole?: string;
989
+
990
+ tags?: Record<string, string>;
991
+
992
+ placementGroup?: string;
993
+
994
+ bidPercentage?: number;
995
+
996
+ launchTemplate?: LaunchTemplateSpecification;
997
+
998
+ ec2Configuration?: Ec2Configuration[];
999
+
1000
+ updateToLatestImageVersion?: boolean;
1001
+
1002
+ type?: CRType | string;
1003
+
1004
+ imageId?: string;
1005
+ }
1006
+
1007
+ export interface UpdateComputeEnvironmentRequest {
1008
+ computeEnvironment: string | undefined;
1009
+
1010
+ state?: CEState | string;
1011
+
1012
+ unmanagedvCpus?: number;
1013
+
1014
+ computeResources?: ComputeResourceUpdate;
1015
+
1016
+ serviceRole?: string;
1017
+
1018
+ updatePolicy?: UpdatePolicy;
1019
+ }
1020
+ export interface UpdateComputeEnvironmentResponse {
1021
+ computeEnvironmentName?: string;
1022
+
1023
+ computeEnvironmentArn?: string;
1024
+ }
1025
+
1026
+ export interface UpdateJobQueueRequest {
1027
+ jobQueue: string | undefined;
1028
+
1029
+ state?: JQState | string;
1030
+
1031
+ schedulingPolicyArn?: string;
1032
+
1033
+ priority?: number;
1034
+
1035
+ computeEnvironmentOrder?: ComputeEnvironmentOrder[];
1036
+ }
1037
+ export interface UpdateJobQueueResponse {
1038
+ jobQueueName?: string;
1039
+
1040
+ jobQueueArn?: string;
1041
+ }
1042
+
1043
+ export interface UpdateSchedulingPolicyRequest {
1044
+ arn: string | undefined;
1045
+
1046
+ fairsharePolicy?: FairsharePolicy;
1047
+ }
1048
+ export interface UpdateSchedulingPolicyResponse {}
1049
+
1050
+ export declare const ArrayPropertiesFilterSensitiveLog: (
1051
+ obj: ArrayProperties
1052
+ ) => any;
1053
+
1054
+ export declare const ArrayPropertiesDetailFilterSensitiveLog: (
1055
+ obj: ArrayPropertiesDetail
1056
+ ) => any;
1057
+
1058
+ export declare const ArrayPropertiesSummaryFilterSensitiveLog: (
1059
+ obj: ArrayPropertiesSummary
1060
+ ) => any;
1061
+
1062
+ export declare const NetworkInterfaceFilterSensitiveLog: (
1063
+ obj: NetworkInterface
1064
+ ) => any;
1065
+
1066
+ export declare const AttemptContainerDetailFilterSensitiveLog: (
1067
+ obj: AttemptContainerDetail
1068
+ ) => any;
1069
+
1070
+ export declare const AttemptDetailFilterSensitiveLog: (
1071
+ obj: AttemptDetail
1072
+ ) => any;
1073
+
1074
+ export declare const CancelJobRequestFilterSensitiveLog: (
1075
+ obj: CancelJobRequest
1076
+ ) => any;
1077
+
1078
+ export declare const CancelJobResponseFilterSensitiveLog: (
1079
+ obj: CancelJobResponse
1080
+ ) => any;
1081
+
1082
+ export declare const Ec2ConfigurationFilterSensitiveLog: (
1083
+ obj: Ec2Configuration
1084
+ ) => any;
1085
+
1086
+ export declare const LaunchTemplateSpecificationFilterSensitiveLog: (
1087
+ obj: LaunchTemplateSpecification
1088
+ ) => any;
1089
+
1090
+ export declare const ComputeResourceFilterSensitiveLog: (
1091
+ obj: ComputeResource
1092
+ ) => any;
1093
+
1094
+ export declare const CreateComputeEnvironmentRequestFilterSensitiveLog: (
1095
+ obj: CreateComputeEnvironmentRequest
1096
+ ) => any;
1097
+
1098
+ export declare const CreateComputeEnvironmentResponseFilterSensitiveLog: (
1099
+ obj: CreateComputeEnvironmentResponse
1100
+ ) => any;
1101
+
1102
+ export declare const ComputeEnvironmentOrderFilterSensitiveLog: (
1103
+ obj: ComputeEnvironmentOrder
1104
+ ) => any;
1105
+
1106
+ export declare const CreateJobQueueRequestFilterSensitiveLog: (
1107
+ obj: CreateJobQueueRequest
1108
+ ) => any;
1109
+
1110
+ export declare const CreateJobQueueResponseFilterSensitiveLog: (
1111
+ obj: CreateJobQueueResponse
1112
+ ) => any;
1113
+
1114
+ export declare const ShareAttributesFilterSensitiveLog: (
1115
+ obj: ShareAttributes
1116
+ ) => any;
1117
+
1118
+ export declare const FairsharePolicyFilterSensitiveLog: (
1119
+ obj: FairsharePolicy
1120
+ ) => any;
1121
+
1122
+ export declare const CreateSchedulingPolicyRequestFilterSensitiveLog: (
1123
+ obj: CreateSchedulingPolicyRequest
1124
+ ) => any;
1125
+
1126
+ export declare const CreateSchedulingPolicyResponseFilterSensitiveLog: (
1127
+ obj: CreateSchedulingPolicyResponse
1128
+ ) => any;
1129
+
1130
+ export declare const DeleteComputeEnvironmentRequestFilterSensitiveLog: (
1131
+ obj: DeleteComputeEnvironmentRequest
1132
+ ) => any;
1133
+
1134
+ export declare const DeleteComputeEnvironmentResponseFilterSensitiveLog: (
1135
+ obj: DeleteComputeEnvironmentResponse
1136
+ ) => any;
1137
+
1138
+ export declare const DeleteJobQueueRequestFilterSensitiveLog: (
1139
+ obj: DeleteJobQueueRequest
1140
+ ) => any;
1141
+
1142
+ export declare const DeleteJobQueueResponseFilterSensitiveLog: (
1143
+ obj: DeleteJobQueueResponse
1144
+ ) => any;
1145
+
1146
+ export declare const DeleteSchedulingPolicyRequestFilterSensitiveLog: (
1147
+ obj: DeleteSchedulingPolicyRequest
1148
+ ) => any;
1149
+
1150
+ export declare const DeleteSchedulingPolicyResponseFilterSensitiveLog: (
1151
+ obj: DeleteSchedulingPolicyResponse
1152
+ ) => any;
1153
+
1154
+ export declare const DeregisterJobDefinitionRequestFilterSensitiveLog: (
1155
+ obj: DeregisterJobDefinitionRequest
1156
+ ) => any;
1157
+
1158
+ export declare const DeregisterJobDefinitionResponseFilterSensitiveLog: (
1159
+ obj: DeregisterJobDefinitionResponse
1160
+ ) => any;
1161
+
1162
+ export declare const DescribeComputeEnvironmentsRequestFilterSensitiveLog: (
1163
+ obj: DescribeComputeEnvironmentsRequest
1164
+ ) => any;
1165
+
1166
+ export declare const UpdatePolicyFilterSensitiveLog: (obj: UpdatePolicy) => any;
1167
+
1168
+ export declare const ComputeEnvironmentDetailFilterSensitiveLog: (
1169
+ obj: ComputeEnvironmentDetail
1170
+ ) => any;
1171
+
1172
+ export declare const DescribeComputeEnvironmentsResponseFilterSensitiveLog: (
1173
+ obj: DescribeComputeEnvironmentsResponse
1174
+ ) => any;
1175
+
1176
+ export declare const DescribeJobDefinitionsRequestFilterSensitiveLog: (
1177
+ obj: DescribeJobDefinitionsRequest
1178
+ ) => any;
1179
+
1180
+ export declare const KeyValuePairFilterSensitiveLog: (obj: KeyValuePair) => any;
1181
+
1182
+ export declare const FargatePlatformConfigurationFilterSensitiveLog: (
1183
+ obj: FargatePlatformConfiguration
1184
+ ) => any;
1185
+
1186
+ export declare const DeviceFilterSensitiveLog: (obj: Device) => any;
1187
+
1188
+ export declare const TmpfsFilterSensitiveLog: (obj: Tmpfs) => any;
1189
+
1190
+ export declare const LinuxParametersFilterSensitiveLog: (
1191
+ obj: LinuxParameters
1192
+ ) => any;
1193
+
1194
+ export declare const SecretFilterSensitiveLog: (obj: Secret) => any;
1195
+
1196
+ export declare const LogConfigurationFilterSensitiveLog: (
1197
+ obj: LogConfiguration
1198
+ ) => any;
1199
+
1200
+ export declare const MountPointFilterSensitiveLog: (obj: MountPoint) => any;
1201
+
1202
+ export declare const NetworkConfigurationFilterSensitiveLog: (
1203
+ obj: NetworkConfiguration
1204
+ ) => any;
1205
+
1206
+ export declare const ResourceRequirementFilterSensitiveLog: (
1207
+ obj: ResourceRequirement
1208
+ ) => any;
1209
+
1210
+ export declare const UlimitFilterSensitiveLog: (obj: Ulimit) => any;
1211
+
1212
+ export declare const EFSAuthorizationConfigFilterSensitiveLog: (
1213
+ obj: EFSAuthorizationConfig
1214
+ ) => any;
1215
+
1216
+ export declare const EFSVolumeConfigurationFilterSensitiveLog: (
1217
+ obj: EFSVolumeConfiguration
1218
+ ) => any;
1219
+
1220
+ export declare const HostFilterSensitiveLog: (obj: Host) => any;
1221
+
1222
+ export declare const VolumeFilterSensitiveLog: (obj: Volume) => any;
1223
+
1224
+ export declare const ContainerPropertiesFilterSensitiveLog: (
1225
+ obj: ContainerProperties
1226
+ ) => any;
1227
+
1228
+ export declare const NodeRangePropertyFilterSensitiveLog: (
1229
+ obj: NodeRangeProperty
1230
+ ) => any;
1231
+
1232
+ export declare const NodePropertiesFilterSensitiveLog: (
1233
+ obj: NodeProperties
1234
+ ) => any;
1235
+
1236
+ export declare const EvaluateOnExitFilterSensitiveLog: (
1237
+ obj: EvaluateOnExit
1238
+ ) => any;
1239
+
1240
+ export declare const RetryStrategyFilterSensitiveLog: (
1241
+ obj: RetryStrategy
1242
+ ) => any;
1243
+
1244
+ export declare const JobTimeoutFilterSensitiveLog: (obj: JobTimeout) => any;
1245
+
1246
+ export declare const JobDefinitionFilterSensitiveLog: (
1247
+ obj: JobDefinition
1248
+ ) => any;
1249
+
1250
+ export declare const DescribeJobDefinitionsResponseFilterSensitiveLog: (
1251
+ obj: DescribeJobDefinitionsResponse
1252
+ ) => any;
1253
+
1254
+ export declare const DescribeJobQueuesRequestFilterSensitiveLog: (
1255
+ obj: DescribeJobQueuesRequest
1256
+ ) => any;
1257
+
1258
+ export declare const JobQueueDetailFilterSensitiveLog: (
1259
+ obj: JobQueueDetail
1260
+ ) => any;
1261
+
1262
+ export declare const DescribeJobQueuesResponseFilterSensitiveLog: (
1263
+ obj: DescribeJobQueuesResponse
1264
+ ) => any;
1265
+
1266
+ export declare const DescribeJobsRequestFilterSensitiveLog: (
1267
+ obj: DescribeJobsRequest
1268
+ ) => any;
1269
+
1270
+ export declare const ContainerDetailFilterSensitiveLog: (
1271
+ obj: ContainerDetail
1272
+ ) => any;
1273
+
1274
+ export declare const JobDependencyFilterSensitiveLog: (
1275
+ obj: JobDependency
1276
+ ) => any;
1277
+
1278
+ export declare const NodeDetailsFilterSensitiveLog: (obj: NodeDetails) => any;
1279
+
1280
+ export declare const JobDetailFilterSensitiveLog: (obj: JobDetail) => any;
1281
+
1282
+ export declare const DescribeJobsResponseFilterSensitiveLog: (
1283
+ obj: DescribeJobsResponse
1284
+ ) => any;
1285
+
1286
+ export declare const DescribeSchedulingPoliciesRequestFilterSensitiveLog: (
1287
+ obj: DescribeSchedulingPoliciesRequest
1288
+ ) => any;
1289
+
1290
+ export declare const SchedulingPolicyDetailFilterSensitiveLog: (
1291
+ obj: SchedulingPolicyDetail
1292
+ ) => any;
1293
+
1294
+ export declare const DescribeSchedulingPoliciesResponseFilterSensitiveLog: (
1295
+ obj: DescribeSchedulingPoliciesResponse
1296
+ ) => any;
1297
+
1298
+ export declare const KeyValuesPairFilterSensitiveLog: (
1299
+ obj: KeyValuesPair
1300
+ ) => any;
1301
+
1302
+ export declare const ListJobsRequestFilterSensitiveLog: (
1303
+ obj: ListJobsRequest
1304
+ ) => any;
1305
+
1306
+ export declare const ContainerSummaryFilterSensitiveLog: (
1307
+ obj: ContainerSummary
1308
+ ) => any;
1309
+
1310
+ export declare const NodePropertiesSummaryFilterSensitiveLog: (
1311
+ obj: NodePropertiesSummary
1312
+ ) => any;
1313
+
1314
+ export declare const JobSummaryFilterSensitiveLog: (obj: JobSummary) => any;
1315
+
1316
+ export declare const ListJobsResponseFilterSensitiveLog: (
1317
+ obj: ListJobsResponse
1318
+ ) => any;
1319
+
1320
+ export declare const ListSchedulingPoliciesRequestFilterSensitiveLog: (
1321
+ obj: ListSchedulingPoliciesRequest
1322
+ ) => any;
1323
+
1324
+ export declare const SchedulingPolicyListingDetailFilterSensitiveLog: (
1325
+ obj: SchedulingPolicyListingDetail
1326
+ ) => any;
1327
+
1328
+ export declare const ListSchedulingPoliciesResponseFilterSensitiveLog: (
1329
+ obj: ListSchedulingPoliciesResponse
1330
+ ) => any;
1331
+
1332
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
1333
+ obj: ListTagsForResourceRequest
1334
+ ) => any;
1335
+
1336
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
1337
+ obj: ListTagsForResourceResponse
1338
+ ) => any;
1339
+
1340
+ export declare const RegisterJobDefinitionRequestFilterSensitiveLog: (
1341
+ obj: RegisterJobDefinitionRequest
1342
+ ) => any;
1343
+
1344
+ export declare const RegisterJobDefinitionResponseFilterSensitiveLog: (
1345
+ obj: RegisterJobDefinitionResponse
1346
+ ) => any;
1347
+
1348
+ export declare const ContainerOverridesFilterSensitiveLog: (
1349
+ obj: ContainerOverrides
1350
+ ) => any;
1351
+
1352
+ export declare const NodePropertyOverrideFilterSensitiveLog: (
1353
+ obj: NodePropertyOverride
1354
+ ) => any;
1355
+
1356
+ export declare const NodeOverridesFilterSensitiveLog: (
1357
+ obj: NodeOverrides
1358
+ ) => any;
1359
+
1360
+ export declare const SubmitJobRequestFilterSensitiveLog: (
1361
+ obj: SubmitJobRequest
1362
+ ) => any;
1363
+
1364
+ export declare const SubmitJobResponseFilterSensitiveLog: (
1365
+ obj: SubmitJobResponse
1366
+ ) => any;
1367
+
1368
+ export declare const TagResourceRequestFilterSensitiveLog: (
1369
+ obj: TagResourceRequest
1370
+ ) => any;
1371
+
1372
+ export declare const TagResourceResponseFilterSensitiveLog: (
1373
+ obj: TagResourceResponse
1374
+ ) => any;
1375
+
1376
+ export declare const TerminateJobRequestFilterSensitiveLog: (
1377
+ obj: TerminateJobRequest
1378
+ ) => any;
1379
+
1380
+ export declare const TerminateJobResponseFilterSensitiveLog: (
1381
+ obj: TerminateJobResponse
1382
+ ) => any;
1383
+
1384
+ export declare const UntagResourceRequestFilterSensitiveLog: (
1385
+ obj: UntagResourceRequest
1386
+ ) => any;
1387
+
1388
+ export declare const UntagResourceResponseFilterSensitiveLog: (
1389
+ obj: UntagResourceResponse
1390
+ ) => any;
1391
+
1392
+ export declare const ComputeResourceUpdateFilterSensitiveLog: (
1393
+ obj: ComputeResourceUpdate
1394
+ ) => any;
1395
+
1396
+ export declare const UpdateComputeEnvironmentRequestFilterSensitiveLog: (
1397
+ obj: UpdateComputeEnvironmentRequest
1398
+ ) => any;
1399
+
1400
+ export declare const UpdateComputeEnvironmentResponseFilterSensitiveLog: (
1401
+ obj: UpdateComputeEnvironmentResponse
1402
+ ) => any;
1403
+
1404
+ export declare const UpdateJobQueueRequestFilterSensitiveLog: (
1405
+ obj: UpdateJobQueueRequest
1406
+ ) => any;
1407
+
1408
+ export declare const UpdateJobQueueResponseFilterSensitiveLog: (
1409
+ obj: UpdateJobQueueResponse
1410
+ ) => any;
1411
+
1412
+ export declare const UpdateSchedulingPolicyRequestFilterSensitiveLog: (
1413
+ obj: UpdateSchedulingPolicyRequest
1414
+ ) => any;
1415
+
1416
+ export declare const UpdateSchedulingPolicyResponseFilterSensitiveLog: (
1417
+ obj: UpdateSchedulingPolicyResponse
1418
+ ) => any;