def event_subscriptions(options = {})
      batches = Enumerator.new do |y|
        resp = @client.describe_event_subscriptions(options)
        resp.each_page do |page|
          batch = []
          page.data.event_subscriptions_list.each do |e|
            batch << EventSubscription.new(
              name: e.cust_subscription_id,
              data: e,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      EventSubscription::Collection.new(batches)
    end
def event_subscriptions(options = {})
      batches = Enumerator.new do |y|
        resp = @client.describe_event_subscriptions(options)
        resp.each_page do |page|
          batch = []
          page.data.event_subscriptions_list.each do |e|
            batch << EventSubscription.new(
              name: e.cust_subscription_id,
              data: e,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      EventSubscription::Collection.new(batches)
    end
@example Request syntax with placeholder values

   event_subscriptions = rds.event_subscriptions({
     subscription_name: "String",
     filters: [
       {
         name: "String", # required
         values: ["String"], # required
       },
     ],
   })
 @param [Hash] options ({})
 @option options [String] :subscription_name
   The name of the RDS event notification subscription you want to
   describe.
 @option options [Array<Types::Filter>] :filters
   This parameter is not currently supported.
 @return [EventSubscription::Collection]