@aws-sdk/client-batch 3.296.0 → 3.297.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/Batch.d.ts +25 -0
- package/dist-types/BatchClient.d.ts +24 -4
- package/dist-types/commands/CancelJobCommand.d.ts +16 -0
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/CreateJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +16 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/TerminateJobCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +16 -0
- package/dist-types/models/BatchServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +236 -5
- package/dist-types/pagination/DescribeComputeEnvironmentsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeJobDefinitionsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeJobQueuesPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSchedulingPoliciesPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { BatchServiceException as __BaseException } from "./BatchServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum ArrayJobDependency {
|
|
4
7
|
N_TO_N = "N_TO_N",
|
|
5
8
|
SEQUENTIAL = "SEQUENTIAL"
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
11
|
+
* @public
|
|
8
12
|
* <p>An object that represents an Batch array job.</p>
|
|
9
13
|
*/
|
|
10
14
|
export interface ArrayProperties {
|
|
@@ -14,6 +18,7 @@ export interface ArrayProperties {
|
|
|
14
18
|
size?: number;
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>An object that represents the array properties of a job.</p>
|
|
18
23
|
*/
|
|
19
24
|
export interface ArrayPropertiesDetail {
|
|
@@ -33,6 +38,7 @@ export interface ArrayPropertiesDetail {
|
|
|
33
38
|
index?: number;
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
41
|
+
* @public
|
|
36
42
|
* <p>An object that represents the array properties of a job.</p>
|
|
37
43
|
*/
|
|
38
44
|
export interface ArrayPropertiesSummary {
|
|
@@ -46,11 +52,15 @@ export interface ArrayPropertiesSummary {
|
|
|
46
52
|
*/
|
|
47
53
|
index?: number;
|
|
48
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
49
58
|
export declare enum AssignPublicIp {
|
|
50
59
|
DISABLED = "DISABLED",
|
|
51
60
|
ENABLED = "ENABLED"
|
|
52
61
|
}
|
|
53
62
|
/**
|
|
63
|
+
* @public
|
|
54
64
|
* <p>An object that represents the elastic network interface for a multi-node parallel job node.</p>
|
|
55
65
|
*/
|
|
56
66
|
export interface NetworkInterface {
|
|
@@ -68,6 +78,7 @@ export interface NetworkInterface {
|
|
|
68
78
|
privateIpv4Address?: string;
|
|
69
79
|
}
|
|
70
80
|
/**
|
|
81
|
+
* @public
|
|
71
82
|
* <p>An object that represents the details of a container that's part of a job attempt.</p>
|
|
72
83
|
*/
|
|
73
84
|
export interface AttemptContainerDetail {
|
|
@@ -101,6 +112,7 @@ export interface AttemptContainerDetail {
|
|
|
101
112
|
networkInterfaces?: NetworkInterface[];
|
|
102
113
|
}
|
|
103
114
|
/**
|
|
115
|
+
* @public
|
|
104
116
|
* <p>An object that represents a job attempt.</p>
|
|
105
117
|
*/
|
|
106
118
|
export interface AttemptDetail {
|
|
@@ -124,6 +136,7 @@ export interface AttemptDetail {
|
|
|
124
136
|
statusReason?: string;
|
|
125
137
|
}
|
|
126
138
|
/**
|
|
139
|
+
* @public
|
|
127
140
|
* <p>Contains the parameters for <code>CancelJob</code>.</p>
|
|
128
141
|
*/
|
|
129
142
|
export interface CancelJobRequest {
|
|
@@ -138,9 +151,13 @@ export interface CancelJobRequest {
|
|
|
138
151
|
*/
|
|
139
152
|
reason: string | undefined;
|
|
140
153
|
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
141
157
|
export interface CancelJobResponse {
|
|
142
158
|
}
|
|
143
159
|
/**
|
|
160
|
+
* @public
|
|
144
161
|
* <p>These errors are usually caused by a client action. One example cause is using an action or resource on behalf
|
|
145
162
|
* of a user that doesn't have permissions to use the action or resource. Another cause is specifying an identifier
|
|
146
163
|
* that's not valid.</p>
|
|
@@ -154,6 +171,7 @@ export declare class ClientException extends __BaseException {
|
|
|
154
171
|
constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
|
|
155
172
|
}
|
|
156
173
|
/**
|
|
174
|
+
* @public
|
|
157
175
|
* <p>These errors are usually caused by a server issue.</p>
|
|
158
176
|
*/
|
|
159
177
|
export declare class ServerException extends __BaseException {
|
|
@@ -164,12 +182,16 @@ export declare class ServerException extends __BaseException {
|
|
|
164
182
|
*/
|
|
165
183
|
constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
|
|
166
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
167
188
|
export declare enum CRAllocationStrategy {
|
|
168
189
|
BEST_FIT = "BEST_FIT",
|
|
169
190
|
BEST_FIT_PROGRESSIVE = "BEST_FIT_PROGRESSIVE",
|
|
170
191
|
SPOT_CAPACITY_OPTIMIZED = "SPOT_CAPACITY_OPTIMIZED"
|
|
171
192
|
}
|
|
172
193
|
/**
|
|
194
|
+
* @public
|
|
173
195
|
* <p>Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If
|
|
174
196
|
* <code>Ec2Configuration</code> isn't specified, the default is <code>ECS_AL2</code> (<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon Linux 2</a>).</p>
|
|
175
197
|
* <note>
|
|
@@ -253,6 +275,7 @@ export interface Ec2Configuration {
|
|
|
253
275
|
imageKubernetesVersion?: string;
|
|
254
276
|
}
|
|
255
277
|
/**
|
|
278
|
+
* @public
|
|
256
279
|
* <p>An object that represents a launch template that's associated with a compute resource. You must specify either
|
|
257
280
|
* the launch template ID or launch template name in the request, but not both.</p>
|
|
258
281
|
* <p>If security groups are specified using both the <code>securityGroupIds</code> parameter of
|
|
@@ -289,6 +312,9 @@ export interface LaunchTemplateSpecification {
|
|
|
289
312
|
*/
|
|
290
313
|
version?: string;
|
|
291
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
292
318
|
export declare enum CRType {
|
|
293
319
|
EC2 = "EC2",
|
|
294
320
|
FARGATE = "FARGATE",
|
|
@@ -296,6 +322,7 @@ export declare enum CRType {
|
|
|
296
322
|
SPOT = "SPOT"
|
|
297
323
|
}
|
|
298
324
|
/**
|
|
325
|
+
* @public
|
|
299
326
|
* <p>An object that represents an Batch compute resource. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html">Compute environments</a> in the
|
|
300
327
|
* <i>Batch User Guide</i>.</p>
|
|
301
328
|
*/
|
|
@@ -460,7 +487,7 @@ export interface ComputeResource {
|
|
|
460
487
|
/**
|
|
461
488
|
* <p>Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,
|
|
462
489
|
* these take the form of <code>"String1": "String2"</code>, where <code>String1</code> is the tag key and
|
|
463
|
-
* <code>String2</code> is the tag value-for example, <code
|
|
490
|
+
* <code>String2</code> is the tag value-for example, <code>\{ "Name": "Batch Instance - C4OnDemand" \}</code>. This is
|
|
464
491
|
* helpful for recognizing your Batch instances in the Amazon EC2 console. Updating these tags requires an infrastructure
|
|
465
492
|
* update to the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute environments</a> in the
|
|
466
493
|
* <i>Batch User Guide</i>. These tags aren't seen when using the Batch <code>ListTagsForResource</code>
|
|
@@ -530,6 +557,7 @@ export interface ComputeResource {
|
|
|
530
557
|
ec2Configuration?: Ec2Configuration[];
|
|
531
558
|
}
|
|
532
559
|
/**
|
|
560
|
+
* @public
|
|
533
561
|
* <p>Configuration for the Amazon EKS cluster that supports the Batch compute environment. The cluster must exist before
|
|
534
562
|
* the compute environment can be created.</p>
|
|
535
563
|
*/
|
|
@@ -549,15 +577,22 @@ export interface EksConfiguration {
|
|
|
549
577
|
*/
|
|
550
578
|
kubernetesNamespace: string | undefined;
|
|
551
579
|
}
|
|
580
|
+
/**
|
|
581
|
+
* @public
|
|
582
|
+
*/
|
|
552
583
|
export declare enum CEState {
|
|
553
584
|
DISABLED = "DISABLED",
|
|
554
585
|
ENABLED = "ENABLED"
|
|
555
586
|
}
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
*/
|
|
556
590
|
export declare enum CEType {
|
|
557
591
|
MANAGED = "MANAGED",
|
|
558
592
|
UNMANAGED = "UNMANAGED"
|
|
559
593
|
}
|
|
560
594
|
/**
|
|
595
|
+
* @public
|
|
561
596
|
* <p>Contains the parameters for <code>CreateComputeEnvironment</code>.</p>
|
|
562
597
|
*/
|
|
563
598
|
export interface CreateComputeEnvironmentRequest {
|
|
@@ -633,6 +668,9 @@ export interface CreateComputeEnvironmentRequest {
|
|
|
633
668
|
*/
|
|
634
669
|
eksConfiguration?: EksConfiguration;
|
|
635
670
|
}
|
|
671
|
+
/**
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
636
674
|
export interface CreateComputeEnvironmentResponse {
|
|
637
675
|
/**
|
|
638
676
|
* <p>The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and
|
|
@@ -645,6 +683,7 @@ export interface CreateComputeEnvironmentResponse {
|
|
|
645
683
|
computeEnvironmentArn?: string;
|
|
646
684
|
}
|
|
647
685
|
/**
|
|
686
|
+
* @public
|
|
648
687
|
* <p>The order that compute environments are tried in for job placement within a queue. Compute environments are
|
|
649
688
|
* tried in ascending order. For example, if two compute environments are associated with a job queue, the compute
|
|
650
689
|
* environment with a lower order integer value is tried for job placement first. Compute environments must be in the
|
|
@@ -668,11 +707,15 @@ export interface ComputeEnvironmentOrder {
|
|
|
668
707
|
*/
|
|
669
708
|
computeEnvironment: string | undefined;
|
|
670
709
|
}
|
|
710
|
+
/**
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
671
713
|
export declare enum JQState {
|
|
672
714
|
DISABLED = "DISABLED",
|
|
673
715
|
ENABLED = "ENABLED"
|
|
674
716
|
}
|
|
675
717
|
/**
|
|
718
|
+
* @public
|
|
676
719
|
* <p>Contains the parameters for <code>CreateJobQueue</code>.</p>
|
|
677
720
|
*/
|
|
678
721
|
export interface CreateJobQueueRequest {
|
|
@@ -726,6 +769,9 @@ export interface CreateJobQueueRequest {
|
|
|
726
769
|
*/
|
|
727
770
|
tags?: Record<string, string>;
|
|
728
771
|
}
|
|
772
|
+
/**
|
|
773
|
+
* @public
|
|
774
|
+
*/
|
|
729
775
|
export interface CreateJobQueueResponse {
|
|
730
776
|
/**
|
|
731
777
|
* <p>The name of the job queue.</p>
|
|
@@ -737,6 +783,7 @@ export interface CreateJobQueueResponse {
|
|
|
737
783
|
jobQueueArn: string | undefined;
|
|
738
784
|
}
|
|
739
785
|
/**
|
|
786
|
+
* @public
|
|
740
787
|
* <p>Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that
|
|
741
788
|
* aren't included have a default weight of <code>1.0</code>.</p>
|
|
742
789
|
*/
|
|
@@ -760,6 +807,7 @@ export interface ShareAttributes {
|
|
|
760
807
|
weightFactor?: number;
|
|
761
808
|
}
|
|
762
809
|
/**
|
|
810
|
+
* @public
|
|
763
811
|
* <p>The fair share policy for a scheduling policy.</p>
|
|
764
812
|
*/
|
|
765
813
|
export interface FairsharePolicy {
|
|
@@ -793,6 +841,7 @@ export interface FairsharePolicy {
|
|
|
793
841
|
shareDistribution?: ShareAttributes[];
|
|
794
842
|
}
|
|
795
843
|
/**
|
|
844
|
+
* @public
|
|
796
845
|
* <p>Contains the parameters for <code>CreateSchedulingPolicy</code>.</p>
|
|
797
846
|
*/
|
|
798
847
|
export interface CreateSchedulingPolicyRequest {
|
|
@@ -813,6 +862,9 @@ export interface CreateSchedulingPolicyRequest {
|
|
|
813
862
|
*/
|
|
814
863
|
tags?: Record<string, string>;
|
|
815
864
|
}
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
816
868
|
export interface CreateSchedulingPolicyResponse {
|
|
817
869
|
/**
|
|
818
870
|
* <p>The name of the scheduling policy.</p>
|
|
@@ -828,6 +880,7 @@ export interface CreateSchedulingPolicyResponse {
|
|
|
828
880
|
arn: string | undefined;
|
|
829
881
|
}
|
|
830
882
|
/**
|
|
883
|
+
* @public
|
|
831
884
|
* <p>Contains the parameters for <code>DeleteComputeEnvironment</code>.</p>
|
|
832
885
|
*/
|
|
833
886
|
export interface DeleteComputeEnvironmentRequest {
|
|
@@ -836,9 +889,13 @@ export interface DeleteComputeEnvironmentRequest {
|
|
|
836
889
|
*/
|
|
837
890
|
computeEnvironment: string | undefined;
|
|
838
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
839
895
|
export interface DeleteComputeEnvironmentResponse {
|
|
840
896
|
}
|
|
841
897
|
/**
|
|
898
|
+
* @public
|
|
842
899
|
* <p>Contains the parameters for <code>DeleteJobQueue</code>.</p>
|
|
843
900
|
*/
|
|
844
901
|
export interface DeleteJobQueueRequest {
|
|
@@ -847,9 +904,13 @@ export interface DeleteJobQueueRequest {
|
|
|
847
904
|
*/
|
|
848
905
|
jobQueue: string | undefined;
|
|
849
906
|
}
|
|
907
|
+
/**
|
|
908
|
+
* @public
|
|
909
|
+
*/
|
|
850
910
|
export interface DeleteJobQueueResponse {
|
|
851
911
|
}
|
|
852
912
|
/**
|
|
913
|
+
* @public
|
|
853
914
|
* <p>Contains the parameters for <code>DeleteSchedulingPolicy</code>.</p>
|
|
854
915
|
*/
|
|
855
916
|
export interface DeleteSchedulingPolicyRequest {
|
|
@@ -858,17 +919,27 @@ export interface DeleteSchedulingPolicyRequest {
|
|
|
858
919
|
*/
|
|
859
920
|
arn: string | undefined;
|
|
860
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
861
925
|
export interface DeleteSchedulingPolicyResponse {
|
|
862
926
|
}
|
|
927
|
+
/**
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
863
930
|
export interface DeregisterJobDefinitionRequest {
|
|
864
931
|
/**
|
|
865
932
|
* <p>The name and revision (<code>name:revision</code>) or full Amazon Resource Name (ARN) of the job definition to deregister.</p>
|
|
866
933
|
*/
|
|
867
934
|
jobDefinition: string | undefined;
|
|
868
935
|
}
|
|
936
|
+
/**
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
869
939
|
export interface DeregisterJobDefinitionResponse {
|
|
870
940
|
}
|
|
871
941
|
/**
|
|
942
|
+
* @public
|
|
872
943
|
* <p>Contains the parameters for <code>DescribeComputeEnvironments</code>.</p>
|
|
873
944
|
*/
|
|
874
945
|
export interface DescribeComputeEnvironmentsRequest {
|
|
@@ -898,10 +969,16 @@ export interface DescribeComputeEnvironmentsRequest {
|
|
|
898
969
|
*/
|
|
899
970
|
nextToken?: string;
|
|
900
971
|
}
|
|
972
|
+
/**
|
|
973
|
+
* @public
|
|
974
|
+
*/
|
|
901
975
|
export declare enum OrchestrationType {
|
|
902
976
|
ECS = "ECS",
|
|
903
977
|
EKS = "EKS"
|
|
904
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* @public
|
|
981
|
+
*/
|
|
905
982
|
export declare enum CEStatus {
|
|
906
983
|
CREATING = "CREATING",
|
|
907
984
|
DELETED = "DELETED",
|
|
@@ -911,6 +988,7 @@ export declare enum CEStatus {
|
|
|
911
988
|
VALID = "VALID"
|
|
912
989
|
}
|
|
913
990
|
/**
|
|
991
|
+
* @public
|
|
914
992
|
* <p>Specifies the infrastructure update policy for the compute environment. For more information about
|
|
915
993
|
* infrastructure updates, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating
|
|
916
994
|
* compute environments</a> in the <i>Batch User Guide</i>.</p>
|
|
@@ -928,6 +1006,7 @@ export interface UpdatePolicy {
|
|
|
928
1006
|
jobExecutionTimeoutMinutes?: number;
|
|
929
1007
|
}
|
|
930
1008
|
/**
|
|
1009
|
+
* @public
|
|
931
1010
|
* <p>An object that represents an Batch compute environment.</p>
|
|
932
1011
|
*/
|
|
933
1012
|
export interface ComputeEnvironmentDetail {
|
|
@@ -1010,6 +1089,9 @@ export interface ComputeEnvironmentDetail {
|
|
|
1010
1089
|
*/
|
|
1011
1090
|
uuid?: string;
|
|
1012
1091
|
}
|
|
1092
|
+
/**
|
|
1093
|
+
* @public
|
|
1094
|
+
*/
|
|
1013
1095
|
export interface DescribeComputeEnvironmentsResponse {
|
|
1014
1096
|
/**
|
|
1015
1097
|
* <p>The list of compute environments.</p>
|
|
@@ -1024,13 +1106,14 @@ export interface DescribeComputeEnvironmentsResponse {
|
|
|
1024
1106
|
nextToken?: string;
|
|
1025
1107
|
}
|
|
1026
1108
|
/**
|
|
1109
|
+
* @public
|
|
1027
1110
|
* <p>Contains the parameters for <code>DescribeJobDefinitions</code>.</p>
|
|
1028
1111
|
*/
|
|
1029
1112
|
export interface DescribeJobDefinitionsRequest {
|
|
1030
1113
|
/**
|
|
1031
1114
|
* <p>A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
|
|
1032
|
-
* <code>arn:aws:batch
|
|
1033
|
-
* using the form <code
|
|
1115
|
+
* <code>arn:aws:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}</code> or a short version
|
|
1116
|
+
* using the form <code>$\{JobDefinitionName\}:$\{Revision\}</code>.</p>
|
|
1034
1117
|
*/
|
|
1035
1118
|
jobDefinitions?: string[];
|
|
1036
1119
|
/**
|
|
@@ -1064,6 +1147,7 @@ export interface DescribeJobDefinitionsRequest {
|
|
|
1064
1147
|
nextToken?: string;
|
|
1065
1148
|
}
|
|
1066
1149
|
/**
|
|
1150
|
+
* @public
|
|
1067
1151
|
* <p>A key-value pair object.</p>
|
|
1068
1152
|
*/
|
|
1069
1153
|
export interface KeyValuePair {
|
|
@@ -1078,6 +1162,7 @@ export interface KeyValuePair {
|
|
|
1078
1162
|
value?: string;
|
|
1079
1163
|
}
|
|
1080
1164
|
/**
|
|
1165
|
+
* @public
|
|
1081
1166
|
* <p>The platform configuration for jobs that are running on Fargate resources. Jobs that run on EC2 resources must
|
|
1082
1167
|
* not specify this parameter.</p>
|
|
1083
1168
|
*/
|
|
@@ -1090,12 +1175,16 @@ export interface FargatePlatformConfiguration {
|
|
|
1090
1175
|
*/
|
|
1091
1176
|
platformVersion?: string;
|
|
1092
1177
|
}
|
|
1178
|
+
/**
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1093
1181
|
export declare enum DeviceCgroupPermission {
|
|
1094
1182
|
MKNOD = "MKNOD",
|
|
1095
1183
|
READ = "READ",
|
|
1096
1184
|
WRITE = "WRITE"
|
|
1097
1185
|
}
|
|
1098
1186
|
/**
|
|
1187
|
+
* @public
|
|
1099
1188
|
* <p>An object that represents a container instance host device.</p>
|
|
1100
1189
|
* <note>
|
|
1101
1190
|
* <p>This object isn't applicable to jobs that are running on Fargate resources and shouldn't be provided.</p>
|
|
@@ -1118,6 +1207,7 @@ export interface Device {
|
|
|
1118
1207
|
permissions?: (DeviceCgroupPermission | string)[];
|
|
1119
1208
|
}
|
|
1120
1209
|
/**
|
|
1210
|
+
* @public
|
|
1121
1211
|
* <p>The container path, mount options, and size of the <code>tmpfs</code> mount.</p>
|
|
1122
1212
|
* <note>
|
|
1123
1213
|
* <p>This object isn't applicable to jobs that are running on Fargate resources.</p>
|
|
@@ -1146,6 +1236,7 @@ export interface Tmpfs {
|
|
|
1146
1236
|
mountOptions?: string[];
|
|
1147
1237
|
}
|
|
1148
1238
|
/**
|
|
1239
|
+
* @public
|
|
1149
1240
|
* <p>Linux-specific modifications that are applied to the container, such as details for device mappings.</p>
|
|
1150
1241
|
*/
|
|
1151
1242
|
export interface LinuxParameters {
|
|
@@ -1236,6 +1327,9 @@ export interface LinuxParameters {
|
|
|
1236
1327
|
*/
|
|
1237
1328
|
swappiness?: number;
|
|
1238
1329
|
}
|
|
1330
|
+
/**
|
|
1331
|
+
* @public
|
|
1332
|
+
*/
|
|
1239
1333
|
export declare enum LogDriver {
|
|
1240
1334
|
AWSLOGS = "awslogs",
|
|
1241
1335
|
FLUENTD = "fluentd",
|
|
@@ -1246,6 +1340,7 @@ export declare enum LogDriver {
|
|
|
1246
1340
|
SYSLOG = "syslog"
|
|
1247
1341
|
}
|
|
1248
1342
|
/**
|
|
1343
|
+
* @public
|
|
1249
1344
|
* <p>An object that represents the secret to expose to your container. Secrets can be exposed to a container in the
|
|
1250
1345
|
* following ways:</p>
|
|
1251
1346
|
* <ul>
|
|
@@ -1278,6 +1373,7 @@ export interface Secret {
|
|
|
1278
1373
|
valueFrom: string | undefined;
|
|
1279
1374
|
}
|
|
1280
1375
|
/**
|
|
1376
|
+
* @public
|
|
1281
1377
|
* <p>Log configuration options to send to a custom log driver for the container.</p>
|
|
1282
1378
|
*/
|
|
1283
1379
|
export interface LogConfiguration {
|
|
@@ -1356,6 +1452,7 @@ export interface LogConfiguration {
|
|
|
1356
1452
|
secretOptions?: Secret[];
|
|
1357
1453
|
}
|
|
1358
1454
|
/**
|
|
1455
|
+
* @public
|
|
1359
1456
|
* <p>Details for a Docker volume mount point that's used in a job's container properties. This parameter maps to
|
|
1360
1457
|
* <code>Volumes</code> in the <a href="https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#create-a-container">Create a
|
|
1361
1458
|
* container</a> section of the <i>Docker Remote API</i> and the <code>--volume</code> option to
|
|
@@ -1377,6 +1474,7 @@ export interface MountPoint {
|
|
|
1377
1474
|
sourceVolume?: string;
|
|
1378
1475
|
}
|
|
1379
1476
|
/**
|
|
1477
|
+
* @public
|
|
1380
1478
|
* <p>The network configuration for jobs that are running on Fargate resources. Jobs that are running on EC2
|
|
1381
1479
|
* resources must not specify this parameter.</p>
|
|
1382
1480
|
*/
|
|
@@ -1389,12 +1487,16 @@ export interface NetworkConfiguration {
|
|
|
1389
1487
|
*/
|
|
1390
1488
|
assignPublicIp?: AssignPublicIp | string;
|
|
1391
1489
|
}
|
|
1490
|
+
/**
|
|
1491
|
+
* @public
|
|
1492
|
+
*/
|
|
1392
1493
|
export declare enum ResourceType {
|
|
1393
1494
|
GPU = "GPU",
|
|
1394
1495
|
MEMORY = "MEMORY",
|
|
1395
1496
|
VCPU = "VCPU"
|
|
1396
1497
|
}
|
|
1397
1498
|
/**
|
|
1499
|
+
* @public
|
|
1398
1500
|
* <p>The type and amount of a resource to assign to a container. The supported resources include <code>GPU</code>,
|
|
1399
1501
|
* <code>MEMORY</code>, and <code>VCPU</code>.</p>
|
|
1400
1502
|
*/
|
|
@@ -1566,6 +1668,7 @@ export interface ResourceRequirement {
|
|
|
1566
1668
|
type: ResourceType | string | undefined;
|
|
1567
1669
|
}
|
|
1568
1670
|
/**
|
|
1671
|
+
* @public
|
|
1569
1672
|
* <p>The <code>ulimit</code> settings to pass to the container.</p>
|
|
1570
1673
|
* <note>
|
|
1571
1674
|
* <p>This object isn't applicable to jobs that are running on Fargate resources.</p>
|
|
@@ -1585,11 +1688,15 @@ export interface Ulimit {
|
|
|
1585
1688
|
*/
|
|
1586
1689
|
softLimit: number | undefined;
|
|
1587
1690
|
}
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1588
1694
|
export declare enum EFSAuthorizationConfigIAM {
|
|
1589
1695
|
DISABLED = "DISABLED",
|
|
1590
1696
|
ENABLED = "ENABLED"
|
|
1591
1697
|
}
|
|
1592
1698
|
/**
|
|
1699
|
+
* @public
|
|
1593
1700
|
* <p>The authorization configuration details for the Amazon EFS file system.</p>
|
|
1594
1701
|
*/
|
|
1595
1702
|
export interface EFSAuthorizationConfig {
|
|
@@ -1610,11 +1717,15 @@ export interface EFSAuthorizationConfig {
|
|
|
1610
1717
|
*/
|
|
1611
1718
|
iam?: EFSAuthorizationConfigIAM | string;
|
|
1612
1719
|
}
|
|
1720
|
+
/**
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1613
1723
|
export declare enum EFSTransitEncryption {
|
|
1614
1724
|
DISABLED = "DISABLED",
|
|
1615
1725
|
ENABLED = "ENABLED"
|
|
1616
1726
|
}
|
|
1617
1727
|
/**
|
|
1728
|
+
* @public
|
|
1618
1729
|
* <p>This is used when you're using an Amazon Elastic File System file system for job storage. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/efs-volumes.html">Amazon EFS Volumes</a> in the
|
|
1619
1730
|
* <i>Batch User Guide</i>.</p>
|
|
1620
1731
|
*/
|
|
@@ -1652,6 +1763,7 @@ export interface EFSVolumeConfiguration {
|
|
|
1652
1763
|
authorizationConfig?: EFSAuthorizationConfig;
|
|
1653
1764
|
}
|
|
1654
1765
|
/**
|
|
1766
|
+
* @public
|
|
1655
1767
|
* <p>Determine whether your data volume persists on the host container instance and where it's stored. If this
|
|
1656
1768
|
* parameter is empty, then the Docker daemon assigns a host path for your data volume. However, the data isn't
|
|
1657
1769
|
* guaranteed to persist after the containers that are associated with it stop running.</p>
|
|
@@ -1671,6 +1783,7 @@ export interface Host {
|
|
|
1671
1783
|
sourcePath?: string;
|
|
1672
1784
|
}
|
|
1673
1785
|
/**
|
|
1786
|
+
* @public
|
|
1674
1787
|
* <p>A data volume that's used in a job's container properties.</p>
|
|
1675
1788
|
*/
|
|
1676
1789
|
export interface Volume {
|
|
@@ -1698,6 +1811,7 @@ export interface Volume {
|
|
|
1698
1811
|
efsVolumeConfiguration?: EFSVolumeConfiguration;
|
|
1699
1812
|
}
|
|
1700
1813
|
/**
|
|
1814
|
+
* @public
|
|
1701
1815
|
* <p>Container properties are used
|
|
1702
1816
|
* for
|
|
1703
1817
|
* Amazon ECS based job definitions. These properties to describe the container that's launched as part of
|
|
@@ -1896,6 +2010,7 @@ export interface ContainerProperties {
|
|
|
1896
2010
|
fargatePlatformConfiguration?: FargatePlatformConfiguration;
|
|
1897
2011
|
}
|
|
1898
2012
|
/**
|
|
2013
|
+
* @public
|
|
1899
2014
|
* <p>An environment variable.</p>
|
|
1900
2015
|
*/
|
|
1901
2016
|
export interface EksContainerEnvironmentVariable {
|
|
@@ -1909,6 +2024,7 @@ export interface EksContainerEnvironmentVariable {
|
|
|
1909
2024
|
value?: string;
|
|
1910
2025
|
}
|
|
1911
2026
|
/**
|
|
2027
|
+
* @public
|
|
1912
2028
|
* <p>The type and amount of resources to assign to a container. The supported resources include <code>memory</code>,
|
|
1913
2029
|
* <code>cpu</code>, and <code>nvidia.com/gpu</code>. For more information, see <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/">Resource management for pods
|
|
1914
2030
|
* and containers</a> in the <i>Kubernetes documentation</i>.</p>
|
|
@@ -1986,6 +2102,7 @@ export interface EksContainerResourceRequirements {
|
|
|
1986
2102
|
requests?: Record<string, string>;
|
|
1987
2103
|
}
|
|
1988
2104
|
/**
|
|
2105
|
+
* @public
|
|
1989
2106
|
* <p>The security context for a job. For more information, see <a href="https://kubernetes.io/docs/tasks/configure-pod-container/security-context/">Configure a security context for a
|
|
1990
2107
|
* pod or container</a> in the <i>Kubernetes documentation</i>.</p>
|
|
1991
2108
|
*/
|
|
@@ -2026,6 +2143,7 @@ export interface EksContainerSecurityContext {
|
|
|
2026
2143
|
runAsNonRoot?: boolean;
|
|
2027
2144
|
}
|
|
2028
2145
|
/**
|
|
2146
|
+
* @public
|
|
2029
2147
|
* <p>The volume mounts for a container for an Amazon EKS job. For more information about volumes and volume mounts in
|
|
2030
2148
|
* Kubernetes, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/">Volumes</a> in the <i>Kubernetes
|
|
2031
2149
|
* documentation</i>.</p>
|
|
@@ -2046,6 +2164,7 @@ export interface EksContainerVolumeMount {
|
|
|
2046
2164
|
readOnly?: boolean;
|
|
2047
2165
|
}
|
|
2048
2166
|
/**
|
|
2167
|
+
* @public
|
|
2049
2168
|
* <p>EKS container properties are used in job definitions for Amazon EKS based job definitions to describe the properties
|
|
2050
2169
|
* for a container node in the pod that's launched as part of a job. This can't be specified for Amazon ECS based job
|
|
2051
2170
|
* definitions.</p>
|
|
@@ -2122,6 +2241,7 @@ export interface EksContainer {
|
|
|
2122
2241
|
securityContext?: EksContainerSecurityContext;
|
|
2123
2242
|
}
|
|
2124
2243
|
/**
|
|
2244
|
+
* @public
|
|
2125
2245
|
* <p>Specifies the configuration of a Kubernetes <code>emptyDir</code> volume. An <code>emptyDir</code> volume is first
|
|
2126
2246
|
* created when a pod is assigned to a node. It exists as long as that pod is running on that node. The
|
|
2127
2247
|
* <code>emptyDir</code> volume is initially empty. All containers in the pod can read and write the files in the
|
|
@@ -2153,6 +2273,7 @@ export interface EksEmptyDir {
|
|
|
2153
2273
|
sizeLimit?: string;
|
|
2154
2274
|
}
|
|
2155
2275
|
/**
|
|
2276
|
+
* @public
|
|
2156
2277
|
* <p>Specifies the configuration of a Kubernetes <code>hostPath</code> volume. A <code>hostPath</code> volume mounts an
|
|
2157
2278
|
* existing file or directory from the host node's filesystem into your pod. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/#hostpath">hostPath</a> in the <i>Kubernetes
|
|
2158
2279
|
* documentation</i>.</p>
|
|
@@ -2164,6 +2285,7 @@ export interface EksHostPath {
|
|
|
2164
2285
|
path?: string;
|
|
2165
2286
|
}
|
|
2166
2287
|
/**
|
|
2288
|
+
* @public
|
|
2167
2289
|
* <p>Specifies the configuration of a Kubernetes <code>secret</code> volume. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/#secret">secret</a> in the <i>Kubernetes
|
|
2168
2290
|
* documentation</i>.</p>
|
|
2169
2291
|
*/
|
|
@@ -2179,6 +2301,7 @@ export interface EksSecret {
|
|
|
2179
2301
|
optional?: boolean;
|
|
2180
2302
|
}
|
|
2181
2303
|
/**
|
|
2304
|
+
* @public
|
|
2182
2305
|
* <p>Specifies an Amazon EKS volume for a job definition.</p>
|
|
2183
2306
|
*/
|
|
2184
2307
|
export interface EksVolume {
|
|
@@ -2204,6 +2327,7 @@ export interface EksVolume {
|
|
|
2204
2327
|
secret?: EksSecret;
|
|
2205
2328
|
}
|
|
2206
2329
|
/**
|
|
2330
|
+
* @public
|
|
2207
2331
|
* <p>The properties for the pod.</p>
|
|
2208
2332
|
*/
|
|
2209
2333
|
export interface EksPodProperties {
|
|
@@ -2241,6 +2365,7 @@ export interface EksPodProperties {
|
|
|
2241
2365
|
volumes?: EksVolume[];
|
|
2242
2366
|
}
|
|
2243
2367
|
/**
|
|
2368
|
+
* @public
|
|
2244
2369
|
* <p>An object that contains the properties for the Kubernetes resources of a job.</p>
|
|
2245
2370
|
*/
|
|
2246
2371
|
export interface EksProperties {
|
|
@@ -2250,6 +2375,7 @@ export interface EksProperties {
|
|
|
2250
2375
|
podProperties?: EksPodProperties;
|
|
2251
2376
|
}
|
|
2252
2377
|
/**
|
|
2378
|
+
* @public
|
|
2253
2379
|
* <p>An object that represents the properties of the node range for a multi-node parallel job.</p>
|
|
2254
2380
|
*/
|
|
2255
2381
|
export interface NodeRangeProperty {
|
|
@@ -2268,6 +2394,7 @@ export interface NodeRangeProperty {
|
|
|
2268
2394
|
container?: ContainerProperties;
|
|
2269
2395
|
}
|
|
2270
2396
|
/**
|
|
2397
|
+
* @public
|
|
2271
2398
|
* <p>An object that represents the node properties of a multi-node parallel job.</p>
|
|
2272
2399
|
* <note>
|
|
2273
2400
|
* <p>Node properties can't be specified for Amazon EKS based job definitions.</p>
|
|
@@ -2288,15 +2415,22 @@ export interface NodeProperties {
|
|
|
2288
2415
|
*/
|
|
2289
2416
|
nodeRangeProperties: NodeRangeProperty[] | undefined;
|
|
2290
2417
|
}
|
|
2418
|
+
/**
|
|
2419
|
+
* @public
|
|
2420
|
+
*/
|
|
2291
2421
|
export declare enum PlatformCapability {
|
|
2292
2422
|
EC2 = "EC2",
|
|
2293
2423
|
FARGATE = "FARGATE"
|
|
2294
2424
|
}
|
|
2425
|
+
/**
|
|
2426
|
+
* @public
|
|
2427
|
+
*/
|
|
2295
2428
|
export declare enum RetryAction {
|
|
2296
2429
|
EXIT = "EXIT",
|
|
2297
2430
|
RETRY = "RETRY"
|
|
2298
2431
|
}
|
|
2299
2432
|
/**
|
|
2433
|
+
* @public
|
|
2300
2434
|
* <p>Specifies an array of up to 5 conditions to be met, and an action to take (<code>RETRY</code> or
|
|
2301
2435
|
* <code>EXIT</code>) if all conditions are met. If none of the <code>EvaluateOnExit</code> conditions in a
|
|
2302
2436
|
* <code>RetryStrategy</code> match, then the job is retried.</p>
|
|
@@ -2330,6 +2464,7 @@ export interface EvaluateOnExit {
|
|
|
2330
2464
|
action: RetryAction | string | undefined;
|
|
2331
2465
|
}
|
|
2332
2466
|
/**
|
|
2467
|
+
* @public
|
|
2333
2468
|
* <p>The retry strategy that's associated with a job. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/job_retries.html">Automated job retries</a> in the <i>Batch User Guide</i>.</p>
|
|
2334
2469
|
*/
|
|
2335
2470
|
export interface RetryStrategy {
|
|
@@ -2347,6 +2482,7 @@ export interface RetryStrategy {
|
|
|
2347
2482
|
evaluateOnExit?: EvaluateOnExit[];
|
|
2348
2483
|
}
|
|
2349
2484
|
/**
|
|
2485
|
+
* @public
|
|
2350
2486
|
* <p>An object that represents a job timeout configuration.</p>
|
|
2351
2487
|
*/
|
|
2352
2488
|
export interface JobTimeout {
|
|
@@ -2360,6 +2496,7 @@ export interface JobTimeout {
|
|
|
2360
2496
|
attemptDurationSeconds?: number;
|
|
2361
2497
|
}
|
|
2362
2498
|
/**
|
|
2499
|
+
* @public
|
|
2363
2500
|
* <p>An object that represents an Batch job definition.</p>
|
|
2364
2501
|
*/
|
|
2365
2502
|
export interface JobDefinition {
|
|
@@ -2451,6 +2588,9 @@ export interface JobDefinition {
|
|
|
2451
2588
|
*/
|
|
2452
2589
|
containerOrchestrationType?: OrchestrationType | string;
|
|
2453
2590
|
}
|
|
2591
|
+
/**
|
|
2592
|
+
* @public
|
|
2593
|
+
*/
|
|
2454
2594
|
export interface DescribeJobDefinitionsResponse {
|
|
2455
2595
|
/**
|
|
2456
2596
|
* <p>The list of job definitions.</p>
|
|
@@ -2464,6 +2604,7 @@ export interface DescribeJobDefinitionsResponse {
|
|
|
2464
2604
|
nextToken?: string;
|
|
2465
2605
|
}
|
|
2466
2606
|
/**
|
|
2607
|
+
* @public
|
|
2467
2608
|
* <p>Contains the parameters for <code>DescribeJobQueues</code>.</p>
|
|
2468
2609
|
*/
|
|
2469
2610
|
export interface DescribeJobQueuesRequest {
|
|
@@ -2492,6 +2633,9 @@ export interface DescribeJobQueuesRequest {
|
|
|
2492
2633
|
*/
|
|
2493
2634
|
nextToken?: string;
|
|
2494
2635
|
}
|
|
2636
|
+
/**
|
|
2637
|
+
* @public
|
|
2638
|
+
*/
|
|
2495
2639
|
export declare enum JQStatus {
|
|
2496
2640
|
CREATING = "CREATING",
|
|
2497
2641
|
DELETED = "DELETED",
|
|
@@ -2501,6 +2645,7 @@ export declare enum JQStatus {
|
|
|
2501
2645
|
VALID = "VALID"
|
|
2502
2646
|
}
|
|
2503
2647
|
/**
|
|
2648
|
+
* @public
|
|
2504
2649
|
* <p>An object that represents the details for an Batch job queue.</p>
|
|
2505
2650
|
*/
|
|
2506
2651
|
export interface JobQueueDetail {
|
|
@@ -2554,6 +2699,9 @@ export interface JobQueueDetail {
|
|
|
2554
2699
|
*/
|
|
2555
2700
|
tags?: Record<string, string>;
|
|
2556
2701
|
}
|
|
2702
|
+
/**
|
|
2703
|
+
* @public
|
|
2704
|
+
*/
|
|
2557
2705
|
export interface DescribeJobQueuesResponse {
|
|
2558
2706
|
/**
|
|
2559
2707
|
* <p>The list of job queues.</p>
|
|
@@ -2567,6 +2715,7 @@ export interface DescribeJobQueuesResponse {
|
|
|
2567
2715
|
nextToken?: string;
|
|
2568
2716
|
}
|
|
2569
2717
|
/**
|
|
2718
|
+
* @public
|
|
2570
2719
|
* <p>Contains the parameters for <code>DescribeJobs</code>.</p>
|
|
2571
2720
|
*/
|
|
2572
2721
|
export interface DescribeJobsRequest {
|
|
@@ -2576,6 +2725,7 @@ export interface DescribeJobsRequest {
|
|
|
2576
2725
|
jobs: string[] | undefined;
|
|
2577
2726
|
}
|
|
2578
2727
|
/**
|
|
2728
|
+
* @public
|
|
2579
2729
|
* <p>An object that represents the details of a container that's part of a job.</p>
|
|
2580
2730
|
*/
|
|
2581
2731
|
export interface ContainerDetail {
|
|
@@ -2751,6 +2901,7 @@ export interface ContainerDetail {
|
|
|
2751
2901
|
fargatePlatformConfiguration?: FargatePlatformConfiguration;
|
|
2752
2902
|
}
|
|
2753
2903
|
/**
|
|
2904
|
+
* @public
|
|
2754
2905
|
* <p>An object that represents an Batch job dependency.</p>
|
|
2755
2906
|
*/
|
|
2756
2907
|
export interface JobDependency {
|
|
@@ -2764,6 +2915,7 @@ export interface JobDependency {
|
|
|
2764
2915
|
type?: ArrayJobDependency | string;
|
|
2765
2916
|
}
|
|
2766
2917
|
/**
|
|
2918
|
+
* @public
|
|
2767
2919
|
* <p>An object that represents the details for an attempt for a job attempt that an Amazon EKS container runs.</p>
|
|
2768
2920
|
*/
|
|
2769
2921
|
export interface EksAttemptContainerDetail {
|
|
@@ -2778,6 +2930,7 @@ export interface EksAttemptContainerDetail {
|
|
|
2778
2930
|
reason?: string;
|
|
2779
2931
|
}
|
|
2780
2932
|
/**
|
|
2933
|
+
* @public
|
|
2781
2934
|
* <p>An object that represents the details of a job attempt for a job attempt by an Amazon EKS container.</p>
|
|
2782
2935
|
*/
|
|
2783
2936
|
export interface EksAttemptDetail {
|
|
@@ -2810,6 +2963,7 @@ export interface EksAttemptDetail {
|
|
|
2810
2963
|
statusReason?: string;
|
|
2811
2964
|
}
|
|
2812
2965
|
/**
|
|
2966
|
+
* @public
|
|
2813
2967
|
* <p>The details for container properties that are returned by <code>DescribeJobs</code> for jobs that use
|
|
2814
2968
|
* Amazon EKS.</p>
|
|
2815
2969
|
*/
|
|
@@ -2884,6 +3038,7 @@ export interface EksContainerDetail {
|
|
|
2884
3038
|
securityContext?: EksContainerSecurityContext;
|
|
2885
3039
|
}
|
|
2886
3040
|
/**
|
|
3041
|
+
* @public
|
|
2887
3042
|
* <p>The details for the pod.</p>
|
|
2888
3043
|
*/
|
|
2889
3044
|
export interface EksPodPropertiesDetail {
|
|
@@ -2932,6 +3087,7 @@ export interface EksPodPropertiesDetail {
|
|
|
2932
3087
|
nodeName?: string;
|
|
2933
3088
|
}
|
|
2934
3089
|
/**
|
|
3090
|
+
* @public
|
|
2935
3091
|
* <p>An object that contains the details for the Kubernetes resources of a job.</p>
|
|
2936
3092
|
*/
|
|
2937
3093
|
export interface EksPropertiesDetail {
|
|
@@ -2941,6 +3097,7 @@ export interface EksPropertiesDetail {
|
|
|
2941
3097
|
podProperties?: EksPodPropertiesDetail;
|
|
2942
3098
|
}
|
|
2943
3099
|
/**
|
|
3100
|
+
* @public
|
|
2944
3101
|
* <p>An object that represents the details of a multi-node parallel job node.</p>
|
|
2945
3102
|
*/
|
|
2946
3103
|
export interface NodeDetails {
|
|
@@ -2954,6 +3111,9 @@ export interface NodeDetails {
|
|
|
2954
3111
|
*/
|
|
2955
3112
|
isMainNode?: boolean;
|
|
2956
3113
|
}
|
|
3114
|
+
/**
|
|
3115
|
+
* @public
|
|
3116
|
+
*/
|
|
2957
3117
|
export declare enum JobStatus {
|
|
2958
3118
|
FAILED = "FAILED",
|
|
2959
3119
|
PENDING = "PENDING",
|
|
@@ -2964,6 +3124,7 @@ export declare enum JobStatus {
|
|
|
2964
3124
|
SUCCEEDED = "SUCCEEDED"
|
|
2965
3125
|
}
|
|
2966
3126
|
/**
|
|
3127
|
+
* @public
|
|
2967
3128
|
* <p>An object that represents an Batch job.</p>
|
|
2968
3129
|
*/
|
|
2969
3130
|
export interface JobDetail {
|
|
@@ -3100,6 +3261,9 @@ export interface JobDetail {
|
|
|
3100
3261
|
*/
|
|
3101
3262
|
isTerminated?: boolean;
|
|
3102
3263
|
}
|
|
3264
|
+
/**
|
|
3265
|
+
* @public
|
|
3266
|
+
*/
|
|
3103
3267
|
export interface DescribeJobsResponse {
|
|
3104
3268
|
/**
|
|
3105
3269
|
* <p>The list of jobs.</p>
|
|
@@ -3107,6 +3271,7 @@ export interface DescribeJobsResponse {
|
|
|
3107
3271
|
jobs?: JobDetail[];
|
|
3108
3272
|
}
|
|
3109
3273
|
/**
|
|
3274
|
+
* @public
|
|
3110
3275
|
* <p>Contains the parameters for <code>DescribeSchedulingPolicies</code>.</p>
|
|
3111
3276
|
*/
|
|
3112
3277
|
export interface DescribeSchedulingPoliciesRequest {
|
|
@@ -3116,6 +3281,7 @@ export interface DescribeSchedulingPoliciesRequest {
|
|
|
3116
3281
|
arns: string[] | undefined;
|
|
3117
3282
|
}
|
|
3118
3283
|
/**
|
|
3284
|
+
* @public
|
|
3119
3285
|
* <p>An object that represents a scheduling policy.</p>
|
|
3120
3286
|
*/
|
|
3121
3287
|
export interface SchedulingPolicyDetail {
|
|
@@ -3140,6 +3306,9 @@ export interface SchedulingPolicyDetail {
|
|
|
3140
3306
|
*/
|
|
3141
3307
|
tags?: Record<string, string>;
|
|
3142
3308
|
}
|
|
3309
|
+
/**
|
|
3310
|
+
* @public
|
|
3311
|
+
*/
|
|
3143
3312
|
export interface DescribeSchedulingPoliciesResponse {
|
|
3144
3313
|
/**
|
|
3145
3314
|
* <p>The list of scheduling policies.</p>
|
|
@@ -3147,6 +3316,7 @@ export interface DescribeSchedulingPoliciesResponse {
|
|
|
3147
3316
|
schedulingPolicies?: SchedulingPolicyDetail[];
|
|
3148
3317
|
}
|
|
3149
3318
|
/**
|
|
3319
|
+
* @public
|
|
3150
3320
|
* <p>A filter name and value pair that's used to return a more specific list of results from a <code>ListJobs</code>
|
|
3151
3321
|
* API operation.</p>
|
|
3152
3322
|
*/
|
|
@@ -3161,6 +3331,7 @@ export interface KeyValuesPair {
|
|
|
3161
3331
|
values?: string[];
|
|
3162
3332
|
}
|
|
3163
3333
|
/**
|
|
3334
|
+
* @public
|
|
3164
3335
|
* <p>Contains the parameters for <code>ListJobs</code>.</p>
|
|
3165
3336
|
*/
|
|
3166
3337
|
export interface ListJobsRequest {
|
|
@@ -3226,7 +3397,7 @@ export interface ListJobsRequest {
|
|
|
3226
3397
|
* example, <code>jd1</code> matches only <code>jd1</code>, and <code>jd1*</code> matches both <code>jd1</code> and
|
|
3227
3398
|
* <code>jd1A</code>. The version of the job definition that's used doesn't affect the sort order. When the
|
|
3228
3399
|
* <code>JOB_DEFINITION</code> filter is used and the ARN is used (which is in the form
|
|
3229
|
-
* <code>arn
|
|
3400
|
+
* <code>arn:$\{Partition\}:batch:$\{Region\}:$\{Account\}:job-definition/$\{JobDefinitionName\}:$\{Revision\}</code>), the
|
|
3230
3401
|
* results include jobs that used the specified revision of the job definition. Asterisk (*) isn't supported when the
|
|
3231
3402
|
* ARN is used.</p>
|
|
3232
3403
|
* </dd>
|
|
@@ -3247,6 +3418,7 @@ export interface ListJobsRequest {
|
|
|
3247
3418
|
filters?: KeyValuesPair[];
|
|
3248
3419
|
}
|
|
3249
3420
|
/**
|
|
3421
|
+
* @public
|
|
3250
3422
|
* <p>An object that represents summary details of a container within a job.</p>
|
|
3251
3423
|
*/
|
|
3252
3424
|
export interface ContainerSummary {
|
|
@@ -3261,6 +3433,7 @@ export interface ContainerSummary {
|
|
|
3261
3433
|
reason?: string;
|
|
3262
3434
|
}
|
|
3263
3435
|
/**
|
|
3436
|
+
* @public
|
|
3264
3437
|
* <p>An object that represents the properties of a node that's associated with a multi-node parallel job.</p>
|
|
3265
3438
|
*/
|
|
3266
3439
|
export interface NodePropertiesSummary {
|
|
@@ -3279,6 +3452,7 @@ export interface NodePropertiesSummary {
|
|
|
3279
3452
|
nodeIndex?: number;
|
|
3280
3453
|
}
|
|
3281
3454
|
/**
|
|
3455
|
+
* @public
|
|
3282
3456
|
* <p>An object that represents summary details of a job.</p>
|
|
3283
3457
|
*/
|
|
3284
3458
|
export interface JobSummary {
|
|
@@ -3339,6 +3513,9 @@ export interface JobSummary {
|
|
|
3339
3513
|
*/
|
|
3340
3514
|
jobDefinition?: string;
|
|
3341
3515
|
}
|
|
3516
|
+
/**
|
|
3517
|
+
* @public
|
|
3518
|
+
*/
|
|
3342
3519
|
export interface ListJobsResponse {
|
|
3343
3520
|
/**
|
|
3344
3521
|
* <p>A list of job summaries that match the request.</p>
|
|
@@ -3352,6 +3529,7 @@ export interface ListJobsResponse {
|
|
|
3352
3529
|
nextToken?: string;
|
|
3353
3530
|
}
|
|
3354
3531
|
/**
|
|
3532
|
+
* @public
|
|
3355
3533
|
* <p>Contains the parameters for <code>ListSchedulingPolicies</code>.</p>
|
|
3356
3534
|
*/
|
|
3357
3535
|
export interface ListSchedulingPoliciesRequest {
|
|
@@ -3379,6 +3557,7 @@ export interface ListSchedulingPoliciesRequest {
|
|
|
3379
3557
|
nextToken?: string;
|
|
3380
3558
|
}
|
|
3381
3559
|
/**
|
|
3560
|
+
* @public
|
|
3382
3561
|
* <p>An object that contains the details of a scheduling policy that's returned in a
|
|
3383
3562
|
* <code>ListSchedulingPolicy</code> action.</p>
|
|
3384
3563
|
*/
|
|
@@ -3388,6 +3567,9 @@ export interface SchedulingPolicyListingDetail {
|
|
|
3388
3567
|
*/
|
|
3389
3568
|
arn: string | undefined;
|
|
3390
3569
|
}
|
|
3570
|
+
/**
|
|
3571
|
+
* @public
|
|
3572
|
+
*/
|
|
3391
3573
|
export interface ListSchedulingPoliciesResponse {
|
|
3392
3574
|
/**
|
|
3393
3575
|
* <p>A list of scheduling policies that match the request.</p>
|
|
@@ -3401,6 +3583,7 @@ export interface ListSchedulingPoliciesResponse {
|
|
|
3401
3583
|
nextToken?: string;
|
|
3402
3584
|
}
|
|
3403
3585
|
/**
|
|
3586
|
+
* @public
|
|
3404
3587
|
* <p>Contains the parameters for <code>ListTagsForResource</code>.</p>
|
|
3405
3588
|
*/
|
|
3406
3589
|
export interface ListTagsForResourceRequest {
|
|
@@ -3410,17 +3593,24 @@ export interface ListTagsForResourceRequest {
|
|
|
3410
3593
|
*/
|
|
3411
3594
|
resourceArn: string | undefined;
|
|
3412
3595
|
}
|
|
3596
|
+
/**
|
|
3597
|
+
* @public
|
|
3598
|
+
*/
|
|
3413
3599
|
export interface ListTagsForResourceResponse {
|
|
3414
3600
|
/**
|
|
3415
3601
|
* <p>The tags for the resource.</p>
|
|
3416
3602
|
*/
|
|
3417
3603
|
tags?: Record<string, string>;
|
|
3418
3604
|
}
|
|
3605
|
+
/**
|
|
3606
|
+
* @public
|
|
3607
|
+
*/
|
|
3419
3608
|
export declare enum JobDefinitionType {
|
|
3420
3609
|
Container = "container",
|
|
3421
3610
|
Multinode = "multinode"
|
|
3422
3611
|
}
|
|
3423
3612
|
/**
|
|
3613
|
+
* @public
|
|
3424
3614
|
* <p>Contains the parameters for <code>RegisterJobDefinition</code>.</p>
|
|
3425
3615
|
*/
|
|
3426
3616
|
export interface RegisterJobDefinitionRequest {
|
|
@@ -3517,6 +3707,9 @@ export interface RegisterJobDefinitionRequest {
|
|
|
3517
3707
|
*/
|
|
3518
3708
|
eksProperties?: EksProperties;
|
|
3519
3709
|
}
|
|
3710
|
+
/**
|
|
3711
|
+
* @public
|
|
3712
|
+
*/
|
|
3520
3713
|
export interface RegisterJobDefinitionResponse {
|
|
3521
3714
|
/**
|
|
3522
3715
|
* <p>The name of the job definition.</p>
|
|
@@ -3532,6 +3725,7 @@ export interface RegisterJobDefinitionResponse {
|
|
|
3532
3725
|
revision: number | undefined;
|
|
3533
3726
|
}
|
|
3534
3727
|
/**
|
|
3728
|
+
* @public
|
|
3535
3729
|
* <p>The overrides that should be sent to a container.</p>
|
|
3536
3730
|
*/
|
|
3537
3731
|
export interface ContainerOverrides {
|
|
@@ -3591,6 +3785,7 @@ export interface ContainerOverrides {
|
|
|
3591
3785
|
resourceRequirements?: ResourceRequirement[];
|
|
3592
3786
|
}
|
|
3593
3787
|
/**
|
|
3788
|
+
* @public
|
|
3594
3789
|
* <p>Object representing any Kubernetes overrides to a job definition that's used in a <a>SubmitJob</a> API
|
|
3595
3790
|
* operation.</p>
|
|
3596
3791
|
*/
|
|
@@ -3630,6 +3825,7 @@ export interface EksContainerOverride {
|
|
|
3630
3825
|
resources?: EksContainerResourceRequirements;
|
|
3631
3826
|
}
|
|
3632
3827
|
/**
|
|
3828
|
+
* @public
|
|
3633
3829
|
* <p>An object that contains overrides for the Kubernetes pod properties of a job.</p>
|
|
3634
3830
|
*/
|
|
3635
3831
|
export interface EksPodPropertiesOverride {
|
|
@@ -3639,6 +3835,7 @@ export interface EksPodPropertiesOverride {
|
|
|
3639
3835
|
containers?: EksContainerOverride[];
|
|
3640
3836
|
}
|
|
3641
3837
|
/**
|
|
3838
|
+
* @public
|
|
3642
3839
|
* <p>An object that contains overrides for the Kubernetes resources of a job.</p>
|
|
3643
3840
|
*/
|
|
3644
3841
|
export interface EksPropertiesOverride {
|
|
@@ -3648,6 +3845,7 @@ export interface EksPropertiesOverride {
|
|
|
3648
3845
|
podProperties?: EksPodPropertiesOverride;
|
|
3649
3846
|
}
|
|
3650
3847
|
/**
|
|
3848
|
+
* @public
|
|
3651
3849
|
* <p>The object that represents any node overrides to a job definition that's used in a <a>SubmitJob</a>
|
|
3652
3850
|
* API operation.</p>
|
|
3653
3851
|
*/
|
|
@@ -3665,6 +3863,7 @@ export interface NodePropertyOverride {
|
|
|
3665
3863
|
containerOverrides?: ContainerOverrides;
|
|
3666
3864
|
}
|
|
3667
3865
|
/**
|
|
3866
|
+
* @public
|
|
3668
3867
|
* <p>An object that represents any node overrides to a job definition that's used in a <a>SubmitJob</a>
|
|
3669
3868
|
* API operation.</p>
|
|
3670
3869
|
* <note>
|
|
@@ -3698,6 +3897,7 @@ export interface NodeOverrides {
|
|
|
3698
3897
|
nodePropertyOverrides?: NodePropertyOverride[];
|
|
3699
3898
|
}
|
|
3700
3899
|
/**
|
|
3900
|
+
* @public
|
|
3701
3901
|
* <p>Contains the parameters for <code>SubmitJob</code>.</p>
|
|
3702
3902
|
*/
|
|
3703
3903
|
export interface SubmitJobRequest {
|
|
@@ -3799,6 +3999,9 @@ export interface SubmitJobRequest {
|
|
|
3799
3999
|
*/
|
|
3800
4000
|
eksPropertiesOverride?: EksPropertiesOverride;
|
|
3801
4001
|
}
|
|
4002
|
+
/**
|
|
4003
|
+
* @public
|
|
4004
|
+
*/
|
|
3802
4005
|
export interface SubmitJobResponse {
|
|
3803
4006
|
/**
|
|
3804
4007
|
* <p>The Amazon Resource Name (ARN) for the job.</p>
|
|
@@ -3814,6 +4017,7 @@ export interface SubmitJobResponse {
|
|
|
3814
4017
|
jobId: string | undefined;
|
|
3815
4018
|
}
|
|
3816
4019
|
/**
|
|
4020
|
+
* @public
|
|
3817
4021
|
* <p>Contains the parameters for <code>TagResource</code>.</p>
|
|
3818
4022
|
*/
|
|
3819
4023
|
export interface TagResourceRequest {
|
|
@@ -3829,9 +4033,13 @@ export interface TagResourceRequest {
|
|
|
3829
4033
|
*/
|
|
3830
4034
|
tags: Record<string, string> | undefined;
|
|
3831
4035
|
}
|
|
4036
|
+
/**
|
|
4037
|
+
* @public
|
|
4038
|
+
*/
|
|
3832
4039
|
export interface TagResourceResponse {
|
|
3833
4040
|
}
|
|
3834
4041
|
/**
|
|
4042
|
+
* @public
|
|
3835
4043
|
* <p>Contains the parameters for <code>TerminateJob</code>.</p>
|
|
3836
4044
|
*/
|
|
3837
4045
|
export interface TerminateJobRequest {
|
|
@@ -3846,9 +4054,13 @@ export interface TerminateJobRequest {
|
|
|
3846
4054
|
*/
|
|
3847
4055
|
reason: string | undefined;
|
|
3848
4056
|
}
|
|
4057
|
+
/**
|
|
4058
|
+
* @public
|
|
4059
|
+
*/
|
|
3849
4060
|
export interface TerminateJobResponse {
|
|
3850
4061
|
}
|
|
3851
4062
|
/**
|
|
4063
|
+
* @public
|
|
3852
4064
|
* <p>Contains the parameters for <code>UntagResource</code>.</p>
|
|
3853
4065
|
*/
|
|
3854
4066
|
export interface UntagResourceRequest {
|
|
@@ -3862,13 +4074,20 @@ export interface UntagResourceRequest {
|
|
|
3862
4074
|
*/
|
|
3863
4075
|
tagKeys: string[] | undefined;
|
|
3864
4076
|
}
|
|
4077
|
+
/**
|
|
4078
|
+
* @public
|
|
4079
|
+
*/
|
|
3865
4080
|
export interface UntagResourceResponse {
|
|
3866
4081
|
}
|
|
4082
|
+
/**
|
|
4083
|
+
* @public
|
|
4084
|
+
*/
|
|
3867
4085
|
export declare enum CRUpdateAllocationStrategy {
|
|
3868
4086
|
BEST_FIT_PROGRESSIVE = "BEST_FIT_PROGRESSIVE",
|
|
3869
4087
|
SPOT_CAPACITY_OPTIMIZED = "SPOT_CAPACITY_OPTIMIZED"
|
|
3870
4088
|
}
|
|
3871
4089
|
/**
|
|
4090
|
+
* @public
|
|
3872
4091
|
* <p>An object that represents the attributes of a compute environment that can be updated. For more information, see
|
|
3873
4092
|
* <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute environments</a>
|
|
3874
4093
|
* in the <i>Batch User Guide</i>.</p>
|
|
@@ -4018,7 +4237,7 @@ export interface ComputeResourceUpdate {
|
|
|
4018
4237
|
/**
|
|
4019
4238
|
* <p>Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,
|
|
4020
4239
|
* these take the form of <code>"String1": "String2"</code>, where <code>String1</code> is the tag key and
|
|
4021
|
-
* <code>String2</code> is the tag value-for example, <code
|
|
4240
|
+
* <code>String2</code> is the tag value-for example, <code>\{ "Name": "Batch Instance - C4OnDemand" \}</code>. This is
|
|
4022
4241
|
* helpful for recognizing your Batch instances in the Amazon EC2 console. These tags aren't seen when using the Batch
|
|
4023
4242
|
* <code>ListTagsForResource</code> API operation.</p>
|
|
4024
4243
|
* <p>When updating a compute environment, changing this setting requires an infrastructure update of the compute
|
|
@@ -4131,6 +4350,7 @@ export interface ComputeResourceUpdate {
|
|
|
4131
4350
|
imageId?: string;
|
|
4132
4351
|
}
|
|
4133
4352
|
/**
|
|
4353
|
+
* @public
|
|
4134
4354
|
* <p>Contains the parameters for <code>UpdateComputeEnvironment</code>.</p>
|
|
4135
4355
|
*/
|
|
4136
4356
|
export interface UpdateComputeEnvironmentRequest {
|
|
@@ -4191,6 +4411,9 @@ export interface UpdateComputeEnvironmentRequest {
|
|
|
4191
4411
|
*/
|
|
4192
4412
|
updatePolicy?: UpdatePolicy;
|
|
4193
4413
|
}
|
|
4414
|
+
/**
|
|
4415
|
+
* @public
|
|
4416
|
+
*/
|
|
4194
4417
|
export interface UpdateComputeEnvironmentResponse {
|
|
4195
4418
|
/**
|
|
4196
4419
|
* <p>The name of the compute environment. It can be up to 128 characters long. It can contain uppercase and
|
|
@@ -4203,6 +4426,7 @@ export interface UpdateComputeEnvironmentResponse {
|
|
|
4203
4426
|
computeEnvironmentArn?: string;
|
|
4204
4427
|
}
|
|
4205
4428
|
/**
|
|
4429
|
+
* @public
|
|
4206
4430
|
* <p>Contains the parameters for <code>UpdateJobQueue</code>.</p>
|
|
4207
4431
|
*/
|
|
4208
4432
|
export interface UpdateJobQueueRequest {
|
|
@@ -4247,6 +4471,9 @@ export interface UpdateJobQueueRequest {
|
|
|
4247
4471
|
*/
|
|
4248
4472
|
computeEnvironmentOrder?: ComputeEnvironmentOrder[];
|
|
4249
4473
|
}
|
|
4474
|
+
/**
|
|
4475
|
+
* @public
|
|
4476
|
+
*/
|
|
4250
4477
|
export interface UpdateJobQueueResponse {
|
|
4251
4478
|
/**
|
|
4252
4479
|
* <p>The name of the job queue.</p>
|
|
@@ -4258,6 +4485,7 @@ export interface UpdateJobQueueResponse {
|
|
|
4258
4485
|
jobQueueArn?: string;
|
|
4259
4486
|
}
|
|
4260
4487
|
/**
|
|
4488
|
+
* @public
|
|
4261
4489
|
* <p>Contains the parameters for <code>UpdateSchedulingPolicy</code>.</p>
|
|
4262
4490
|
*/
|
|
4263
4491
|
export interface UpdateSchedulingPolicyRequest {
|
|
@@ -4270,6 +4498,9 @@ export interface UpdateSchedulingPolicyRequest {
|
|
|
4270
4498
|
*/
|
|
4271
4499
|
fairsharePolicy?: FairsharePolicy;
|
|
4272
4500
|
}
|
|
4501
|
+
/**
|
|
4502
|
+
* @public
|
|
4503
|
+
*/
|
|
4273
4504
|
export interface UpdateSchedulingPolicyResponse {
|
|
4274
4505
|
}
|
|
4275
4506
|
/**
|