@aws-sdk/client-pcs 3.932.0 → 3.934.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
@@ -269,9 +269,14 @@ const Size = {
269
269
  MEDIUM: "MEDIUM",
270
270
  SMALL: "SMALL",
271
271
  };
272
+ const SlurmRestMode = {
273
+ NONE: "NONE",
274
+ STANDARD: "STANDARD",
275
+ };
272
276
  const EndpointType = {
273
277
  SLURMCTLD: "SLURMCTLD",
274
278
  SLURMDBD: "SLURMDBD",
279
+ SLURMRESTD: "SLURMRESTD",
275
280
  };
276
281
  const ClusterStatus = {
277
282
  ACTIVE: "ACTIVE",
@@ -347,6 +352,8 @@ const _GQRe = "GetQueueResponse";
347
352
  const _IC = "InstanceConfig";
348
353
  const _IL = "InstanceList";
349
354
  const _ISE = "InternalServerException";
355
+ const _JA = "JwtAuth";
356
+ const _JK = "JwtKey";
350
357
  const _LC = "ListClusters";
351
358
  const _LCNG = "ListComputeNodeGroups";
352
359
  const _LCNGR = "ListComputeNodeGroupsRequest";
@@ -380,10 +387,13 @@ const _SCSl = "SlurmCustomSettings";
380
387
  const _SO = "SpotOptions";
381
388
  const _SQEE = "ServiceQuotaExceededException";
382
389
  const _SR = "SchedulerRequest";
390
+ const _SRR = "SlurmRestRequest";
391
+ const _SRl = "SlurmRest";
383
392
  const _SS = "SharedSecret";
384
393
  const _TE = "ThrottlingException";
385
394
  const _TR = "TagResource";
386
395
  const _TRR = "TagResourceRequest";
396
+ const _TRRa = "TagResourceResponse";
387
397
  const _UAR = "UpdateAccountingRequest";
388
398
  const _UC = "UpdateCluster";
389
399
  const _UCNG = "UpdateComputeNodeGroup";
@@ -399,6 +409,8 @@ const _UQRp = "UpdateQueueResponse";
399
409
  const _UQSCR = "UpdateQueueSlurmConfigurationRequest";
400
410
  const _UR = "UntagResource";
401
411
  const _URR = "UntagResourceRequest";
412
+ const _URRn = "UntagResourceResponse";
413
+ const _USRR = "UpdateSlurmRestRequest";
402
414
  const _VE = "ValidationException";
403
415
  const _VEF = "ValidationExceptionField";
404
416
  const _VEFL = "ValidationExceptionFieldList";
@@ -437,6 +449,8 @@ const _iA = "ipv6Address";
437
449
  const _iC = "instanceConfigs";
438
450
  const _iIPA = "iamInstanceProfileArn";
439
451
  const _iT = "instanceType";
452
+ const _jA = "jwtAuth";
453
+ const _jK = "jwtKey";
440
454
  const _m = "message";
441
455
  const _mA = "modifiedAt";
442
456
  const _mIC = "minInstanceCount";
@@ -474,6 +488,7 @@ const _sDITIS = "scaleDownIdleTimeInSeconds";
474
488
  const _sGI = "securityGroupIds";
475
489
  const _sI = "subnetIds";
476
490
  const _sO = "spotOptions";
491
+ const _sR = "slurmRest";
477
492
  const _sS = "sharedSecret";
478
493
  const _sV = "secretVersion";
479
494
  const _sc = "scheduler";
@@ -526,16 +541,16 @@ var ClusterSlurmConfiguration = [
526
541
  n0,
527
542
  _CSC,
528
543
  0,
529
- [_sDITIS, _sCS, _aK, _ac],
530
- [1, () => SlurmCustomSettings, () => SlurmAuthKey, () => Accounting],
544
+ [_sDITIS, _sCS, _aK, _jA, _ac, _sR],
545
+ [1, () => SlurmCustomSettings, () => SlurmAuthKey, () => JwtAuth, () => Accounting, () => SlurmRest],
531
546
  ];
532
547
  var ClusterSlurmConfigurationRequest = [
533
548
  3,
534
549
  n0,
535
550
  _CSCR,
536
551
  0,
537
- [_sDITIS, _sCS, _ac],
538
- [1, () => SlurmCustomSettings, () => AccountingRequest],
552
+ [_sDITIS, _sCS, _ac, _sR],
553
+ [1, () => SlurmCustomSettings, () => AccountingRequest, () => SlurmRestRequest],
539
554
  ];
540
555
  var ClusterSummary = [3, n0, _CS, 0, [_n, _i, _a, _cA, _mA, _s], [0, 0, 0, 5, 5, 0]];
541
556
  var ComputeNodeGroup = [
@@ -684,6 +699,8 @@ var InternalServerException = [
684
699
  [0],
685
700
  ];
686
701
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
702
+ var JwtAuth = [3, n0, _JA, 0, [_jK], [() => JwtKey]];
703
+ var JwtKey = [3, n0, _JK, 0, [_sA, _sV], [0, 0]];
687
704
  var ListClustersRequest = [
688
705
  3,
689
706
  n0,
@@ -785,8 +802,11 @@ var ServiceQuotaExceededException = [
785
802
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
786
803
  var SlurmAuthKey = [3, n0, _SAK, 0, [_sA, _sV], [0, 0]];
787
804
  var SlurmCustomSetting = [3, n0, _SCS, 0, [_pN, _pV], [0, 0]];
805
+ var SlurmRest = [3, n0, _SRl, 0, [_mo], [0]];
806
+ var SlurmRestRequest = [3, n0, _SRR, 0, [_mo], [0]];
788
807
  var SpotOptions = [3, n0, _SO, 0, [_aS], [0]];
789
808
  var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, 128 | 0]];
809
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
790
810
  var ThrottlingException = [
791
811
  -3,
792
812
  n0,
@@ -808,6 +828,7 @@ var ThrottlingException = [
808
828
  ];
809
829
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
810
830
  var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [[0, 1], 64 | 0]];
831
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
811
832
  var UpdateAccountingRequest = [3, n0, _UAR, 0, [_dPTID, _mo], [1, 0]];
812
833
  var UpdateClusterRequest = [
813
834
  3,
@@ -823,8 +844,8 @@ var UpdateClusterSlurmConfigurationRequest = [
823
844
  n0,
824
845
  _UCSCR,
825
846
  0,
826
- [_sDITIS, _sCS, _ac],
827
- [1, () => SlurmCustomSettings, () => UpdateAccountingRequest],
847
+ [_sDITIS, _sCS, _ac, _sR],
848
+ [1, () => SlurmCustomSettings, () => UpdateAccountingRequest, () => UpdateSlurmRestRequest],
828
849
  ];
829
850
  var UpdateComputeNodeGroupRequest = [
830
851
  3,
@@ -879,6 +900,7 @@ var UpdateQueueSlurmConfigurationRequest = [
879
900
  [_sCS],
880
901
  [() => SlurmCustomSettings],
881
902
  ];
903
+ var UpdateSlurmRestRequest = [3, n0, _USRR, 0, [_mo], [0]];
882
904
  var ValidationException = [
883
905
  -3,
884
906
  n0,
@@ -892,7 +914,6 @@ var ValidationException = [
892
914
  ];
893
915
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
894
916
  var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
895
- var __Unit = "unit";
896
917
  var PCSServiceException = [-3, _sm, "PCSServiceException", 0, [], []];
897
918
  schema.TypeRegistry.for(_sm).registerError(PCSServiceException, PCSServiceException$1);
898
919
  var ClusterList = [1, n0, _CL, 0, () => ClusterSummary];
@@ -980,8 +1001,15 @@ var RegisterComputeNodeGroupInstance = [
980
1001
  () => RegisterComputeNodeGroupInstanceRequest,
981
1002
  () => RegisterComputeNodeGroupInstanceResponse,
982
1003
  ];
983
- var TagResource = [9, n0, _TR, 2, () => TagResourceRequest, () => __Unit];
984
- var UntagResource = [9, n0, _UR, 2, () => UntagResourceRequest, () => __Unit];
1004
+ var TagResource = [9, n0, _TR, 2, () => TagResourceRequest, () => TagResourceResponse];
1005
+ var UntagResource = [
1006
+ 9,
1007
+ n0,
1008
+ _UR,
1009
+ 2,
1010
+ () => UntagResourceRequest,
1011
+ () => UntagResourceResponse,
1012
+ ];
985
1013
  var UpdateCluster = [
986
1014
  9,
987
1015
  n0,
@@ -1298,6 +1326,7 @@ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1298
1326
  exports.SchedulerType = SchedulerType;
1299
1327
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
1300
1328
  exports.Size = Size;
1329
+ exports.SlurmRestMode = SlurmRestMode;
1301
1330
  exports.SpotAllocationStrategy = SpotAllocationStrategy;
1302
1331
  exports.TagResourceCommand = TagResourceCommand;
1303
1332
  exports.ThrottlingException = ThrottlingException$1;
@@ -151,9 +151,14 @@ export const Size = {
151
151
  MEDIUM: "MEDIUM",
152
152
  SMALL: "SMALL",
153
153
  };
154
+ export const SlurmRestMode = {
155
+ NONE: "NONE",
156
+ STANDARD: "STANDARD",
157
+ };
154
158
  export const EndpointType = {
155
159
  SLURMCTLD: "SLURMCTLD",
156
160
  SLURMDBD: "SLURMDBD",
161
+ SLURMRESTD: "SLURMRESTD",
157
162
  };
158
163
  export const ClusterStatus = {
159
164
  ACTIVE: "ACTIVE",
@@ -49,6 +49,8 @@ const _GQRe = "GetQueueResponse";
49
49
  const _IC = "InstanceConfig";
50
50
  const _IL = "InstanceList";
51
51
  const _ISE = "InternalServerException";
52
+ const _JA = "JwtAuth";
53
+ const _JK = "JwtKey";
52
54
  const _LC = "ListClusters";
53
55
  const _LCNG = "ListComputeNodeGroups";
54
56
  const _LCNGR = "ListComputeNodeGroupsRequest";
@@ -82,10 +84,13 @@ const _SCSl = "SlurmCustomSettings";
82
84
  const _SO = "SpotOptions";
83
85
  const _SQEE = "ServiceQuotaExceededException";
84
86
  const _SR = "SchedulerRequest";
87
+ const _SRR = "SlurmRestRequest";
88
+ const _SRl = "SlurmRest";
85
89
  const _SS = "SharedSecret";
86
90
  const _TE = "ThrottlingException";
87
91
  const _TR = "TagResource";
88
92
  const _TRR = "TagResourceRequest";
93
+ const _TRRa = "TagResourceResponse";
89
94
  const _UAR = "UpdateAccountingRequest";
90
95
  const _UC = "UpdateCluster";
91
96
  const _UCNG = "UpdateComputeNodeGroup";
@@ -101,6 +106,8 @@ const _UQRp = "UpdateQueueResponse";
101
106
  const _UQSCR = "UpdateQueueSlurmConfigurationRequest";
102
107
  const _UR = "UntagResource";
103
108
  const _URR = "UntagResourceRequest";
109
+ const _URRn = "UntagResourceResponse";
110
+ const _USRR = "UpdateSlurmRestRequest";
104
111
  const _VE = "ValidationException";
105
112
  const _VEF = "ValidationExceptionField";
106
113
  const _VEFL = "ValidationExceptionFieldList";
@@ -139,6 +146,8 @@ const _iA = "ipv6Address";
139
146
  const _iC = "instanceConfigs";
140
147
  const _iIPA = "iamInstanceProfileArn";
141
148
  const _iT = "instanceType";
149
+ const _jA = "jwtAuth";
150
+ const _jK = "jwtKey";
142
151
  const _m = "message";
143
152
  const _mA = "modifiedAt";
144
153
  const _mIC = "minInstanceCount";
@@ -176,6 +185,7 @@ const _sDITIS = "scaleDownIdleTimeInSeconds";
176
185
  const _sGI = "securityGroupIds";
177
186
  const _sI = "subnetIds";
178
187
  const _sO = "spotOptions";
188
+ const _sR = "slurmRest";
179
189
  const _sS = "sharedSecret";
180
190
  const _sV = "secretVersion";
181
191
  const _sc = "scheduler";
@@ -231,16 +241,16 @@ export var ClusterSlurmConfiguration = [
231
241
  n0,
232
242
  _CSC,
233
243
  0,
234
- [_sDITIS, _sCS, _aK, _ac],
235
- [1, () => SlurmCustomSettings, () => SlurmAuthKey, () => Accounting],
244
+ [_sDITIS, _sCS, _aK, _jA, _ac, _sR],
245
+ [1, () => SlurmCustomSettings, () => SlurmAuthKey, () => JwtAuth, () => Accounting, () => SlurmRest],
236
246
  ];
237
247
  export var ClusterSlurmConfigurationRequest = [
238
248
  3,
239
249
  n0,
240
250
  _CSCR,
241
251
  0,
242
- [_sDITIS, _sCS, _ac],
243
- [1, () => SlurmCustomSettings, () => AccountingRequest],
252
+ [_sDITIS, _sCS, _ac, _sR],
253
+ [1, () => SlurmCustomSettings, () => AccountingRequest, () => SlurmRestRequest],
244
254
  ];
245
255
  export var ClusterSummary = [3, n0, _CS, 0, [_n, _i, _a, _cA, _mA, _s], [0, 0, 0, 5, 5, 0]];
246
256
  export var ComputeNodeGroup = [
@@ -389,6 +399,8 @@ export var InternalServerException = [
389
399
  [0],
390
400
  ];
391
401
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
402
+ export var JwtAuth = [3, n0, _JA, 0, [_jK], [() => JwtKey]];
403
+ export var JwtKey = [3, n0, _JK, 0, [_sA, _sV], [0, 0]];
392
404
  export var ListClustersRequest = [
393
405
  3,
394
406
  n0,
@@ -490,8 +502,11 @@ export var ServiceQuotaExceededException = [
490
502
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
491
503
  export var SlurmAuthKey = [3, n0, _SAK, 0, [_sA, _sV], [0, 0]];
492
504
  export var SlurmCustomSetting = [3, n0, _SCS, 0, [_pN, _pV], [0, 0]];
505
+ export var SlurmRest = [3, n0, _SRl, 0, [_mo], [0]];
506
+ export var SlurmRestRequest = [3, n0, _SRR, 0, [_mo], [0]];
493
507
  export var SpotOptions = [3, n0, _SO, 0, [_aS], [0]];
494
508
  export var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _t], [0, 128 | 0]];
509
+ export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
495
510
  export var ThrottlingException = [
496
511
  -3,
497
512
  n0,
@@ -513,6 +528,7 @@ export var ThrottlingException = [
513
528
  ];
514
529
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
515
530
  export var UntagResourceRequest = [3, n0, _URR, 0, [_rA, _tK], [[0, 1], 64 | 0]];
531
+ export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
516
532
  export var UpdateAccountingRequest = [3, n0, _UAR, 0, [_dPTID, _mo], [1, 0]];
517
533
  export var UpdateClusterRequest = [
518
534
  3,
@@ -528,8 +544,8 @@ export var UpdateClusterSlurmConfigurationRequest = [
528
544
  n0,
529
545
  _UCSCR,
530
546
  0,
531
- [_sDITIS, _sCS, _ac],
532
- [1, () => SlurmCustomSettings, () => UpdateAccountingRequest],
547
+ [_sDITIS, _sCS, _ac, _sR],
548
+ [1, () => SlurmCustomSettings, () => UpdateAccountingRequest, () => UpdateSlurmRestRequest],
533
549
  ];
534
550
  export var UpdateComputeNodeGroupRequest = [
535
551
  3,
@@ -584,6 +600,7 @@ export var UpdateQueueSlurmConfigurationRequest = [
584
600
  [_sCS],
585
601
  [() => SlurmCustomSettings],
586
602
  ];
603
+ export var UpdateSlurmRestRequest = [3, n0, _USRR, 0, [_mo], [0]];
587
604
  export var ValidationException = [
588
605
  -3,
589
606
  n0,
@@ -691,8 +708,15 @@ export var RegisterComputeNodeGroupInstance = [
691
708
  () => RegisterComputeNodeGroupInstanceRequest,
692
709
  () => RegisterComputeNodeGroupInstanceResponse,
693
710
  ];
694
- export var TagResource = [9, n0, _TR, 2, () => TagResourceRequest, () => __Unit];
695
- export var UntagResource = [9, n0, _UR, 2, () => UntagResourceRequest, () => __Unit];
711
+ export var TagResource = [9, n0, _TR, 2, () => TagResourceRequest, () => TagResourceResponse];
712
+ export var UntagResource = [
713
+ 9,
714
+ n0,
715
+ _UR,
716
+ 2,
717
+ () => UntagResourceRequest,
718
+ () => UntagResourceResponse,
719
+ ];
696
720
  export var UpdateCluster = [
697
721
  9,
698
722
  n0,
@@ -64,6 +64,9 @@ declare const CreateClusterCommand_base: {
64
64
  * defaultPurgeTimeInDays: Number("int"),
65
65
  * mode: "STANDARD" || "NONE", // required
66
66
  * },
67
+ * slurmRest: { // SlurmRestRequest
68
+ * mode: "STANDARD" || "NONE", // required
69
+ * },
67
70
  * },
68
71
  * clientToken: "STRING_VALUE",
69
72
  * tags: { // RequestTagMap
@@ -97,10 +100,19 @@ declare const CreateClusterCommand_base: {
97
100
  * // secretArn: "STRING_VALUE", // required
98
101
  * // secretVersion: "STRING_VALUE", // required
99
102
  * // },
103
+ * // jwtAuth: { // JwtAuth
104
+ * // jwtKey: { // JwtKey
105
+ * // secretArn: "STRING_VALUE", // required
106
+ * // secretVersion: "STRING_VALUE", // required
107
+ * // },
108
+ * // },
100
109
  * // accounting: { // Accounting
101
110
  * // defaultPurgeTimeInDays: Number("int"),
102
111
  * // mode: "STANDARD" || "NONE", // required
103
112
  * // },
113
+ * // slurmRest: { // SlurmRest
114
+ * // mode: "STANDARD" || "NONE", // required
115
+ * // },
104
116
  * // },
105
117
  * // networking: { // Networking
106
118
  * // subnetIds: [ // SubnetIdList
@@ -113,7 +125,7 @@ declare const CreateClusterCommand_base: {
113
125
  * // },
114
126
  * // endpoints: [ // Endpoints
115
127
  * // { // Endpoint
116
- * // type: "SLURMCTLD" || "SLURMDBD", // required
128
+ * // type: "SLURMCTLD" || "SLURMDBD" || "SLURMRESTD", // required
117
129
  * // privateIpAddress: "STRING_VALUE", // required
118
130
  * // publicIpAddress: "STRING_VALUE",
119
131
  * // ipv6Address: "STRING_VALUE",
@@ -66,10 +66,19 @@ declare const GetClusterCommand_base: {
66
66
  * // secretArn: "STRING_VALUE", // required
67
67
  * // secretVersion: "STRING_VALUE", // required
68
68
  * // },
69
+ * // jwtAuth: { // JwtAuth
70
+ * // jwtKey: { // JwtKey
71
+ * // secretArn: "STRING_VALUE", // required
72
+ * // secretVersion: "STRING_VALUE", // required
73
+ * // },
74
+ * // },
69
75
  * // accounting: { // Accounting
70
76
  * // defaultPurgeTimeInDays: Number("int"),
71
77
  * // mode: "STANDARD" || "NONE", // required
72
78
  * // },
79
+ * // slurmRest: { // SlurmRest
80
+ * // mode: "STANDARD" || "NONE", // required
81
+ * // },
73
82
  * // },
74
83
  * // networking: { // Networking
75
84
  * // subnetIds: [ // SubnetIdList
@@ -82,7 +91,7 @@ declare const GetClusterCommand_base: {
82
91
  * // },
83
92
  * // endpoints: [ // Endpoints
84
93
  * // { // Endpoint
85
- * // type: "SLURMCTLD" || "SLURMDBD", // required
94
+ * // type: "SLURMCTLD" || "SLURMDBD" || "SLURMRESTD", // required
86
95
  * // privateIpAddress: "STRING_VALUE", // required
87
96
  * // publicIpAddress: "STRING_VALUE",
88
97
  * // ipv6Address: "STRING_VALUE",
@@ -47,7 +47,7 @@ declare const RegisterComputeNodeGroupInstanceCommand_base: {
47
47
  * // sharedSecret: "STRING_VALUE", // required
48
48
  * // endpoints: [ // Endpoints // required
49
49
  * // { // Endpoint
50
- * // type: "SLURMCTLD" || "SLURMDBD", // required
50
+ * // type: "SLURMCTLD" || "SLURMDBD" || "SLURMRESTD", // required
51
51
  * // privateIpAddress: "STRING_VALUE", // required
52
52
  * // publicIpAddress: "STRING_VALUE",
53
53
  * // ipv6Address: "STRING_VALUE",
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TagResourceRequest } from "../models/models_0";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
4
  import { PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PCSClient";
5
5
  /**
6
6
  * @public
@@ -19,7 +19,7 @@ export interface TagResourceCommandInput extends TagResourceRequest {
19
19
  *
20
20
  * The output of {@link TagResourceCommand}.
21
21
  */
22
- export interface TagResourceCommandOutput extends __MetadataBearer {
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const TagResourceCommand_base: {
25
25
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UntagResourceRequest } from "../models/models_0";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
4
  import { PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PCSClient";
5
5
  /**
6
6
  * @public
@@ -19,7 +19,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
19
19
  *
20
20
  * The output of {@link UntagResourceCommand}.
21
21
  */
22
- export interface UntagResourceCommandOutput extends __MetadataBearer {
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
23
  }
24
24
  declare const UntagResourceCommand_base: {
25
25
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
@@ -51,6 +51,9 @@ declare const UpdateClusterCommand_base: {
51
51
  * defaultPurgeTimeInDays: Number("int"),
52
52
  * mode: "STANDARD" || "NONE",
53
53
  * },
54
+ * slurmRest: { // UpdateSlurmRestRequest
55
+ * mode: "STANDARD" || "NONE",
56
+ * },
54
57
  * },
55
58
  * };
56
59
  * const command = new UpdateClusterCommand(input);
@@ -80,10 +83,19 @@ declare const UpdateClusterCommand_base: {
80
83
  * // secretArn: "STRING_VALUE", // required
81
84
  * // secretVersion: "STRING_VALUE", // required
82
85
  * // },
86
+ * // jwtAuth: { // JwtAuth
87
+ * // jwtKey: { // JwtKey
88
+ * // secretArn: "STRING_VALUE", // required
89
+ * // secretVersion: "STRING_VALUE", // required
90
+ * // },
91
+ * // },
83
92
  * // accounting: { // Accounting
84
93
  * // defaultPurgeTimeInDays: Number("int"),
85
94
  * // mode: "STANDARD" || "NONE", // required
86
95
  * // },
96
+ * // slurmRest: { // SlurmRest
97
+ * // mode: "STANDARD" || "NONE", // required
98
+ * // },
87
99
  * // },
88
100
  * // networking: { // Networking
89
101
  * // subnetIds: [ // SubnetIdList
@@ -96,7 +108,7 @@ declare const UpdateClusterCommand_base: {
96
108
  * // },
97
109
  * // endpoints: [ // Endpoints
98
110
  * // { // Endpoint
99
- * // type: "SLURMCTLD" || "SLURMDBD", // required
111
+ * // type: "SLURMCTLD" || "SLURMDBD" || "SLURMRESTD", // required
100
112
  * // privateIpAddress: "STRING_VALUE", // required
101
113
  * // publicIpAddress: "STRING_VALUE",
102
114
  * // ipv6Address: "STRING_VALUE",
@@ -836,6 +836,29 @@ export declare const Size: {
836
836
  * @public
837
837
  */
838
838
  export type Size = (typeof Size)[keyof typeof Size];
839
+ /**
840
+ * @public
841
+ * @enum
842
+ */
843
+ export declare const SlurmRestMode: {
844
+ readonly NONE: "NONE";
845
+ readonly STANDARD: "STANDARD";
846
+ };
847
+ /**
848
+ * @public
849
+ */
850
+ export type SlurmRestMode = (typeof SlurmRestMode)[keyof typeof SlurmRestMode];
851
+ /**
852
+ * <p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>
853
+ * @public
854
+ */
855
+ export interface SlurmRestRequest {
856
+ /**
857
+ * <p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>
858
+ * @public
859
+ */
860
+ mode: SlurmRestMode | undefined;
861
+ }
839
862
  /**
840
863
  * <p>Additional options related to the Slurm scheduler.</p>
841
864
  * @public
@@ -856,6 +879,11 @@ export interface ClusterSlurmConfigurationRequest {
856
879
  * @public
857
880
  */
858
881
  accounting?: AccountingRequest | undefined;
882
+ /**
883
+ * <p>The Slurm REST API configuration for the cluster.</p>
884
+ * @public
885
+ */
886
+ slurmRest?: SlurmRestRequest | undefined;
859
887
  }
860
888
  /**
861
889
  * @public
@@ -904,6 +932,7 @@ export interface CreateClusterRequest {
904
932
  export declare const EndpointType: {
905
933
  readonly SLURMCTLD: "SLURMCTLD";
906
934
  readonly SLURMDBD: "SLURMDBD";
935
+ readonly SLURMRESTD: "SLURMRESTD";
907
936
  };
908
937
  /**
909
938
  * @public
@@ -993,6 +1022,44 @@ export interface SlurmAuthKey {
993
1022
  */
994
1023
  secretVersion: string | undefined;
995
1024
  }
1025
+ /**
1026
+ * <p>The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.</p>
1027
+ * @public
1028
+ */
1029
+ export interface JwtKey {
1030
+ /**
1031
+ * <p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.</p>
1032
+ * @public
1033
+ */
1034
+ secretArn: string | undefined;
1035
+ /**
1036
+ * <p>The version of the AWS Secrets Manager secret containing the JWT key.</p>
1037
+ * @public
1038
+ */
1039
+ secretVersion: string | undefined;
1040
+ }
1041
+ /**
1042
+ * <p>The JWT authentication configuration for Slurm REST API access.</p>
1043
+ * @public
1044
+ */
1045
+ export interface JwtAuth {
1046
+ /**
1047
+ * <p>The JWT key for Slurm REST API authentication.</p>
1048
+ * @public
1049
+ */
1050
+ jwtKey?: JwtKey | undefined;
1051
+ }
1052
+ /**
1053
+ * <p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>
1054
+ * @public
1055
+ */
1056
+ export interface SlurmRest {
1057
+ /**
1058
+ * <p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>
1059
+ * @public
1060
+ */
1061
+ mode: SlurmRestMode | undefined;
1062
+ }
996
1063
  /**
997
1064
  * <p>Additional options related to the Slurm scheduler.</p>
998
1065
  * @public
@@ -1013,11 +1080,21 @@ export interface ClusterSlurmConfiguration {
1013
1080
  * @public
1014
1081
  */
1015
1082
  authKey?: SlurmAuthKey | undefined;
1083
+ /**
1084
+ * <p>The JWT authentication configuration for Slurm REST API access.</p>
1085
+ * @public
1086
+ */
1087
+ jwtAuth?: JwtAuth | undefined;
1016
1088
  /**
1017
1089
  * <p>The accounting configuration includes configurable settings for Slurm accounting.</p>
1018
1090
  * @public
1019
1091
  */
1020
1092
  accounting?: Accounting | undefined;
1093
+ /**
1094
+ * <p>The Slurm REST API configuration for the cluster.</p>
1095
+ * @public
1096
+ */
1097
+ slurmRest?: SlurmRest | undefined;
1021
1098
  }
1022
1099
  /**
1023
1100
  * @public
@@ -1601,6 +1678,17 @@ export interface UpdateAccountingRequest {
1601
1678
  */
1602
1679
  mode?: AccountingMode | undefined;
1603
1680
  }
1681
+ /**
1682
+ * <p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.</p>
1683
+ * @public
1684
+ */
1685
+ export interface UpdateSlurmRestRequest {
1686
+ /**
1687
+ * <p>The default value for <code>mode</code> is <code>STANDARD</code>. A value of <code>STANDARD</code> means the Slurm REST API is enabled.</p>
1688
+ * @public
1689
+ */
1690
+ mode?: SlurmRestMode | undefined;
1691
+ }
1604
1692
  /**
1605
1693
  * <p>Additional options related to the Slurm scheduler.</p>
1606
1694
  * @public
@@ -1621,6 +1709,11 @@ export interface UpdateClusterSlurmConfigurationRequest {
1621
1709
  * @public
1622
1710
  */
1623
1711
  accounting?: UpdateAccountingRequest | undefined;
1712
+ /**
1713
+ * <p>The Slurm REST API configuration for the cluster.</p>
1714
+ * @public
1715
+ */
1716
+ slurmRest?: UpdateSlurmRestRequest | undefined;
1624
1717
  }
1625
1718
  /**
1626
1719
  * @public
@@ -1687,6 +1780,11 @@ export interface TagResourceRequest {
1687
1780
  */
1688
1781
  tags: Record<string, string> | undefined;
1689
1782
  }
1783
+ /**
1784
+ * @public
1785
+ */
1786
+ export interface TagResourceResponse {
1787
+ }
1690
1788
  /**
1691
1789
  * @public
1692
1790
  */
@@ -1702,3 +1800,8 @@ export interface UntagResourceRequest {
1702
1800
  */
1703
1801
  tagKeys: string[] | undefined;
1704
1802
  }
1803
+ /**
1804
+ * @public
1805
+ */
1806
+ export interface UntagResourceResponse {
1807
+ }
@@ -36,6 +36,8 @@ export declare var GetQueueRequest: StaticStructureSchema;
36
36
  export declare var GetQueueResponse: StaticStructureSchema;
37
37
  export declare var InstanceConfig: StaticStructureSchema;
38
38
  export declare var InternalServerException: StaticErrorSchema;
39
+ export declare var JwtAuth: StaticStructureSchema;
40
+ export declare var JwtKey: StaticStructureSchema;
39
41
  export declare var ListClustersRequest: StaticStructureSchema;
40
42
  export declare var ListClustersResponse: StaticStructureSchema;
41
43
  export declare var ListComputeNodeGroupsRequest: StaticStructureSchema;
@@ -60,10 +62,14 @@ export declare var SchedulerRequest: StaticStructureSchema;
60
62
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
61
63
  export declare var SlurmAuthKey: StaticStructureSchema;
62
64
  export declare var SlurmCustomSetting: StaticStructureSchema;
65
+ export declare var SlurmRest: StaticStructureSchema;
66
+ export declare var SlurmRestRequest: StaticStructureSchema;
63
67
  export declare var SpotOptions: StaticStructureSchema;
64
68
  export declare var TagResourceRequest: StaticStructureSchema;
69
+ export declare var TagResourceResponse: StaticStructureSchema;
65
70
  export declare var ThrottlingException: StaticErrorSchema;
66
71
  export declare var UntagResourceRequest: StaticStructureSchema;
72
+ export declare var UntagResourceResponse: StaticStructureSchema;
67
73
  export declare var UpdateAccountingRequest: StaticStructureSchema;
68
74
  export declare var UpdateClusterRequest: StaticStructureSchema;
69
75
  export declare var UpdateClusterResponse: StaticStructureSchema;
@@ -74,6 +80,7 @@ export declare var UpdateComputeNodeGroupSlurmConfigurationRequest: StaticStruct
74
80
  export declare var UpdateQueueRequest: StaticStructureSchema;
75
81
  export declare var UpdateQueueResponse: StaticStructureSchema;
76
82
  export declare var UpdateQueueSlurmConfigurationRequest: StaticStructureSchema;
83
+ export declare var UpdateSlurmRestRequest: StaticStructureSchema;
77
84
  export declare var ValidationException: StaticErrorSchema;
78
85
  export declare var ValidationExceptionField: StaticStructureSchema;
79
86
  export declare var __Unit: "unit";
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TagResourceRequest } from "../models/models_0";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
4
  import {
5
5
  PCSClientResolvedConfig,
6
6
  ServiceInputTypes,
@@ -9,7 +9,9 @@ import {
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface TagResourceCommandInput extends TagResourceRequest {}
12
- export interface TagResourceCommandOutput extends __MetadataBearer {}
12
+ export interface TagResourceCommandOutput
13
+ extends TagResourceResponse,
14
+ __MetadataBearer {}
13
15
  declare const TagResourceCommand_base: {
14
16
  new (
15
17
  input: TagResourceCommandInput
@@ -1,6 +1,9 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UntagResourceRequest } from "../models/models_0";
3
+ import {
4
+ UntagResourceRequest,
5
+ UntagResourceResponse,
6
+ } from "../models/models_0";
4
7
  import {
5
8
  PCSClientResolvedConfig,
6
9
  ServiceInputTypes,
@@ -9,7 +12,9 @@ import {
9
12
  export { __MetadataBearer };
10
13
  export { $Command };
11
14
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
12
- export interface UntagResourceCommandOutput extends __MetadataBearer {}
15
+ export interface UntagResourceCommandOutput
16
+ extends UntagResourceResponse,
17
+ __MetadataBearer {}
13
18
  declare const UntagResourceCommand_base: {
14
19
  new (
15
20
  input: UntagResourceCommandInput
@@ -259,10 +259,19 @@ export declare const Size: {
259
259
  readonly SMALL: "SMALL";
260
260
  };
261
261
  export type Size = (typeof Size)[keyof typeof Size];
262
+ export declare const SlurmRestMode: {
263
+ readonly NONE: "NONE";
264
+ readonly STANDARD: "STANDARD";
265
+ };
266
+ export type SlurmRestMode = (typeof SlurmRestMode)[keyof typeof SlurmRestMode];
267
+ export interface SlurmRestRequest {
268
+ mode: SlurmRestMode | undefined;
269
+ }
262
270
  export interface ClusterSlurmConfigurationRequest {
263
271
  scaleDownIdleTimeInSeconds?: number | undefined;
264
272
  slurmCustomSettings?: SlurmCustomSetting[] | undefined;
265
273
  accounting?: AccountingRequest | undefined;
274
+ slurmRest?: SlurmRestRequest | undefined;
266
275
  }
267
276
  export interface CreateClusterRequest {
268
277
  clusterName: string | undefined;
@@ -276,6 +285,7 @@ export interface CreateClusterRequest {
276
285
  export declare const EndpointType: {
277
286
  readonly SLURMCTLD: "SLURMCTLD";
278
287
  readonly SLURMDBD: "SLURMDBD";
288
+ readonly SLURMRESTD: "SLURMRESTD";
279
289
  };
280
290
  export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
281
291
  export interface Endpoint {
@@ -298,11 +308,23 @@ export interface SlurmAuthKey {
298
308
  secretArn: string | undefined;
299
309
  secretVersion: string | undefined;
300
310
  }
311
+ export interface JwtKey {
312
+ secretArn: string | undefined;
313
+ secretVersion: string | undefined;
314
+ }
315
+ export interface JwtAuth {
316
+ jwtKey?: JwtKey | undefined;
317
+ }
318
+ export interface SlurmRest {
319
+ mode: SlurmRestMode | undefined;
320
+ }
301
321
  export interface ClusterSlurmConfiguration {
302
322
  scaleDownIdleTimeInSeconds?: number | undefined;
303
323
  slurmCustomSettings?: SlurmCustomSetting[] | undefined;
304
324
  authKey?: SlurmAuthKey | undefined;
325
+ jwtAuth?: JwtAuth | undefined;
305
326
  accounting?: Accounting | undefined;
327
+ slurmRest?: SlurmRest | undefined;
306
328
  }
307
329
  export declare const ClusterStatus: {
308
330
  readonly ACTIVE: "ACTIVE";
@@ -461,10 +483,14 @@ export interface UpdateAccountingRequest {
461
483
  defaultPurgeTimeInDays?: number | undefined;
462
484
  mode?: AccountingMode | undefined;
463
485
  }
486
+ export interface UpdateSlurmRestRequest {
487
+ mode?: SlurmRestMode | undefined;
488
+ }
464
489
  export interface UpdateClusterSlurmConfigurationRequest {
465
490
  scaleDownIdleTimeInSeconds?: number | undefined;
466
491
  slurmCustomSettings?: SlurmCustomSetting[] | undefined;
467
492
  accounting?: UpdateAccountingRequest | undefined;
493
+ slurmRest?: UpdateSlurmRestRequest | undefined;
468
494
  }
469
495
  export interface UpdateClusterRequest {
470
496
  clusterIdentifier: string | undefined;
@@ -484,7 +510,9 @@ export interface TagResourceRequest {
484
510
  resourceArn: string | undefined;
485
511
  tags: Record<string, string> | undefined;
486
512
  }
513
+ export interface TagResourceResponse {}
487
514
  export interface UntagResourceRequest {
488
515
  resourceArn: string | undefined;
489
516
  tagKeys: string[] | undefined;
490
517
  }
518
+ export interface UntagResourceResponse {}
@@ -42,6 +42,8 @@ export declare var GetQueueRequest: StaticStructureSchema;
42
42
  export declare var GetQueueResponse: StaticStructureSchema;
43
43
  export declare var InstanceConfig: StaticStructureSchema;
44
44
  export declare var InternalServerException: StaticErrorSchema;
45
+ export declare var JwtAuth: StaticStructureSchema;
46
+ export declare var JwtKey: StaticStructureSchema;
45
47
  export declare var ListClustersRequest: StaticStructureSchema;
46
48
  export declare var ListClustersResponse: StaticStructureSchema;
47
49
  export declare var ListComputeNodeGroupsRequest: StaticStructureSchema;
@@ -66,10 +68,14 @@ export declare var SchedulerRequest: StaticStructureSchema;
66
68
  export declare var ServiceQuotaExceededException: StaticErrorSchema;
67
69
  export declare var SlurmAuthKey: StaticStructureSchema;
68
70
  export declare var SlurmCustomSetting: StaticStructureSchema;
71
+ export declare var SlurmRest: StaticStructureSchema;
72
+ export declare var SlurmRestRequest: StaticStructureSchema;
69
73
  export declare var SpotOptions: StaticStructureSchema;
70
74
  export declare var TagResourceRequest: StaticStructureSchema;
75
+ export declare var TagResourceResponse: StaticStructureSchema;
71
76
  export declare var ThrottlingException: StaticErrorSchema;
72
77
  export declare var UntagResourceRequest: StaticStructureSchema;
78
+ export declare var UntagResourceResponse: StaticStructureSchema;
73
79
  export declare var UpdateAccountingRequest: StaticStructureSchema;
74
80
  export declare var UpdateClusterRequest: StaticStructureSchema;
75
81
  export declare var UpdateClusterResponse: StaticStructureSchema;
@@ -80,6 +86,7 @@ export declare var UpdateComputeNodeGroupSlurmConfigurationRequest: StaticStruct
80
86
  export declare var UpdateQueueRequest: StaticStructureSchema;
81
87
  export declare var UpdateQueueResponse: StaticStructureSchema;
82
88
  export declare var UpdateQueueSlurmConfigurationRequest: StaticStructureSchema;
89
+ export declare var UpdateSlurmRestRequest: StaticStructureSchema;
83
90
  export declare var ValidationException: StaticErrorSchema;
84
91
  export declare var ValidationExceptionField: StaticStructureSchema;
85
92
  export declare var __Unit: "unit";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pcs",
3
3
  "description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
4
- "version": "3.932.0",
4
+ "version": "3.934.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-pcs",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.932.0",
23
+ "@aws-sdk/core": "3.934.0",
24
+ "@aws-sdk/credential-provider-node": "3.934.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
+ "@aws-sdk/middleware-user-agent": "3.934.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.934.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",