Deletes the specified Amazon EBS volume. The volume must be in the available state (not attached to an instance).
NOTE: The volume may remain in the deleting state for several minutes.
For more information, see Deleting an Amazon EBS Volume in the Amazon Elastic Compute Cloud User Guide .
| C# |
public DeleteVolumeResponse DeleteVolume( DeleteVolumeRequest request )
- request (DeleteVolumeRequest)
- Delete Volume request
Delete Volume Response from the service
| Exception | Condition |
|---|---|
| WebException | |
| AmazonEC2Exception |