@aws-sdk/client-batch 3.42.0 → 3.43.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/CHANGELOG.md +11 -0
- package/dist-types/Batch.d.ts +8 -16
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +2 -3
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +2 -3
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +1 -2
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -2
- package/dist-types/commands/SubmitJobCommand.d.ts +0 -2
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +125 -164
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
|
package/dist-types/Batch.d.ts
CHANGED
|
@@ -55,9 +55,8 @@ export declare class Batch extends BatchClient {
|
|
|
55
55
|
* within the environment. This is based on the compute resource specification that you define or the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">launch template</a> that you
|
|
56
56
|
* specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot
|
|
57
57
|
* Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can
|
|
58
|
-
* optionally set a maximum price so that Spot Instances only launch
|
|
59
|
-
*
|
|
60
|
-
* the Spot Instance price is less than a specified percentage of the On-Demand price.</p>
|
|
58
|
+
* optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a
|
|
59
|
+
* specified percentage of the On-Demand price.</p>
|
|
61
60
|
* <note>
|
|
62
61
|
* <p>Multi-node parallel jobs aren't supported on Spot Instances.</p>
|
|
63
62
|
* </note>
|
|
@@ -104,8 +103,7 @@ export declare class Batch extends BatchClient {
|
|
|
104
103
|
createJobQueue(args: CreateJobQueueCommandInput, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
|
|
105
104
|
createJobQueue(args: CreateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateJobQueueCommandOutput) => void): void;
|
|
106
105
|
/**
|
|
107
|
-
* <p>Creates an Batch scheduling
|
|
108
|
-
* policy.</p>
|
|
106
|
+
* <p>Creates an Batch scheduling policy.</p>
|
|
109
107
|
*/
|
|
110
108
|
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchedulingPolicyCommandOutput>;
|
|
111
109
|
createSchedulingPolicy(args: CreateSchedulingPolicyCommandInput, cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void): void;
|
|
@@ -129,9 +127,8 @@ export declare class Batch extends BatchClient {
|
|
|
129
127
|
deleteJobQueue(args: DeleteJobQueueCommandInput, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
|
|
130
128
|
deleteJobQueue(args: DeleteJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteJobQueueCommandOutput) => void): void;
|
|
131
129
|
/**
|
|
132
|
-
* <p>Deletes the specified scheduling
|
|
133
|
-
*
|
|
134
|
-
* <p>You can't delete a scheduling policy that is used in any job queues.</p>
|
|
130
|
+
* <p>Deletes the specified scheduling policy.</p>
|
|
131
|
+
* <p>You can't delete a scheduling policy that's used in any job queues.</p>
|
|
135
132
|
*/
|
|
136
133
|
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchedulingPolicyCommandOutput>;
|
|
137
134
|
deleteSchedulingPolicy(args: DeleteSchedulingPolicyCommandInput, cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void): void;
|
|
@@ -171,8 +168,7 @@ export declare class Batch extends BatchClient {
|
|
|
171
168
|
describeJobs(args: DescribeJobsCommandInput, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
172
169
|
describeJobs(args: DescribeJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeJobsCommandOutput) => void): void;
|
|
173
170
|
/**
|
|
174
|
-
* <p>Describes one or more of your scheduling
|
|
175
|
-
* policies.</p>
|
|
171
|
+
* <p>Describes one or more of your scheduling policies.</p>
|
|
176
172
|
*/
|
|
177
173
|
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSchedulingPoliciesCommandOutput>;
|
|
178
174
|
describeSchedulingPolicies(args: DescribeSchedulingPoliciesCommandInput, cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void): void;
|
|
@@ -198,8 +194,7 @@ export declare class Batch extends BatchClient {
|
|
|
198
194
|
listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
199
195
|
listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
200
196
|
/**
|
|
201
|
-
* <p>Returns a list of Batch scheduling
|
|
202
|
-
* policies.</p>
|
|
197
|
+
* <p>Returns a list of Batch scheduling policies.</p>
|
|
203
198
|
*/
|
|
204
199
|
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListSchedulingPoliciesCommandOutput>;
|
|
205
200
|
listSchedulingPolicies(args: ListSchedulingPoliciesCommandInput, cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void): void;
|
|
@@ -224,11 +219,9 @@ export declare class Batch extends BatchClient {
|
|
|
224
219
|
* using the <code>memory</code> and <code>vcpus</code> parameters. Rather, you must specify updates to job definition
|
|
225
220
|
* parameters in a <code>ResourceRequirements</code> object that's included in the <code>containerOverrides</code>
|
|
226
221
|
* parameter.</p>
|
|
227
|
-
*
|
|
228
222
|
* <note>
|
|
229
223
|
* <p>Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time. </p>
|
|
230
224
|
* </note>
|
|
231
|
-
*
|
|
232
225
|
* <important>
|
|
233
226
|
* <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14
|
|
234
227
|
* days, Fargate resources might become unavailable and job might be terminated.</p>
|
|
@@ -273,8 +266,7 @@ export declare class Batch extends BatchClient {
|
|
|
273
266
|
updateJobQueue(args: UpdateJobQueueCommandInput, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
|
|
274
267
|
updateJobQueue(args: UpdateJobQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateJobQueueCommandOutput) => void): void;
|
|
275
268
|
/**
|
|
276
|
-
* <p>Updates a scheduling
|
|
277
|
-
* policy.</p>
|
|
269
|
+
* <p>Updates a scheduling policy.</p>
|
|
278
270
|
*/
|
|
279
271
|
updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSchedulingPolicyCommandOutput>;
|
|
280
272
|
updateSchedulingPolicy(args: UpdateSchedulingPolicyCommandInput, cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void): void;
|
|
@@ -14,9 +14,8 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
14
14
|
* within the environment. This is based on the compute resource specification that you define or the <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">launch template</a> that you
|
|
15
15
|
* specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot
|
|
16
16
|
* Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can
|
|
17
|
-
* optionally set a maximum price so that Spot Instances only launch
|
|
18
|
-
*
|
|
19
|
-
* the Spot Instance price is less than a specified percentage of the On-Demand price.</p>
|
|
17
|
+
* optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a
|
|
18
|
+
* specified percentage of the On-Demand price.</p>
|
|
20
19
|
* <note>
|
|
21
20
|
* <p>Multi-node parallel jobs aren't supported on Spot Instances.</p>
|
|
22
21
|
* </note>
|
|
@@ -7,8 +7,7 @@ export interface CreateSchedulingPolicyCommandInput extends CreateSchedulingPoli
|
|
|
7
7
|
export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPolicyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates an Batch scheduling
|
|
11
|
-
* policy.</p>
|
|
10
|
+
* <p>Creates an Batch scheduling policy.</p>
|
|
12
11
|
* @example
|
|
13
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
13
|
* ```javascript
|
|
@@ -7,9 +7,8 @@ export interface DeleteSchedulingPolicyCommandInput extends DeleteSchedulingPoli
|
|
|
7
7
|
export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPolicyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes the specified scheduling
|
|
11
|
-
*
|
|
12
|
-
* <p>You can't delete a scheduling policy that is used in any job queues.</p>
|
|
10
|
+
* <p>Deletes the specified scheduling policy.</p>
|
|
11
|
+
* <p>You can't delete a scheduling policy that's used in any job queues.</p>
|
|
13
12
|
* @example
|
|
14
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
14
|
* ```javascript
|
|
@@ -7,8 +7,7 @@ export interface DescribeSchedulingPoliciesCommandInput extends DescribeScheduli
|
|
|
7
7
|
export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedulingPoliciesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Describes one or more of your scheduling
|
|
11
|
-
* policies.</p>
|
|
10
|
+
* <p>Describes one or more of your scheduling policies.</p>
|
|
12
11
|
* @example
|
|
13
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
13
|
* ```javascript
|
|
@@ -7,8 +7,7 @@ export interface ListSchedulingPoliciesCommandInput extends ListSchedulingPolici
|
|
|
7
7
|
export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPoliciesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of Batch scheduling
|
|
11
|
-
* policies.</p>
|
|
10
|
+
* <p>Returns a list of Batch scheduling policies.</p>
|
|
12
11
|
* @example
|
|
13
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
13
|
* ```javascript
|
|
@@ -13,11 +13,9 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
13
13
|
* using the <code>memory</code> and <code>vcpus</code> parameters. Rather, you must specify updates to job definition
|
|
14
14
|
* parameters in a <code>ResourceRequirements</code> object that's included in the <code>containerOverrides</code>
|
|
15
15
|
* parameter.</p>
|
|
16
|
-
*
|
|
17
16
|
* <note>
|
|
18
17
|
* <p>Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time. </p>
|
|
19
18
|
* </note>
|
|
20
|
-
*
|
|
21
19
|
* <important>
|
|
22
20
|
* <p>Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14
|
|
23
21
|
* days, Fargate resources might become unavailable and job might be terminated.</p>
|
|
@@ -7,8 +7,7 @@ export interface UpdateSchedulingPolicyCommandInput extends UpdateSchedulingPoli
|
|
|
7
7
|
export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPolicyResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates a scheduling
|
|
11
|
-
* policy.</p>
|
|
10
|
+
* <p>Updates a scheduling policy.</p>
|
|
12
11
|
* @example
|
|
13
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
13
|
* ```javascript
|
|
@@ -545,9 +545,7 @@ export interface ComputeResource {
|
|
|
545
545
|
/**
|
|
546
546
|
* <p>Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.
|
|
547
547
|
* If <code>Ec2Configuration</code> isn't specified, the default is <code>ECS_AL2</code>.</p>
|
|
548
|
-
*
|
|
549
548
|
* <p>One or two values can be provided.</p>
|
|
550
|
-
*
|
|
551
549
|
* <note>
|
|
552
550
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be
|
|
553
551
|
* specified.</p>
|
|
@@ -574,8 +572,8 @@ export declare enum CEType {
|
|
|
574
572
|
*/
|
|
575
573
|
export interface CreateComputeEnvironmentRequest {
|
|
576
574
|
/**
|
|
577
|
-
* <p>The name for your compute environment.
|
|
578
|
-
* underscores
|
|
575
|
+
* <p>The name for your compute environment. It can be up to 128 letters long. It can contain uppercase and
|
|
576
|
+
* lowercase letters, numbers, hyphens (-), and underscores (_).</p>
|
|
579
577
|
*/
|
|
580
578
|
computeEnvironmentName: string | undefined;
|
|
581
579
|
/**
|
|
@@ -597,11 +595,9 @@ export interface CreateComputeEnvironmentRequest {
|
|
|
597
595
|
*/
|
|
598
596
|
state?: CEState | string;
|
|
599
597
|
/**
|
|
600
|
-
* <p>The maximum number of vCPUs for an
|
|
601
|
-
*
|
|
602
|
-
*
|
|
603
|
-
* reserved.</p>
|
|
604
|
-
*
|
|
598
|
+
* <p>The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share
|
|
599
|
+
* scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job
|
|
600
|
+
* queue, no vCPU capacity is reserved.</p>
|
|
605
601
|
* <note>
|
|
606
602
|
* <p>This parameter is only supported when the <code>type</code> parameter is set to <code>UNMANAGED</code>/</p>
|
|
607
603
|
* </note>
|
|
@@ -653,8 +649,8 @@ export declare namespace CreateComputeEnvironmentRequest {
|
|
|
653
649
|
}
|
|
654
650
|
export interface CreateComputeEnvironmentResponse {
|
|
655
651
|
/**
|
|
656
|
-
* <p>The name of the compute environment.
|
|
657
|
-
* underscores
|
|
652
|
+
* <p>The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and
|
|
653
|
+
* lowercase letters, numbers, hyphens (-), and underscores (_).</p>
|
|
658
654
|
*/
|
|
659
655
|
computeEnvironmentName?: string;
|
|
660
656
|
/**
|
|
@@ -707,8 +703,8 @@ export declare enum JQState {
|
|
|
707
703
|
*/
|
|
708
704
|
export interface CreateJobQueueRequest {
|
|
709
705
|
/**
|
|
710
|
-
* <p>The name of the job queue.
|
|
711
|
-
*
|
|
706
|
+
* <p>The name of the job queue. It can be up to 128 letters long. It can contain uppercase and lowercase letters,
|
|
707
|
+
* numbers, hyphens (-), and underscores (_).</p>
|
|
712
708
|
*/
|
|
713
709
|
jobQueueName: string | undefined;
|
|
714
710
|
/**
|
|
@@ -718,13 +714,13 @@ export interface CreateJobQueueRequest {
|
|
|
718
714
|
*/
|
|
719
715
|
state?: JQState | string;
|
|
720
716
|
/**
|
|
721
|
-
* <p>Amazon Resource Name (ARN) of the fair share scheduling
|
|
722
|
-
* policy. If this parameter
|
|
723
|
-
*
|
|
724
|
-
*
|
|
717
|
+
* <p>The Amazon Resource Name (ARN) of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair
|
|
718
|
+
* share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO)
|
|
719
|
+
* scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.
|
|
720
|
+
* The format is
|
|
725
721
|
* <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i>
|
|
726
722
|
* </code>.
|
|
727
|
-
*
|
|
723
|
+
* An example is
|
|
728
724
|
* <code>aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy</code>.</p>
|
|
729
725
|
*/
|
|
730
726
|
schedulingPolicyArn?: string;
|
|
@@ -781,25 +777,25 @@ export declare namespace CreateJobQueueResponse {
|
|
|
781
777
|
const filterSensitiveLog: (obj: CreateJobQueueResponse) => any;
|
|
782
778
|
}
|
|
783
779
|
/**
|
|
784
|
-
* <p>Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that
|
|
785
|
-
*
|
|
780
|
+
* <p>Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that
|
|
781
|
+
* aren't included have a default weight of <code>1.0</code>.</p>
|
|
786
782
|
*/
|
|
787
783
|
export interface ShareAttributes {
|
|
788
784
|
/**
|
|
789
|
-
* <p>A fair share identifier or fair share identifier prefix. If the string ends with
|
|
790
|
-
* the weight factor to use for fair share identifiers that
|
|
791
|
-
* in a fair share policy cannot overlap. For example you
|
|
792
|
-
*
|
|
785
|
+
* <p>A fair share identifier or fair share identifier prefix. If the string ends with an asterisk (*), this entry
|
|
786
|
+
* specifies the weight factor to use for fair share identifiers that start with that prefix. The list of fair share
|
|
787
|
+
* identifiers in a fair share policy cannot overlap. For example, you can't have one that specifies a
|
|
788
|
+
* <code>shareIdentifier</code> of <code>UserA*</code> and another that specifies a <code>shareIdentifier</code> of
|
|
789
|
+
* <code>UserA-1</code>.</p>
|
|
793
790
|
* <p>There can be no more than 500 fair share identifiers active in a job queue.</p>
|
|
794
|
-
* <p>The string is limited to 255 alphanumeric characters, optionally followed by
|
|
791
|
+
* <p>The string is limited to 255 alphanumeric characters, optionally followed by an asterisk (*).</p>
|
|
795
792
|
*/
|
|
796
793
|
shareIdentifier: string | undefined;
|
|
797
794
|
/**
|
|
798
|
-
* <p>The weight factor for the fair share
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
*
|
|
802
|
-
* <p>The smallest supported value is 0.0001 and the largest supported value is 999.9999.</p>
|
|
795
|
+
* <p>The weight factor for the fair share identifier. The default value is 1.0. A lower value has a higher priority
|
|
796
|
+
* for compute resources. For example, jobs that use a share identifier with a weight factor of 0.125 (1/8) get 8 times
|
|
797
|
+
* the compute resources of jobs that use a share identifier with a weight factor of 1.</p>
|
|
798
|
+
* <p>The smallest supported value is 0.0001, and the largest supported value is 999.9999.</p>
|
|
803
799
|
*/
|
|
804
800
|
weightFactor?: number;
|
|
805
801
|
}
|
|
@@ -810,22 +806,18 @@ export declare namespace ShareAttributes {
|
|
|
810
806
|
const filterSensitiveLog: (obj: ShareAttributes) => any;
|
|
811
807
|
}
|
|
812
808
|
/**
|
|
813
|
-
* <p>The fair share policy for a scheduling
|
|
814
|
-
* policy.</p>
|
|
809
|
+
* <p>The fair share policy for a scheduling policy.</p>
|
|
815
810
|
*/
|
|
816
811
|
export interface FairsharePolicy {
|
|
817
812
|
/**
|
|
818
|
-
* <p>The time period to use to calculate a
|
|
819
|
-
*
|
|
820
|
-
*
|
|
821
|
-
* to 25% of the available CPU resources, even if some of the fair share identifiers have no currently running jobs. The
|
|
822
|
-
* decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value
|
|
823
|
-
* is 604800 (1 week).</p>
|
|
813
|
+
* <p>The time period to use to calculate a fair share percentage for each fair share identifier in use, in seconds. A
|
|
814
|
+
* value of zero (0) indicates that only current usage should be measured. The decay allows for more recently run jobs
|
|
815
|
+
* to have more weight than jobs that ran earlier. The maximum supported value is 604800 (1 week).</p>
|
|
824
816
|
*/
|
|
825
817
|
shareDecaySeconds?: number;
|
|
826
818
|
/**
|
|
827
|
-
* <p>A value used to reserve some of the
|
|
828
|
-
*
|
|
819
|
+
* <p>A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been
|
|
820
|
+
* used.</p>
|
|
829
821
|
* <p>The reserved ratio is
|
|
830
822
|
* <code>(<i>computeReservation</i>/100)^<i>ActiveFairShares</i>
|
|
831
823
|
* </code> where
|
|
@@ -837,16 +829,12 @@ export interface FairsharePolicy {
|
|
|
837
829
|
* 12.5% if there are three fair share identifiers. A <code>computeReservation</code> value of 25 indicates that Batch
|
|
838
830
|
* should reserve 25% of the maximum available vCPU if there is only one fair share identifier, 6.25% if there are two
|
|
839
831
|
* fair share identifiers, and 1.56% if there are three fair share identifiers.</p>
|
|
840
|
-
*
|
|
841
832
|
* <p>The minimum value is 0 and the maximum value is 99.</p>
|
|
842
833
|
*/
|
|
843
834
|
computeReservation?: number;
|
|
844
835
|
/**
|
|
845
|
-
* <p>
|
|
846
|
-
*
|
|
847
|
-
* share identifiers for the fair share policy.
|
|
848
|
-
* Fair share identifiers that
|
|
849
|
-
* are not included have a default weight of <code>1.0</code>.</p>
|
|
836
|
+
* <p>An array of <code>SharedIdentifier</code> objects that contain the weights for the fair share identifiers for
|
|
837
|
+
* the fair share policy. Fair share identifiers that aren't included have a default weight of <code>1.0</code>.</p>
|
|
850
838
|
*/
|
|
851
839
|
shareDistribution?: ShareAttributes[];
|
|
852
840
|
}
|
|
@@ -858,13 +846,12 @@ export declare namespace FairsharePolicy {
|
|
|
858
846
|
}
|
|
859
847
|
export interface CreateSchedulingPolicyRequest {
|
|
860
848
|
/**
|
|
861
|
-
* <p>The name of the scheduling
|
|
862
|
-
*
|
|
849
|
+
* <p>The name of the scheduling policy. It can be up to 128 letters long. It can contain uppercase and lowercase
|
|
850
|
+
* letters, numbers, hyphens (-), and underscores (_).</p>
|
|
863
851
|
*/
|
|
864
852
|
name: string | undefined;
|
|
865
853
|
/**
|
|
866
|
-
* <p>The fair share policy of the scheduling
|
|
867
|
-
* policy.</p>
|
|
854
|
+
* <p>The fair share policy of the scheduling policy.</p>
|
|
868
855
|
*/
|
|
869
856
|
fairsharePolicy?: FairsharePolicy;
|
|
870
857
|
/**
|
|
@@ -885,13 +872,11 @@ export declare namespace CreateSchedulingPolicyRequest {
|
|
|
885
872
|
}
|
|
886
873
|
export interface CreateSchedulingPolicyResponse {
|
|
887
874
|
/**
|
|
888
|
-
* <p>The name of the scheduling
|
|
889
|
-
* policy.</p>
|
|
875
|
+
* <p>The name of the scheduling policy.</p>
|
|
890
876
|
*/
|
|
891
877
|
name: string | undefined;
|
|
892
878
|
/**
|
|
893
|
-
* <p>The Amazon Resource Name (ARN) of the scheduling policy.
|
|
894
|
-
* The format is
|
|
879
|
+
* <p>The Amazon Resource Name (ARN) of the scheduling policy. The format is
|
|
895
880
|
* <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i>
|
|
896
881
|
* </code>.
|
|
897
882
|
* For example,
|
|
@@ -953,8 +938,7 @@ export declare namespace DeleteJobQueueResponse {
|
|
|
953
938
|
}
|
|
954
939
|
export interface DeleteSchedulingPolicyRequest {
|
|
955
940
|
/**
|
|
956
|
-
* <p>The Amazon Resource Name (ARN) of the scheduling policy to
|
|
957
|
-
* delete.</p>
|
|
941
|
+
* <p>The Amazon Resource Name (ARN) of the scheduling policy to delete.</p>
|
|
958
942
|
*/
|
|
959
943
|
arn: string | undefined;
|
|
960
944
|
}
|
|
@@ -1041,8 +1025,8 @@ export declare enum CEStatus {
|
|
|
1041
1025
|
*/
|
|
1042
1026
|
export interface ComputeEnvironmentDetail {
|
|
1043
1027
|
/**
|
|
1044
|
-
* <p>The name of the compute environment.
|
|
1045
|
-
* underscores
|
|
1028
|
+
* <p>The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and
|
|
1029
|
+
* lowercase letters, numbers, hyphens (-), and underscores (_).</p>
|
|
1046
1030
|
*/
|
|
1047
1031
|
computeEnvironmentName: string | undefined;
|
|
1048
1032
|
/**
|
|
@@ -1131,8 +1115,7 @@ export declare namespace DescribeComputeEnvironmentsResponse {
|
|
|
1131
1115
|
*/
|
|
1132
1116
|
export interface DescribeJobDefinitionsRequest {
|
|
1133
1117
|
/**
|
|
1134
|
-
* <p>A list of up to 100 job definitions. Each
|
|
1135
|
-
* entry in the list can either be an ARN of the form
|
|
1118
|
+
* <p>A list of up to 100 job definitions. Each entry in the list can either be an ARN in the format
|
|
1136
1119
|
* <code>arn:aws:batch:${Region}:${Account}:job-definition/${JobDefinitionName}:${Revision}</code> or a short version
|
|
1137
1120
|
* using the form <code>${JobDefinitionName}:${Revision}</code>.</p>
|
|
1138
1121
|
*/
|
|
@@ -1650,9 +1633,8 @@ export interface ResourceRequirement {
|
|
|
1650
1633
|
* resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be
|
|
1651
1634
|
* specified for each node at least once.</p>
|
|
1652
1635
|
* <p>For jobs that are running on Fargate resources, then <code>value</code> must match one of the supported
|
|
1653
|
-
* values and the <code>MEMORY</code> values must be one of the values supported for that
|
|
1654
|
-
*
|
|
1655
|
-
* value. The supported values are 0.25, 0.5, 1, 2, and 4</p>
|
|
1636
|
+
* values and the <code>MEMORY</code> values must be one of the values supported for that <code>VCPU</code> value.
|
|
1637
|
+
* The supported values are 0.25, 0.5, 1, 2, and 4</p>
|
|
1656
1638
|
* <dl>
|
|
1657
1639
|
* <dt>value = 0.25</dt>
|
|
1658
1640
|
* <dd>
|
|
@@ -1841,8 +1823,8 @@ export interface Volume {
|
|
|
1841
1823
|
*/
|
|
1842
1824
|
host?: Host;
|
|
1843
1825
|
/**
|
|
1844
|
-
* <p>The name of the volume.
|
|
1845
|
-
*
|
|
1826
|
+
* <p>The name of the volume. It can be up to 255 letters long. It can contain uppercase and lowercase letters,
|
|
1827
|
+
* numbers, hyphens (-), and underscores (_). This name is referenced in the <code>sourceVolume</code>
|
|
1846
1828
|
* parameter of container definition <code>mountPoints</code>.</p>
|
|
1847
1829
|
*/
|
|
1848
1830
|
name?: string;
|
|
@@ -1903,7 +1885,6 @@ export interface ContainerProperties {
|
|
|
1903
1885
|
* <p>This parameter is deprecated, use <code>resourceRequirements</code> to specify the vCPU requirements for the job
|
|
1904
1886
|
* definition. It's not supported for jobs that run on Fargate resources. For jobs run on EC2 resources, it specifies
|
|
1905
1887
|
* the number of vCPUs reserved for the job.</p>
|
|
1906
|
-
*
|
|
1907
1888
|
* <p>Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to <code>CpuShares</code> in the
|
|
1908
1889
|
* <a href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a container</a> section of the <a href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API</a> and the <code>--cpu-shares</code> option to
|
|
1909
1890
|
* <a href="https://docs.docker.com/engine/reference/run/">docker run</a>. The number of vCPUs must be specified but can be specified
|
|
@@ -1913,12 +1894,11 @@ export interface ContainerProperties {
|
|
|
1913
1894
|
/**
|
|
1914
1895
|
* @deprecated
|
|
1915
1896
|
*
|
|
1916
|
-
* <p>This parameter is deprecated, use
|
|
1917
|
-
*
|
|
1918
|
-
*
|
|
1919
|
-
*
|
|
1920
|
-
*
|
|
1921
|
-
* places. It must be specified for each node at least once.</p>
|
|
1897
|
+
* <p>This parameter is deprecated, use <code>resourceRequirements</code> to specify the memory requirements for the
|
|
1898
|
+
* job definition. It's not supported for jobs that run on Fargate resources. For jobs run on EC2 resources, it
|
|
1899
|
+
* specifies the memory hard limit (in MiB) for a container. If your container attempts to exceed the specified number,
|
|
1900
|
+
* it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can
|
|
1901
|
+
* be specified in several places. It must be specified for each node at least once.</p>
|
|
1922
1902
|
*/
|
|
1923
1903
|
memory?: number;
|
|
1924
1904
|
/**
|
|
@@ -2123,7 +2103,6 @@ export interface EvaluateOnExit {
|
|
|
2123
2103
|
* spaces or tabs).
|
|
2124
2104
|
* It can optionally end with an
|
|
2125
2105
|
* asterisk (*) so that only the start of the string needs to be an exact match.</p>
|
|
2126
|
-
*
|
|
2127
2106
|
* <p>The string can be between 1 and 512 characters in length.</p>
|
|
2128
2107
|
*/
|
|
2129
2108
|
onStatusReason?: string;
|
|
@@ -2132,7 +2111,6 @@ export interface EvaluateOnExit {
|
|
|
2132
2111
|
* 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces
|
|
2133
2112
|
* and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact
|
|
2134
2113
|
* match.</p>
|
|
2135
|
-
*
|
|
2136
2114
|
* <p>The string can be between 1 and 512 characters in length.</p>
|
|
2137
2115
|
*/
|
|
2138
2116
|
onReason?: string;
|
|
@@ -2140,7 +2118,6 @@ export interface EvaluateOnExit {
|
|
|
2140
2118
|
* <p>Contains a glob pattern to match against the decimal representation of the <code>ExitCode</code> returned for a
|
|
2141
2119
|
* job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an
|
|
2142
2120
|
* asterisk (*) so that only the start of the string needs to be an exact match.</p>
|
|
2143
|
-
*
|
|
2144
2121
|
* <p>The string can be between 1 and 512 characters in length.</p>
|
|
2145
2122
|
*/
|
|
2146
2123
|
onExitCode?: string;
|
|
@@ -2215,16 +2192,15 @@ export interface JobDefinition {
|
|
|
2215
2192
|
*/
|
|
2216
2193
|
status?: string;
|
|
2217
2194
|
/**
|
|
2218
|
-
* <p>The type of job definition, either
|
|
2219
|
-
*
|
|
2220
|
-
*
|
|
2221
|
-
*
|
|
2195
|
+
* <p>The type of job definition, either <code>container</code> or <code>multinode</code>. If the job is run on
|
|
2196
|
+
* Fargate resources, then <code>multinode</code> isn't supported. For more information about multi-node parallel
|
|
2197
|
+
* jobs, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html">Creating a multi-node parallel job
|
|
2198
|
+
* definition</a> in the <i>Batch User Guide</i>.</p>
|
|
2222
2199
|
*/
|
|
2223
2200
|
type: string | undefined;
|
|
2224
2201
|
/**
|
|
2225
|
-
* <p>The scheduling priority of the job
|
|
2226
|
-
*
|
|
2227
|
-
* will be scheduled before jobs with a lower scheduling priority.</p>
|
|
2202
|
+
* <p>The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy.
|
|
2203
|
+
* Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.</p>
|
|
2228
2204
|
*/
|
|
2229
2205
|
schedulingPriority?: number;
|
|
2230
2206
|
/**
|
|
@@ -2362,7 +2338,7 @@ export interface JobQueueDetail {
|
|
|
2362
2338
|
*/
|
|
2363
2339
|
state: JQState | string | undefined;
|
|
2364
2340
|
/**
|
|
2365
|
-
* <p>Amazon Resource Name (ARN) of the scheduling policy. The format is
|
|
2341
|
+
* <p>The Amazon Resource Name (ARN) of the scheduling policy. The format is
|
|
2366
2342
|
* <code>aws:<i>Partition</i>:batch:<i>Region</i>:<i>Account</i>:scheduling-policy/<i>Name</i>
|
|
2367
2343
|
* </code>.
|
|
2368
2344
|
* For example,
|
|
@@ -2700,8 +2676,8 @@ export interface JobDetail {
|
|
|
2700
2676
|
*/
|
|
2701
2677
|
shareIdentifier?: string;
|
|
2702
2678
|
/**
|
|
2703
|
-
* <p>The scheduling policy of the job definition. This
|
|
2704
|
-
*
|
|
2679
|
+
* <p>The scheduling policy of the job definition. This only affects jobs in job queues with a fair share policy. Jobs
|
|
2680
|
+
* with a higher scheduling priority are scheduled before jobs with a lower scheduling priority.</p>
|
|
2705
2681
|
*/
|
|
2706
2682
|
schedulingPriority?: number;
|
|
2707
2683
|
/**
|
|
@@ -2811,8 +2787,7 @@ export declare namespace DescribeJobsResponse {
|
|
|
2811
2787
|
}
|
|
2812
2788
|
export interface DescribeSchedulingPoliciesRequest {
|
|
2813
2789
|
/**
|
|
2814
|
-
* <p>A list of up to 100 scheduling policy
|
|
2815
|
-
* Amazon Resource Name (ARN) entries.</p>
|
|
2790
|
+
* <p>A list of up to 100 scheduling policy Amazon Resource Name (ARN) entries.</p>
|
|
2816
2791
|
*/
|
|
2817
2792
|
arns: string[] | undefined;
|
|
2818
2793
|
}
|
|
@@ -2823,30 +2798,26 @@ export declare namespace DescribeSchedulingPoliciesRequest {
|
|
|
2823
2798
|
const filterSensitiveLog: (obj: DescribeSchedulingPoliciesRequest) => any;
|
|
2824
2799
|
}
|
|
2825
2800
|
/**
|
|
2826
|
-
* <p>An object
|
|
2827
|
-
* policy.</p>
|
|
2801
|
+
* <p>An object that represents a scheduling policy.</p>
|
|
2828
2802
|
*/
|
|
2829
2803
|
export interface SchedulingPolicyDetail {
|
|
2830
2804
|
/**
|
|
2831
|
-
* <p>The name of the scheduling
|
|
2832
|
-
* policy.</p>
|
|
2805
|
+
* <p>The name of the scheduling policy.</p>
|
|
2833
2806
|
*/
|
|
2834
2807
|
name: string | undefined;
|
|
2835
2808
|
/**
|
|
2836
|
-
* <p>Amazon Resource Name (ARN) of the scheduling policy. An example
|
|
2809
|
+
* <p>The Amazon Resource Name (ARN) of the scheduling policy. An example is
|
|
2837
2810
|
* <code>arn:<i>aws</i>:batch:<i>us-east-1</i>:<i>123456789012</i>:scheduling-policy/<i>HighPriority</i>
|
|
2838
|
-
* </code>
|
|
2839
|
-
* </p>
|
|
2811
|
+
* </code>.</p>
|
|
2840
2812
|
*/
|
|
2841
2813
|
arn: string | undefined;
|
|
2842
2814
|
/**
|
|
2843
|
-
* <p>The fair share policy for the scheduling
|
|
2844
|
-
* policy.</p>
|
|
2815
|
+
* <p>The fair share policy for the scheduling policy.</p>
|
|
2845
2816
|
*/
|
|
2846
2817
|
fairsharePolicy?: FairsharePolicy;
|
|
2847
2818
|
/**
|
|
2848
|
-
* <p>The tags that you apply to the scheduling policy to
|
|
2849
|
-
*
|
|
2819
|
+
* <p>The tags that you apply to the scheduling policy to categorize and organize your resources. Each tag consists of
|
|
2820
|
+
* a key and an optional value. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> in <i>Amazon Web Services General
|
|
2850
2821
|
* Reference</i>.</p>
|
|
2851
2822
|
*/
|
|
2852
2823
|
tags?: {
|
|
@@ -2861,8 +2832,7 @@ export declare namespace SchedulingPolicyDetail {
|
|
|
2861
2832
|
}
|
|
2862
2833
|
export interface DescribeSchedulingPoliciesResponse {
|
|
2863
2834
|
/**
|
|
2864
|
-
* <p>The list of scheduling
|
|
2865
|
-
* policies.</p>
|
|
2835
|
+
* <p>The list of scheduling policies.</p>
|
|
2866
2836
|
*/
|
|
2867
2837
|
schedulingPolicies?: SchedulingPolicyDetail[];
|
|
2868
2838
|
}
|
|
@@ -2965,14 +2935,14 @@ export interface ListJobsRequest {
|
|
|
2965
2935
|
* <dt>BEFORE_CREATED_AT</dt>
|
|
2966
2936
|
* <dd>
|
|
2967
2937
|
* <p>The value for the filter is the time that's before the job was created. This corresponds to the
|
|
2968
|
-
* <code>createdAt</code> value. The value is a string representation of the number of
|
|
2969
|
-
* (midnight) on January 1, 1970.</p>
|
|
2938
|
+
* <code>createdAt</code> value. The value is a string representation of the number of milliseconds since 00:00:00
|
|
2939
|
+
* UTC (midnight) on January 1, 1970.</p>
|
|
2970
2940
|
* </dd>
|
|
2971
2941
|
* <dt>AFTER_CREATED_AT</dt>
|
|
2972
2942
|
* <dd>
|
|
2973
2943
|
* <p>The value for the filter is the time that's after the job was created. This corresponds to the
|
|
2974
|
-
* <code>createdAt</code> value. The value is a string representation of the number of
|
|
2975
|
-
* (midnight) on January 1, 1970.</p>
|
|
2944
|
+
* <code>createdAt</code> value. The value is a string representation of the number of milliseconds since 00:00:00
|
|
2945
|
+
* UTC (midnight) on January 1, 1970.</p>
|
|
2976
2946
|
* </dd>
|
|
2977
2947
|
* </dl>
|
|
2978
2948
|
*/
|
|
@@ -3045,9 +3015,10 @@ export interface JobSummary {
|
|
|
3045
3015
|
*/
|
|
3046
3016
|
jobName: string | undefined;
|
|
3047
3017
|
/**
|
|
3048
|
-
* <p>The Unix timestamp for when the job was created. For non-array jobs and parent array jobs,
|
|
3049
|
-
* entered the <code>SUBMITTED</code> state (at the time <a>SubmitJob</a> was called).
|
|
3050
|
-
* this is when the child job was spawned by its parent and entered the <code>PENDING</code>
|
|
3018
|
+
* <p>The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs,
|
|
3019
|
+
* this is when the job entered the <code>SUBMITTED</code> state (at the time <a>SubmitJob</a> was called).
|
|
3020
|
+
* For array child jobs, this is when the child job was spawned by its parent and entered the <code>PENDING</code>
|
|
3021
|
+
* state.</p>
|
|
3051
3022
|
*/
|
|
3052
3023
|
createdAt?: number;
|
|
3053
3024
|
/**
|
|
@@ -3114,20 +3085,21 @@ export declare namespace ListJobsResponse {
|
|
|
3114
3085
|
}
|
|
3115
3086
|
export interface ListSchedulingPoliciesRequest {
|
|
3116
3087
|
/**
|
|
3117
|
-
* <p>The maximum number of results returned by <code>ListSchedulingPolicies</code> in paginated output. When
|
|
3118
|
-
* parameter is used, <code>ListSchedulingPolicies</code> only returns <code>maxResults</code> results in a single
|
|
3119
|
-
* and a <code>nextToken</code> response element.
|
|
3120
|
-
* another <code>ListSchedulingPolicies</code> request with the returned <code>nextToken</code> value. This
|
|
3121
|
-
* between 1 and 100. If this parameter isn't used,
|
|
3088
|
+
* <p>The maximum number of results that's returned by <code>ListSchedulingPolicies</code> in paginated output. When
|
|
3089
|
+
* this parameter is used, <code>ListSchedulingPolicies</code> only returns <code>maxResults</code> results in a single
|
|
3090
|
+
* page and a <code>nextToken</code> response element. You can see the remaining results of the initial request by
|
|
3091
|
+
* sending another <code>ListSchedulingPolicies</code> request with the returned <code>nextToken</code> value. This
|
|
3092
|
+
* value can be between 1 and 100. If this parameter isn't used,
|
|
3122
3093
|
* <code>ListSchedulingPolicies</code> returns up to 100 results and a <code>nextToken</code> value
|
|
3123
3094
|
* if applicable.</p>
|
|
3124
3095
|
*/
|
|
3125
3096
|
maxResults?: number;
|
|
3126
3097
|
/**
|
|
3127
|
-
* <p>The <code>nextToken</code> value returned from a previous paginated <code>ListSchedulingPolicies</code>
|
|
3128
|
-
* where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination
|
|
3129
|
-
* from the end of the previous results that returned the <code>nextToken</code> value. This value is
|
|
3130
|
-
*
|
|
3098
|
+
* <p>The <code>nextToken</code> value that's returned from a previous paginated <code>ListSchedulingPolicies</code>
|
|
3099
|
+
* request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination
|
|
3100
|
+
* continues from the end of the previous results that returned the <code>nextToken</code> value. This value is
|
|
3101
|
+
* <code>null</code> when there are no more results to
|
|
3102
|
+
* return.</p>
|
|
3131
3103
|
* <note>
|
|
3132
3104
|
* <p>This token should be treated as an opaque identifier that's only used to
|
|
3133
3105
|
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
@@ -3142,8 +3114,8 @@ export declare namespace ListSchedulingPoliciesRequest {
|
|
|
3142
3114
|
const filterSensitiveLog: (obj: ListSchedulingPoliciesRequest) => any;
|
|
3143
3115
|
}
|
|
3144
3116
|
/**
|
|
3145
|
-
* <p>An object
|
|
3146
|
-
*
|
|
3117
|
+
* <p>An object that contains the details of a scheduling policy that's returned in a
|
|
3118
|
+
* <code>ListSchedulingPolicy</code> action.</p>
|
|
3147
3119
|
*/
|
|
3148
3120
|
export interface SchedulingPolicyListingDetail {
|
|
3149
3121
|
/**
|
|
@@ -3159,8 +3131,7 @@ export declare namespace SchedulingPolicyListingDetail {
|
|
|
3159
3131
|
}
|
|
3160
3132
|
export interface ListSchedulingPoliciesResponse {
|
|
3161
3133
|
/**
|
|
3162
|
-
* <p>A list of scheduling policies that match
|
|
3163
|
-
* the request.</p>
|
|
3134
|
+
* <p>A list of scheduling policies that match the request.</p>
|
|
3164
3135
|
*/
|
|
3165
3136
|
schedulingPolicies?: SchedulingPolicyListingDetail[];
|
|
3166
3137
|
/**
|
|
@@ -3212,8 +3183,8 @@ export declare enum JobDefinitionType {
|
|
|
3212
3183
|
*/
|
|
3213
3184
|
export interface RegisterJobDefinitionRequest {
|
|
3214
3185
|
/**
|
|
3215
|
-
* <p>The name of the job definition to register.
|
|
3216
|
-
* underscores
|
|
3186
|
+
* <p>The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and
|
|
3187
|
+
* lowercase letters, numbers, hyphens (-), and underscores (_).</p>
|
|
3217
3188
|
*/
|
|
3218
3189
|
jobDefinitionName: string | undefined;
|
|
3219
3190
|
/**
|
|
@@ -3233,10 +3204,9 @@ export interface RegisterJobDefinitionRequest {
|
|
|
3233
3204
|
[key: string]: string;
|
|
3234
3205
|
};
|
|
3235
3206
|
/**
|
|
3236
|
-
* <p>The scheduling priority for jobs that are
|
|
3237
|
-
*
|
|
3238
|
-
*
|
|
3239
|
-
*
|
|
3207
|
+
* <p>The scheduling priority for jobs that are submitted with this job definition. This will only affect jobs in job
|
|
3208
|
+
* queues with a fair share policy. Jobs with a higher scheduling priority will be scheduled before jobs with a lower
|
|
3209
|
+
* scheduling priority.</p>
|
|
3240
3210
|
* <p>The minimum supported value is 0 and the maximum supported value is 9999.</p>
|
|
3241
3211
|
*/
|
|
3242
3212
|
schedulingPriority?: number;
|
|
@@ -3328,31 +3298,27 @@ export interface ContainerOverrides {
|
|
|
3328
3298
|
/**
|
|
3329
3299
|
* @deprecated
|
|
3330
3300
|
*
|
|
3331
|
-
* <p>This parameter is deprecated, use
|
|
3332
|
-
*
|
|
3333
|
-
* job definition
|
|
3334
|
-
*
|
|
3335
|
-
*
|
|
3336
|
-
* <code>resourceRequirements</code>
|
|
3337
|
-
*
|
|
3338
|
-
*
|
|
3339
|
-
* <code>value</code> set to the new value. For
|
|
3340
|
-
* more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements">Can't override job definition
|
|
3341
|
-
* resource requirements</a> in the <i>Batch User Guide</i>.</p>
|
|
3301
|
+
* <p>This parameter is deprecated, use <code>resourceRequirements</code> to override the <code>vcpus</code> parameter
|
|
3302
|
+
* that's set in the job definition. It's not supported for jobs that run on Fargate resources. For jobs run on EC2
|
|
3303
|
+
* resources, it overrides the <code>vcpus</code> parameter set in the job definition, but doesn't override any vCPU
|
|
3304
|
+
* requirement specified in the <code>resourceRequirements</code> structure in the job definition. To override vCPU
|
|
3305
|
+
* requirements that are specified in the <code>resourceRequirements</code> structure in the job definition,
|
|
3306
|
+
* <code>resourceRequirements</code> must be specified in the <code>SubmitJob</code> request, with <code>type</code>
|
|
3307
|
+
* set to <code>VCPU</code> and <code>value</code> set to the new value. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements">Can't override
|
|
3308
|
+
* job definition resource requirements</a> in the <i>Batch User Guide</i>.</p>
|
|
3342
3309
|
*/
|
|
3343
3310
|
vcpus?: number;
|
|
3344
3311
|
/**
|
|
3345
3312
|
* @deprecated
|
|
3346
3313
|
*
|
|
3347
|
-
* <p>This parameter is deprecated, use
|
|
3348
|
-
*
|
|
3349
|
-
*
|
|
3350
|
-
*
|
|
3351
|
-
* the <code>resourceRequirements</code> structure in the job definition
|
|
3352
|
-
*
|
|
3353
|
-
*
|
|
3354
|
-
*
|
|
3355
|
-
* resource requirements</a> in the <i>Batch User Guide</i>.</p>
|
|
3314
|
+
* <p>This parameter is deprecated, use <code>resourceRequirements</code> to override the memory requirements
|
|
3315
|
+
* specified in the job definition. It's not supported for jobs that run on Fargate resources. For jobs run on EC2
|
|
3316
|
+
* resources, it overrides the <code>memory</code> parameter set in the job definition, but doesn't override any memory
|
|
3317
|
+
* requirement specified in the <code>resourceRequirements</code> structure in the job definition. To override memory
|
|
3318
|
+
* requirements that are specified in the <code>resourceRequirements</code> structure in the job definition,
|
|
3319
|
+
* <code>resourceRequirements</code> must be specified in the <code>SubmitJob</code> request, with <code>type</code>
|
|
3320
|
+
* set to <code>MEMORY</code> and <code>value</code> set to the new value. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#override-resource-requirements">Can't override
|
|
3321
|
+
* job definition resource requirements</a> in the <i>Batch User Guide</i>.</p>
|
|
3356
3322
|
*/
|
|
3357
3323
|
memory?: number;
|
|
3358
3324
|
/**
|
|
@@ -3457,8 +3423,8 @@ export declare namespace NodeOverrides {
|
|
|
3457
3423
|
*/
|
|
3458
3424
|
export interface SubmitJobRequest {
|
|
3459
3425
|
/**
|
|
3460
|
-
* <p>The name of the job.
|
|
3461
|
-
* numbers, hyphens, and underscores
|
|
3426
|
+
* <p>The name of the job. It can be up to 128 letters long. The first character must be alphanumeric, can contain
|
|
3427
|
+
* uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).</p>
|
|
3462
3428
|
*/
|
|
3463
3429
|
jobName: string | undefined;
|
|
3464
3430
|
/**
|
|
@@ -3466,16 +3432,13 @@ export interface SubmitJobRequest {
|
|
|
3466
3432
|
*/
|
|
3467
3433
|
jobQueue: string | undefined;
|
|
3468
3434
|
/**
|
|
3469
|
-
* <p>The share identifier for the
|
|
3470
|
-
* job.</p>
|
|
3435
|
+
* <p>The share identifier for the job.</p>
|
|
3471
3436
|
*/
|
|
3472
3437
|
shareIdentifier?: string;
|
|
3473
3438
|
/**
|
|
3474
|
-
* <p>The scheduling priority for the job. This
|
|
3475
|
-
*
|
|
3476
|
-
*
|
|
3477
|
-
* definition.</p>
|
|
3478
|
-
*
|
|
3439
|
+
* <p>The scheduling priority for the job. This will only affect jobs in job queues with a fair share policy. Jobs
|
|
3440
|
+
* with a higher scheduling priority will be scheduled before jobs with a lower scheduling priority. This will override
|
|
3441
|
+
* any scheduling priority in the job definition.</p>
|
|
3479
3442
|
* <p>The minimum supported value is 0 and the maximum supported value is 9999.</p>
|
|
3480
3443
|
*/
|
|
3481
3444
|
schedulingPriorityOverride?: number;
|
|
@@ -3738,11 +3701,10 @@ export interface UpdateComputeEnvironmentRequest {
|
|
|
3738
3701
|
*/
|
|
3739
3702
|
state?: CEState | string;
|
|
3740
3703
|
/**
|
|
3741
|
-
* <p>The maximum number of vCPUs expected to
|
|
3742
|
-
* be
|
|
3743
|
-
*
|
|
3744
|
-
*
|
|
3745
|
-
* reserved.</p>
|
|
3704
|
+
* <p>The maximum number of vCPUs expected to be used for an unmanaged compute environment. This parameter should not
|
|
3705
|
+
* be specified for a managed compute environment. This parameter is only used for fair share scheduling to reserve vCPU
|
|
3706
|
+
* capacity for new share identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity
|
|
3707
|
+
* will be reserved.</p>
|
|
3746
3708
|
*/
|
|
3747
3709
|
unmanagedvCpus?: number;
|
|
3748
3710
|
/**
|
|
@@ -3779,8 +3741,8 @@ export declare namespace UpdateComputeEnvironmentRequest {
|
|
|
3779
3741
|
}
|
|
3780
3742
|
export interface UpdateComputeEnvironmentResponse {
|
|
3781
3743
|
/**
|
|
3782
|
-
* <p>The name of the compute environment.
|
|
3783
|
-
* underscores
|
|
3744
|
+
* <p>The name of the compute environment. It can be up to 128 letters long. It can contain uppercase and
|
|
3745
|
+
* lowercase letters, numbers, hyphens (-), and underscores (_).</p>
|
|
3784
3746
|
*/
|
|
3785
3747
|
computeEnvironmentName?: string;
|
|
3786
3748
|
/**
|
|
@@ -3867,8 +3829,7 @@ export interface UpdateSchedulingPolicyRequest {
|
|
|
3867
3829
|
*/
|
|
3868
3830
|
arn: string | undefined;
|
|
3869
3831
|
/**
|
|
3870
|
-
* <p>The fair share
|
|
3871
|
-
* policy.</p>
|
|
3832
|
+
* <p>The fair share policy.</p>
|
|
3872
3833
|
*/
|
|
3873
3834
|
fairsharePolicy?: FairsharePolicy;
|
|
3874
3835
|
}
|
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.43.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|