@aws-sdk/client-pcs 3.1128.0 → 3.1130.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 +9 -7
- package/dist-es/schemas/schemas_0.js +12 -6
- package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +10 -0
- package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +5 -0
- package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +18 -3
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1129.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -294,6 +294,7 @@ const _GCNGR = "GetComputeNodeGroupRequest";
|
|
|
294
294
|
const _GCNGRe = "GetComputeNodeGroupResponse";
|
|
295
295
|
const _GCR = "GetClusterRequest";
|
|
296
296
|
const _GCRe = "GetClusterResponse";
|
|
297
|
+
const _GCS = "GresCustomSettings";
|
|
297
298
|
const _GQ = "GetQueue";
|
|
298
299
|
const _GQR = "GetQueueRequest";
|
|
299
300
|
const _GQRe = "GetQueueResponse";
|
|
@@ -403,6 +404,7 @@ const _eI = "errorInfo";
|
|
|
403
404
|
const _eP = "executionPolicy";
|
|
404
405
|
const _en = "endpoints";
|
|
405
406
|
const _fL = "fieldList";
|
|
407
|
+
const _gCS = "gresCustomSettings";
|
|
406
408
|
const _hE = "httpError";
|
|
407
409
|
const _hH = "httpHeader";
|
|
408
410
|
const _hQ = "httpQuery";
|
|
@@ -570,13 +572,13 @@ var ComputeNodeGroupConfiguration$ = [3, n0, _CNGC,
|
|
|
570
572
|
];
|
|
571
573
|
var ComputeNodeGroupSlurmConfiguration$ = [3, n0, _CNGSC,
|
|
572
574
|
0,
|
|
573
|
-
[_sDITIS, _sCS],
|
|
574
|
-
[1, () => SlurmCustomSettings]
|
|
575
|
+
[_sDITIS, _sCS, _gCS],
|
|
576
|
+
[1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
|
|
575
577
|
];
|
|
576
578
|
var ComputeNodeGroupSlurmConfigurationRequest$ = [3, n0, _CNGSCR,
|
|
577
579
|
0,
|
|
578
|
-
[_sDITIS, _sCS],
|
|
579
|
-
[1, () => SlurmCustomSettings]
|
|
580
|
+
[_sDITIS, _sCS, _gCS],
|
|
581
|
+
[1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
|
|
580
582
|
];
|
|
581
583
|
var ComputeNodeGroupSummary$ = [3, n0, _CNGS,
|
|
582
584
|
0,
|
|
@@ -910,8 +912,8 @@ var UpdateComputeNodeGroupResponse$ = [3, n0, _UCNGRp,
|
|
|
910
912
|
];
|
|
911
913
|
var UpdateComputeNodeGroupSlurmConfigurationRequest$ = [3, n0, _UCNGSCR,
|
|
912
914
|
0,
|
|
913
|
-
[_sDITIS, _sCS],
|
|
914
|
-
[1, () => SlurmCustomSettings]
|
|
915
|
+
[_sDITIS, _sCS, _gCS],
|
|
916
|
+
[1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
|
|
915
917
|
];
|
|
916
918
|
var UpdateNodeLifecycleActionsRequest$ = [3, n0, _UNLAR,
|
|
917
919
|
0,
|
|
@@ -45,6 +45,7 @@ const _GCNGR = "GetComputeNodeGroupRequest";
|
|
|
45
45
|
const _GCNGRe = "GetComputeNodeGroupResponse";
|
|
46
46
|
const _GCR = "GetClusterRequest";
|
|
47
47
|
const _GCRe = "GetClusterResponse";
|
|
48
|
+
const _GCS = "GresCustomSettings";
|
|
48
49
|
const _GQ = "GetQueue";
|
|
49
50
|
const _GQR = "GetQueueRequest";
|
|
50
51
|
const _GQRe = "GetQueueResponse";
|
|
@@ -154,6 +155,7 @@ const _eI = "errorInfo";
|
|
|
154
155
|
const _eP = "executionPolicy";
|
|
155
156
|
const _en = "endpoints";
|
|
156
157
|
const _fL = "fieldList";
|
|
158
|
+
const _gCS = "gresCustomSettings";
|
|
157
159
|
const _hE = "httpError";
|
|
158
160
|
const _hH = "httpHeader";
|
|
159
161
|
const _hQ = "httpQuery";
|
|
@@ -324,13 +326,13 @@ export var ComputeNodeGroupConfiguration$ = [3, n0, _CNGC,
|
|
|
324
326
|
];
|
|
325
327
|
export var ComputeNodeGroupSlurmConfiguration$ = [3, n0, _CNGSC,
|
|
326
328
|
0,
|
|
327
|
-
[_sDITIS, _sCS],
|
|
328
|
-
[1, () => SlurmCustomSettings]
|
|
329
|
+
[_sDITIS, _sCS, _gCS],
|
|
330
|
+
[1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
|
|
329
331
|
];
|
|
330
332
|
export var ComputeNodeGroupSlurmConfigurationRequest$ = [3, n0, _CNGSCR,
|
|
331
333
|
0,
|
|
332
|
-
[_sDITIS, _sCS],
|
|
333
|
-
[1, () => SlurmCustomSettings]
|
|
334
|
+
[_sDITIS, _sCS, _gCS],
|
|
335
|
+
[1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
|
|
334
336
|
];
|
|
335
337
|
export var ComputeNodeGroupSummary$ = [3, n0, _CNGS,
|
|
336
338
|
0,
|
|
@@ -664,8 +666,8 @@ export var UpdateComputeNodeGroupResponse$ = [3, n0, _UCNGRp,
|
|
|
664
666
|
];
|
|
665
667
|
export var UpdateComputeNodeGroupSlurmConfigurationRequest$ = [3, n0, _UCNGSCR,
|
|
666
668
|
0,
|
|
667
|
-
[_sDITIS, _sCS],
|
|
668
|
-
[1, () => SlurmCustomSettings]
|
|
669
|
+
[_sDITIS, _sCS, _gCS],
|
|
670
|
+
[1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
|
|
669
671
|
];
|
|
670
672
|
export var UpdateNodeLifecycleActionsRequest$ = [3, n0, _UNLAR,
|
|
671
673
|
0,
|
|
@@ -720,6 +722,9 @@ var Endpoints = [1, n0, _En,
|
|
|
720
722
|
var ErrorInfoList = [1, n0, _EIL,
|
|
721
723
|
0, () => ErrorInfo$
|
|
722
724
|
];
|
|
725
|
+
var GresCustomSettings = [1, n0, _GCS,
|
|
726
|
+
0, 128 | 0
|
|
727
|
+
];
|
|
723
728
|
var InstanceList = [1, n0, _IL,
|
|
724
729
|
0, () => InstanceConfig$
|
|
725
730
|
];
|
|
@@ -743,6 +748,7 @@ var TagKeys = 64 | 0;
|
|
|
743
748
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
744
749
|
0, () => ValidationExceptionField$
|
|
745
750
|
];
|
|
751
|
+
var GresCustomSettingMap = 128 | 0;
|
|
746
752
|
var RequestTagMap = 128 | 0;
|
|
747
753
|
var ResponseTagMap = 128 | 0;
|
|
748
754
|
export var CreateCluster$ = [9, n0, _CC,
|
|
@@ -66,6 +66,11 @@ declare const CreateComputeNodeGroupCommand_base: {
|
|
|
66
66
|
* parameterValue: "STRING_VALUE", // required
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
+
* gresCustomSettings: [ // GresCustomSettings
|
|
70
|
+
* { // GresCustomSettingMap
|
|
71
|
+
* "<keys>": "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* ],
|
|
69
74
|
* },
|
|
70
75
|
* nodeLifecycleActions: { // NodeLifecycleActionsRequest
|
|
71
76
|
* stages: { // NodeLifecycleStages
|
|
@@ -148,6 +153,11 @@ declare const CreateComputeNodeGroupCommand_base: {
|
|
|
148
153
|
* // parameterValue: "STRING_VALUE", // required
|
|
149
154
|
* // },
|
|
150
155
|
* // ],
|
|
156
|
+
* // gresCustomSettings: [ // GresCustomSettings
|
|
157
|
+
* // { // GresCustomSettingMap
|
|
158
|
+
* // "<keys>": "STRING_VALUE",
|
|
159
|
+
* // },
|
|
160
|
+
* // ],
|
|
151
161
|
* // },
|
|
152
162
|
* // nodeLifecycleActions: { // NodeLifecycleActions
|
|
153
163
|
* // stages: { // NodeLifecycleStages
|
|
@@ -78,6 +78,11 @@ declare const GetComputeNodeGroupCommand_base: {
|
|
|
78
78
|
* // parameterValue: "STRING_VALUE", // required
|
|
79
79
|
* // },
|
|
80
80
|
* // ],
|
|
81
|
+
* // gresCustomSettings: [ // GresCustomSettings
|
|
82
|
+
* // { // GresCustomSettingMap
|
|
83
|
+
* // "<keys>": "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
81
86
|
* // },
|
|
82
87
|
* // nodeLifecycleActions: { // NodeLifecycleActions
|
|
83
88
|
* // stages: { // NodeLifecycleStages
|
|
@@ -61,6 +61,11 @@ declare const UpdateComputeNodeGroupCommand_base: {
|
|
|
61
61
|
* parameterValue: "STRING_VALUE", // required
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
|
+
* gresCustomSettings: [ // GresCustomSettings
|
|
65
|
+
* { // GresCustomSettingMap
|
|
66
|
+
* "<keys>": "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
64
69
|
* },
|
|
65
70
|
* nodeLifecycleActions: { // UpdateNodeLifecycleActionsRequest
|
|
66
71
|
* stages: { // NodeLifecycleStages
|
|
@@ -140,6 +145,11 @@ declare const UpdateComputeNodeGroupCommand_base: {
|
|
|
140
145
|
* // parameterValue: "STRING_VALUE", // required
|
|
141
146
|
* // },
|
|
142
147
|
* // ],
|
|
148
|
+
* // gresCustomSettings: [ // GresCustomSettings
|
|
149
|
+
* // { // GresCustomSettingMap
|
|
150
|
+
* // "<keys>": "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // ],
|
|
143
153
|
* // },
|
|
144
154
|
* // nodeLifecycleActions: { // NodeLifecycleActions
|
|
145
155
|
* // stages: { // NodeLifecycleStages
|
|
@@ -189,6 +189,11 @@ export interface ComputeNodeGroupSlurmConfigurationRequest {
|
|
|
189
189
|
* @public
|
|
190
190
|
*/
|
|
191
191
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* <p>The additional Slurm <code>gres.conf</code> records for the compute node group. Each item is a map of <code>gres.conf</code> attribute names to values that describes one <code>gres.conf</code> record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the <code>NodeName=</code> prefix and merges these records with the GPU record it derives from the instance type.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
gresCustomSettings?: Record<string, string>[] | undefined;
|
|
192
197
|
}
|
|
193
198
|
/**
|
|
194
199
|
* <p>Additional configuration when you specify <code>SPOT</code> as the <code>purchaseOption</code> for the <code>CreateComputeNodeGroup</code> API action.</p>
|
|
@@ -339,6 +344,11 @@ export interface ComputeNodeGroupSlurmConfiguration {
|
|
|
339
344
|
* @public
|
|
340
345
|
*/
|
|
341
346
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The additional Slurm <code>gres.conf</code> records for the compute node group. Each item is a map of <code>gres.conf</code> attribute names to values that describes one <code>gres.conf</code> record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the <code>NodeName=</code> prefix and merges these records with the GPU record it derives from the instance type.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
gresCustomSettings?: Record<string, string>[] | undefined;
|
|
342
352
|
}
|
|
343
353
|
/**
|
|
344
354
|
* <p>A compute node group associated with a cluster.</p>
|
|
@@ -619,6 +629,11 @@ export interface UpdateComputeNodeGroupSlurmConfigurationRequest {
|
|
|
619
629
|
* @public
|
|
620
630
|
*/
|
|
621
631
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* <p>The additional Slurm <code>gres.conf</code> records for the compute node group. Each item is a map of <code>gres.conf</code> attribute names to values that describes one <code>gres.conf</code> record, such as a GPU topology, MIG, MPS, or custom GRES entry. PCS adds the <code>NodeName=</code> prefix and merges these records with the GPU record it derives from the instance type.</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
gresCustomSettings?: Record<string, string>[] | undefined;
|
|
622
637
|
}
|
|
623
638
|
/**
|
|
624
639
|
* @public
|
|
@@ -727,7 +742,7 @@ export interface SchedulerRequest {
|
|
|
727
742
|
*/
|
|
728
743
|
type: SchedulerType | undefined;
|
|
729
744
|
/**
|
|
730
|
-
* <p>The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html">Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>24.11 | 25.05 | 25.11</code> </p>
|
|
745
|
+
* <p>The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html">Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>24.11 | 25.05 | 25.11 | 26.05</code> </p>
|
|
731
746
|
* @public
|
|
732
747
|
*/
|
|
733
748
|
version: string | undefined;
|
|
@@ -914,7 +929,7 @@ export interface Scheduler {
|
|
|
914
929
|
*/
|
|
915
930
|
type: SchedulerType | undefined;
|
|
916
931
|
/**
|
|
917
|
-
* <p>The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling. You can update this version using the <code>UpdateCluster</code> API action. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_version_update.html">Updating the scheduler version on a cluster</a> and <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html">Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05 | 24.11 | 25.05 | 25.11</code> </p>
|
|
932
|
+
* <p>The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling. You can update this version using the <code>UpdateCluster</code> API action. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_version_update.html">Updating the scheduler version on a cluster</a> and <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html">Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05 | 24.11 | 25.05 | 25.11 | 26.05</code> </p>
|
|
918
933
|
* @public
|
|
919
934
|
*/
|
|
920
935
|
version: string | undefined;
|
|
@@ -1573,7 +1588,7 @@ export interface RegisterComputeNodeGroupInstanceResponse {
|
|
|
1573
1588
|
*/
|
|
1574
1589
|
export interface UpdateSchedulerRequest {
|
|
1575
1590
|
/**
|
|
1576
|
-
* <p>The scheduler version to update the cluster to. You can only update to a newer version. For more information about supported versions and update paths, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_version_update.html">Updating the scheduler version on a cluster</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>24.05 | 24.11 | 25.05 | 25.11</code> </p>
|
|
1591
|
+
* <p>The scheduler version to update the cluster to. You can only update to a newer version. For more information about supported versions and update paths, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_version_update.html">Updating the scheduler version on a cluster</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>24.05 | 24.11 | 25.05 | 25.11 | 26.05</code> </p>
|
|
1577
1592
|
* @public
|
|
1578
1593
|
*/
|
|
1579
1594
|
version: string | undefined;
|
|
@@ -60,6 +60,7 @@ export interface SlurmCustomSetting {
|
|
|
60
60
|
export interface ComputeNodeGroupSlurmConfigurationRequest {
|
|
61
61
|
scaleDownIdleTimeInSeconds?: number | undefined;
|
|
62
62
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
63
|
+
gresCustomSettings?: Record<string, string>[] | undefined;
|
|
63
64
|
}
|
|
64
65
|
export interface SpotOptions {
|
|
65
66
|
allocationStrategy?: SpotAllocationStrategy | undefined;
|
|
@@ -95,6 +96,7 @@ export interface ScalingConfiguration {
|
|
|
95
96
|
export interface ComputeNodeGroupSlurmConfiguration {
|
|
96
97
|
scaleDownIdleTimeInSeconds?: number | undefined;
|
|
97
98
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
99
|
+
gresCustomSettings?: Record<string, string>[] | undefined;
|
|
98
100
|
}
|
|
99
101
|
export interface ComputeNodeGroup {
|
|
100
102
|
name: string | undefined;
|
|
@@ -161,6 +163,7 @@ export interface UpdateNodeLifecycleActionsRequest {
|
|
|
161
163
|
export interface UpdateComputeNodeGroupSlurmConfigurationRequest {
|
|
162
164
|
scaleDownIdleTimeInSeconds?: number | undefined;
|
|
163
165
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
166
|
+
gresCustomSettings?: Record<string, string>[] | undefined;
|
|
164
167
|
}
|
|
165
168
|
export interface UpdateComputeNodeGroupRequest {
|
|
166
169
|
clusterIdentifier: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pcs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1130.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pcs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.83",
|
|
51
51
|
"@aws-sdk/types": "^3.974.5",
|
|
52
52
|
"@smithy/core": "^3.33.3",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.7.2",
|