Skip to content

Commit 55df60d

Browse files
Introduces SUSPENDING and SUSPENDED states for clusters, compute node groups, and queues.
1 parent 7ec2fe1 commit 55df60d

File tree

11 files changed

+138
-48
lines changed

11 files changed

+138
-48
lines changed

generator/ServiceModels/pcs/pcs-2023-02-10.api.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,9 @@
454454
"DELETING",
455455
"CREATE_FAILED",
456456
"DELETE_FAILED",
457-
"UPDATE_FAILED"
457+
"UPDATE_FAILED",
458+
"SUSPENDING",
459+
"SUSPENDED"
458460
]
459461
},
460462
"ClusterSummary":{
@@ -558,7 +560,9 @@
558560
"CREATE_FAILED",
559561
"DELETE_FAILED",
560562
"UPDATE_FAILED",
561-
"DELETED"
563+
"DELETED",
564+
"SUSPENDING",
565+
"SUSPENDED"
562566
]
563567
},
564568
"ComputeNodeGroupSummary":{
@@ -996,7 +1000,9 @@
9961000
"DELETING",
9971001
"CREATE_FAILED",
9981002
"DELETE_FAILED",
999-
"UPDATE_FAILED"
1003+
"UPDATE_FAILED",
1004+
"SUSPENDING",
1005+
"SUSPENDED"
10001006
]
10011007
},
10021008
"QueueSummary":{

generator/ServiceModels/pcs/pcs-2023-02-10.docs.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@
144144
"ClusterStatus": {
145145
"base": null,
146146
"refs": {
147-
"Cluster$status": "<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note>",
148-
"ClusterSummary$status": "<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note>"
147+
"Cluster$status": "<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>",
148+
"ClusterSummary$status": "<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
149149
}
150150
},
151151
"ClusterSummary": {
@@ -213,8 +213,8 @@
213213
"ComputeNodeGroupStatus": {
214214
"base": null,
215215
"refs": {
216-
"ComputeNodeGroup$status": "<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note>",
217-
"ComputeNodeGroupSummary$status": "<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note>"
216+
"ComputeNodeGroup$status": "<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>",
217+
"ComputeNodeGroupSummary$status": "<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
218218
}
219219
},
220220
"ComputeNodeGroupSummary": {
@@ -492,8 +492,8 @@
492492
"QueueStatus": {
493493
"base": null,
494494
"refs": {
495-
"Queue$status": "<p>The provisioning status of the queue.</p> <note> <p>The provisioning status doesn't indicate the overall health of the queue.</p> </note>",
496-
"QueueSummary$status": "<p>The provisioning status of the queue.</p> <note> <p> The provisioning status doesn't indicate the overall health of the queue.</p> </note>"
495+
"Queue$status": "<p>The provisioning status of the queue.</p> <note> <p>The provisioning status doesn't indicate the overall health of the queue.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>",
496+
"QueueSummary$status": "<p>The provisioning status of the queue.</p> <note> <p> The provisioning status doesn't indicate the overall health of the queue.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
497497
}
498498
},
499499
"QueueSummary": {

generator/ServiceModels/pcs/pcs-2023-02-10.normal.json

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
},
438438
"status":{
439439
"shape":"ClusterStatus",
440-
"documentation":"<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note>"
440+
"documentation":"<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
441441
},
442442
"createdAt":{
443443
"shape":"SyntheticTimestamp_date_time",
@@ -541,7 +541,9 @@
541541
"DELETING",
542542
"CREATE_FAILED",
543543
"DELETE_FAILED",
544-
"UPDATE_FAILED"
544+
"UPDATE_FAILED",
545+
"SUSPENDING",
546+
"SUSPENDED"
545547
]
546548
},
547549
"ClusterSummary":{
@@ -577,7 +579,7 @@
577579
},
578580
"status":{
579581
"shape":"ClusterStatus",
580-
"documentation":"<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note>"
582+
"documentation":"<p>The provisioning status of the cluster.</p> <note> <p>The provisioning status doesn't indicate the overall health of the cluster.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
581583
}
582584
},
583585
"documentation":"<p>The object returned by the <code>ListClusters</code> API action.</p>"
@@ -625,7 +627,7 @@
625627
},
626628
"status":{
627629
"shape":"ComputeNodeGroupStatus",
628-
"documentation":"<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note>"
630+
"documentation":"<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
629631
},
630632
"amiId":{
631633
"shape":"AmiId",
@@ -716,7 +718,9 @@
716718
"CREATE_FAILED",
717719
"DELETE_FAILED",
718720
"UPDATE_FAILED",
719-
"DELETED"
721+
"DELETED",
722+
"SUSPENDING",
723+
"SUSPENDED"
720724
]
721725
},
722726
"ComputeNodeGroupSummary":{
@@ -757,7 +761,7 @@
757761
},
758762
"status":{
759763
"shape":"ComputeNodeGroupStatus",
760-
"documentation":"<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note>"
764+
"documentation":"<p>The provisioning status of the compute node group.</p> <note> <p>The provisioning status doesn't indicate the overall health of the compute node group.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
761765
}
762766
},
763767
"documentation":"<p>The object returned by the <code>ListComputeNodeGroups</code> API action.</p>"
@@ -1371,7 +1375,7 @@
13711375
},
13721376
"status":{
13731377
"shape":"QueueStatus",
1374-
"documentation":"<p>The provisioning status of the queue.</p> <note> <p>The provisioning status doesn't indicate the overall health of the queue.</p> </note>"
1378+
"documentation":"<p>The provisioning status of the queue.</p> <note> <p>The provisioning status doesn't indicate the overall health of the queue.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
13751379
},
13761380
"computeNodeGroupConfigurations":{
13771381
"shape":"ComputeNodeGroupConfigurationList",
@@ -1407,7 +1411,9 @@
14071411
"DELETING",
14081412
"CREATE_FAILED",
14091413
"DELETE_FAILED",
1410-
"UPDATE_FAILED"
1414+
"UPDATE_FAILED",
1415+
"SUSPENDING",
1416+
"SUSPENDED"
14111417
]
14121418
},
14131419
"QueueSummary":{
@@ -1448,7 +1454,7 @@
14481454
},
14491455
"status":{
14501456
"shape":"QueueStatus",
1451-
"documentation":"<p>The provisioning status of the queue.</p> <note> <p> The provisioning status doesn't indicate the overall health of the queue.</p> </note>"
1457+
"documentation":"<p>The provisioning status of the queue.</p> <note> <p> The provisioning status doesn't indicate the overall health of the queue.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href=\"https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html\">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"
14521458
}
14531459
},
14541460
"documentation":"<p>The object returned by the <code>ListQueues</code> API action.</p>"

