@aws-sdk/client-batch 3.1050.0 → 3.1052.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.
@@ -622,12 +622,17 @@ export interface ComputeResource {
622
622
  type: CRType | undefined;
623
623
  /**
624
624
  * <p>The allocation strategy to use for the compute resource if not enough instances of the best
625
- * fitting instance type can be allocated. This might be because of availability of the instance
626
- * type in the Region or <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">Amazon EC2 service limits</a>. For more
627
- * information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html">Allocation strategies</a> in the <i>Batch User Guide</i>.</p>
625
+ * fitting instance type can be allocated. This might be because of availability of the instance
626
+ * type in the Region or <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">Amazon EC2 service limits</a>. For more
627
+ * information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html">Allocation strategies</a> in the <i>Batch User Guide</i>.</p>
628
628
  * <note>
629
629
  * <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
630
630
  * </note>
631
+ * <note>
632
+ * <p>This parameter is required for Amazon EKS compute environments. For Amazon ECS compute environments,
633
+ * if this parameter isn't specified, the <code>BEST_FIT</code> allocation strategy is used by
634
+ * default.</p>
635
+ * </note>
631
636
  * <dl>
632
637
  * <dt>BEST_FIT (default)</dt>
633
638
  * <dd>
@@ -963,7 +968,9 @@ export interface CreateComputeEnvironmentRequest {
963
968
  */
964
969
  type: CEType | undefined;
965
970
  /**
966
- * <p>The state of the compute environment. If the state is <code>ENABLED</code>, then the
971
+ * <p>The state of the compute environment. A compute environment must be created in the
972
+ * <code>ENABLED</code> state.</p>
973
+ * <p>If the state is <code>ENABLED</code>, then the
967
974
  * compute environment accepts jobs from a queue and can scale out automatically based on
968
975
  * queues.</p>
969
976
  * <p>If the state is <code>ENABLED</code>, then the Batch scheduler can attempt to place jobs
@@ -1013,6 +1020,9 @@ export interface CreateComputeEnvironmentRequest {
1013
1020
  * default for your compute environment unless you specify a different role here. If the
1014
1021
  * Batch service-linked role doesn't exist in your account, and no role is specified here,
1015
1022
  * the service attempts to create the Batch service-linked role in your account.</p>
1023
+ * <p>This automatic service-linked role creation only applies to <code>MANAGED</code> compute
1024
+ * environments. For <code>UNMANAGED</code> compute environments, you must explicitly specify a
1025
+ * <code>serviceRole</code>.</p>
1016
1026
  * </important>
1017
1027
  * <p>If your specified role has a path other than <code>/</code>, then you must specify either
1018
1028
  * the full role ARN (recommended) or prefix the role name with the path. For example, if a
@@ -8366,13 +8376,13 @@ export interface ComputeResourceUpdate {
8366
8376
  securityGroupIds?: string[] | undefined;
8367
8377
  /**
8368
8378
  * <p>The allocation strategy to use for the compute resource if there's not enough instances of
8369
- * the best fitting instance type that can be allocated. This might be because of availability of
8370
- * the instance type in the Region or <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">Amazon EC2 service limits</a>. For more
8371
- * information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html">Allocation strategies</a> in the <i>Batch User Guide</i>.</p>
8379
+ * the best fitting instance type that can be allocated. This might be because of availability of
8380
+ * the instance type in the Region or <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html">Amazon EC2 service limits</a>. For more
8381
+ * information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html">Allocation strategies</a> in the <i>Batch User Guide</i>.</p>
8372
8382
  * <p>When updating a compute environment, changing the allocation strategy requires an
8373
- * infrastructure update of the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute
8374
- * environments</a> in the <i>Batch User Guide</i>. <code>BEST_FIT</code> isn't
8375
- * supported when updating a compute environment.</p>
8383
+ * infrastructure update of the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute
8384
+ * environments</a> in the <i>Batch User Guide</i>. <code>BEST_FIT</code> isn't
8385
+ * supported when updating a compute environment.</p>
8376
8386
  * <note>
8377
8387
  * <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
8378
8388
  * </note>
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.1050.0",
4
+ "version": "3.1052.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-batch",
@@ -21,13 +21,13 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.12",
25
- "@aws-sdk/credential-provider-node": "^3.972.43",
26
- "@aws-sdk/types": "^3.973.8",
27
- "@smithy/core": "^3.24.2",
28
- "@smithy/fetch-http-handler": "^5.4.2",
29
- "@smithy/node-http-handler": "^4.7.2",
30
- "@smithy/types": "^4.14.1",
24
+ "@aws-sdk/core": "^3.974.13",
25
+ "@aws-sdk/credential-provider-node": "^3.972.44",
26
+ "@aws-sdk/types": "^3.973.9",
27
+ "@smithy/core": "^3.24.3",
28
+ "@smithy/fetch-http-handler": "^5.4.3",
29
+ "@smithy/node-http-handler": "^4.7.3",
30
+ "@smithy/types": "^4.14.2",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {