@aws-sdk/client-pcs 3.1172.0 → 3.1174.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 +118 -21
- package/dist-es/models/enums.js +25 -0
- package/dist-es/schemas/schemas_0.js +79 -20
- package/dist-types/commands/CreateClusterCommand.d.ts +22 -0
- package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +24 -0
- package/dist-types/commands/GetClusterCommand.d.ts +11 -0
- package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +12 -0
- package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +12 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +22 -0
- package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +24 -0
- package/dist-types/models/enums.d.ts +65 -0
- package/dist-types/models/models_0.d.ts +169 -1
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +33 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -112,6 +112,18 @@ declare const CreateComputeNodeGroupCommand_base: {
|
|
|
112
112
|
* },
|
|
113
113
|
* scriptCachingPolicy: "CACHE_ONCE" || "REFRESH_ON_REBOOT",
|
|
114
114
|
* },
|
|
115
|
+
* instanceHealthChecks: { // InstanceHealthChecksRequest
|
|
116
|
+
* healthMonitoring: { // HealthMonitoring
|
|
117
|
+
* mode: "NONE" || "STANDARD",
|
|
118
|
+
* repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
119
|
+
* },
|
|
120
|
+
* deepHealthChecks: { // DeepHealthChecks
|
|
121
|
+
* onStart: { // DeepHealthCheckOnStart
|
|
122
|
+
* profile: "NONE" || "QUICK" || "MEDIUM" || "LONG",
|
|
123
|
+
* repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
124
|
+
* },
|
|
125
|
+
* },
|
|
126
|
+
* },
|
|
115
127
|
* clientToken: "STRING_VALUE",
|
|
116
128
|
* tags: { // RequestTagMap
|
|
117
129
|
* "<keys>": "STRING_VALUE",
|
|
@@ -204,6 +216,18 @@ declare const CreateComputeNodeGroupCommand_base: {
|
|
|
204
216
|
* // },
|
|
205
217
|
* // scriptCachingPolicy: "CACHE_ONCE" || "REFRESH_ON_REBOOT",
|
|
206
218
|
* // },
|
|
219
|
+
* // instanceHealthChecks: { // InstanceHealthChecks
|
|
220
|
+
* // healthMonitoring: { // HealthMonitoring
|
|
221
|
+
* // mode: "NONE" || "STANDARD",
|
|
222
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
223
|
+
* // },
|
|
224
|
+
* // deepHealthChecks: { // DeepHealthChecks
|
|
225
|
+
* // onStart: { // DeepHealthCheckOnStart
|
|
226
|
+
* // profile: "NONE" || "QUICK" || "MEDIUM" || "LONG",
|
|
227
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // },
|
|
207
231
|
* // errorInfo: [ // ErrorInfoList
|
|
208
232
|
* // { // ErrorInfo
|
|
209
233
|
* // code: "STRING_VALUE",
|
|
@@ -71,6 +71,17 @@ declare const GetClusterCommand_base: {
|
|
|
71
71
|
* // parameterValue: "STRING_VALUE", // required
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
|
+
* // jobSubmitPlugins: [ // JobSubmitPluginList
|
|
75
|
+
* // { // JobSubmitPlugin
|
|
76
|
+
* // name: "STRING_VALUE", // required
|
|
77
|
+
* // type: "STARLARK", // required
|
|
78
|
+
* // scriptSource: { // JobSubmitScriptSource
|
|
79
|
+
* // scriptLocation: "STRING_VALUE", // required
|
|
80
|
+
* // s3VersionId: "STRING_VALUE",
|
|
81
|
+
* // checksum: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
74
85
|
* // authKey: { // SlurmAuthKey
|
|
75
86
|
* // secretArn: "STRING_VALUE", // required
|
|
76
87
|
* // secretVersion: "STRING_VALUE", // required
|
|
@@ -124,6 +124,18 @@ declare const GetComputeNodeGroupCommand_base: {
|
|
|
124
124
|
* // },
|
|
125
125
|
* // scriptCachingPolicy: "CACHE_ONCE" || "REFRESH_ON_REBOOT",
|
|
126
126
|
* // },
|
|
127
|
+
* // instanceHealthChecks: { // InstanceHealthChecks
|
|
128
|
+
* // healthMonitoring: { // HealthMonitoring
|
|
129
|
+
* // mode: "NONE" || "STANDARD",
|
|
130
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
131
|
+
* // },
|
|
132
|
+
* // deepHealthChecks: { // DeepHealthChecks
|
|
133
|
+
* // onStart: { // DeepHealthCheckOnStart
|
|
134
|
+
* // profile: "NONE" || "QUICK" || "MEDIUM" || "LONG",
|
|
135
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
127
139
|
* // errorInfo: [ // ErrorInfoList
|
|
128
140
|
* // { // ErrorInfo
|
|
129
141
|
* // code: "STRING_VALUE",
|
|
@@ -90,6 +90,18 @@ declare const RegisterComputeNodeGroupInstanceCommand_base: {
|
|
|
90
90
|
* // scriptCachingPolicy: "CACHE_ONCE" || "REFRESH_ON_REBOOT",
|
|
91
91
|
* // },
|
|
92
92
|
* // schedulerVersion: "STRING_VALUE",
|
|
93
|
+
* // instanceHealthChecks: { // InstanceHealthChecks
|
|
94
|
+
* // healthMonitoring: { // HealthMonitoring
|
|
95
|
+
* // mode: "NONE" || "STANDARD",
|
|
96
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
97
|
+
* // },
|
|
98
|
+
* // deepHealthChecks: { // DeepHealthChecks
|
|
99
|
+
* // onStart: { // DeepHealthCheckOnStart
|
|
100
|
+
* // profile: "NONE" || "QUICK" || "MEDIUM" || "LONG",
|
|
101
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // },
|
|
93
105
|
* // };
|
|
94
106
|
*
|
|
95
107
|
* ```
|
|
@@ -56,6 +56,17 @@ declare const UpdateClusterCommand_base: {
|
|
|
56
56
|
* parameterValue: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* jobSubmitPlugins: [ // JobSubmitPluginList
|
|
60
|
+
* { // JobSubmitPlugin
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* type: "STARLARK", // required
|
|
63
|
+
* scriptSource: { // JobSubmitScriptSource
|
|
64
|
+
* scriptLocation: "STRING_VALUE", // required
|
|
65
|
+
* s3VersionId: "STRING_VALUE",
|
|
66
|
+
* checksum: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
59
70
|
* accounting: { // UpdateAccountingRequest
|
|
60
71
|
* defaultPurgeTimeInDays: Number("int"),
|
|
61
72
|
* mode: "STANDARD" || "NONE",
|
|
@@ -103,6 +114,17 @@ declare const UpdateClusterCommand_base: {
|
|
|
103
114
|
* // parameterValue: "STRING_VALUE", // required
|
|
104
115
|
* // },
|
|
105
116
|
* // ],
|
|
117
|
+
* // jobSubmitPlugins: [ // JobSubmitPluginList
|
|
118
|
+
* // { // JobSubmitPlugin
|
|
119
|
+
* // name: "STRING_VALUE", // required
|
|
120
|
+
* // type: "STARLARK", // required
|
|
121
|
+
* // scriptSource: { // JobSubmitScriptSource
|
|
122
|
+
* // scriptLocation: "STRING_VALUE", // required
|
|
123
|
+
* // s3VersionId: "STRING_VALUE",
|
|
124
|
+
* // checksum: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
106
128
|
* // authKey: { // SlurmAuthKey
|
|
107
129
|
* // secretArn: "STRING_VALUE", // required
|
|
108
130
|
* // secretVersion: "STRING_VALUE", // required
|
|
@@ -107,6 +107,18 @@ declare const UpdateComputeNodeGroupCommand_base: {
|
|
|
107
107
|
* },
|
|
108
108
|
* scriptCachingPolicy: "CACHE_ONCE" || "REFRESH_ON_REBOOT",
|
|
109
109
|
* },
|
|
110
|
+
* instanceHealthChecks: { // UpdateInstanceHealthChecksRequest
|
|
111
|
+
* healthMonitoring: { // HealthMonitoring
|
|
112
|
+
* mode: "NONE" || "STANDARD",
|
|
113
|
+
* repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
114
|
+
* },
|
|
115
|
+
* deepHealthChecks: { // DeepHealthChecks
|
|
116
|
+
* onStart: { // DeepHealthCheckOnStart
|
|
117
|
+
* profile: "NONE" || "QUICK" || "MEDIUM" || "LONG",
|
|
118
|
+
* repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
110
122
|
* clientToken: "STRING_VALUE",
|
|
111
123
|
* };
|
|
112
124
|
* const command = new UpdateComputeNodeGroupCommand(input);
|
|
@@ -196,6 +208,18 @@ declare const UpdateComputeNodeGroupCommand_base: {
|
|
|
196
208
|
* // },
|
|
197
209
|
* // scriptCachingPolicy: "CACHE_ONCE" || "REFRESH_ON_REBOOT",
|
|
198
210
|
* // },
|
|
211
|
+
* // instanceHealthChecks: { // InstanceHealthChecks
|
|
212
|
+
* // healthMonitoring: { // HealthMonitoring
|
|
213
|
+
* // mode: "NONE" || "STANDARD",
|
|
214
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
215
|
+
* // },
|
|
216
|
+
* // deepHealthChecks: { // DeepHealthChecks
|
|
217
|
+
* // onStart: { // DeepHealthCheckOnStart
|
|
218
|
+
* // profile: "NONE" || "QUICK" || "MEDIUM" || "LONG",
|
|
219
|
+
* // repairAction: "AUTO" || "REPLACE" || "ISOLATE" || "NONE",
|
|
220
|
+
* // },
|
|
221
|
+
* // },
|
|
222
|
+
* // },
|
|
199
223
|
* // errorInfo: [ // ErrorInfoList
|
|
200
224
|
* // { // ErrorInfo
|
|
201
225
|
* // code: "STRING_VALUE",
|
|
@@ -10,6 +10,60 @@ export declare const AccountingMode: {
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
export type AccountingMode = (typeof AccountingMode)[keyof typeof AccountingMode];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const DeepHealthCheckOnStartProfile: {
|
|
18
|
+
readonly LONG: "LONG";
|
|
19
|
+
readonly MEDIUM: "MEDIUM";
|
|
20
|
+
readonly NONE: "NONE";
|
|
21
|
+
readonly QUICK: "QUICK";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type DeepHealthCheckOnStartProfile = (typeof DeepHealthCheckOnStartProfile)[keyof typeof DeepHealthCheckOnStartProfile];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const DeepHealthCheckOnStartRepairAction: {
|
|
32
|
+
readonly AUTO: "AUTO";
|
|
33
|
+
readonly ISOLATE: "ISOLATE";
|
|
34
|
+
readonly NONE: "NONE";
|
|
35
|
+
readonly REPLACE: "REPLACE";
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type DeepHealthCheckOnStartRepairAction = (typeof DeepHealthCheckOnStartRepairAction)[keyof typeof DeepHealthCheckOnStartRepairAction];
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
* @enum
|
|
44
|
+
*/
|
|
45
|
+
export declare const HealthMonitoringMode: {
|
|
46
|
+
readonly NONE: "NONE";
|
|
47
|
+
readonly STANDARD: "STANDARD";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
export type HealthMonitoringMode = (typeof HealthMonitoringMode)[keyof typeof HealthMonitoringMode];
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* @enum
|
|
56
|
+
*/
|
|
57
|
+
export declare const HealthMonitoringRepairAction: {
|
|
58
|
+
readonly AUTO: "AUTO";
|
|
59
|
+
readonly ISOLATE: "ISOLATE";
|
|
60
|
+
readonly NONE: "NONE";
|
|
61
|
+
readonly REPLACE: "REPLACE";
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export type HealthMonitoringRepairAction = (typeof HealthMonitoringRepairAction)[keyof typeof HealthMonitoringRepairAction];
|
|
13
67
|
/**
|
|
14
68
|
* @public
|
|
15
69
|
* @enum
|
|
@@ -157,6 +211,17 @@ export declare const Size: {
|
|
|
157
211
|
* @public
|
|
158
212
|
*/
|
|
159
213
|
export type Size = (typeof Size)[keyof typeof Size];
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* @enum
|
|
217
|
+
*/
|
|
218
|
+
export declare const JobSubmitPluginType: {
|
|
219
|
+
readonly STARLARK: "STARLARK";
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
*/
|
|
224
|
+
export type JobSubmitPluginType = (typeof JobSubmitPluginType)[keyof typeof JobSubmitPluginType];
|
|
160
225
|
/**
|
|
161
226
|
* @public
|
|
162
227
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, EndpointType, ExecutionPolicy, LaunchTemplateMode, NetworkType, OnError, PurchaseOption, QueueStatus, SchedulerType, ScriptCachingPolicy, Size, SlurmRestMode, SpotAllocationStrategy } from "./enums";
|
|
1
|
+
import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, DeepHealthCheckOnStartProfile, DeepHealthCheckOnStartRepairAction, EndpointType, ExecutionPolicy, HealthMonitoringMode, HealthMonitoringRepairAction, JobSubmitPluginType, LaunchTemplateMode, NetworkType, OnError, PurchaseOption, QueueStatus, SchedulerType, ScriptCachingPolicy, Size, SlurmRestMode, SpotAllocationStrategy } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The accounting configuration includes configurable settings for Slurm accounting. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>
|
|
4
4
|
* @public
|
|
@@ -58,6 +58,65 @@ export interface InstanceConfig {
|
|
|
58
58
|
*/
|
|
59
59
|
instanceType?: string | undefined;
|
|
60
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* <p>The deep health check that runs each time an instance starts, including after a reboot, before the compute node accepts jobs.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export interface DeepHealthCheckOnStart {
|
|
66
|
+
/**
|
|
67
|
+
* <p>The deep health check profile to run. Each profile other than <code>NONE</code> runs NVIDIA Data Center GPU Manager (DCGM) diagnostics. More thorough profiles run more tests and add more time to instance launch. A profile other than <code>NONE</code> requires instance types with NVIDIA GPUs. This value is required when you specify <code>onStart</code>. There is no default value. Valid values:</p> <ul> <li> <p> <code>NONE</code> – Turns off the deep health check. You can't specify <code>repairAction</code> with this profile.</p> </li> <li> <p> <code>QUICK</code> – Runs basic GPU tests (DCGM diagnostics level 1). This profile adds the least time to instance launch.</p> </li> <li> <p> <code>MEDIUM</code> – Runs extended GPU tests (DCGM diagnostics level 2).</p> </li> <li> <p> <code>LONG</code> – Runs GPU stress and diagnostic tests (DCGM diagnostics level 3). This profile adds the most time to instance launch.</p> </li> </ul>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
profile?: DeepHealthCheckOnStartProfile | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>The action that PCS takes when an instance fails the deep health check. You can't specify this value when <code>profile</code> is <code>NONE</code>. If you don't specify this value and <code>profile</code> isn't <code>NONE</code>, PCS uses <code>AUTO</code>. <code>GetComputeNodeGroup</code> doesn't return a <code>repairAction</code> that you didn't specify. Valid values:</p> <ul> <li> <p> <code>AUTO</code> – PCS chooses the repair action based on the fault.</p> </li> <li> <p> <code>REPLACE</code> – Replaces the instance before it accepts jobs.</p> </li> <li> <p> <code>ISOLATE</code> – Stops new jobs on the instance and keeps the instance running until you investigate.</p> </li> <li> <p> <code>NONE</code> – Records the fault in Slurm and leaves the instance available for jobs.</p> </li> </ul>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
repairAction?: DeepHealthCheckOnStartRepairAction | undefined;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>The deep health check settings of a compute node group. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs. Deep health checks with a profile other than <code>NONE</code> require instance types with NVIDIA GPUs.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export interface DeepHealthChecks {
|
|
82
|
+
/**
|
|
83
|
+
* <p>The deep health check to run each time an instance starts, including after a reboot, before the compute node accepts jobs. If the check fails after a reboot, PCS takes the same <code>repairAction</code> as at launch. For example, with <code>REPLACE</code>, PCS replaces the instance instead of returning it to service. If the compute node group has scripts in the <code>nodeBootstrapped</code> stage of <code>nodeLifecycleActions</code>, the deep health check runs after those scripts. If a script fails and its <code>onError</code> setting terminates the compute node, the deep health check doesn't run. This value is required when you specify <code>deepHealthChecks</code>.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
onStart?: DeepHealthCheckOnStart | undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* <p>The health monitoring settings of a compute node group. Health monitoring continuously checks running instances for hardware and software faults.</p>
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export interface HealthMonitoring {
|
|
93
|
+
/**
|
|
94
|
+
* <p>The health monitoring mode. This value is required when you specify <code>healthMonitoring</code>. There is no default value. Valid values:</p> <ul> <li> <p> <code>NONE</code> – Turns off health monitoring. You can't specify <code>repairAction</code> with this mode.</p> </li> <li> <p> <code>STANDARD</code> – Continuously checks running instances for hardware and software faults.</p> </li> </ul>
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
mode?: HealthMonitoringMode | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* <p>The action that PCS takes when health monitoring finds a fault on an instance. You can't specify this value when <code>mode</code> is <code>NONE</code>. If you don't specify this value and <code>mode</code> isn't <code>NONE</code>, PCS uses <code>AUTO</code>. <code>GetComputeNodeGroup</code> doesn't return a <code>repairAction</code> that you didn't specify. Valid values:</p> <ul> <li> <p> <code>AUTO</code> – PCS chooses the repair action based on the fault.</p> </li> <li> <p> <code>REPLACE</code> – Replaces the instance after running jobs finish.</p> </li> <li> <p> <code>ISOLATE</code> – Stops new jobs on the instance and keeps the instance running until you investigate.</p> </li> <li> <p> <code>NONE</code> – Records the fault in Slurm and leaves the instance available for jobs.</p> </li> </ul>
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
repairAction?: HealthMonitoringRepairAction | undefined;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* <p>The instance health check settings to configure on a compute node group when you create it. Specify <code>healthMonitoring</code>, <code>deepHealthChecks</code>, or both. You can't specify an empty object (<code>\{\}</code>).</p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export interface InstanceHealthChecksRequest {
|
|
109
|
+
/**
|
|
110
|
+
* <p>The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults. If you specify this object, it can't be empty.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
healthMonitoring?: HealthMonitoring | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The deep health check settings. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs. If you specify this object, it can't be empty.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
deepHealthChecks?: DeepHealthChecks | undefined;
|
|
119
|
+
}
|
|
61
120
|
/**
|
|
62
121
|
* <p>The source location and integrity information for a node lifecycle script.</p>
|
|
63
122
|
* @public
|
|
@@ -285,6 +344,11 @@ export interface CreateComputeNodeGroupRequest {
|
|
|
285
344
|
* @public
|
|
286
345
|
*/
|
|
287
346
|
nodeLifecycleActions?: NodeLifecycleActionsRequest | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* <p>The instance health check settings for the compute node group. Instance health checks detect faults on instances in the compute node group and respond with the repair action that you choose. You can configure health monitoring, deep health checks, or both. You can't specify an empty object (<code>\{\}</code>). Instance health checks require Slurm version 26.05 or later.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
instanceHealthChecks?: InstanceHealthChecksRequest | undefined;
|
|
288
352
|
/**
|
|
289
353
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
|
|
290
354
|
* @public
|
|
@@ -312,6 +376,22 @@ export interface ErrorInfo {
|
|
|
312
376
|
*/
|
|
313
377
|
message?: string | undefined;
|
|
314
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* <p>The instance health check settings of a compute node group. Instance health checks detect faults on instances in the compute node group and respond with the repair action that you choose.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export interface InstanceHealthChecks {
|
|
384
|
+
/**
|
|
385
|
+
* <p>The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults.</p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
healthMonitoring?: HealthMonitoring | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* <p>The deep health check settings. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
deepHealthChecks?: DeepHealthChecks | undefined;
|
|
394
|
+
}
|
|
315
395
|
/**
|
|
316
396
|
* <p>The lifecycle actions configured on a compute node group. Lifecycle actions define scripts that PCS runs on compute nodes at specific stages of their lifecycle.</p>
|
|
317
397
|
* @public
|
|
@@ -470,6 +550,11 @@ export interface ComputeNodeGroup {
|
|
|
470
550
|
* @public
|
|
471
551
|
*/
|
|
472
552
|
nodeLifecycleActions?: NodeLifecycleActions | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* <p>The instance health check settings of the compute node group. Instance health checks detect faults on instances in the compute node group and respond with the repair action that you choose.</p>
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
557
|
+
instanceHealthChecks?: InstanceHealthChecks | undefined;
|
|
473
558
|
/**
|
|
474
559
|
* <p>The list of errors that occurred during compute node group provisioning.</p>
|
|
475
560
|
* @public
|
|
@@ -628,6 +713,22 @@ export interface ListComputeNodeGroupsResponse {
|
|
|
628
713
|
*/
|
|
629
714
|
nextToken?: string | undefined;
|
|
630
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* <p>The instance health check settings to configure on a compute node group when you update it. These settings replace all of the current instance health check settings of the compute node group. Specify <code>healthMonitoring</code>, <code>deepHealthChecks</code>, or both. You can't specify an empty object (<code>\{\}</code>).</p>
|
|
718
|
+
* @public
|
|
719
|
+
*/
|
|
720
|
+
export interface UpdateInstanceHealthChecksRequest {
|
|
721
|
+
/**
|
|
722
|
+
* <p>The health monitoring settings. Health monitoring continuously checks running instances for hardware and software faults. If you specify this object, it can't be empty. If you omit this object, health monitoring is turned off.</p>
|
|
723
|
+
* @public
|
|
724
|
+
*/
|
|
725
|
+
healthMonitoring?: HealthMonitoring | undefined;
|
|
726
|
+
/**
|
|
727
|
+
* <p>The deep health check settings. Deep health checks test the graphics processing units (GPUs) of an instance each time it starts, including after a reboot, before it accepts jobs. If you specify this object, it can't be empty. If you omit this object, deep health checks are turned off.</p>
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
deepHealthChecks?: DeepHealthChecks | undefined;
|
|
731
|
+
}
|
|
631
732
|
/**
|
|
632
733
|
* <p>The lifecycle actions to configure on a compute node group when you update it. Lifecycle actions define scripts that PCS runs on compute nodes at specific stages of their lifecycle.</p>
|
|
633
734
|
* @public
|
|
@@ -739,6 +840,11 @@ export interface UpdateComputeNodeGroupRequest {
|
|
|
739
840
|
* @public
|
|
740
841
|
*/
|
|
741
842
|
nodeLifecycleActions?: UpdateNodeLifecycleActionsRequest | undefined;
|
|
843
|
+
/**
|
|
844
|
+
* <p>The instance health check settings for the compute node group. Instance health checks detect faults on instances in the compute node group and respond with the repair action that you choose. You can configure health monitoring, deep health checks, or both. You can't specify an empty object (<code>\{\}</code>). Instance health checks require Slurm version 26.05 or later.</p> <p>The settings that you specify replace all of the current instance health check settings of the compute node group. Include every setting that you want to keep. If you omit this member, the current settings don't change. If you omit <code>healthMonitoring</code> or <code>deepHealthChecks</code>, that check is turned off. You can also turn off a check: set <code>healthMonitoring.mode</code> or <code>deepHealthChecks.onStart.profile</code> to <code>NONE</code> and omit its <code>repairAction</code>. When you change these settings, PCS drains and replaces the instances in the compute node group.</p>
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
instanceHealthChecks?: UpdateInstanceHealthChecksRequest | undefined;
|
|
742
848
|
/**
|
|
743
849
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
|
|
744
850
|
* @public
|
|
@@ -808,6 +914,48 @@ export interface CgroupCustomSetting {
|
|
|
808
914
|
*/
|
|
809
915
|
parameterValue: string | undefined;
|
|
810
916
|
}
|
|
917
|
+
/**
|
|
918
|
+
* <p>The source location and integrity information for the script.</p>
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
export interface JobSubmitScriptSource {
|
|
922
|
+
/**
|
|
923
|
+
* <p>The location of the script. Specify an Amazon S3 URI in the format <code>s3://bucket-name/key</code>.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
scriptLocation: string | undefined;
|
|
927
|
+
/**
|
|
928
|
+
* <p>The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a versioned Amazon S3 bucket.</p>
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
s3VersionId?: string | undefined;
|
|
932
|
+
/**
|
|
933
|
+
* <p>The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.</p>
|
|
934
|
+
* @public
|
|
935
|
+
*/
|
|
936
|
+
checksum?: string | undefined;
|
|
937
|
+
}
|
|
938
|
+
/**
|
|
939
|
+
* <p>A job submit plugin configuration, including its name, runtime language, and script source.</p>
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
export interface JobSubmitPlugin {
|
|
943
|
+
/**
|
|
944
|
+
* <p>A unique name for the plugin. The name can be up to 64 characters long. Valid characters are letters, numbers, spaces, underscores (<code>_</code>), and hyphens (<code>-</code>). The first character must be a letter or a number.</p>
|
|
945
|
+
* @public
|
|
946
|
+
*/
|
|
947
|
+
name: string | undefined;
|
|
948
|
+
/**
|
|
949
|
+
* <p>The runtime language used to execute the custom script. Valid values:</p> <ul> <li> <p> <code>STARLARK</code> – The script uses Starlark syntax.</p> </li> </ul>
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
type: JobSubmitPluginType | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* <p>The source location and integrity information for the script.</p>
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
scriptSource: JobSubmitScriptSource | undefined;
|
|
958
|
+
}
|
|
811
959
|
/**
|
|
812
960
|
* <p>Additional settings that directly map to SlurmDBD settings.</p> <important> <p>PCS supports a subset of SlurmDBD settings. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurmdbd-custom-settings.html">Configuring custom SlurmDBD settings in PCS</a> in the <i>PCS User Guide</i>.</p> </important>
|
|
813
961
|
* @public
|
|
@@ -860,6 +1008,11 @@ export interface ClusterSlurmConfigurationRequest {
|
|
|
860
1008
|
* @public
|
|
861
1009
|
*/
|
|
862
1010
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>
|
|
1013
|
+
* @public
|
|
1014
|
+
*/
|
|
1015
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
863
1016
|
/**
|
|
864
1017
|
* <p>The accounting configuration includes configurable settings for Slurm accounting.</p>
|
|
865
1018
|
* @public
|
|
@@ -1058,6 +1211,11 @@ export interface ClusterSlurmConfiguration {
|
|
|
1058
1211
|
* @public
|
|
1059
1212
|
*/
|
|
1060
1213
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
1214
|
+
/**
|
|
1215
|
+
* <p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>
|
|
1216
|
+
* @public
|
|
1217
|
+
*/
|
|
1218
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
1061
1219
|
/**
|
|
1062
1220
|
* <p>The shared Slurm key for authentication, also known as the <b>cluster secret</b>.</p>
|
|
1063
1221
|
* @public
|
|
@@ -1631,6 +1789,11 @@ export interface RegisterComputeNodeGroupInstanceResponse {
|
|
|
1631
1789
|
* @public
|
|
1632
1790
|
*/
|
|
1633
1791
|
schedulerVersion?: string | undefined;
|
|
1792
|
+
/**
|
|
1793
|
+
* <p>The instance health check settings configured for the compute node group that the compute node registered into. The compute node uses these settings to configure health monitoring and deep health checks.</p>
|
|
1794
|
+
* @public
|
|
1795
|
+
*/
|
|
1796
|
+
instanceHealthChecks?: InstanceHealthChecks | undefined;
|
|
1634
1797
|
}
|
|
1635
1798
|
/**
|
|
1636
1799
|
* <p>The scheduler configuration for updating a cluster. Use this to specify the scheduler version to update to.</p>
|
|
@@ -1695,6 +1858,11 @@ export interface UpdateClusterSlurmConfigurationRequest {
|
|
|
1695
1858
|
* @public
|
|
1696
1859
|
*/
|
|
1697
1860
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
1861
|
+
/**
|
|
1862
|
+
* <p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>
|
|
1863
|
+
* @public
|
|
1864
|
+
*/
|
|
1865
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
1698
1866
|
/**
|
|
1699
1867
|
* <p>The accounting configuration includes configurable settings for Slurm accounting.</p>
|
|
1700
1868
|
* @public
|
|
@@ -33,6 +33,8 @@ export declare var CreateComputeNodeGroupResponse$: StaticStructureSchema;
|
|
|
33
33
|
export declare var CreateQueueRequest$: StaticStructureSchema;
|
|
34
34
|
export declare var CreateQueueResponse$: StaticStructureSchema;
|
|
35
35
|
export declare var CustomLaunchTemplate$: StaticStructureSchema;
|
|
36
|
+
export declare var DeepHealthCheckOnStart$: StaticStructureSchema;
|
|
37
|
+
export declare var DeepHealthChecks$: StaticStructureSchema;
|
|
36
38
|
export declare var DeleteClusterRequest$: StaticStructureSchema;
|
|
37
39
|
export declare var DeleteClusterResponse$: StaticStructureSchema;
|
|
38
40
|
export declare var DeleteComputeNodeGroupRequest$: StaticStructureSchema;
|
|
@@ -47,7 +49,12 @@ export declare var GetComputeNodeGroupRequest$: StaticStructureSchema;
|
|
|
47
49
|
export declare var GetComputeNodeGroupResponse$: StaticStructureSchema;
|
|
48
50
|
export declare var GetQueueRequest$: StaticStructureSchema;
|
|
49
51
|
export declare var GetQueueResponse$: StaticStructureSchema;
|
|
52
|
+
export declare var HealthMonitoring$: StaticStructureSchema;
|
|
50
53
|
export declare var InstanceConfig$: StaticStructureSchema;
|
|
54
|
+
export declare var InstanceHealthChecks$: StaticStructureSchema;
|
|
55
|
+
export declare var InstanceHealthChecksRequest$: StaticStructureSchema;
|
|
56
|
+
export declare var JobSubmitPlugin$: StaticStructureSchema;
|
|
57
|
+
export declare var JobSubmitScriptSource$: StaticStructureSchema;
|
|
51
58
|
export declare var JwtAuth$: StaticStructureSchema;
|
|
52
59
|
export declare var JwtKey$: StaticStructureSchema;
|
|
53
60
|
export declare var ListClustersRequest$: StaticStructureSchema;
|
|
@@ -92,6 +99,7 @@ export declare var UpdateClusterSlurmConfigurationRequest$: StaticStructureSchem
|
|
|
92
99
|
export declare var UpdateComputeNodeGroupRequest$: StaticStructureSchema;
|
|
93
100
|
export declare var UpdateComputeNodeGroupResponse$: StaticStructureSchema;
|
|
94
101
|
export declare var UpdateComputeNodeGroupSlurmConfigurationRequest$: StaticStructureSchema;
|
|
102
|
+
export declare var UpdateInstanceHealthChecksRequest$: StaticStructureSchema;
|
|
95
103
|
export declare var UpdateNodeLifecycleActionsRequest$: StaticStructureSchema;
|
|
96
104
|
export declare var UpdateQueueRequest$: StaticStructureSchema;
|
|
97
105
|
export declare var UpdateQueueResponse$: StaticStructureSchema;
|
|
@@ -3,6 +3,35 @@ export declare const AccountingMode: {
|
|
|
3
3
|
readonly STANDARD: "STANDARD";
|
|
4
4
|
};
|
|
5
5
|
export type AccountingMode = (typeof AccountingMode)[keyof typeof AccountingMode];
|
|
6
|
+
export declare const DeepHealthCheckOnStartProfile: {
|
|
7
|
+
readonly LONG: "LONG";
|
|
8
|
+
readonly MEDIUM: "MEDIUM";
|
|
9
|
+
readonly NONE: "NONE";
|
|
10
|
+
readonly QUICK: "QUICK";
|
|
11
|
+
};
|
|
12
|
+
export type DeepHealthCheckOnStartProfile =
|
|
13
|
+
(typeof DeepHealthCheckOnStartProfile)[keyof typeof DeepHealthCheckOnStartProfile];
|
|
14
|
+
export declare const DeepHealthCheckOnStartRepairAction: {
|
|
15
|
+
readonly AUTO: "AUTO";
|
|
16
|
+
readonly ISOLATE: "ISOLATE";
|
|
17
|
+
readonly NONE: "NONE";
|
|
18
|
+
readonly REPLACE: "REPLACE";
|
|
19
|
+
};
|
|
20
|
+
export type DeepHealthCheckOnStartRepairAction =
|
|
21
|
+
(typeof DeepHealthCheckOnStartRepairAction)[keyof typeof DeepHealthCheckOnStartRepairAction];
|
|
22
|
+
export declare const HealthMonitoringMode: {
|
|
23
|
+
readonly NONE: "NONE";
|
|
24
|
+
readonly STANDARD: "STANDARD";
|
|
25
|
+
};
|
|
26
|
+
export type HealthMonitoringMode = (typeof HealthMonitoringMode)[keyof typeof HealthMonitoringMode];
|
|
27
|
+
export declare const HealthMonitoringRepairAction: {
|
|
28
|
+
readonly AUTO: "AUTO";
|
|
29
|
+
readonly ISOLATE: "ISOLATE";
|
|
30
|
+
readonly NONE: "NONE";
|
|
31
|
+
readonly REPLACE: "REPLACE";
|
|
32
|
+
};
|
|
33
|
+
export type HealthMonitoringRepairAction =
|
|
34
|
+
(typeof HealthMonitoringRepairAction)[keyof typeof HealthMonitoringRepairAction];
|
|
6
35
|
export declare const LaunchTemplateMode: {
|
|
7
36
|
readonly CUSTOM: "CUSTOM";
|
|
8
37
|
readonly MANAGED: "MANAGED";
|
|
@@ -76,6 +105,10 @@ export declare const Size: {
|
|
|
76
105
|
readonly SMALL: "SMALL";
|
|
77
106
|
};
|
|
78
107
|
export type Size = (typeof Size)[keyof typeof Size];
|
|
108
|
+
export declare const JobSubmitPluginType: {
|
|
109
|
+
readonly STARLARK: "STARLARK";
|
|
110
|
+
};
|
|
111
|
+
export type JobSubmitPluginType = (typeof JobSubmitPluginType)[keyof typeof JobSubmitPluginType];
|
|
79
112
|
export declare const SlurmRestMode: {
|
|
80
113
|
readonly NONE: "NONE";
|
|
81
114
|
readonly STANDARD: "STANDARD";
|