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

   stacks = cloud_formation.stacks({
     stack_name: "StackName",
   })
 @param [Hash] options ({})
 @option options [String] :stack_name
   The name or the unique stack ID that is associated with the stack,
   which are not always interchangeable:

   * Running stacks: You can specify either the stack's name or its
     unique stack ID.

   * Deleted stacks: You must specify the unique stack ID.

   Default: There is no default value.
 @return [Stack::Collection]