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.
The DeleteDBInstance action deletes a previously provisioned DB instance. When you
delete a DB instance, all automated backups for that instance are deleted and can't
be recovered. Manual DB snapshots of the DB instance to be deleted by
are not deleted.
If you request a final DB snapshot the status of the Amazon Neptune DB instance is
deleting until the DB snapshot is created. The API action
is used to monitor the status of this operation. The action can't be canceled or reverted
Note that when a DB instance is in a failure state and has a status of
incompatible-network, you can only
delete it when the
SkipFinalSnapshot parameter is set to
You can't delete a DB instance if it is the only instance in the DB cluster, or if it has deletion protection enabled.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginDeleteDBInstance and EndDeleteDBInstance.
public abstract Task<DeleteDBInstanceResponse> DeleteDBInstanceAsync( DeleteDBInstanceRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the DeleteDBInstance service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
|DBInstanceNotFoundException||DBInstanceIdentifier does not refer to an existing DB instance.|
|DBSnapshotAlreadyExistsException||DBSnapshotIdentifier is already used by an existing snapshot.|
|InvalidDBClusterStateException||The DB cluster is not in a valid state.|
|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 Core App:
Supported in: 3.1
Supported in: 2.0
Supported in: 4.5