Volume / Action / delete
delete#
- EC2.Volume.delete(**kwargs)#
Deletes the specified EBS volume. The volume must be in the
available
state (not attached to an instance).The volume can remain in the
deleting
state for several minutes.For more information, see Delete an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.
See also: AWS API Documentation
Request Syntax
response = volume.delete( DryRun=True|False )
- Parameters:
DryRun (boolean) – 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 isUnauthorizedOperation
.- Returns:
None