@aws-sdk/client-pcs 3.1173.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1172.0";
72
+ var version = "3.1173.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -289,6 +289,8 @@ const _DCNGR = "DeleteComputeNodeGroupRequest";
289
289
  const _DCNGRe = "DeleteComputeNodeGroupResponse";
290
290
  const _DCR = "DeleteClusterRequest";
291
291
  const _DCRe = "DeleteClusterResponse";
292
+ const _DHC = "DeepHealthChecks";
293
+ const _DHCOS = "DeepHealthCheckOnStart";
292
294
  const _DQ = "DeleteQueue";
293
295
  const _DQR = "DeleteQueueRequest";
294
296
  const _DQRe = "DeleteQueueResponse";
@@ -306,7 +308,10 @@ const _GCS = "GresCustomSettings";
306
308
  const _GQ = "GetQueue";
307
309
  const _GQR = "GetQueueRequest";
308
310
  const _GQRe = "GetQueueResponse";
311
+ const _HM = "HealthMonitoring";
309
312
  const _IC = "InstanceConfig";
313
+ const _IHC = "InstanceHealthChecks";
314
+ const _IHCR = "InstanceHealthChecksRequest";
310
315
  const _IL = "InstanceList";
311
316
  const _ISE = "InternalServerException";
312
317
  const _JA = "JwtAuth";
@@ -371,6 +376,7 @@ const _UCNGSCR = "UpdateComputeNodeGroupSlurmConfigurationRequest";
371
376
  const _UCR = "UpdateClusterRequest";
372
377
  const _UCRp = "UpdateClusterResponse";
373
378
  const _UCSCR = "UpdateClusterSlurmConfigurationRequest";
379
+ const _UIHCR = "UpdateInstanceHealthChecksRequest";
374
380
  const _UNLAR = "UpdateNodeLifecycleActionsRequest";
375
381
  const _UQ = "UpdateQueue";
376
382
  const _UQR = "UpdateQueueRequest";
@@ -409,6 +415,7 @@ const _ch = "checksum";
409
415
  const _cl = "cluster";
410
416
  const _clu = "clusters";
411
417
  const _co = "code";
418
+ const _dHC = "deepHealthChecks";
412
419
  const _dPTID = "defaultPurgeTimeInDays";
413
420
  const _e = "error";
414
421
  const _eI = "errorInfo";
@@ -418,10 +425,12 @@ const _fL = "fieldList";
418
425
  const _gCS = "gresCustomSettings";
419
426
  const _hE = "httpError";
420
427
  const _hH = "httpHeader";
428
+ const _hM = "healthMonitoring";
421
429
  const _hQ = "httpQuery";
422
430
  const _i = "id";
423
431
  const _iA = "ipv6Address";
424
432
  const _iC = "instanceConfigs";
433
+ const _iHC = "instanceHealthChecks";
425
434
  const _iIPA = "iamInstanceProfileArn";
426
435
  const _iT = "instanceType";
427
436
  const _jA = "jwtAuth";
@@ -443,20 +452,23 @@ const _nT = "nextToken";
443
452
  const _nTe = "networkType";
444
453
  const _ne = "networking";
445
454
  const _oE = "onError";
446
- const _p = "port";
455
+ const _oS = "onStart";
456
+ const _p = "profile";
447
457
  const _pIA = "privateIpAddress";
448
458
  const _pIAu = "publicIpAddress";
449
459
  const _pN = "parameterName";
450
460
  const _pO = "purchaseOption";
451
461
  const _pV = "parameterValue";
462
+ const _po = "port";
452
463
  const _q = "queue";
453
464
  const _qC = "quotaCode";
454
465
  const _qI = "queueIdentifier";
455
466
  const _qN = "queueName";
456
467
  const _qu = "queues";
457
468
  const _r = "reason";
458
- const _rA = "resourceArn";
469
+ const _rA = "repairAction";
459
470
  const _rAS = "retryAfterSeconds";
471
+ const _rAe = "resourceArn";
460
472
  const _rI = "resourceId";
461
473
  const _rT = "resourceType";
462
474
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pcs";
@@ -577,8 +589,8 @@ var ClusterSummary$ = [3, n0, _CS,
577
589
  ];
578
590
  var ComputeNodeGroup$ = [3, n0, _CNG,
579
591
  0,
580
- [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _eI],
581
- [0, 0, 0, 0, 5, 5, 0, 64 | 0, 0, () => ScalingConfiguration$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => ErrorInfoList], 11
592
+ [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _iHC, _eI],
593
+ [0, 0, 0, 0, 5, 5, 0, 64 | 0, 0, () => ScalingConfiguration$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => InstanceHealthChecks$, () => ErrorInfoList], 11
582
594
  ];
