def queues(options = {})
      batches = Enumerator.new do |y|
        batch = []
        resp = @client.list_queues(options)
        resp.data.queue_urls.each do |q|
          batch << Queue.new(
            url: q,
            client: @client
          )
        end
        y.yield(batch)
      end
      Queue::Collection.new(batches)
    end
def queues(options = {})
      batches = Enumerator.new do |y|
        batch = []
        resp = @client.list_queues(options)
        resp.data.queue_urls.each do |q|
          batch << Queue.new(
            url: q,
            client: @client
          )
        end
        y.yield(batch)
      end
      Queue::Collection.new(batches)
    end
@example Request syntax with placeholder values

   queues = sqs.queues({
     queue_name_prefix: "String",
   })
 @param [Hash] options ({})
 @option options [String] :queue_name_prefix
   A string to use for filtering the list results. Only those queues
   whose name begins with the specified string are returned.

   Queue URLs and names are case-sensitive.
 @return [Queue::Collection]