Detaches an Amazon EBS volume from an instance.
Declaration Syntax
C# |
public DetachVolumeResponse DetachVolume( DetachVolumeRequest request )
Parameters
- request (DetachVolumeRequest)
- Detach Volume request
Return Value
Detach Volume Response from the service
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
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |