@aws-sdk/client-batch 3.552.0 → 3.554.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/README.md +1 -1
- package/dist-types/Batch.d.ts +1 -1
- package/dist-types/BatchClient.d.ts +1 -1
- package/dist-types/commands/DescribeJobsCommand.d.ts +24 -7
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +135 -42
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native.
|
|
|
12
12
|
developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
|
|
13
13
|
the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.
|
|
14
14
|
At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently
|
|
15
|
-
provision resources
|
|
15
|
+
provision resources, and work toward eliminating capacity constraints, reducing your overall compute costs, and
|
|
16
16
|
delivering results more quickly.</p>
|
|
17
17
|
<p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
|
|
18
18
|
provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
|
package/dist-types/Batch.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ export interface Batch {
|
|
|
181
181
|
* developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
|
|
182
182
|
* the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.
|
|
183
183
|
* At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently
|
|
184
|
-
* provision resources
|
|
184
|
+
* provision resources, and work toward eliminating capacity constraints, reducing your overall compute costs, and
|
|
185
185
|
* delivering results more quickly.</p>
|
|
186
186
|
* <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
|
|
187
187
|
* provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
|
|
@@ -180,7 +180,7 @@ export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType
|
|
|
180
180
|
* developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
|
|
181
181
|
* the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.
|
|
182
182
|
* At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently
|
|
183
|
-
* provision resources
|
|
183
|
+
* provision resources, and work toward eliminating capacity constraints, reducing your overall compute costs, and
|
|
184
184
|
* delivering results more quickly.</p>
|
|
185
185
|
* <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
|
|
186
186
|
* provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
|
|
@@ -69,6 +69,27 @@ declare const DescribeJobsCommand_base: {
|
|
|
69
69
|
* // startedAt: Number("long"),
|
|
70
70
|
* // stoppedAt: Number("long"),
|
|
71
71
|
* // statusReason: "STRING_VALUE",
|
|
72
|
+
* // taskProperties: [ // ListAttemptEcsTaskDetails
|
|
73
|
+
* // { // AttemptEcsTaskDetails
|
|
74
|
+
* // containerInstanceArn: "STRING_VALUE",
|
|
75
|
+
* // taskArn: "STRING_VALUE",
|
|
76
|
+
* // containers: [ // ListAttemptTaskContainerDetails
|
|
77
|
+
* // { // AttemptTaskContainerDetails
|
|
78
|
+
* // exitCode: Number("int"),
|
|
79
|
+
* // name: "STRING_VALUE",
|
|
80
|
+
* // reason: "STRING_VALUE",
|
|
81
|
+
* // logStreamName: "STRING_VALUE",
|
|
82
|
+
* // networkInterfaces: [
|
|
83
|
+
* // {
|
|
84
|
+
* // attachmentId: "STRING_VALUE",
|
|
85
|
+
* // ipv6Address: "STRING_VALUE",
|
|
86
|
+
* // privateIpv4Address: "STRING_VALUE",
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
72
93
|
* // },
|
|
73
94
|
* // ],
|
|
74
95
|
* // statusReason: "STRING_VALUE",
|
|
@@ -152,13 +173,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
152
173
|
* // taskArn: "STRING_VALUE",
|
|
153
174
|
* // logStreamName: "STRING_VALUE",
|
|
154
175
|
* // instanceType: "STRING_VALUE",
|
|
155
|
-
* // networkInterfaces:
|
|
156
|
-
* // {
|
|
157
|
-
* // attachmentId: "STRING_VALUE",
|
|
158
|
-
* // ipv6Address: "STRING_VALUE",
|
|
159
|
-
* // privateIpv4Address: "STRING_VALUE",
|
|
160
|
-
* // },
|
|
161
|
-
* // ],
|
|
176
|
+
* // networkInterfaces: "<NetworkInterfaceList>",
|
|
162
177
|
* // resourceRequirements: [ // ResourceRequirements
|
|
163
178
|
* // { // ResourceRequirement
|
|
164
179
|
* // value: "STRING_VALUE", // required
|
|
@@ -519,12 +534,14 @@ declare const DescribeJobsCommand_base: {
|
|
|
519
534
|
* // { // EksAttemptDetail
|
|
520
535
|
* // containers: [ // EksAttemptContainerDetails
|
|
521
536
|
* // { // EksAttemptContainerDetail
|
|
537
|
+
* // name: "STRING_VALUE",
|
|
522
538
|
* // exitCode: Number("int"),
|
|
523
539
|
* // reason: "STRING_VALUE",
|
|
524
540
|
* // },
|
|
525
541
|
* // ],
|
|
526
542
|
* // initContainers: [
|
|
527
543
|
* // {
|
|
544
|
+
* // name: "STRING_VALUE",
|
|
528
545
|
* // exitCode: Number("int"),
|
|
529
546
|
* // reason: "STRING_VALUE",
|
|
530
547
|
* // },
|
package/dist-types/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of
|
|
5
5
|
* the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure.
|
|
6
6
|
* At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently
|
|
7
|
-
* provision resources
|
|
7
|
+
* provision resources, and work toward eliminating capacity constraints, reducing your overall compute costs, and
|
|
8
8
|
* delivering results more quickly.</p>
|
|
9
9
|
* <p>As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically
|
|
10
10
|
* provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific
|
|
@@ -137,6 +137,61 @@ export interface AttemptContainerDetail {
|
|
|
137
137
|
*/
|
|
138
138
|
networkInterfaces?: NetworkInterface[];
|
|
139
139
|
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>An object that represents the details of a container that's part of a job attempt.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
export interface AttemptTaskContainerDetails {
|
|
145
|
+
/**
|
|
146
|
+
* <p>The exit code for the container’s attempt. A non-zero exit code is considered failed.</p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
exitCode?: number;
|
|
150
|
+
/**
|
|
151
|
+
* <p>The name of a container.</p>
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
name?: string;
|
|
155
|
+
/**
|
|
156
|
+
* <p>A short (255 max characters) string that's easy to understand and provides additional details for a
|
|
157
|
+
* running or stopped container.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
reason?: string;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The name of the Amazon CloudWatch Logs log stream that's associated with the container. The log
|
|
163
|
+
* group for Batch jobs is <code>/aws/batch/job</code>. Each container attempt receives a log stream name
|
|
164
|
+
* when they reach the <code>RUNNING</code> status.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
logStreamName?: string;
|
|
168
|
+
/**
|
|
169
|
+
* <p>The network interfaces that are associated with the job attempt.</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
networkInterfaces?: NetworkInterface[];
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* <p>An object that represents the details of a task.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
export interface AttemptEcsTaskDetails {
|
|
179
|
+
/**
|
|
180
|
+
* <p>The Amazon Resource Name (ARN) of the container instance that hosts the task.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
containerInstanceArn?: string;
|
|
184
|
+
/**
|
|
185
|
+
* <p>The ARN of the Amazon ECS task.</p>
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
taskArn?: string;
|
|
189
|
+
/**
|
|
190
|
+
* <p>A list of containers that are included in the <code>taskProperties</code> list.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
containers?: AttemptTaskContainerDetails[];
|
|
194
|
+
}
|
|
140
195
|
/**
|
|
141
196
|
* <p>An object that represents a job attempt.</p>
|
|
142
197
|
* @public
|
|
@@ -166,6 +221,12 @@ export interface AttemptDetail {
|
|
|
166
221
|
* @public
|
|
167
222
|
*/
|
|
168
223
|
statusReason?: string;
|
|
224
|
+
/**
|
|
225
|
+
* <p>The properties for a task definition that describes the container and volume definitions of
|
|
226
|
+
* an Amazon ECS task.</p>
|
|
227
|
+
* @public
|
|
228
|
+
*/
|
|
229
|
+
taskProperties?: AttemptEcsTaskDetails[];
|
|
169
230
|
}
|
|
170
231
|
/**
|
|
171
232
|
* <p>Contains the parameters for <code>CancelJob</code>.</p>
|
|
@@ -902,7 +963,7 @@ export interface JobStateTimeLimitAction {
|
|
|
902
963
|
*/
|
|
903
964
|
reason: string | undefined;
|
|
904
965
|
/**
|
|
905
|
-
* <p>The state of the job needed to trigger the action. The only supported value is
|
|
966
|
+
* <p>The state of the job needed to trigger the action. The only supported value is <code>RUNNABLE</code>.</p>
|
|
906
967
|
* @public
|
|
907
968
|
*/
|
|
908
969
|
state: JobStateTimeLimitActionsState | undefined;
|
|
@@ -914,7 +975,7 @@ export interface JobStateTimeLimitAction {
|
|
|
914
975
|
maxTimeSeconds: number | undefined;
|
|
915
976
|
/**
|
|
916
977
|
* <p>The action to take when a job is at the head of the job queue in the specified state for the specified period of
|
|
917
|
-
* time. The only supported value is
|
|
978
|
+
* time. The only supported value is <code>CANCEL</code>, which will cancel the job.</p>
|
|
918
979
|
* @public
|
|
919
980
|
*/
|
|
920
981
|
action: JobStateTimeLimitActionsAction | undefined;
|
|
@@ -2587,7 +2648,9 @@ export interface TaskContainerDependency {
|
|
|
2587
2648
|
* <ul>
|
|
2588
2649
|
* <li>
|
|
2589
2650
|
* <p>
|
|
2590
|
-
* <code>START</code> - This condition emulates the behavior of links and volumes today. It
|
|
2651
|
+
* <code>START</code> - This condition emulates the behavior of links and volumes today. It
|
|
2652
|
+
* validates that a dependent container is started before permitting other containers to start.
|
|
2653
|
+
* </p>
|
|
2591
2654
|
* </li>
|
|
2592
2655
|
* <li>
|
|
2593
2656
|
* <p>
|
|
@@ -2723,7 +2786,8 @@ export interface TaskContainerProperties {
|
|
|
2723
2786
|
*/
|
|
2724
2787
|
mountPoints?: MountPoint[];
|
|
2725
2788
|
/**
|
|
2726
|
-
* <p>The name of a container. The name can be used as a unique identifier to target your
|
|
2789
|
+
* <p>The name of a container. The name can be used as a unique identifier to target your
|
|
2790
|
+
* <code>dependsOn</code> and <code>Overrides</code> objects. </p>
|
|
2727
2791
|
* @public
|
|
2728
2792
|
*/
|
|
2729
2793
|
name?: string;
|
|
@@ -2877,9 +2941,9 @@ export interface EcsTaskProperties {
|
|
|
2877
2941
|
platformVersion?: string;
|
|
2878
2942
|
/**
|
|
2879
2943
|
* <p>The IPC resource namespace to use for the containers in the task. The valid values are
|
|
2880
|
-
*
|
|
2944
|
+
* <code>host</code>, <code>task</code>, or <code>none</code>.</p>
|
|
2881
2945
|
* <p>If <code>host</code> is specified, all containers within the tasks that specified the
|
|
2882
|
-
*
|
|
2946
|
+
* <code>host</code> IPC mode on the same container instance share the same IPC resources with the
|
|
2883
2947
|
* host Amazon EC2 instance.</p>
|
|
2884
2948
|
* <p>If <code>task</code> is specified, all containers within the specified <code>task</code>
|
|
2885
2949
|
* share the same IPC resources.</p>
|
|
@@ -2901,11 +2965,11 @@ export interface EcsTaskProperties {
|
|
|
2901
2965
|
taskRoleArn?: string;
|
|
2902
2966
|
/**
|
|
2903
2967
|
* <p>The process namespace to use for the containers in the task. The valid values are
|
|
2904
|
-
*
|
|
2905
|
-
*
|
|
2968
|
+
* <code>host</code> or <code>task</code>. For example, monitoring sidecars might need
|
|
2969
|
+
* <code>pidMode</code> to access information about other containers running in the same
|
|
2906
2970
|
* task.</p>
|
|
2907
2971
|
* <p>If <code>host</code> is specified, all containers within the tasks that specified the
|
|
2908
|
-
*
|
|
2972
|
+
* <code>host</code> PID mode on the same container instance share the process namespace with the
|
|
2909
2973
|
* host Amazon EC2 instance.</p>
|
|
2910
2974
|
* <p>If <code>task</code> is specified, all containers within the specified task share the same
|
|
2911
2975
|
* process namespace.</p>
|
|
@@ -3086,7 +3150,8 @@ export interface EksContainerSecurityContext {
|
|
|
3086
3150
|
*/
|
|
3087
3151
|
privileged?: boolean;
|
|
3088
3152
|
/**
|
|
3089
|
-
* <p>Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent
|
|
3153
|
+
* <p>Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent
|
|
3154
|
+
* process. The default value is <code>false</code>.</p>
|
|
3090
3155
|
* @public
|
|
3091
3156
|
*/
|
|
3092
3157
|
allowPrivilegeEscalation?: boolean;
|
|
@@ -3221,12 +3286,15 @@ export interface EksContainer {
|
|
|
3221
3286
|
securityContext?: EksContainerSecurityContext;
|
|
3222
3287
|
}
|
|
3223
3288
|
/**
|
|
3224
|
-
* <p>References a Kubernetes
|
|
3289
|
+
* <p>References a Kubernetes secret resource. This name of the secret must start and end with an
|
|
3290
|
+
* alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and
|
|
3291
|
+
* can't contain more than 253 characters.</p>
|
|
3225
3292
|
* @public
|
|
3226
3293
|
*/
|
|
3227
3294
|
export interface ImagePullSecret {
|
|
3228
3295
|
/**
|
|
3229
|
-
* <p>Provides a unique identifier for the <code>ImagePullSecret</code>. This object is required
|
|
3296
|
+
* <p>Provides a unique identifier for the <code>ImagePullSecret</code>. This object is required
|
|
3297
|
+
* when <code>EksPodProperties$imagePullSecrets</code> is used.</p>
|
|
3230
3298
|
* @public
|
|
3231
3299
|
*/
|
|
3232
3300
|
name: string | undefined;
|
|
@@ -3386,7 +3454,8 @@ export interface EksPodProperties {
|
|
|
3386
3454
|
*/
|
|
3387
3455
|
dnsPolicy?: string;
|
|
3388
3456
|
/**
|
|
3389
|
-
* <p>References a Kubernetes secret resource.
|
|
3457
|
+
* <p>References a Kubernetes secret resource. It holds a list of secrets. These secrets help to gain
|
|
3458
|
+
* access to pull an images from a private registry.</p>
|
|
3390
3459
|
* <p>
|
|
3391
3460
|
* <code>ImagePullSecret$name</code> is required when this object is used.</p>
|
|
3392
3461
|
* @public
|
|
@@ -3398,8 +3467,11 @@ export interface EksPodProperties {
|
|
|
3398
3467
|
*/
|
|
3399
3468
|
containers?: EksContainer[];
|
|
3400
3469
|
/**
|
|
3401
|
-
* <p>These containers run before application containers, always runs to completion, and must
|
|
3402
|
-
*
|
|
3470
|
+
* <p>These containers run before application containers, always runs to completion, and must
|
|
3471
|
+
* complete successfully before the next container starts. These containers are registered with the
|
|
3472
|
+
* Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store.
|
|
3473
|
+
* For more information, see <a href="https://kubernetes.io/docs/concepts/workloads/pods/init-containers/">Init
|
|
3474
|
+
* Containers</a> in the <i>Kubernetes documentation</i>.</p>
|
|
3403
3475
|
* <note>
|
|
3404
3476
|
* <p>This object is limited to 10 elements</p>
|
|
3405
3477
|
* </note>
|
|
@@ -3462,7 +3534,8 @@ export interface NodeRangeProperty {
|
|
|
3462
3534
|
*/
|
|
3463
3535
|
container?: ContainerProperties;
|
|
3464
3536
|
/**
|
|
3465
|
-
* <p>The instance types of the underlying host infrastructure of a multi-node parallel
|
|
3537
|
+
* <p>The instance types of the underlying host infrastructure of a multi-node parallel
|
|
3538
|
+
* job.</p>
|
|
3466
3539
|
* <note>
|
|
3467
3540
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources.</p>
|
|
3468
3541
|
* <p>In addition, this list object is currently limited to one element.</p>
|
|
@@ -3663,8 +3736,9 @@ export interface JobDefinition {
|
|
|
3663
3736
|
*/
|
|
3664
3737
|
retryStrategy?: RetryStrategy;
|
|
3665
3738
|
/**
|
|
3666
|
-
* <p>An object with properties specific to Amazon ECS-based jobs. When
|
|
3667
|
-
* <code>
|
|
3739
|
+
* <p>An object with properties specific to Amazon ECS-based jobs. When
|
|
3740
|
+
* <code>containerProperties</code> is used in the job definition, it can't be used in addition to
|
|
3741
|
+
* <code>eksProperties</code>, <code>ecsProperties</code>, or <code>nodeProperties</code>.</p>
|
|
3668
3742
|
* @public
|
|
3669
3743
|
*/
|
|
3670
3744
|
containerProperties?: ContainerProperties;
|
|
@@ -3675,7 +3749,10 @@ export interface JobDefinition {
|
|
|
3675
3749
|
*/
|
|
3676
3750
|
timeout?: JobTimeout;
|
|
3677
3751
|
/**
|
|
3678
|
-
* <p>An object with properties that are specific to multi-node parallel jobs. When
|
|
3752
|
+
* <p>An object with properties that are specific to multi-node parallel jobs. When
|
|
3753
|
+
* <code>nodeProperties</code> is used in the job definition, it can't be used in addition to
|
|
3754
|
+
* <code>containerProperties</code>, <code>ecsProperties</code>, or
|
|
3755
|
+
* <code>eksProperties</code>.</p>
|
|
3679
3756
|
* <note>
|
|
3680
3757
|
* <p>If the job runs on Fargate resources, don't specify <code>nodeProperties</code>. Use
|
|
3681
3758
|
* <code>containerProperties</code> instead.</p>
|
|
@@ -3705,14 +3782,18 @@ export interface JobDefinition {
|
|
|
3705
3782
|
*/
|
|
3706
3783
|
platformCapabilities?: PlatformCapability[];
|
|
3707
3784
|
/**
|
|
3708
|
-
* <p>An object that contains the properties for the Amazon ECS resources of a job.When
|
|
3709
|
-
*
|
|
3785
|
+
* <p>An object that contains the properties for the Amazon ECS resources of a job.When
|
|
3786
|
+
* <code>ecsProperties</code> is used in the job definition, it can't be used in addition to
|
|
3787
|
+
* <code>containerProperties</code>, <code>eksProperties</code>, or
|
|
3788
|
+
* <code>nodeProperties</code>.</p>
|
|
3710
3789
|
* @public
|
|
3711
3790
|
*/
|
|
3712
3791
|
ecsProperties?: EcsProperties;
|
|
3713
3792
|
/**
|
|
3714
|
-
* <p>An object with properties that are specific to Amazon EKS-based jobs. When
|
|
3715
|
-
*
|
|
3793
|
+
* <p>An object with properties that are specific to Amazon EKS-based jobs. When
|
|
3794
|
+
* <code>eksProperties</code> is used in the job definition, it can't be used in addition to
|
|
3795
|
+
* <code>containerProperties</code>, <code>ecsProperties</code>, or
|
|
3796
|
+
* <code>nodeProperties</code>.</p>
|
|
3716
3797
|
* @public
|
|
3717
3798
|
*/
|
|
3718
3799
|
eksProperties?: EksProperties;
|
|
@@ -4409,8 +4490,7 @@ export interface TaskContainerDetails {
|
|
|
4409
4490
|
*/
|
|
4410
4491
|
export interface EcsTaskDetails {
|
|
4411
4492
|
/**
|
|
4412
|
-
* <p>A list of containers that are included in the <code>taskProperties</code>
|
|
4413
|
-
* list.</p>
|
|
4493
|
+
* <p>A list of containers that are included in the <code>taskProperties</code> list.</p>
|
|
4414
4494
|
* @public
|
|
4415
4495
|
*/
|
|
4416
4496
|
containers?: TaskContainerDetails[];
|
|
@@ -4449,7 +4529,7 @@ export interface EcsTaskDetails {
|
|
|
4449
4529
|
/**
|
|
4450
4530
|
* <p>The Amazon Resource Name (ARN) of the IAM role that the container can assume for Amazon Web Services permissions. For more
|
|
4451
4531
|
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html">IAM roles for tasks</a> in the
|
|
4452
|
-
*
|
|
4532
|
+
* <i>Amazon Elastic Container Service Developer Guide</i>.</p>
|
|
4453
4533
|
* <note>
|
|
4454
4534
|
* <p>This is object is comparable to <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_ContainerProperties.html">ContainerProperties:jobRoleArn</a>.</p>
|
|
4455
4535
|
* </note>
|
|
@@ -4497,7 +4577,13 @@ export interface EcsPropertiesDetail {
|
|
|
4497
4577
|
*/
|
|
4498
4578
|
export interface EksAttemptContainerDetail {
|
|
4499
4579
|
/**
|
|
4500
|
-
* <p>The
|
|
4580
|
+
* <p>The name of a container.</p>
|
|
4581
|
+
* @public
|
|
4582
|
+
*/
|
|
4583
|
+
name?: string;
|
|
4584
|
+
/**
|
|
4585
|
+
* <p>The exit code returned for the job attempt. A non-zero exit code is considered
|
|
4586
|
+
* failed.</p>
|
|
4501
4587
|
* @public
|
|
4502
4588
|
*/
|
|
4503
4589
|
exitCode?: number;
|
|
@@ -4618,7 +4704,8 @@ export interface EksContainerDetail {
|
|
|
4618
4704
|
*/
|
|
4619
4705
|
resources?: EksContainerResourceRequirements;
|
|
4620
4706
|
/**
|
|
4621
|
-
* <p>The exit code returned for the job attempt. A non-zero exit code is considered
|
|
4707
|
+
* <p>The exit code returned for the job attempt. A non-zero exit code is considered
|
|
4708
|
+
* failed.</p>
|
|
4622
4709
|
* @public
|
|
4623
4710
|
*/
|
|
4624
4711
|
exitCode?: number;
|
|
@@ -4684,7 +4771,8 @@ export interface EksPodPropertiesDetail {
|
|
|
4684
4771
|
*/
|
|
4685
4772
|
dnsPolicy?: string;
|
|
4686
4773
|
/**
|
|
4687
|
-
* <p>Displays the reference pointer to the Kubernetes secret resource
|
|
4774
|
+
* <p>Displays the reference pointer to the Kubernetes secret resource. These secrets help to gain
|
|
4775
|
+
* access to pull an images from a private registry.</p>
|
|
4688
4776
|
* @public
|
|
4689
4777
|
*/
|
|
4690
4778
|
imagePullSecrets?: ImagePullSecret[];
|
|
@@ -4827,27 +4915,28 @@ export interface JobDetail {
|
|
|
4827
4915
|
*/
|
|
4828
4916
|
attempts?: AttemptDetail[];
|
|
4829
4917
|
/**
|
|
4830
|
-
* <p>A short, human-readable string to provide more details for the current status of the
|
|
4918
|
+
* <p>A short, human-readable string to provide more details for the current status of the
|
|
4919
|
+
* job.</p>
|
|
4831
4920
|
* <ul>
|
|
4832
4921
|
* <li>
|
|
4833
4922
|
* <p>
|
|
4834
|
-
* <code>CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY</code> - All compute environments have
|
|
4835
|
-
* service the job.</p>
|
|
4923
|
+
* <code>CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY</code> - All compute environments have
|
|
4924
|
+
* insufficient capacity to service the job.</p>
|
|
4836
4925
|
* </li>
|
|
4837
4926
|
* <li>
|
|
4838
4927
|
* <p>
|
|
4839
|
-
* <code>MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE</code> - All compute environments
|
|
4840
|
-
* <code>maxVcpu</code> setting that is smaller than the job requirements.</p>
|
|
4928
|
+
* <code>MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE</code> - All compute environments
|
|
4929
|
+
* have a <code>maxVcpu</code> setting that is smaller than the job requirements.</p>
|
|
4841
4930
|
* </li>
|
|
4842
4931
|
* <li>
|
|
4843
4932
|
* <p>
|
|
4844
|
-
* <code>MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT</code> - All compute environments
|
|
4845
|
-
* that meet the job requirements.</p>
|
|
4933
|
+
* <code>MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT</code> - All compute environments have no
|
|
4934
|
+
* connected instances that meet the job requirements.</p>
|
|
4846
4935
|
* </li>
|
|
4847
4936
|
* <li>
|
|
4848
4937
|
* <p>
|
|
4849
|
-
* <code>MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS</code> - All compute environments have
|
|
4850
|
-
* service role permissions.</p>
|
|
4938
|
+
* <code>MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS</code> - All compute environments have
|
|
4939
|
+
* problems with the service role permissions.</p>
|
|
4851
4940
|
* </li>
|
|
4852
4941
|
* </ul>
|
|
4853
4942
|
* @public
|
|
@@ -4898,8 +4987,8 @@ export interface JobDetail {
|
|
|
4898
4987
|
*/
|
|
4899
4988
|
parameters?: Record<string, string>;
|
|
4900
4989
|
/**
|
|
4901
|
-
* <p>An object that represents the details for the container that's associated with the
|
|
4902
|
-
*
|
|
4990
|
+
* <p>An object that represents the details for the container that's associated with the job. If
|
|
4991
|
+
* the details are for a multiple-container job, this object will be empty. </p>
|
|
4903
4992
|
* @public
|
|
4904
4993
|
*/
|
|
4905
4994
|
container?: ContainerDetail;
|
|
@@ -5687,7 +5776,8 @@ export interface EcsPropertiesOverride {
|
|
|
5687
5776
|
*/
|
|
5688
5777
|
export interface EksContainerOverride {
|
|
5689
5778
|
/**
|
|
5690
|
-
* <p>A pointer to the container that you want to override. The name must match a unique container
|
|
5779
|
+
* <p>A pointer to the container that you want to override. The name must match a unique container
|
|
5780
|
+
* name that you wish to override.</p>
|
|
5691
5781
|
* @public
|
|
5692
5782
|
*/
|
|
5693
5783
|
name?: string;
|
|
@@ -5742,7 +5832,10 @@ export interface EksPodPropertiesOverride {
|
|
|
5742
5832
|
*/
|
|
5743
5833
|
containers?: EksContainerOverride[];
|
|
5744
5834
|
/**
|
|
5745
|
-
* <p>The overrides for the conatainers defined in the Amazon EKS
|
|
5835
|
+
* <p>The overrides for the conatainers defined in the Amazon EKS pod. These containers run before
|
|
5836
|
+
* application containers, always runs to completion, and must complete successfully before the next
|
|
5837
|
+
* container starts. These containers are registered with the Amazon EKS Connector agent and persists the
|
|
5838
|
+
* registration information in the Kubernetes backend data store. For more information, see <a href="https://kubernetes.io/docs/concepts/workloads/pods/init-containers/">Init
|
|
5746
5839
|
* Containers</a> in the <i>Kubernetes documentation</i>.</p>
|
|
5747
5840
|
* <note>
|
|
5748
5841
|
* <p>This object is limited to 10 elements</p>
|
|
@@ -37,11 +37,24 @@ export interface AttemptContainerDetail {
|
|
|
37
37
|
logStreamName?: string;
|
|
38
38
|
networkInterfaces?: NetworkInterface[];
|
|
39
39
|
}
|
|
40
|
+
export interface AttemptTaskContainerDetails {
|
|
41
|
+
exitCode?: number;
|
|
42
|
+
name?: string;
|
|
43
|
+
reason?: string;
|
|
44
|
+
logStreamName?: string;
|
|
45
|
+
networkInterfaces?: NetworkInterface[];
|
|
46
|
+
}
|
|
47
|
+
export interface AttemptEcsTaskDetails {
|
|
48
|
+
containerInstanceArn?: string;
|
|
49
|
+
taskArn?: string;
|
|
50
|
+
containers?: AttemptTaskContainerDetails[];
|
|
51
|
+
}
|
|
40
52
|
export interface AttemptDetail {
|
|
41
53
|
container?: AttemptContainerDetail;
|
|
42
54
|
startedAt?: number;
|
|
43
55
|
stoppedAt?: number;
|
|
44
56
|
statusReason?: string;
|
|
57
|
+
taskProperties?: AttemptEcsTaskDetails[];
|
|
45
58
|
}
|
|
46
59
|
export interface CancelJobRequest {
|
|
47
60
|
jobId: string | undefined;
|
|
@@ -666,6 +679,7 @@ export interface EcsPropertiesDetail {
|
|
|
666
679
|
taskProperties?: EcsTaskDetails[];
|
|
667
680
|
}
|
|
668
681
|
export interface EksAttemptContainerDetail {
|
|
682
|
+
name?: string;
|
|
669
683
|
exitCode?: number;
|
|
670
684
|
reason?: string;
|
|
671
685
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.554.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-batch",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.554.0",
|
|
24
|
+
"@aws-sdk/core": "3.554.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.554.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|