def option_groups(options = {})
      batches = Enumerator.new do |y|
        options = options.merge(
          engine_name: @engine,
          major_engine_version: @version
        )
        resp = @client.describe_option_groups(options)
        resp.each_page do |page|
          batch = []
          page.data.option_groups_list.each do |o|
            batch << OptionGroup.new(
              name: o.option_group_name,
              data: o,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      OptionGroup::Collection.new(batches)
    end
def option_groups(options = {})
      batches = Enumerator.new do |y|
        options = options.merge(
          engine_name: @engine,
          major_engine_version: @version
        )
        resp = @client.describe_option_groups(options)
        resp.each_page do |page|
          batch = []
          page.data.option_groups_list.each do |o|
            batch << OptionGroup.new(
              name: o.option_group_name,
              data: o,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      OptionGroup::Collection.new(batches)
    end
@example Request syntax with placeholder values

   option_groups = db_engine_version.option_groups({
     option_group_name: "String",
     filters: [
       {
         name: "String", # required
         values: ["String"], # required
       },
     ],
   })
 @param [Hash] options ({})
 @option options [String] :option_group_name
   The name of the option group to describe. Can't be supplied together
   with EngineName or MajorEngineVersion.
 @option options [Array<Types::Filter>] :filters
   This parameter is not currently supported.
 @return [OptionGroup::Collection]