    # File lib/fog/aws/requests/compute/delete_volume.rb, line 33
            def delete_volume(volume_id)
              response = Excon::Response.new
              if volume = self.data[:volumes][volume_id]
                if volume["attachmentSet"].any?
                  attach = volume["attachmentSet"].first
                  raise Fog::Compute::AWS::Error.new("Client.VolumeInUse => Volume #{volume_id} is currently attached to #{attach["instanceId"]}")
                end
                self.data[:deleted_at][volume_id] = Time.now
                volume['status'] = 'deleting'
                response.status = 200
                response.body = {
                  'requestId' => Fog::AWS::Mock.request_id,
                  'return'    => true
                }
                response
              else
                raise Fog::Compute::AWS::NotFound.new("The volume '#{volume_id}' does not exist.")
              end
            end