Deletes a DBSnapshot. If the snapshot is being copied, the copy operation is terminated.
NOTE:The DBSnapshot must be in the available state to be deleted.
| C# |
DeleteDBSnapshotResponse DeleteDBSnapshot( DeleteDBSnapshotRequest deleteDBSnapshotRequest )
- deleteDBSnapshotRequest (DeleteDBSnapshotRequest)
- Container for the necessary parameters to execute the DeleteDBSnapshot service method on AmazonRDS.
The response from the DeleteDBSnapshot service method, as returned by AmazonRDS.
| Exception | Condition |
|---|---|
| InvalidDBSnapshotStateException | |
| DBSnapshotNotFoundException |