Skip to content

Commit 316c3b9

Browse files
author
AWS
committed
AWS Parallel Computing Service Update: ClusterName/ClusterIdentifier, ComputeNodeGroupName/ComputeNodeGroupIdentifier, and QueueName/QueueIdentifier can now have 10 characters, and a minimum of 3 characters. The TagResource API action can now return ServiceQuotaExceededException.
1 parent 2837d77 commit 316c3b9

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed
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": "ClusterName/ClusterIdentifier, ComputeNodeGroupName/ComputeNodeGroupIdentifier, and QueueName/QueueIdentifier can now have 10 characters, and a minimum of 3 characters. The TagResource API action can now return ServiceQuotaExceededException."
6+
}

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

+10-9
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@
274274
},
275275
"input":{"shape":"TagResourceRequest"},
276276
"errors":[
277+
{"shape":"ServiceQuotaExceededException"},
277278
{"shape":"ResourceNotFoundException"}
278279
],
279280
"documentation":"<p>Adds or edits tags on an Amazon Web Services PCS resource. Each tag consists of a tag key and a tag value. The tag key and tag value are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.</p>",
@@ -420,7 +421,7 @@
420421
},
421422
"ClusterIdentifier":{
422423
"type":"string",
423-
"pattern":"(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{1,40})"
424+
"pattern":"(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{3,40})"
424425
},
425426
"ClusterList":{
426427
"type":"list",
@@ -429,8 +430,8 @@
429430
"ClusterName":{
430431
"type":"string",
431432
"max":40,
432-
"min":1,
433-
"pattern":"(?!pcs_)^(?![A-Za-z0-9]{10}$)[A-Za-z][A-Za-z0-9-]+"
433+
"min":3,
434+
"pattern":"(?!pcs_)^[A-Za-z][A-Za-z0-9-]+"
434435
},
435436
"ClusterSlurmConfiguration":{
436437
"type":"structure",
@@ -616,7 +617,7 @@
616617
},
617618
"ComputeNodeGroupIdentifier":{
618619
"type":"string",
619-
"pattern":"(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{1,25})"
620+
"pattern":"(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{3,25})"
620621
},
621622
"ComputeNodeGroupList":{
622623
"type":"list",
@@ -625,8 +626,8 @@
625626
"ComputeNodeGroupName":{
626627
"type":"string",
627628
"max":25,
628-
"min":1,
629-
"pattern":"(?!pcs_)^(?![A-Za-z0-9]{10}$)[A-Za-z][A-Za-z0-9-]+"
629+
"min":3,
630+
"pattern":"(?!pcs_)^[A-Za-z][A-Za-z0-9-]+"
630631
},
631632
"ComputeNodeGroupSlurmConfiguration":{
632633
"type":"structure",
@@ -1328,7 +1329,7 @@
13281329
},
13291330
"QueueIdentifier":{
13301331
"type":"string",
1331-
"pattern":"(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{1,25})"
1332+
"pattern":"(pcs_[a-zA-Z0-9]+|[A-Za-z][A-Za-z0-9-]{3,25})"
13321333
},
13331334
"QueueList":{
13341335
"type":"list",
@@ -1337,8 +1338,8 @@
13371338
"QueueName":{
13381339
"type":"string",
13391340
"max":25,
1340-
"min":1,
1341-
"pattern":"(?!pcs_)^(?![A-Za-z0-9]{10}$)[A-Za-z][A-Za-z0-9-]+"
1341+
"min":3,
1342+
"pattern":"(?!pcs_)^[A-Za-z][A-Za-z0-9-]+"
13421343
},
13431344
"QueueStatus":{
13441345
"type":"string",

0 commit comments

Comments
 (0)