    # File lib/fog/aws/requests/compute/describe_volumes.rb, line 51
            def describe_volumes(filters = {})
              unless filters.is_a?(Hash)
                Fog::Logger.deprecation("describe_volumes with #{filters.class} param is deprecated, use describe_volumes('volume-id' => []) instead [light_black](#{caller.first})[/]")
                filters = {'volume-id' => [*filters]}
              end

              response = Excon::Response.new

              volume_set = self.data[:volumes].values
              volume_set = apply_tag_filters(volume_set, filters, 'volumeId')

              aliases = {
                'availability-zone' => 'availabilityZone',
                'create-time' => 'createTime',
                'size' => 'size',
                'snapshot-id' => 'snapshotId',
                'status' => 'status',
                'volume-id' => 'volumeId'
              }
              attachment_aliases = {
                'attach-time' => 'attachTime',
                'delete-on-termination' => 'deleteOnTermination',
                'device'      => 'device',
                'instance-id' => 'instanceId',
                'status'      => 'status'
              }

              for filter_key, filter_value in filters
                if attachment_key = filter_key.split('attachment.')[1]
                  aliased_key = attachment_aliases[filter_key]
                  volume_set = volume_set.reject{|volume| !volume['attachmentSet'].detect {|attachment| [*filter_value].include?(attachment[aliased_key])}}
                else
                  aliased_key = aliases[filter_key]
                  volume_set = volume_set.reject{|volume| ![*filter_value].include?(volume[aliased_key])}
                end
              end

              volume_set.each do |volume|
                case volume['status']
                when 'attaching'
                  if Time.now - volume['attachmentSet'].first['attachTime'] >= Fog::Mock.delay
                    volume['attachmentSet'].first['status'] = 'in-use'
                    volume['status'] = 'in-use'
                  end
                when 'creating'
                  if Time.now - volume['createTime'] >= Fog::Mock.delay
                    volume['status'] = 'available'
                  end
                when 'deleting'
                  if Time.now - self.data[:deleted_at][volume['volumeId']] >= Fog::Mock.delay
                    self.data[:deleted_at].delete(volume['volumeId'])
                    self.data[:volumes].delete(volume['volumeId'])
                  end
                end
              end
              volume_set = volume_set.reject {|volume| !self.data[:volumes][volume['volumeId']]}
              volume_set = volume_set.map {|volume| volume.merge('tagSet' => self.data[:tag_sets][volume['volumeId']]) }

              response.status = 200
              response.body = {
                'requestId' => Fog::AWS::Mock.request_id,
                'volumeSet' => volume_set
              }
              response
            end