Skip to content

Commit 089edf3

Browse files
author
awstools
committed
feat(client-rds): Add pattern and length based validations for DBShardGroupIdentifier
1 parent f281e0d commit 089edf3

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

codegen/sdk-codegen/aws-models/rds.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10946,7 +10946,7 @@
1094610946
}
1094710947
},
1094810948
"DBShardGroupIdentifier": {
10949-
"target": "com.amazonaws.rds#String",
10949+
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
1095010950
"traits": {
1095110951
"smithy.api#documentation": "<p>The name of the DB shard group.</p>"
1095210952
}
@@ -11006,6 +11006,16 @@
1100611006
"smithy.api#httpError": 400
1100711007
}
1100811008
},
11009+
"com.amazonaws.rds#DBShardGroupIdentifier": {
11010+
"type": "string",
11011+
"traits": {
11012+
"smithy.api#length": {
11013+
"min": 1,
11014+
"max": 63
11015+
},
11016+
"smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$"
11017+
}
11018+
},
1100911019
"com.amazonaws.rds#DBShardGroupNotFoundFault": {
1101011020
"type": "structure",
1101111021
"members": {
@@ -12534,7 +12544,7 @@
1253412544
"type": "structure",
1253512545
"members": {
1253612546
"DBShardGroupIdentifier": {
12537-
"target": "com.amazonaws.rds#String",
12547+
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
1253812548
"traits": {
1253912549
"smithy.api#clientOptional": {},
1254012550
"smithy.api#documentation": "<p>Teh name of the DB shard group to delete.</p>",
@@ -15665,7 +15675,7 @@
1566515675
"type": "structure",
1566615676
"members": {
1566715677
"DBShardGroupIdentifier": {
15668-
"target": "com.amazonaws.rds#String",
15678+
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
1566915679
"traits": {
1567015680
"smithy.api#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, \n information for only the specific DB shard group is returned. This parameter isn't case-sensitive.</p>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>If supplied, must match an existing DB shard group identifier.</p>\n </li>\n </ul>"
1567115681
}
@@ -22570,7 +22580,7 @@
2257022580
"type": "structure",
2257122581
"members": {
2257222582
"DBShardGroupIdentifier": {
22573-
"target": "com.amazonaws.rds#String",
22583+
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
2257422584
"traits": {
2257522585
"smithy.api#clientOptional": {},
2257622586
"smithy.api#documentation": "<p>The name of the DB shard group to modify.</p>",
@@ -25148,7 +25158,7 @@
2514825158
"type": "structure",
2514925159
"members": {
2515025160
"DBShardGroupIdentifier": {
25151-
"target": "com.amazonaws.rds#String",
25161+
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
2515225162
"traits": {
2515325163
"smithy.api#clientOptional": {},
2515425164
"smithy.api#documentation": "<p>The name of the DB shard group to reboot.</p>",

0 commit comments

Comments
 (0)