amazonka-ec2-0.3.6: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DeleteVolume

Contents

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

Synopsis

Request

Request constructor

deleteVolume Source

DeleteVolume constructor.

The fields accessible through corresponding lenses are:

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