Skip to content

Commit 246d8f9

Browse files
author
AWS
committed
Amazon Relational Database Service Update: Add pattern and length based validations for DBShardGroupIdentifier
1 parent 1d432eb commit 246d8f9

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
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": "Amazon Relational Database Service",
4+
"contributor": "",
5+
"description": "Add pattern and length based validations for DBShardGroupIdentifier"
6+
}

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

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8018,7 +8018,7 @@
80188018
"documentation":"<p>The Amazon Web Services Region-unique, immutable identifier for the DB shard group.</p>"
80198019
},
80208020
"DBShardGroupIdentifier":{
8021-
"shape":"String",
8021+
"shape":"DBShardGroupIdentifier",
80228022
"documentation":"<p>The name of the DB shard group.</p>"
80238023
},
80248024
"DBClusterIdentifier":{
@@ -8059,6 +8059,12 @@
80598059
},
80608060
"exception":true
80618061
},
8062+
"DBShardGroupIdentifier":{
8063+
"type":"string",
8064+
"max":63,
8065+
"min":1,
8066+
"pattern":"[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*"
8067+
},
80628068
"DBShardGroupNotFoundFault":{
80638069
"type":"structure",
80648070
"members":{
@@ -8776,7 +8782,7 @@
87768782
"required":["DBShardGroupIdentifier"],
87778783
"members":{
87788784
"DBShardGroupIdentifier":{
8779-
"shape":"String",
8785+
"shape":"DBShardGroupIdentifier",
87808786
"documentation":"<p>Teh name of the DB shard group to delete.</p>"
87818787
}
87828788
}
@@ -9618,7 +9624,7 @@
96189624
"type":"structure",
96199625
"members":{
96209626
"DBShardGroupIdentifier":{
9621-
"shape":"String",
9627+
"shape":"DBShardGroupIdentifier",
96229628
"documentation":"<p>The user-supplied DB shard group identifier or the Amazon Resource Name (ARN) of the DB shard group. If this parameter is specified, information for only the specific DB shard group is returned. This parameter isn't case-sensitive.</p> <p>Constraints:</p> <ul> <li> <p>If supplied, must match an existing DB shard group identifier.</p> </li> </ul>"
96239629
},
96249630
"Filters":{
@@ -12723,7 +12729,7 @@
1272312729
"required":["DBShardGroupIdentifier"],
1272412730
"members":{
1272512731
"DBShardGroupIdentifier":{
12726-
"shape":"String",
12732+
"shape":"DBShardGroupIdentifier",
1272712733
"documentation":"<p>The name of the DB shard group to modify.</p>"
1272812734
},
1272912735
"MaxACU":{
@@ -14080,7 +14086,7 @@
1408014086
"required":["DBShardGroupIdentifier"],
1408114087
"members":{
1408214088
"DBShardGroupIdentifier":{
14083-
"shape":"String",
14089+
"shape":"DBShardGroupIdentifier",
1408414090
"documentation":"<p>The name of the DB shard group to reboot.</p>"
1408514091
}
1408614092
}

0 commit comments

Comments
 (0)