    # File lib/fog/aws/requests/compute/describe_instances.rb, line 57
            def describe_instances(filters = {})
              unless filters.is_a?(Hash)
                Fog::Logger.deprecation("describe_instances with #{filters.class} param is deprecated, use describe_instances('instance-id' => []) instead [light_black](#{caller.first})[/]")
                filters = {'instance-id' => [*filters]}
              end
              params = {}
              if filters['instance-id']
                instance_ids = filters.delete('instance-id')
                instance_ids = [instance_ids] unless instance_ids.is_a?(Array)
                instance_ids.each_with_index do |id, index|
                  params.merge!("InstanceId.#{index}" => id)
                end
              end
              params.merge!(Fog::AWS.indexed_filters(filters))

              request({
                'Action'    => 'DescribeInstances',
                :idempotent => true,
                :parser     => Fog::Parsers::Compute::AWS::DescribeInstances.new
              }.merge!(params))
            end