AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
If a final DB snapshot is requested the status of the RDS instance will be "deleting"
until the DB snapshot is created. The API action DescribeDBInstance
is
used to monitor the status of this operation. The action cannot be canceled or reverted
once submitted.
Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted when the SkipFinalSnapshot parameter is set to "true".
Namespace: Amazon.RDS
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract DeleteDBInstanceResponse DeleteDBInstance( DeleteDBInstanceRequest request )
Container for the necessary parameters to execute the DeleteDBInstance service method.
Exception | Condition |
---|---|
DBInstanceNotFoundException | DBInstanceIdentifier does not refer to an existing DB instance. |
DBSnapshotAlreadyExistsException | DBSnapshotIdentifier is already used by an existing snapshot. |
InvalidDBInstanceStateException | The specified DB instance is not in the available state. |
SnapshotQuotaExceededException | Request would result in user exceeding the allowed number of DB snapshots. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5