generator/ServiceModels/pcs/pcs-2023-02-10.smoke2.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"version" : 2,
33
"testCases" : [ {
4-
"id" : "ListComputeNodeGroups_AccessDeniedException",
5-
"operationName" : "ListComputeNodeGroups",
4+
"id" : "GetQueueFailure_AccessDeniedException",
5+
"operationName" : "GetQueue",
66
"input" : {
7-
"clusterIdentifier" : "pcs_donotexist"
7+
"clusterIdentifier" : "pcs_donotexist",
8+
"queueIdentifier" : "pcs_donotexist"
89
},
910
"expectation" : {
1011
"failure" : {
@@ -18,8 +19,8 @@
1819
"useAccountIdRouting" : true
1920
}
2021
}, {
21-
"id" : "GetCluster_AccessDeniedException",
22-
"operationName" : "GetCluster",
22+
"id" : "ListQueueFailure_AccessDeniedException",
23+
"operationName" : "ListQueues",
2324
"input" : {
2425
"clusterIdentifier" : "pcs_donotexist"
2526
},
@@ -35,11 +36,16 @@
3536
"useAccountIdRouting" : true
3637
}
3738
}, {
38-
"id" : "ListClustersSuccess",
39-
"operationName" : "ListClusters",
40-
"input" : { },
39+
"id" : "GetComputeNodeGroup_AccessDeniedException",
40+
"operationName" : "GetComputeNodeGroup",
41+
"input" : {
42+
"clusterIdentifier" : "pcs_donotexist",
43+
"computeNodeGroupIdentifier" : "pcs_donotexist"
44+
},
4145
"expectation" : {
42-
"success" : { }
46+
"failure" : {
47+
"errorId" : "AccessDeniedException"
48+
}
4349
},
4450
"config" : {
4551
"region" : "us-west-2",
@@ -48,16 +54,11 @@
4854
"useAccountIdRouting" : true
4955
}
5056
}, {
51-
"id" : "GetQueueFailure_AccessDeniedException",
52-
"operationName" : "GetQueue",
53-
"input" : {
54-
"clusterIdentifier" : "pcs_donotexist",
55-
"queueIdentifier" : "pcs_donotexist"
56-
},
57+
"id" : "ListClustersSuccess",
58+
"operationName" : "ListClusters",
59+
"input" : { },
5760
"expectation" : {
58-
"failure" : {
59-
"errorId" : "AccessDeniedException"
60-
}
61+
"success" : { }
6162
},
6263
"config" : {
6364
"region" : "us-west-2",
@@ -66,11 +67,10 @@
6667
"useAccountIdRouting" : true
6768
}
6869
}, {
69-
"id" : "GetComputeNodeGroup_AccessDeniedException",
70-
"operationName" : "GetComputeNodeGroup",
70+
"id" : "ListComputeNodeGroups_AccessDeniedException",
71+
"operationName" : "ListComputeNodeGroups",
7172
"input" : {
72-
"clusterIdentifier" : "pcs_donotexist",
73-
"computeNodeGroupIdentifier" : "pcs_donotexist"
73+
"clusterIdentifier" : "pcs_donotexist"
7474
},
7575
"expectation" : {
7676
"failure" : {
@@ -84,8 +84,8 @@
8484
"useAccountIdRouting" : true
8585
}
8686
}, {
87-
"id" : "ListQueueFailure_AccessDeniedException",
88-
"operationName" : "ListQueues",
87+
"id" : "GetCluster_AccessDeniedException",
88+
"operationName" : "GetCluster",
8989
"input" : {
9090
"clusterIdentifier" : "pcs_donotexist"
9191
},

sdk/src/Services/PCS/Generated/Model/Cluster.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,16 @@ internal bool IsSetSlurmConfiguration()
269269
/// <para>
270270
/// The provisioning status doesn't indicate the overall health of the cluster.
271271
/// </para>
272-
/// </note>
272+
/// </note> <important>
273+
/// <para>
274+
/// The resource enters the <c>SUSPENDING</c> and <c>SUSPENDED</c> states when the scheduler
275+
/// is beyond end of life and we have suspended the cluster. When in these states, you
276+
/// can't use the cluster. The cluster controller is down and all compute instances are
277+
/// terminated. The resources still count toward your service quotas. You can delete a
278+
/// resource if its status is <c>SUSPENDED</c>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html">Frequently
279+
/// asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.
280+
/// </para>
281+
/// </important>
273282
/// </summary>
274283
[AWSProperty(Required=true)]
275284
public ClusterStatus Status

sdk/src/Services/PCS/Generated/Model/ClusterSummary.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,16 @@ internal bool IsSetName()
145145
/// <para>
146146
/// The provisioning status doesn't indicate the overall health of the cluster.
147147
/// </para>
148-
/// </note>
148+
/// </note> <important>
149+
/// <para>
150+
/// The resource enters the <c>SUSPENDING</c> and <c>SUSPENDED</c> states when the scheduler
151+
/// is beyond end of life and we have suspended the cluster. When in these states, you
152+
/// can't use the cluster. The cluster controller is down and all compute instances are
153+
/// terminated. The resources still count toward your service quotas. You can delete a
154+
/// resource if its status is <c>SUSPENDED</c>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html">Frequently
155+
/// asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.
156+
/// </para>
157+
/// </important>
149158
/// </summary>
150159
[AWSProperty(Required=true)]
151160
public ClusterStatus Status

0 commit comments

Comments
 (0)