@aws-sdk/client-batch 3.1013.0 → 3.1015.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/schemas/schemas_0.js +3 -2
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +1 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +41 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +12 -12
|
@@ -360,6 +360,7 @@ const _an = "annotations";
|
|
|
360
360
|
const _ar = "arns";
|
|
361
361
|
const _arg = "args";
|
|
362
362
|
const _at = "attempts";
|
|
363
|
+
const _bIS = "batchImageStatus";
|
|
363
364
|
const _bL = "borrowLimit";
|
|
364
365
|
const _bP = "bidPercentage";
|
|
365
366
|
const _c = "client";
|
|
@@ -1014,8 +1015,8 @@ exports.Device$ = [3, n0, _D,
|
|
|
1014
1015
|
];
|
|
1015
1016
|
exports.Ec2Configuration$ = [3, n0, _EC,
|
|
1016
1017
|
0,
|
|
1017
|
-
[_iTm, _iIO, _iKV],
|
|
1018
|
-
[0, 0, 0], 1
|
|
1018
|
+
[_iTm, _iIO, _bIS, _iKV],
|
|
1019
|
+
[0, 0, 0, 0], 1
|
|
1019
1020
|
];
|
|
1020
1021
|
exports.EcsProperties$ = [3, n0, _EP,
|
|
1021
1022
|
0,
|
|
@@ -352,6 +352,7 @@ const _an = "annotations";
|
|
|
352
352
|
const _ar = "arns";
|
|
353
353
|
const _arg = "args";
|
|
354
354
|
const _at = "attempts";
|
|
355
|
+
const _bIS = "batchImageStatus";
|
|
355
356
|
const _bL = "borrowLimit";
|
|
356
357
|
const _bP = "bidPercentage";
|
|
357
358
|
const _c = "client";
|
|
@@ -1006,8 +1007,8 @@ export var Device$ = [3, n0, _D,
|
|
|
1006
1007
|
];
|
|
1007
1008
|
export var Ec2Configuration$ = [3, n0, _EC,
|
|
1008
1009
|
0,
|
|
1009
|
-
[_iTm, _iIO, _iKV],
|
|
1010
|
-
[0, 0, 0], 1
|
|
1010
|
+
[_iTm, _iIO, _bIS, _iKV],
|
|
1011
|
+
[0, 0, 0, 0], 1
|
|
1011
1012
|
];
|
|
1012
1013
|
export var EcsProperties$ = [3, n0, _EP,
|
|
1013
1014
|
0,
|
|
@@ -110,6 +110,7 @@ declare const CreateComputeEnvironmentCommand_base: {
|
|
|
110
110
|
* { // Ec2Configuration
|
|
111
111
|
* imageType: "STRING_VALUE", // required
|
|
112
112
|
* imageIdOverride: "STRING_VALUE",
|
|
113
|
+
* batchImageStatus: "STRING_VALUE",
|
|
113
114
|
* imageKubernetesVersion: "STRING_VALUE",
|
|
114
115
|
* },
|
|
115
116
|
* ],
|
|
@@ -107,6 +107,7 @@ declare const DescribeComputeEnvironmentsCommand_base: {
|
|
|
107
107
|
* // { // Ec2Configuration
|
|
108
108
|
* // imageType: "STRING_VALUE", // required
|
|
109
109
|
* // imageIdOverride: "STRING_VALUE",
|
|
110
|
+
* // batchImageStatus: "STRING_VALUE",
|
|
110
111
|
* // imageKubernetesVersion: "STRING_VALUE",
|
|
111
112
|
* // },
|
|
112
113
|
* // ],
|
|
@@ -82,6 +82,7 @@ declare const UpdateComputeEnvironmentCommand_base: {
|
|
|
82
82
|
* { // Ec2Configuration
|
|
83
83
|
* imageType: "STRING_VALUE", // required
|
|
84
84
|
* imageIdOverride: "STRING_VALUE",
|
|
85
|
+
* batchImageStatus: "STRING_VALUE",
|
|
85
86
|
* imageKubernetesVersion: "STRING_VALUE",
|
|
86
87
|
* },
|
|
87
88
|
* ],
|
|
@@ -246,7 +246,8 @@ export interface CancelJobResponse {
|
|
|
246
246
|
/**
|
|
247
247
|
* <p>Provides information used to select Amazon Machine Images (AMIs) for instances in the
|
|
248
248
|
* compute environment. If <code>Ec2Configuration</code> isn't specified, the default is
|
|
249
|
-
* <code>ECS_AL2</code> (<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon Linux 2</a>)
|
|
249
|
+
* <code>ECS_AL2</code> (<a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami">Amazon ECS-optimized Amazon Linux 2</a>) for EC2 (ECS) compute environments and <code>EKS_AL2023</code> (<a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon EKS-optimized Amazon Linux 2023
|
|
250
|
+
* AMI</a>) for EKS compute environments.</p>
|
|
250
251
|
* <note>
|
|
251
252
|
* <p>This object isn't applicable to jobs that are running on Fargate resources.</p>
|
|
252
253
|
* </note>
|
|
@@ -372,6 +373,43 @@ export interface Ec2Configuration {
|
|
|
372
373
|
* @public
|
|
373
374
|
*/
|
|
374
375
|
imageIdOverride?: string | undefined;
|
|
376
|
+
/**
|
|
377
|
+
* <p>The status of the Batch-provided default AMIs associated with the <code>imageType</code>.</p>
|
|
378
|
+
* <p>The field only appears after the compute environment has begun scaling instances using the <code>imageType</code>. The field is not present when an image is specified in
|
|
379
|
+
* <code>ComputeResources.imageId</code> (deprecated), the default launch template, or
|
|
380
|
+
* <code>Ec2Configuration.imageIdOverride</code>. The field is also not present when the compute environment has a launch template override.
|
|
381
|
+
*
|
|
382
|
+
*
|
|
383
|
+
* For more information on image selection, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/ami-selection-order.html">AMI selection order</a>.</p>
|
|
384
|
+
* <note>
|
|
385
|
+
* <p>This field is read-only and only appears in the <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_DescribeComputeEnvironments.html">DescribeComputeEnvironments</a> response.</p>
|
|
386
|
+
* </note>
|
|
387
|
+
* <ul>
|
|
388
|
+
* <li>
|
|
389
|
+
* <p>
|
|
390
|
+
* <code>LATEST</code> − Using the most recent AMI supported</p>
|
|
391
|
+
* </li>
|
|
392
|
+
* <li>
|
|
393
|
+
* <p>
|
|
394
|
+
* <code>UPDATE_AVAILABLE</code> − An updated AMI is available</p>
|
|
395
|
+
* <ul>
|
|
396
|
+
* <li>
|
|
397
|
+
* <p>If a compute environment has multiple AMIs for the <code>imageType</code> and any one AMI has <code>UPDATE_AVAILABLE</code>, the status shows <code>UPDATE_AVAILABLE</code>.</p>
|
|
398
|
+
* </li>
|
|
399
|
+
* <li>
|
|
400
|
+
* <p>For compute environments that use <code>BEST_FIT</code> as their allocation strategy,
|
|
401
|
+
* you can perform a <a href="https://docs.aws.amazon.com/batch/latest/userguide/blue-green-updates.html">blue/green update</a> to update the AMI.</p>
|
|
402
|
+
* </li>
|
|
403
|
+
* <li>
|
|
404
|
+
* <p>For all other compute environments, you can perform an
|
|
405
|
+
* <a href="https://docs.aws.amazon.com/batch/latest/userguide/managing-ami-versions.html#updating-ami-versions">AMI version update</a> to update the AMI to the latest version.</p>
|
|
406
|
+
* </li>
|
|
407
|
+
* </ul>
|
|
408
|
+
* </li>
|
|
409
|
+
* </ul>
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
412
|
+
batchImageStatus?: string | undefined;
|
|
375
413
|
/**
|
|
376
414
|
* <p>The Kubernetes version for the compute environment. If you don't specify a value, the latest
|
|
377
415
|
* version that Batch supports is used.</p>
|
|
@@ -864,7 +902,7 @@ export interface ComputeResource {
|
|
|
864
902
|
/**
|
|
865
903
|
* <p>Provides information that's used to select Amazon Machine Images (AMIs) for Amazon EC2 instances
|
|
866
904
|
* in the compute environment. If <code>Ec2Configuration</code> isn't specified, the default is
|
|
867
|
-
* <code>ECS_AL2</code
|
|
905
|
+
* <code>ECS_AL2</code> for EC2 (ECS) compute environments and <code>EKS_AL2023</code> for EKS compute environments.</p>
|
|
868
906
|
* <p>One or two values can be provided.</p>
|
|
869
907
|
* <note>
|
|
870
908
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
|
|
@@ -8451,7 +8489,7 @@ export interface ComputeResourceUpdate {
|
|
|
8451
8489
|
/**
|
|
8452
8490
|
* <p>Provides information used to select Amazon Machine Images (AMIs) for Amazon EC2 instances in the
|
|
8453
8491
|
* compute environment. If <code>Ec2Configuration</code> isn't specified, the default is
|
|
8454
|
-
* <code>ECS_AL2</code
|
|
8492
|
+
* <code>ECS_AL2</code> for EC2 (ECS) compute environments and <code>EKS_AL2023</code> for EKS compute environments.</p>
|
|
8455
8493
|
* <p>When updating a compute environment, changing this setting requires an infrastructure update
|
|
8456
8494
|
* of the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute environments</a> in the
|
|
8457
8495
|
* <i>Batch User Guide</i>. To remove the Amazon EC2 configuration and any custom AMI ID
|
|
@@ -92,6 +92,7 @@ export interface CancelJobResponse {}
|
|
|
92
92
|
export interface Ec2Configuration {
|
|
93
93
|
imageType: string | undefined;
|
|
94
94
|
imageIdOverride?: string | undefined;
|
|
95
|
+
batchImageStatus?: string | undefined;
|
|
95
96
|
imageKubernetesVersion?: string | undefined;
|
|
96
97
|
}
|
|
97
98
|
export interface LaunchTemplateSpecificationOverride {
|
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.1015.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,38 +21,38 @@
|
|
|
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.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.24",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.25",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.25",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.9",
|
|
31
31
|
"@aws-sdk/types": "^3.973.6",
|
|
32
32
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.973.11",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.13",
|
|
36
36
|
"@smithy/core": "^3.23.12",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
38
38
|
"@smithy/hash-node": "^4.2.12",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.27",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.44",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.15",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.12",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.12",
|
|
46
46
|
"@smithy/node-http-handler": "^4.5.0",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.12",
|
|
48
|
-
"@smithy/smithy-client": "^4.12.
|
|
48
|
+
"@smithy/smithy-client": "^4.12.7",
|
|
49
49
|
"@smithy/types": "^4.13.1",
|
|
50
50
|
"@smithy/url-parser": "^4.2.12",
|
|
51
51
|
"@smithy/util-base64": "^4.3.2",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.43",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.47",
|
|
56
56
|
"@smithy/util-endpoints": "^3.3.3",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.12",
|
|
58
58
|
"@smithy/util-retry": "^4.2.12",
|