@aws-sdk/client-batch 3.379.1 → 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.
@@ -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
- * or <code>SPOT_CAPACITY_OPTIMIZED</code>.</p>
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
  * ],