| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.EC2.DeleteVolume
Description
Deletes the specified EBS volume. The volume must be in the available state
(not attached to an instance).
The volume may remain in the deleting state for several minutes.
For more information, see Deleting an Amazon EBS Volume in the AmazonElastic Compute Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteVolume.html
Request
data DeleteVolume Source
Request constructor
Arguments
| :: Text | |
| -> DeleteVolume |
DeleteVolume constructor.
The fields accessible through corresponding lenses are:
dv4DryRun::MaybeBooldv4VolumeId::Text
Request lenses
dv4DryRun :: Lens' DeleteVolume (Maybe Bool) Source
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have the
required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
dv4VolumeId :: Lens' DeleteVolume Text Source
The ID of the volume.
Response
Response constructor
deleteVolumeResponse :: DeleteVolumeResponse Source
DeleteVolumeResponse constructor.