Sha256: a8886aaafc1c0a8193b86cfde5729d1d95dca735d8e83d0d9cda3eb81efd2af1

Contents?: true

Size: 598 Bytes

Versions: 3

Compression:

Stored size: 598 Bytes

Contents

module Fog
  module AWS
    class EC2

      # Delete a snapshot of an EBS volume that you own
      #
      # ==== Parameters
      # * snapshot_id<~String> - ID of snapshot to delete
      # ==== Returns
      # ==== Returns
      # * response<~Fog::AWS::Response>:
      #   * body<~Hash>:
      #     * 'requestId'<~String> - Id of request
      #     * 'return'<~Boolean> - success?
      def delete_snapshot(snapshot_id)
        request({
          'Action' => 'DeleteSnapshot',
          'SnapshotId' => snapshot_id
        }, Fog::Parsers::AWS::EC2::Basic.new)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geemus-fog-0.0.0 lib/fog/aws/requests/ec2/delete_snapshot.rb
geemus-fog-0.0.1 lib/fog/aws/requests/ec2/delete_snapshot.rb
geemus-fog-0.0.3 lib/fog/aws/requests/ec2/delete_snapshot.rb