Skip to content

Commit 60db4be

Browse files
author
AWS
committed
AWS Parallel Computing Service Update: Added support for the managed Slurm REST API endpoint
1 parent a9602cf commit 60db4be

File tree

2 files changed

+104
-1
lines changed

2 files changed

+104
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Parallel Computing Service",
4+
"contributor": "",
5+
"description": "Added support for the managed Slurm REST API endpoint"
6+
}

services/pcs/src/main/resources/codegen-resources/service-2.json

Lines changed: 98 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@
280280
"requestUri":"/"
281281
},
282282
"input":{"shape":"TagResourceRequest"},
283+
"output":{"shape":"TagResourceResponse"},
283284
"errors":[
284285
{"shape":"ServiceQuotaExceededException"},
285286
{"shape":"ResourceNotFoundException"}
@@ -294,6 +295,7 @@
294295
"requestUri":"/"
295296
},
296297
"input":{"shape":"UntagResourceRequest"},
298+
"output":{"shape":"UntagResourceResponse"},
297299
"errors":[
298300
{"shape":"ResourceNotFoundException"}
299301
],
@@ -523,9 +525,17 @@
523525
"shape":"SlurmAuthKey",
524526
"documentation":"<p>The shared Slurm key for authentication, also known as the <b>cluster secret</b>.</p>"
525527
},
528+
"jwtAuth":{
529+
"shape":"JwtAuth",
530+
"documentation":"<p>The JWT authentication configuration for Slurm REST API access.</p>"
531+
},
526532
"accounting":{
527533
"shape":"Accounting",
528534
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"
535+
},
536+
"slurmRest":{
537+
"shape":"SlurmRest",
538+
"documentation":"<p>The Slurm REST API configuration for the cluster.</p>"
529539
}
530540
},
531541
"documentation":"<p>Additional options related to the Slurm scheduler.</p>"
@@ -544,18 +554,24 @@
544554
"accounting":{
545555
"shape":"AccountingRequest",
546556
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"
557+
},
558+
"slurmRest":{
559+
"shape":"SlurmRestRequest",
560+
"documentation":"<p>The Slurm REST API configuration for the cluster.</p>"
547561
}
548562
},
549563
"documentation":"<p>Additional options related to the Slurm scheduler.</p>"
550564
},
551565
"ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger":{
552566
"type":"integer",
553567
"box":true,
568+
"max":10000000,
554569
"min":1
555570
},
556571
"ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger":{
557572
"type":"integer",
558573
"box":true,
574+
"max":10000000,
559575
"min":1
560576
},
561577
"ClusterStatus":{
@@ -1093,7 +1109,8 @@
10931109
"type":"string",
10941110
"enum":[
10951111
"SLURMCTLD",
1096-
"SLURMDBD"
1112+
"SLURMDBD",
1113+
"SLURMRESTD"
10971114
]
10981115
},
10991116
"Endpoints":{
@@ -1216,6 +1233,34 @@
12161233
"fault":true,
12171234
"retryable":{"throttling":false}
12181235
},
1236+
"JwtAuth":{
1237+
"type":"structure",
1238+
"members":{
1239+
"jwtKey":{
1240+
"shape":"JwtKey",
1241+
"documentation":"<p>The JWT key for Slurm REST API authentication.</p>"
1242+
}
1243+
},
1244+
"documentation":"<p>The JWT authentication configuration for Slurm REST API access.</p>"
1245+
},
1246+
"JwtKey":{
1247+
"type":"structure",
1248+
"required":[
1249+
"secretArn",
1250+
"secretVersion"
1251+
],
1252+
"members":{
1253+
"secretArn":{
1254+
"shape":"String",
1255+
"documentation":"<p>The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.</p>"
1256+
},
1257+
"secretVersion":{
1258+
"shape":"String",
1259+
"documentation":"<p>The version of the AWS Secrets Manager secret containing the JWT key.</p>"
1260+
}
1261+
},
1262+
"documentation":"<p>The JWT key stored in AWS Secrets Manager for Slurm REST API authentication.</p>"
1263+
},
12191264
"ListClustersRequest":{
12201265
"type":"structure",
12211266
"members":{
@@ -1791,6 +1836,35 @@
17911836
"type":"list",
17921837
"member":{"shape":"SlurmCustomSetting"}
17931838
},
1839+
"SlurmRest":{
1840+
"type":"structure",
1841+
"required":["mode"],
1842+
"members":{
1843+
"mode":{
1844+
"shape":"SlurmRestMode",
1845+
"documentation":"<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>"
1846+
}
1847+
},
1848+
"documentation":"<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>"
1849+
},
1850+
"SlurmRestMode":{
1851+
"type":"string",
1852+
"enum":[
1853+
"STANDARD",
1854+
"NONE"
1855+
]
1856+
},
1857+
"SlurmRestRequest":{
1858+
"type":"structure",
1859+
"required":["mode"],
1860+
"members":{
1861+
"mode":{
1862+
"shape":"SlurmRestMode",
1863+
"documentation":"<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>"
1864+
}
1865+
},
1866+
"documentation":"<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>"
1867+
},
17941868
"SpotAllocationStrategy":{
17951869
"type":"string",
17961870
"enum":[
@@ -1855,6 +1929,10 @@
18551929
}
18561930
}
18571931
},
1932+
"TagResourceResponse":{
1933+
"type":"structure",
1934+
"members":{}
1935+
},
18581936
"TagValue":{
18591937
"type":"string",
18601938
"max":256,
@@ -1891,6 +1969,10 @@
18911969
}
18921970
}
18931971
},
1972+
"UntagResourceResponse":{
1973+
"type":"structure",
1974+
"members":{}
1975+
},
18941976
"UpdateAccountingRequest":{
18951977
"type":"structure",
18961978
"members":{
@@ -1950,13 +2032,18 @@
19502032
"accounting":{
19512033
"shape":"UpdateAccountingRequest",
19522034
"documentation":"<p>The accounting configuration includes configurable settings for Slurm accounting.</p>"
2035+
},
2036+
"slurmRest":{
2037+
"shape":"UpdateSlurmRestRequest",
2038+
"documentation":"<p>The Slurm REST API configuration for the cluster.</p>"
19532039
}
19542040
},
19552041
"documentation":"<p>Additional options related to the Slurm scheduler.</p>"
19562042
},
19572043
"UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger":{
19582044
"type":"integer",
19592045
"box":true,
2046+
"max":10000000,
19602047
"min":1
19612048
},
19622049
"UpdateComputeNodeGroupRequest":{
@@ -2069,6 +2156,16 @@
20692156
},
20702157
"documentation":"<p>Additional options related to the Slurm scheduler.</p>"
20712158
},
2159+
"UpdateSlurmRestRequest":{
2160+
"type":"structure",
2161+
"members":{
2162+
"mode":{
2163+
"shape":"SlurmRestMode",
2164+
"documentation":"<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>"
2165+
}
2166+
},
2167+
"documentation":"<p>The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.</p>"
2168+
},
20722169
"ValidationException":{
20732170
"type":"structure",
20742171
"required":[

0 commit comments

Comments
 (0)