diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts index 4adf30eddb5d..7265510608e2 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -335,6 +335,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput * @throws {@link InsufficientDBClusterCapacityFault} (client fault) *
The DB cluster doesn't have enough capacity for the current operation.
* + * @throws {@link InsufficientDBInstanceCapacityFault} (client fault) + *The specified DB instance class isn't available in the specified Availability + * Zone.
+ * * @throws {@link InsufficientStorageClusterCapacityFault} (client fault) *There is insufficient storage available for the current action. You might be able to * resolve this error by updating your subnet group to use different Availability Zones diff --git a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts index 15f1c7f18bf2..533e0a9e81e0 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -337,6 +337,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput * @throws {@link InsufficientDBClusterCapacityFault} (client fault) *
The DB cluster doesn't have enough capacity for the current operation.
* + * @throws {@link InsufficientDBInstanceCapacityFault} (client fault) + *The specified DB instance class isn't available in the specified Availability + * Zone.
+ * * @throws {@link InsufficientStorageClusterCapacityFault} (client fault) *There is insufficient storage available for the current action. You might be able to * resolve this error by updating your subnet group to use different Availability Zones diff --git a/clients/client-rds/src/protocols/Aws_query.ts b/clients/client-rds/src/protocols/Aws_query.ts index 72f1f6439c9e..54abfab6e776 100644 --- a/clients/client-rds/src/protocols/Aws_query.ts +++ b/clients/client-rds/src/protocols/Aws_query.ts @@ -11433,6 +11433,9 @@ const de_RestoreDBClusterFromSnapshotCommandError = async ( case "InsufficientDBClusterCapacityFault": case "com.amazonaws.rds#InsufficientDBClusterCapacityFault": throw await de_InsufficientDBClusterCapacityFaultRes(parsedOutput, context); + case "InsufficientDBInstanceCapacity": + case "com.amazonaws.rds#InsufficientDBInstanceCapacityFault": + throw await de_InsufficientDBInstanceCapacityFaultRes(parsedOutput, context); case "InsufficientStorageClusterCapacity": case "com.amazonaws.rds#InsufficientStorageClusterCapacityFault": throw await de_InsufficientStorageClusterCapacityFaultRes(parsedOutput, context); @@ -11533,6 +11536,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async ( case "InsufficientDBClusterCapacityFault": case "com.amazonaws.rds#InsufficientDBClusterCapacityFault": throw await de_InsufficientDBClusterCapacityFaultRes(parsedOutput, context); + case "InsufficientDBInstanceCapacity": + case "com.amazonaws.rds#InsufficientDBInstanceCapacityFault": + throw await de_InsufficientDBInstanceCapacityFaultRes(parsedOutput, context); case "InsufficientStorageClusterCapacity": case "com.amazonaws.rds#InsufficientStorageClusterCapacityFault": throw await de_InsufficientStorageClusterCapacityFaultRes(parsedOutput, context); diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 50c80c6c7a26..70c7a32719fb 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -26653,6 +26653,9 @@ { "target": "com.amazonaws.rds#InsufficientDBClusterCapacityFault" }, + { + "target": "com.amazonaws.rds#InsufficientDBInstanceCapacityFault" + }, { "target": "com.amazonaws.rds#InsufficientStorageClusterCapacityFault" }, @@ -26976,6 +26979,9 @@ { "target": "com.amazonaws.rds#InsufficientDBClusterCapacityFault" }, + { + "target": "com.amazonaws.rds#InsufficientDBInstanceCapacityFault" + }, { "target": "com.amazonaws.rds#InsufficientStorageClusterCapacityFault" },