Skip to content

Commit

Permalink
feat(client-rds): Add pattern and length based validations for DBShar…
Browse files Browse the repository at this point in the history
…dGroupIdentifier
  • Loading branch information
awstools committed Feb 23, 2024
1 parent f281e0d commit 089edf3
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions codegen/sdk-codegen/aws-models/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -10946,7 +10946,7 @@
}
},
"DBShardGroupIdentifier": {
"target": "com.amazonaws.rds#String",
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
"traits": {
"smithy.api#documentation": "<p>The name of the DB shard group.</p>"
}
Expand Down Expand Up @@ -11006,6 +11006,16 @@
"smithy.api#httpError": 400
}
},
"com.amazonaws.rds#DBShardGroupIdentifier": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 63
},
"smithy.api#pattern": "^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*$"
}
},
"com.amazonaws.rds#DBShardGroupNotFoundFault": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -12534,7 +12544,7 @@
"type": "structure",
"members": {
"DBShardGroupIdentifier": {
"target": "com.amazonaws.rds#String",
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>Teh name of the DB shard group to delete.</p>",
Expand Down Expand Up @@ -15665,7 +15675,7 @@
"type": "structure",
"members": {
"DBShardGroupIdentifier": {
"target": "com.amazonaws.rds#String",
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
"traits": {
"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>"
}
Expand Down Expand Up @@ -22570,7 +22580,7 @@
"type": "structure",
"members": {
"DBShardGroupIdentifier": {
"target": "com.amazonaws.rds#String",
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>The name of the DB shard group to modify.</p>",
Expand Down Expand Up @@ -25148,7 +25158,7 @@
"type": "structure",
"members": {
"DBShardGroupIdentifier": {
"target": "com.amazonaws.rds#String",
"target": "com.amazonaws.rds#DBShardGroupIdentifier",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>The name of the DB shard group to reboot.</p>",
Expand Down

0 comments on commit 089edf3

Please sign in to comment.