def stacks(options = {})
      batches = Enumerator.new do |y|
        batch = []
        resp = @client.describe_stacks(options)
        resp.data.stacks.each do |s|
          batch << Stack.new(
            id: s.stack_id,
            data: s,
            client: @client
          )
        end
        y.yield(batch)
      end
      Stack::Collection.new(batches)
    end
def stacks(options = {})
      batches = Enumerator.new do |y|
        batch = []
        resp = @client.describe_stacks(options)
        resp.data.stacks.each do |s|
          batch << Stack.new(
            id: s.stack_id,
            data: s,
            client: @client
          )
        end
        y.yield(batch)
      end
      Stack::Collection.new(batches)
    end
@example Request syntax with placeholder values

   stacks = ops_works.stacks({
     stack_ids: ["String"],
   })
 @param [Hash] options ({})
 @option options [Array<String>] :stack_ids
   An array of stack IDs that specify the stacks to be described. If you
   omit this parameter, `DescribeStacks` returns a description of every
   stack.
 @return [Stack::Collection]