Method: Fog::Compute::AWS::Real#delete_snapshot
- Defined in:
- lib/fog/compute/requests/aws/delete_snapshot.rb
#delete_snapshot(snapshot_id) ⇒ Object
Delete a snapshot of an EBS volume that you own
Parameters
-
snapshot_id<~String> - ID of snapshot to delete
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘requestId’<~String> - Id of request
-
‘return’<~Boolean> - success?
-
-
20 21 22 23 24 25 26 27 |
# File 'lib/fog/compute/requests/aws/delete_snapshot.rb', line 20 def delete_snapshot(snapshot_id) request( 'Action' => 'DeleteSnapshot', 'SnapshotId' => snapshot_id, :idempotent => true, :parser => Fog::Parsers::Compute::AWS::Basic.new ) end |