Detaches an Amazon EBS volume from an instance.
             
 Declaration Syntax
 Declaration Syntax| C# | 
public DetachVolumeResponse DetachVolume( DetachVolumeRequest request )
 Parameters
 Parameters- request (DetachVolumeRequest)
- Detach Volume request
 Return Value
 Return ValueDetach Volume  Response from the service
 Remarks
 Remarks
             For more information about Amazon EBS, go
             to the Amazon Elastic Compute Cloud Developer Guide.
            
             Important - make sure to unmount any file systems
             on the device within your operating system before
             detaching the volume.
            
             Failure to unmount file systems, or otherwise
             properly release the device from use, can result
             in lost data and will corrupt the file system.
             
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |