@aws-sdk/client-batch 3.830.0 → 3.836.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/index.js +6 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +2 -0
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +45 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -80,6 +80,7 @@ __export(index_exports, {
|
|
|
80
80
|
UpdateConsumableResourceCommand: () => UpdateConsumableResourceCommand,
|
|
81
81
|
UpdateJobQueueCommand: () => UpdateJobQueueCommand,
|
|
82
82
|
UpdateSchedulingPolicyCommand: () => UpdateSchedulingPolicyCommand,
|
|
83
|
+
UserdataType: () => UserdataType,
|
|
83
84
|
__Client: () => import_smithy_client.Client,
|
|
84
85
|
paginateDescribeComputeEnvironments: () => paginateDescribeComputeEnvironments,
|
|
85
86
|
paginateDescribeJobDefinitions: () => paginateDescribeJobDefinitions,
|
|
@@ -312,6 +313,10 @@ var CRAllocationStrategy = {
|
|
|
312
313
|
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
313
314
|
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED"
|
|
314
315
|
};
|
|
316
|
+
var UserdataType = {
|
|
317
|
+
EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH",
|
|
318
|
+
EKS_NODEADM: "EKS_NODEADM"
|
|
319
|
+
};
|
|
315
320
|
var CRType = {
|
|
316
321
|
EC2: "EC2",
|
|
317
322
|
FARGATE: "FARGATE",
|
|
@@ -2160,6 +2165,7 @@ var paginateListSchedulingPolicies = (0, import_core.createPaginator)(BatchClien
|
|
|
2160
2165
|
ClientException,
|
|
2161
2166
|
ServerException,
|
|
2162
2167
|
CRAllocationStrategy,
|
|
2168
|
+
UserdataType,
|
|
2163
2169
|
CRType,
|
|
2164
2170
|
CEState,
|
|
2165
2171
|
CEType,
|
|
@@ -37,6 +37,10 @@ export const CRAllocationStrategy = {
|
|
|
37
37
|
SPOT_CAPACITY_OPTIMIZED: "SPOT_CAPACITY_OPTIMIZED",
|
|
38
38
|
SPOT_PRICE_CAPACITY_OPTIMIZED: "SPOT_PRICE_CAPACITY_OPTIMIZED",
|
|
39
39
|
};
|
|
40
|
+
export const UserdataType = {
|
|
41
|
+
EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH",
|
|
42
|
+
EKS_NODEADM: "EKS_NODEADM",
|
|
43
|
+
};
|
|
40
44
|
export const CRType = {
|
|
41
45
|
EC2: "EC2",
|
|
42
46
|
FARGATE: "FARGATE",
|
|
@@ -169,8 +169,10 @@ declare const CreateComputeEnvironmentCommand_base: {
|
|
|
169
169
|
* targetInstanceTypes: [
|
|
170
170
|
* "STRING_VALUE",
|
|
171
171
|
* ],
|
|
172
|
+
* userdataType: "EKS_BOOTSTRAP_SH" || "EKS_NODEADM",
|
|
172
173
|
* },
|
|
173
174
|
* ],
|
|
175
|
+
* userdataType: "EKS_BOOTSTRAP_SH" || "EKS_NODEADM",
|
|
174
176
|
* },
|
|
175
177
|
* ec2Configuration: [ // Ec2ConfigurationList
|
|
176
178
|
* { // Ec2Configuration
|
|
@@ -96,8 +96,10 @@ declare const DescribeComputeEnvironmentsCommand_base: {
|
|
|
96
96
|
* // targetInstanceTypes: [
|
|
97
97
|
* // "STRING_VALUE",
|
|
98
98
|
* // ],
|
|
99
|
+
* // userdataType: "EKS_BOOTSTRAP_SH" || "EKS_NODEADM",
|
|
99
100
|
* // },
|
|
100
101
|
* // ],
|
|
102
|
+
* // userdataType: "EKS_BOOTSTRAP_SH" || "EKS_NODEADM",
|
|
101
103
|
* // },
|
|
102
104
|
* // ec2Configuration: [ // Ec2ConfigurationList
|
|
103
105
|
* // { // Ec2Configuration
|
|
@@ -71,8 +71,10 @@ declare const UpdateComputeEnvironmentCommand_base: {
|
|
|
71
71
|
* targetInstanceTypes: [
|
|
72
72
|
* "STRING_VALUE",
|
|
73
73
|
* ],
|
|
74
|
+
* userdataType: "EKS_BOOTSTRAP_SH" || "EKS_NODEADM",
|
|
74
75
|
* },
|
|
75
76
|
* ],
|
|
77
|
+
* userdataType: "EKS_BOOTSTRAP_SH" || "EKS_NODEADM",
|
|
76
78
|
* },
|
|
77
79
|
* ec2Configuration: [ // Ec2ConfigurationList
|
|
78
80
|
* { // Ec2Configuration
|
|
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
9
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
@@ -364,6 +364,22 @@ export interface Ec2Configuration {
|
|
|
364
364
|
* <code>P4</code> and <code>G4</code>) and can be used for all non Amazon Web Services Graviton-based
|
|
365
365
|
* instance types.</p>
|
|
366
366
|
* </dd>
|
|
367
|
+
* <dt>EKS_AL2023</dt>
|
|
368
|
+
* <dd>
|
|
369
|
+
* <p>
|
|
370
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon
|
|
371
|
+
* Linux 2023</a>: Batch supports Amazon Linux 2023.</p>
|
|
372
|
+
* <note>
|
|
373
|
+
* <p>Amazon Linux 2023 does not support <code>A1</code> instances.</p>
|
|
374
|
+
* </note>
|
|
375
|
+
* </dd>
|
|
376
|
+
* <dt>EKS_AL2023_NVIDIA</dt>
|
|
377
|
+
* <dd>
|
|
378
|
+
* <p>
|
|
379
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-optimized-ami.html">Amazon
|
|
380
|
+
* Linux 2023 (accelerated)</a>: GPU instance families and can be used for all non Amazon Web Services
|
|
381
|
+
* Graviton-based instance types.</p>
|
|
382
|
+
* </dd>
|
|
367
383
|
* </dl>
|
|
368
384
|
* </dd>
|
|
369
385
|
* </dl>
|
|
@@ -392,6 +408,18 @@ export interface Ec2Configuration {
|
|
|
392
408
|
*/
|
|
393
409
|
imageKubernetesVersion?: string | undefined;
|
|
394
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* @public
|
|
413
|
+
* @enum
|
|
414
|
+
*/
|
|
415
|
+
export declare const UserdataType: {
|
|
416
|
+
readonly EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH";
|
|
417
|
+
readonly EKS_NODEADM: "EKS_NODEADM";
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
export type UserdataType = (typeof UserdataType)[keyof typeof UserdataType];
|
|
395
423
|
/**
|
|
396
424
|
* <p>An object that represents a launch template to use in place of the default launch template. You must specify either the launch template ID or launch template name in the request, but not
|
|
397
425
|
* both.</p>
|
|
@@ -471,6 +499,14 @@ export interface LaunchTemplateSpecificationOverride {
|
|
|
471
499
|
* @public
|
|
472
500
|
*/
|
|
473
501
|
targetInstanceTypes?: string[] | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* <p>The EKS node initialization process to use. You only need to specify this value if you are
|
|
504
|
+
* using a custom AMI. The default value is <code>EKS_BOOTSTRAP_SH</code>. If
|
|
505
|
+
* <i>imageType</i> is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you
|
|
506
|
+
* must choose <code>EKS_NODEADM</code>.</p>
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
userdataType?: UserdataType | undefined;
|
|
474
510
|
}
|
|
475
511
|
/**
|
|
476
512
|
* <p>An object that represents a launch template that's associated with a compute resource. You
|
|
@@ -528,6 +564,14 @@ export interface LaunchTemplateSpecification {
|
|
|
528
564
|
* @public
|
|
529
565
|
*/
|
|
530
566
|
overrides?: LaunchTemplateSpecificationOverride[] | undefined;
|
|
567
|
+
/**
|
|
568
|
+
* <p>The EKS node initialization process to use. You only need to specify this value if you are
|
|
569
|
+
* using a custom AMI. The default value is <code>EKS_BOOTSTRAP_SH</code>. If
|
|
570
|
+
* <i>imageType</i> is a custom AMI based on EKS_AL2023 or EKS_AL2023_NVIDIA then you
|
|
571
|
+
* must choose <code>EKS_NODEADM</code>.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
userdataType?: UserdataType | undefined;
|
|
531
575
|
}
|
|
532
576
|
/**
|
|
533
577
|
* @public
|
|
@@ -1482,7 +1526,7 @@ export type CEStatus = (typeof CEStatus)[keyof typeof CEStatus];
|
|
|
1482
1526
|
*/
|
|
1483
1527
|
export interface UpdatePolicy {
|
|
1484
1528
|
/**
|
|
1485
|
-
* <p>Specifies whether jobs are automatically terminated when the
|
|
1529
|
+
* <p>Specifies whether jobs are automatically terminated when the compute environment
|
|
1486
1530
|
* infrastructure is updated. The default value is <code>false</code>.</p>
|
|
1487
1531
|
* @public
|
|
1488
1532
|
*/
|
|
@@ -16,7 +16,10 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export type ClientResolvedEndpointParameters =
|
|
19
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
20
|
+
ClientInputEndpointParameters,
|
|
21
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
22
|
+
> & {
|
|
20
23
|
defaultSigningName: string;
|
|
21
24
|
};
|
|
22
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
@@ -84,17 +84,24 @@ export interface Ec2Configuration {
|
|
|
84
84
|
imageIdOverride?: string | undefined;
|
|
85
85
|
imageKubernetesVersion?: string | undefined;
|
|
86
86
|
}
|
|
87
|
+
export declare const UserdataType: {
|
|
88
|
+
readonly EKS_BOOTSTRAP_SH: "EKS_BOOTSTRAP_SH";
|
|
89
|
+
readonly EKS_NODEADM: "EKS_NODEADM";
|
|
90
|
+
};
|
|
91
|
+
export type UserdataType = (typeof UserdataType)[keyof typeof UserdataType];
|
|
87
92
|
export interface LaunchTemplateSpecificationOverride {
|
|
88
93
|
launchTemplateId?: string | undefined;
|
|
89
94
|
launchTemplateName?: string | undefined;
|
|
90
95
|
version?: string | undefined;
|
|
91
96
|
targetInstanceTypes?: string[] | undefined;
|
|
97
|
+
userdataType?: UserdataType | undefined;
|
|
92
98
|
}
|
|
93
99
|
export interface LaunchTemplateSpecification {
|
|
94
100
|
launchTemplateId?: string | undefined;
|
|
95
101
|
launchTemplateName?: string | undefined;
|
|
96
102
|
version?: string | undefined;
|
|
97
103
|
overrides?: LaunchTemplateSpecificationOverride[] | undefined;
|
|
104
|
+
userdataType?: UserdataType | undefined;
|
|
98
105
|
}
|
|
99
106
|
export declare const CRType: {
|
|
100
107
|
readonly EC2: "EC2";
|
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.836.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-batch",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.835.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.835.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.821.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.821.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.821.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.835.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.821.0",
|
|
30
30
|
"@aws-sdk/types": "3.821.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.828.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.821.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.835.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.4",
|
|
35
35
|
"@smithy/core": "^3.5.3",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.4",
|
|
37
37
|
"@smithy/hash-node": "^4.0.4",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.1.13",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.8",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.4",
|
|
44
44
|
"@smithy/node-config-provider": "^4.1.3",
|
|
45
45
|
"@smithy/node-http-handler": "^4.0.6",
|
|
46
46
|
"@smithy/protocol-http": "^5.1.2",
|
|
47
|
-
"@smithy/smithy-client": "^4.4.
|
|
47
|
+
"@smithy/smithy-client": "^4.4.4",
|
|
48
48
|
"@smithy/types": "^4.3.1",
|
|
49
49
|
"@smithy/url-parser": "^4.0.4",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.20",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.20",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.6",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.4",
|
|
57
|
-
"@smithy/util-retry": "^4.0.
|
|
57
|
+
"@smithy/util-retry": "^4.0.6",
|
|
58
58
|
"@smithy/util-utf8": "^4.0.0",
|
|
59
59
|
"@types/uuid": "^9.0.1",
|
|
60
60
|
"tslib": "^2.6.2",
|