583
595
  var ComputeNodeGroupConfiguration$ = [3, n0, _CNGC,
584
596
  0,
@@ -612,8 +624,8 @@ var CreateClusterResponse$ = [3, n0, _CCRr,
612
624
  ];
613
625
  var CreateComputeNodeGroupRequest$ = [3, n0, _CCNGR,
614
626
  0,
615
- [_cIl, _cNGN, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _cT, _t],
616
- [0, 0, 64 | 0, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, [0, 4], 128 | 0], 6
627
+ [_cIl, _cNGN, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _iHC, _cT, _t],
628
+ [0, 0, 64 | 0, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, () => InstanceHealthChecksRequest$, [0, 4], 128 | 0], 6
617
629
  ];
618
630
  var CreateComputeNodeGroupResponse$ = [3, n0, _CCNGRr,
619
631
  0,
@@ -635,6 +647,16 @@ var CustomLaunchTemplate$ = [3, n0, _CLT,
635
647
  [_i, _v],
636
648
  [0, 0], 2
637
649
  ];
650
+ var DeepHealthCheckOnStart$ = [3, n0, _DHCOS,
651
+ 0,
652
+ [_p, _rA],
653
+ [0, 0]
654
+ ];
655
+ var DeepHealthChecks$ = [3, n0, _DHC,
656
+ 0,
657
+ [_oS],
658
+ [() => DeepHealthCheckOnStart$]
659
+ ];
638
660
  var DeleteClusterRequest$ = [3, n0, _DCR,
639
661
  0,
640
662
  [_cIl, _cT],
@@ -667,7 +689,7 @@ var DeleteQueueResponse$ = [3, n0, _DQRe,
667
689
  ];
668
690
  var Endpoint$ = [3, n0, _E,
669
691
  0,
670
- [_ty, _pIA, _p, _pIAu, _iA],
692
+ [_ty, _pIA, _po, _pIAu, _iA],
671
693
  [0, 0, 0, 0, 0], 3
672
694
  ];
673
695
  var ErrorInfo$ = [3, n0, _EI,
@@ -705,11 +727,26 @@ var GetQueueResponse$ = [3, n0, _GQRe,
705
727
  [_q],
706
728
  [() => Queue$]
707
729
  ];
730
+ var HealthMonitoring$ = [3, n0, _HM,
731
+ 0,
732
+ [_mo, _rA],
733
+ [0, 0]
734
+ ];
708
735
  var InstanceConfig$ = [3, n0, _IC,
709
736
  0,
710
737
  [_iT],
711
738
  [0]
712
739
  ];
740
+ var InstanceHealthChecks$ = [3, n0, _IHC,
741
+ 0,
742
+ [_hM, _dHC],
743
+ [() => HealthMonitoring$, () => DeepHealthChecks$]
744
+ ];
745
+ var InstanceHealthChecksRequest$ = [3, n0, _IHCR,
746
+ 0,
747
+ [_hM, _dHC],
748
+ [() => HealthMonitoring$, () => DeepHealthChecks$]
749
+ ];
713
750
  var JobSubmitPlugin$ = [3, n0, _JSP,
714
751
  0,
715
752
  [_n, _ty, _sS],
@@ -762,7 +799,7 @@ var ListQueuesResponse$ = [3, n0, _LQRi,
762
799
  ];
763
800
  var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
764
801
  0,
765
- [_rA],
802
+ [_rAe],
766
803
  [0], 1
767
804
  ];
768
805
  var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
@@ -827,8 +864,8 @@ var RegisterComputeNodeGroupInstanceRequest$ = [3, n0, _RCNGIR,
827
864
  ];
828
865
  var RegisterComputeNodeGroupInstanceResponse$ = [3, n0, _RCNGIRe,
829
866
  0,
830
- [_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA, _sVc],
831
- [0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions$, 0], 3
867
+ [_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA, _sVc, _iHC],
868
+ [0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions$, 0, () => InstanceHealthChecks$], 3
832
869
  ];
833
870
  var ScalingConfiguration$ = [3, n0, _SC,
834
871
  0,
@@ -887,7 +924,7 @@ var SpotOptions$ = [3, n0, _SO,
887
924
  ];
888
925
  var TagResourceRequest$ = [3, n0, _TRR,
889
926
  0,
890
- [_rA, _t],
927
+ [_rAe, _t],
891
928
  [0, 128 | 0], 2
892
929
  ];
893
930
  var TagResourceResponse$ = [3, n0, _TRRa,
@@ -897,7 +934,7 @@ var TagResourceResponse$ = [3, n0, _TRRa,
897
934
  ];
898
935
  var UntagResourceRequest$ = [3, n0, _URR,
899
936
  0,
900
- [_rA, _tK],
937
+ [_rAe, _tK],
901
938
  [[0, 1], 64 | 0], 2
902
939
  ];
903
940
  var UntagResourceResponse$ = [3, n0, _URRn,
@@ -927,8 +964,8 @@ var UpdateClusterSlurmConfigurationRequest$ = [3, n0, _UCSCR,
927
964
  ];
928
965
  var UpdateComputeNodeGroupRequest$ = [3, n0, _UCNGR,
929
966
  0,
930
- [_cIl, _cNGIo, _aI, _sGI, _sKN, _sI, _lTM, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _cT],
931
- [0, 0, 0, 64 | 0, 0, 64 | 0, 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, [0, 4]], 2
967
+ [_cIl, _cNGIo, _aI, _sGI, _sKN, _sI, _lTM, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _iHC, _cT],
968
+ [0, 0, 0, 64 | 0, 0, 64 | 0, 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, () => UpdateInstanceHealthChecksRequest$, [0, 4]], 2
932
969
  ];
933
970
  var UpdateComputeNodeGroupResponse$ = [3, n0, _UCNGRp,
934
971
  0,
@@ -940,6 +977,11 @@ var UpdateComputeNodeGroupSlurmConfigurationRequest$ = [3, n0, _UCNGSCR,
940
977
  [_sDITIS, _sCS, _gCS],
941
978
  [1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
942
979
  ];
980
+ var UpdateInstanceHealthChecksRequest$ = [3, n0, _UIHCR,
981
+ 0,
982
+ [_hM, _dHC],
983
+ [() => HealthMonitoring$, () => DeepHealthChecks$]
984
+ ];
943
985
  var UpdateNodeLifecycleActionsRequest$ = [3, n0, _UNLAR,
944
986
  0,
945
987
  [_sta, _sCP],
@@ -1320,6 +1362,28 @@ const AccountingMode = {
1320
1362
  NONE: "NONE",
1321
1363
  STANDARD: "STANDARD",
1322
1364
  };
1365
+ const DeepHealthCheckOnStartProfile = {
1366
+ LONG: "LONG",
1367
+ MEDIUM: "MEDIUM",
1368
+ NONE: "NONE",
1369
+ QUICK: "QUICK",
1370
+ };
1371
+ const DeepHealthCheckOnStartRepairAction = {
1372
+ AUTO: "AUTO",
1373
+ ISOLATE: "ISOLATE",
1374
+ NONE: "NONE",
1375
+ REPLACE: "REPLACE",
1376
+ };
1377
+ const HealthMonitoringMode = {
1378
+ NONE: "NONE",
1379
+ STANDARD: "STANDARD",
1380
+ };
1381
+ const HealthMonitoringRepairAction = {
1382
+ AUTO: "AUTO",
1383
+ ISOLATE: "ISOLATE",
1384
+ NONE: "NONE",
1385
+ REPLACE: "REPLACE",
1386
+ };
1323
1387
  const LaunchTemplateMode = {
1324
1388
  CUSTOM: "CUSTOM",
1325
1389
  MANAGED: "MANAGED",
@@ -1448,6 +1512,10 @@ exports.CreateQueueCommand = CreateQueueCommand;
1448
1512
  exports.CreateQueueRequest$ = CreateQueueRequest$;
1449
1513
  exports.CreateQueueResponse$ = CreateQueueResponse$;
1450
1514
  exports.CustomLaunchTemplate$ = CustomLaunchTemplate$;
1515
+ exports.DeepHealthCheckOnStart$ = DeepHealthCheckOnStart$;
1516
+ exports.DeepHealthCheckOnStartProfile = DeepHealthCheckOnStartProfile;
1517
+ exports.DeepHealthCheckOnStartRepairAction = DeepHealthCheckOnStartRepairAction;
1518
+ exports.DeepHealthChecks$ = DeepHealthChecks$;
1451
1519
  exports.DeleteCluster$ = DeleteCluster$;
1452
1520
  exports.DeleteClusterCommand = DeleteClusterCommand;
1453
1521
  exports.DeleteClusterRequest$ = DeleteClusterRequest$;
@@ -1476,7 +1544,12 @@ exports.GetQueue$ = GetQueue$;
1476
1544
  exports.GetQueueCommand = GetQueueCommand;
1477
1545
  exports.GetQueueRequest$ = GetQueueRequest$;
1478
1546
  exports.GetQueueResponse$ = GetQueueResponse$;
1547
+ exports.HealthMonitoring$ = HealthMonitoring$;
1548
+ exports.HealthMonitoringMode = HealthMonitoringMode;
1549
+ exports.HealthMonitoringRepairAction = HealthMonitoringRepairAction;
1479
1550
  exports.InstanceConfig$ = InstanceConfig$;
1551
+ exports.InstanceHealthChecks$ = InstanceHealthChecks$;
1552
+ exports.InstanceHealthChecksRequest$ = InstanceHealthChecksRequest$;
1480
1553
  exports.InternalServerException = InternalServerException;
1481
1554
  exports.InternalServerException$ = InternalServerException$;
1482
1555
  exports.JobSubmitPlugin$ = JobSubmitPlugin$;
@@ -1564,6 +1637,7 @@ exports.UpdateComputeNodeGroupCommand = UpdateComputeNodeGroupCommand;
1564
1637
  exports.UpdateComputeNodeGroupRequest$ = UpdateComputeNodeGroupRequest$;
1565
1638
  exports.UpdateComputeNodeGroupResponse$ = UpdateComputeNodeGroupResponse$;
1566
1639
  exports.UpdateComputeNodeGroupSlurmConfigurationRequest$ = UpdateComputeNodeGroupSlurmConfigurationRequest$;
1640
+ exports.UpdateInstanceHealthChecksRequest$ = UpdateInstanceHealthChecksRequest$;
1567
1641
  exports.UpdateNodeLifecycleActionsRequest$ = UpdateNodeLifecycleActionsRequest$;
1568
1642
  exports.UpdateQueue$ = UpdateQueue$;
1569
1643
  exports.UpdateQueueCommand = UpdateQueueCommand;
@@ -2,6 +2,28 @@ export const AccountingMode = {
2
2
  NONE: "NONE",
3
3
  STANDARD: "STANDARD",
4
4
  };
5
+ export const DeepHealthCheckOnStartProfile = {
6
+ LONG: "LONG",
7
+ MEDIUM: "MEDIUM",
8
+ NONE: "NONE",
9
+ QUICK: "QUICK",
10
+ };
11
+ export const DeepHealthCheckOnStartRepairAction = {
12
+ AUTO: "AUTO",
13
+ ISOLATE: "ISOLATE",
14
+ NONE: "NONE",
15
+ REPLACE: "REPLACE",
16
+ };
17
+ export const HealthMonitoringMode = {
18
+ NONE: "NONE",
19
+ STANDARD: "STANDARD",
20
+ };
21
+ export const HealthMonitoringRepairAction = {
22
+ AUTO: "AUTO",
23
+ ISOLATE: "ISOLATE",
24
+ NONE: "NONE",
25
+ REPLACE: "REPLACE",
26
+ };
5
27
  export const LaunchTemplateMode = {
6
28
  CUSTOM: "CUSTOM",
7
29
  MANAGED: "MANAGED",
@@ -32,6 +32,8 @@ const _DCNGR = "DeleteComputeNodeGroupRequest";
32
32
  const _DCNGRe = "DeleteComputeNodeGroupResponse";
33
33
  const _DCR = "DeleteClusterRequest";
34
34
  const _DCRe = "DeleteClusterResponse";
35
+ const _DHC = "DeepHealthChecks";
36
+ const _DHCOS = "DeepHealthCheckOnStart";
35
37
  const _DQ = "DeleteQueue";
36
38
  const _DQR = "DeleteQueueRequest";
37
39
  const _DQRe = "DeleteQueueResponse";
@@ -49,7 +51,10 @@ const _GCS = "GresCustomSettings";
49
51
  const _GQ = "GetQueue";
50
52
  const _GQR = "GetQueueRequest";
51
53
  const _GQRe = "GetQueueResponse";
54
+ const _HM = "HealthMonitoring";
52
55
  const _IC = "InstanceConfig";
56
+ const _IHC = "InstanceHealthChecks";
57
+ const _IHCR = "InstanceHealthChecksRequest";
53
58
  const _IL = "InstanceList";
54
59
  const _ISE = "InternalServerException";
55
60
  const _JA = "JwtAuth";
@@ -114,6 +119,7 @@ const _UCNGSCR = "UpdateComputeNodeGroupSlurmConfigurationRequest";
114
119
  const _UCR = "UpdateClusterRequest";
115
120
  const _UCRp = "UpdateClusterResponse";
116
121
  const _UCSCR = "UpdateClusterSlurmConfigurationRequest";
122
+ const _UIHCR = "UpdateInstanceHealthChecksRequest";
117
123
  const _UNLAR = "UpdateNodeLifecycleActionsRequest";
118
124
  const _UQ = "UpdateQueue";
119
125
  const _UQR = "UpdateQueueRequest";
@@ -152,6 +158,7 @@ const _ch = "checksum";
152
158
  const _cl = "cluster";
153
159
  const _clu = "clusters";
154
160
  const _co = "code";
161
+ const _dHC = "deepHealthChecks";
155
162
  const _dPTID = "defaultPurgeTimeInDays";
156
163
  const _e = "error";
157
164
  const _eI = "errorInfo";
@@ -161,10 +168,12 @@ const _fL = "fieldList";
161
168
  const _gCS = "gresCustomSettings";
162
169
  const _hE = "httpError";
163
170
  const _hH = "httpHeader";
171
+ const _hM = "healthMonitoring";
164
172
  const _hQ = "httpQuery";
165
173
  const _i = "id";
166
174
  const _iA = "ipv6Address";
167
175
  const _iC = "instanceConfigs";
176
+ const _iHC = "instanceHealthChecks";
168
177
  const _iIPA = "iamInstanceProfileArn";
169
178
  const _iT = "instanceType";
170
179
  const _jA = "jwtAuth";
@@ -186,20 +195,23 @@ const _nT = "nextToken";
186
195
  const _nTe = "networkType";
187
196
  const _ne = "networking";
188
197
  const _oE = "onError";
189
- const _p = "port";
198
+ const _oS = "onStart";
199
+ const _p = "profile";
190
200
  const _pIA = "privateIpAddress";
191
201
  const _pIAu = "publicIpAddress";
192
202
  const _pN = "parameterName";
193
203
  const _pO = "purchaseOption";
194
204
  const _pV = "parameterValue";
205
+ const _po = "port";
195
206
  const _q = "queue";
196
207
  const _qC = "quotaCode";
197
208
  const _qI = "queueIdentifier";
198
209
  const _qN = "queueName";
199
210
  const _qu = "queues";
200
211
  const _r = "reason";
201
- const _rA = "resourceArn";
212
+ const _rA = "repairAction";
202
213
  const _rAS = "retryAfterSeconds";
214
+ const _rAe = "resourceArn";
203
215
  const _rI = "resourceId";
204
216
  const _rT = "resourceType";
205
217
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pcs";
@@ -323,8 +335,8 @@ export var ClusterSummary$ = [3, n0, _CS,
323
335
  ];
324
336
  export var ComputeNodeGroup$ = [3, n0, _CNG,
325
337
  0,
326
- [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _eI],
327
- [0, 0, 0, 0, 5, 5, 0, 64 | 0, 0, () => ScalingConfiguration$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => ErrorInfoList], 11
338
+ [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _iHC, _eI],
339
+ [0, 0, 0, 0, 5, 5, 0, 64 | 0, 0, () => ScalingConfiguration$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => InstanceHealthChecks$, () => ErrorInfoList], 11
328
340
  ];
329
341
  export var ComputeNodeGroupConfiguration$ = [3, n0, _CNGC,
330
342
  0,
@@ -358,8 +370,8 @@ export var CreateClusterResponse$ = [3, n0, _CCRr,
358
370
  ];
359
371
  export var CreateComputeNodeGroupRequest$ = [3, n0, _CCNGR,
360
372
  0,
361
- [_cIl, _cNGN, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _cT, _t],
362
- [0, 0, 64 | 0, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, [0, 4], 128 | 0], 6
373
+ [_cIl, _cNGN, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _iHC, _cT, _t],
374
+ [0, 0, 64 | 0, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, () => InstanceHealthChecksRequest$, [0, 4], 128 | 0], 6
363
375
  ];
364
376
  export var CreateComputeNodeGroupResponse$ = [3, n0, _CCNGRr,
365
377
  0,
@@ -381,6 +393,16 @@ export var CustomLaunchTemplate$ = [3, n0, _CLT,
381
393
  [_i, _v],
382
394
  [0, 0], 2
383
395
  ];
396
+ export var DeepHealthCheckOnStart$ = [3, n0, _DHCOS,
397
+ 0,
398
+ [_p, _rA],
399
+ [0, 0]
400
+ ];
401
+ export var DeepHealthChecks$ = [3, n0, _DHC,
402
+ 0,
403
+ [_oS],
404
+ [() => DeepHealthCheckOnStart$]
405
+ ];
384
406
  export var DeleteClusterRequest$ = [3, n0, _DCR,
385
407
  0,
386
408
  [_cIl, _cT],
@@ -413,7 +435,7 @@ export var DeleteQueueResponse$ = [3, n0, _DQRe,
413
435
  ];
414
436
  export var Endpoint$ = [3, n0, _E,
415
437
  0,
416
- [_ty, _pIA, _p, _pIAu, _iA],
438
+ [_ty, _pIA, _po, _pIAu, _iA],
417
439
  [0, 0, 0, 0, 0], 3
418
440
  ];
419
441
  export var ErrorInfo$ = [3, n0, _EI,
@@ -451,11 +473,26 @@ export var GetQueueResponse$ = [3, n0, _GQRe,
451
473
  [_q],
452
474
  [() => Queue$]
453
475
  ];
476
+ export var HealthMonitoring$ = [3, n0, _HM,
477
+ 0,
478
+ [_mo, _rA],
479
+ [0, 0]
480
+ ];
454
481
  export var InstanceConfig$ = [3, n0, _IC,
455
482
  0,
456
483
  [_iT],
457
484
  [0]
458
485
  ];
486
+ export var InstanceHealthChecks$ = [3, n0, _IHC,
487
+ 0,
488
+ [_hM, _dHC],
489
+ [() => HealthMonitoring$, () => DeepHealthChecks$]
490
+ ];
491
+ export var InstanceHealthChecksRequest$ = [3, n0, _IHCR,
492
+ 0,
493
+ [_hM, _dHC],
494
+ [() => HealthMonitoring$, () => DeepHealthChecks$]
495
+ ];
459
496
  export var JobSubmitPlugin$ = [3, n0, _JSP,
460
497
  0,
461
498
  [_n, _ty, _sS],
@@ -508,7 +545,7 @@ export var ListQueuesResponse$ = [3, n0, _LQRi,
508
545
  ];
509
546
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
510
547
  0,
511
- [_rA],
548
+ [_rAe],
512
549
  [0], 1
513
550
  ];
514
551
  export var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
@@ -573,8 +610,8 @@ export var RegisterComputeNodeGroupInstanceRequest$ = [3, n0, _RCNGIR,
573
610
  ];
574
611
  export var RegisterComputeNodeGroupInstanceResponse$ = [3, n0, _RCNGIRe,
575
612
  0,
576
- [_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA, _sVc],
577
- [0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions$, 0], 3
613
+ [_nID, _sSh, _en, _cN, _cNGI, _cNGN, _nLA, _sVc, _iHC],
614
+ [0, [() => SharedSecret, 0], () => Endpoints, 0, 0, 0, () => NodeLifecycleActions$, 0, () => InstanceHealthChecks$], 3
578
615
  ];
579
616
  export var ScalingConfiguration$ = [3, n0, _SC,
580
617
  0,
@@ -633,7 +670,7 @@ export var SpotOptions$ = [3, n0, _SO,
633
670
  ];
634
671
  export var TagResourceRequest$ = [3, n0, _TRR,
635
672
  0,
636
- [_rA, _t],
673
+ [_rAe, _t],
637
674
  [0, 128 | 0], 2
638
675
  ];
639
676
  export var TagResourceResponse$ = [3, n0, _TRRa,
@@ -643,7 +680,7 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
643
680
  ];
644
681
  export var UntagResourceRequest$ = [3, n0, _URR,
645
682
  0,
646
- [_rA, _tK],
683
+ [_rAe, _tK],
647
684
  [[0, 1], 64 | 0], 2
648
685
  ];
649
686
  export var UntagResourceResponse$ = [3, n0, _URRn,
@@ -673,8 +710,8 @@ export var UpdateClusterSlurmConfigurationRequest$ = [3, n0, _UCSCR,
673
710
  ];
674
711
  export var UpdateComputeNodeGroupRequest$ = [3, n0, _UCNGR,
675
712
  0,
676
- [_cIl, _cNGIo, _aI, _sGI, _sKN, _sI, _lTM, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _cT],
677
- [0, 0, 0, 64 | 0, 0, 64 | 0, 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, [0, 4]], 2
713
+ [_cIl, _cNGIo, _aI, _sGI, _sKN, _sI, _lTM, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _iHC, _cT],
714
+ [0, 0, 0, 64 | 0, 0, 64 | 0, 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, () => UpdateInstanceHealthChecksRequest$, [0, 4]], 2
678
715
  ];
679
716
  export var UpdateComputeNodeGroupResponse$ = [3, n0, _UCNGRp,
680
717
  0,
@@ -686,6 +723,11 @@ export var UpdateComputeNodeGroupSlurmConfigurationRequest$ = [3, n0, _UCNGSCR,
686
723
  [_sDITIS, _sCS, _gCS],
687
724
  [1, () => SlurmCustomSettings, [1, n0, _GCS, 0, 128 | 0]]
688
725
  ];
726
+ export var UpdateInstanceHealthChecksRequest$ = [3, n0, _UIHCR,
727
+ 0,
728
+ [_hM, _dHC],
729
+ [() => HealthMonitoring$, () => DeepHealthChecks$]
730
+ ];
689
731
  export var UpdateNodeLifecycleActionsRequest$ = [3, n0, _UNLAR,
690
732
  0,
691
733
  [_sta, _sCP],
@@ -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",
@@ -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
  * ```
@@ -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
@@ -1,4 +1,4 @@
1
- import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, EndpointType, ExecutionPolicy, JobSubmitPluginType, 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
@@ -1683,6 +1789,11 @@ export interface RegisterComputeNodeGroupInstanceResponse {
1683
1789
  * @public
1684
1790
  */
1685
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;
1686
1797
  }
1687
1798
  /**
1688
1799
  * <p>The scheduler configuration for updating a cluster. Use this to specify the scheduler version to update to.</p>
@@ -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,10 @@ 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;
51
56
  export declare var JobSubmitPlugin$: StaticStructureSchema;
52
57
  export declare var JobSubmitScriptSource$: StaticStructureSchema;
53
58
  export declare var JwtAuth$: StaticStructureSchema;
@@ -94,6 +99,7 @@ export declare var UpdateClusterSlurmConfigurationRequest$: StaticStructureSchem
94
99
  export declare var UpdateComputeNodeGroupRequest$: StaticStructureSchema;
95
100
  export declare var UpdateComputeNodeGroupResponse$: StaticStructureSchema;
96
101
  export declare var UpdateComputeNodeGroupSlurmConfigurationRequest$: StaticStructureSchema;
102
+ export declare var UpdateInstanceHealthChecksRequest$: StaticStructureSchema;
97
103
  export declare var UpdateNodeLifecycleActionsRequest$: StaticStructureSchema;
98
104
  export declare var UpdateQueueRequest$: StaticStructureSchema;
99
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";
@@ -2,8 +2,12 @@ import {
2
2
  AccountingMode,
3
3
  ClusterStatus,
4
4
  ComputeNodeGroupStatus,
5
+ DeepHealthCheckOnStartProfile,
6
+ DeepHealthCheckOnStartRepairAction,
5
7
  EndpointType,
6
8
  ExecutionPolicy,
9
+ HealthMonitoringMode,
10
+ HealthMonitoringRepairAction,
7
11
  JobSubmitPluginType,
8
12
  LaunchTemplateMode,
9
13
  NetworkType,
@@ -31,6 +35,21 @@ export interface CustomLaunchTemplate {
31
35
  export interface InstanceConfig {
32
36
  instanceType?: string | undefined;
33
37
  }
38
+ export interface DeepHealthCheckOnStart {
39
+ profile?: DeepHealthCheckOnStartProfile | undefined;
40
+ repairAction?: DeepHealthCheckOnStartRepairAction | undefined;
41
+ }
42
+ export interface DeepHealthChecks {
43
+ onStart?: DeepHealthCheckOnStart | undefined;
44
+ }
45
+ export interface HealthMonitoring {
46
+ mode?: HealthMonitoringMode | undefined;
47
+ repairAction?: HealthMonitoringRepairAction | undefined;
48
+ }
49
+ export interface InstanceHealthChecksRequest {
50
+ healthMonitoring?: HealthMonitoring | undefined;
51
+ deepHealthChecks?: DeepHealthChecks | undefined;
52
+ }
34
53
  export interface ScriptSource {
35
54
  scriptLocation: string | undefined;
36
55
  s3VersionId?: string | undefined;
@@ -83,6 +102,7 @@ export interface CreateComputeNodeGroupRequest {
83
102
  spotOptions?: SpotOptions | undefined;
84
103
  slurmConfiguration?: ComputeNodeGroupSlurmConfigurationRequest | undefined;
85
104
  nodeLifecycleActions?: NodeLifecycleActionsRequest | undefined;
105
+ instanceHealthChecks?: InstanceHealthChecksRequest | undefined;
86
106
  clientToken?: string | undefined;
87
107
  tags?: Record<string, string> | undefined;
88
108
  }
@@ -90,6 +110,10 @@ export interface ErrorInfo {
90
110
  code?: string | undefined;
91
111
  message?: string | undefined;
92
112
  }
113
+ export interface InstanceHealthChecks {
114
+ healthMonitoring?: HealthMonitoring | undefined;
115
+ deepHealthChecks?: DeepHealthChecks | undefined;
116
+ }
93
117
  export interface NodeLifecycleActions {
94
118
  stages: NodeLifecycleStages | undefined;
95
119
  scriptCachingPolicy?: ScriptCachingPolicy | undefined;
@@ -124,6 +148,7 @@ export interface ComputeNodeGroup {
124
148
  spotOptions?: SpotOptions | undefined;
125
149
  slurmConfiguration?: ComputeNodeGroupSlurmConfiguration | undefined;
126
150
  nodeLifecycleActions?: NodeLifecycleActions | undefined;
151
+ instanceHealthChecks?: InstanceHealthChecks | undefined;
127
152
  errorInfo?: ErrorInfo[] | undefined;
128
153
  }
129
154
  export interface CreateComputeNodeGroupResponse {
@@ -164,6 +189,10 @@ export interface ListComputeNodeGroupsResponse {
164
189
  computeNodeGroups: ComputeNodeGroupSummary[] | undefined;
165
190
  nextToken?: string | undefined;
166
191
  }
192
+ export interface UpdateInstanceHealthChecksRequest {
193
+ healthMonitoring?: HealthMonitoring | undefined;
194
+ deepHealthChecks?: DeepHealthChecks | undefined;
195
+ }
167
196
  export interface UpdateNodeLifecycleActionsRequest {
168
197
  stages: NodeLifecycleStages | undefined;
169
198
  scriptCachingPolicy?: ScriptCachingPolicy | undefined;
@@ -188,6 +217,7 @@ export interface UpdateComputeNodeGroupRequest {
188
217
  iamInstanceProfileArn?: string | undefined;
189
218
  slurmConfiguration?: UpdateComputeNodeGroupSlurmConfigurationRequest | undefined;
190
219
  nodeLifecycleActions?: UpdateNodeLifecycleActionsRequest | undefined;
220
+ instanceHealthChecks?: UpdateInstanceHealthChecksRequest | undefined;
191
221
  clientToken?: string | undefined;
192
222
  }
193
223
  export interface UpdateComputeNodeGroupResponse {
@@ -415,6 +445,7 @@ export interface RegisterComputeNodeGroupInstanceResponse {
415
445
  computeNodeGroupName?: string | undefined;
416
446
  nodeLifecycleActions?: NodeLifecycleActions | undefined;
417
447
  schedulerVersion?: string | undefined;
448
+ instanceHealthChecks?: InstanceHealthChecks | undefined;
418
449
  }
419
450
  export interface UpdateSchedulerRequest {
420
451
  version: string | undefined;
@@ -28,6 +28,8 @@ export declare var CreateComputeNodeGroupResponse$: StaticStructureSchema;
28
28
  export declare var CreateQueueRequest$: StaticStructureSchema;
29
29
  export declare var CreateQueueResponse$: StaticStructureSchema;
30
30
  export declare var CustomLaunchTemplate$: StaticStructureSchema;
31
+ export declare var DeepHealthCheckOnStart$: StaticStructureSchema;
32
+ export declare var DeepHealthChecks$: StaticStructureSchema;
31
33
  export declare var DeleteClusterRequest$: StaticStructureSchema;
32
34
  export declare var DeleteClusterResponse$: StaticStructureSchema;
33
35
  export declare var DeleteComputeNodeGroupRequest$: StaticStructureSchema;
@@ -42,7 +44,10 @@ export declare var GetComputeNodeGroupRequest$: StaticStructureSchema;
42
44
  export declare var GetComputeNodeGroupResponse$: StaticStructureSchema;
43
45
  export declare var GetQueueRequest$: StaticStructureSchema;
44
46
  export declare var GetQueueResponse$: StaticStructureSchema;
47
+ export declare var HealthMonitoring$: StaticStructureSchema;
45
48
  export declare var InstanceConfig$: StaticStructureSchema;
49
+ export declare var InstanceHealthChecks$: StaticStructureSchema;
50
+ export declare var InstanceHealthChecksRequest$: StaticStructureSchema;
46
51
  export declare var JobSubmitPlugin$: StaticStructureSchema;
47
52
  export declare var JobSubmitScriptSource$: StaticStructureSchema;
48
53
  export declare var JwtAuth$: StaticStructureSchema;
@@ -89,6 +94,7 @@ export declare var UpdateClusterSlurmConfigurationRequest$: StaticStructureSchem
89
94
  export declare var UpdateComputeNodeGroupRequest$: StaticStructureSchema;
90
95
  export declare var UpdateComputeNodeGroupResponse$: StaticStructureSchema;
91
96
  export declare var UpdateComputeNodeGroupSlurmConfigurationRequest$: StaticStructureSchema;
97
+ export declare var UpdateInstanceHealthChecksRequest$: StaticStructureSchema;
92
98
  export declare var UpdateNodeLifecycleActionsRequest$: StaticStructureSchema;
93
99
  export declare var UpdateQueueRequest$: StaticStructureSchema;
94
100
  export declare var UpdateQueueResponse$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pcs",
3
- "version": "3.1173.0",
3
+ "version": "3.1174.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",