def layers(options = {})
      batches = Enumerator.new do |y|
        batch = []
        options = options.merge(stack_id: @id)
        resp = @client.describe_layers(options)
        resp.data.layers.each do |l|
          batch << Layer.new(
            id: l.layer_id,
            data: l,
            client: @client
          )
        end
        y.yield(batch)
      end
      Layer::Collection.new(batches)
    end
def layers(options = {})
      batches = Enumerator.new do |y|
        batch = []
        options = options.merge(stack_id: @id)
        resp = @client.describe_layers(options)
        resp.data.layers.each do |l|
          batch << Layer.new(
            id: l.layer_id,
            data: l,
            client: @client
          )
        end
        y.yield(batch)
      end
      Layer::Collection.new(batches)
    end
@!group Associations
 @example Request syntax with placeholder values

   layers = stack.layers({
     layer_ids: ["String"],
   })
 @param [Hash] options ({})
 @option options [Array<String>] :layer_ids
   An array of layer IDs that specify the layers to be described. If you
   omit this parameter, `DescribeLayers` returns a description of every
   layer in the specified stack.
 @return [Layer::Collection]