Skip to content

Commit 807cec8

Browse files
author
awstools
committed
feat(client-rds): StartDBCluster and StopDBCluster can now throw InvalidDBShardGroupStateFault.
1 parent f221398 commit 807cec8

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

clients/client-rds/src/commands/StartDBClusterCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
259259
* @throws {@link InvalidDBInstanceStateFault} (client fault)
260260
* <p>The DB instance isn't in a valid state.</p>
261261
*
262+
* @throws {@link InvalidDBShardGroupStateFault} (client fault)
263+
* <p>The DB shard group must be in the available state.</p>
264+
*
262265
* @throws {@link RDSServiceException}
263266
* <p>Base exception class for all service exceptions from RDS service.</p>
264267
*

clients/client-rds/src/commands/StopDBClusterCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
260260
* @throws {@link InvalidDBInstanceStateFault} (client fault)
261261
* <p>The DB instance isn't in a valid state.</p>
262262
*
263+
* @throws {@link InvalidDBShardGroupStateFault} (client fault)
264+
* <p>The DB shard group must be in the available state.</p>
265+
*
263266
* @throws {@link RDSServiceException}
264267
* <p>Base exception class for all service exceptions from RDS service.</p>
265268
*

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30006,6 +30006,9 @@
3000630006
},
3000730007
{
3000830008
"target": "com.amazonaws.rds#InvalidDBInstanceStateFault"
30009+
},
30010+
{
30011+
"target": "com.amazonaws.rds#InvalidDBShardGroupStateFault"
3000930012
}
3001030013
],
3001130014
"traits": {
@@ -30489,6 +30492,9 @@
3048930492
},
3049030493
{
3049130494
"target": "com.amazonaws.rds#InvalidDBInstanceStateFault"
30495+
},
30496+
{
30497+
"target": "com.amazonaws.rds#InvalidDBShardGroupStateFault"
3049230498
}
3049330499
],
3049430500
"traits": {

0 commit comments

Comments
 (0)