@aws-sdk/client-batch 3.378.0 → 3.382.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-cjs/models/models_0.js +2 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +3 -3
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +498 -6
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +7 -7
|
@@ -40,6 +40,7 @@ exports.CRAllocationStrategy = {
|
|
|
40
40
|
BEST_FIT: "BEST_FIT",
|
|
41
41
|
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
42
42
|
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
43
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
43
44
|
};
|
|
44
45
|
exports.CRType = {
|
|
45
46
|
EC2: "EC2",
|
|
@@ -130,4 +131,5 @@ exports.JobDefinitionType = {
|
|
|
130
131
|
exports.CRUpdateAllocationStrategy = {
|
|
131
132
|
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
132
133
|
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
134
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
133
135
|
};
|
|
@@ -35,6 +35,7 @@ export const CRAllocationStrategy = {
|
|
|
35
35
|
BEST_FIT: "BEST_FIT",
|
|
36
36
|
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
37
37
|
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
38
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
38
39
|
};
|
|
39
40
|
export const CRType = {
|
|
40
41
|
EC2: "EC2",
|
|
@@ -125,4 +126,5 @@ export const JobDefinitionType = {
|
|
|
125
126
|
export const CRUpdateAllocationStrategy = {
|
|
126
127
|
BEST_FIT_PROGRESSIVE: "BEST_FIT_PROGRESSIVE",
|
|
127
128
|
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
129
|
+
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
128
130
|
};
|
|
@@ -75,8 +75,8 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
75
75
|
* <p>Either don't set the service role (<code>serviceRole</code>) parameter or set it to the <b>AWSBatchServiceRole</b> service-linked role.</p>
|
|
76
76
|
* </li>
|
|
77
77
|
* <li>
|
|
78
|
-
* <p>Set the allocation strategy (<code>allocationStrategy</code>) parameter to <code>BEST_FIT_PROGRESSIVE</code
|
|
79
|
-
*
|
|
78
|
+
* <p>Set the allocation strategy (<code>allocationStrategy</code>) parameter to <code>BEST_FIT_PROGRESSIVE</code>,
|
|
79
|
+
* <code>SPOT_CAPACITY_OPTIMIZED</code>, or <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code>.</p>
|
|
80
80
|
* </li>
|
|
81
81
|
* <li>
|
|
82
82
|
* <p>Set the update to latest image version (<code>updateToLatestImageVersion</code>)
|
|
@@ -119,7 +119,7 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
|
|
|
119
119
|
* unmanagedvCpus: Number("int"),
|
|
120
120
|
* computeResources: { // ComputeResource
|
|
121
121
|
* type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT", // required
|
|
122
|
-
* allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
|
|
122
|
+
* allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED" || "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
123
123
|
* minvCpus: Number("int"),
|
|
124
124
|
* maxvCpus: Number("int"), // required
|
|
125
125
|
* desiredvCpus: Number("int"),
|
|
@@ -58,7 +58,7 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
|
|
|
58
58
|
* // statusReason: "STRING_VALUE",
|
|
59
59
|
* // computeResources: { // ComputeResource
|
|
60
60
|
* // type: "EC2" || "SPOT" || "FARGATE" || "FARGATE_SPOT", // required
|
|
61
|
-
* // allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
|
|
61
|
+
* // allocationStrategy: "BEST_FIT" || "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED" || "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
62
62
|
* // minvCpus: Number("int"),
|
|
63
63
|
* // maxvCpus: Number("int"), // required
|
|
64
64
|
* // desiredvCpus: Number("int"),
|
|
@@ -44,7 +44,7 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
44
44
|
* securityGroupIds: [
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
|
-
* allocationStrategy: "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED",
|
|
47
|
+
* allocationStrategy: "BEST_FIT_PROGRESSIVE" || "SPOT_CAPACITY_OPTIMIZED" || "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
48
48
|
* instanceTypes: [
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED