def events(options = {})
      batches = Enumerator.new do |y|
        options = options.merge(
          source_type: "db-cluster",
          source_identifier: @id
        )
        resp = @client.describe_events(options)
        resp.each_page do |page|
          batch = []
          page.data.events.each do |e|
            batch << Event.new(
              source_id: e.source_identifier,
              date: e.date,
              data: e,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      Event::Collection.new(batches)
    end
def events(options = {})
      batches = Enumerator.new do |y|
        options = options.merge(
          source_type: "db-cluster",
          source_identifier: @id
        )
        resp = @client.describe_events(options)
        resp.each_page do |page|
          batch = []
          page.data.events.each do |e|
            batch << Event.new(
              source_id: e.source_identifier,
              date: e.date,
              data: e,
              client: @client
            )
          end
          y.yield(batch)
        end
      end
      Event::Collection.new(batches)
    end
@!group Associations
 @example Request syntax with placeholder values

   events = db_cluster.events({
     start_time: Time.now,
     end_time: Time.now,
     duration: 1,
     event_categories: ["String"],
     filters: [
       {
         name: "String", # required
         values: ["String"], # required
       },
     ],
   })
 @param [Hash] options ({})
 @option options [Time,DateTime,Date,Integer,String] :start_time
   The beginning of the time interval to retrieve events for, specified
   in ISO 8601 format. For more information about ISO 8601, go to the
   [ISO8601 Wikipedia page.][1]

   Example: 2009-07-08T18:00Z



   [1]: http://en.wikipedia.org/wiki/ISO_8601
 @option options [Time,DateTime,Date,Integer,String] :end_time
   The end of the time interval for which to retrieve events, specified
   in ISO 8601 format. For more information about ISO 8601, go to the
   [ISO8601 Wikipedia page.][1]

   Example: 2009-07-08T18:00Z



   [1]: http://en.wikipedia.org/wiki/ISO_8601
 @option options [Integer] :duration
   The number of minutes to retrieve events for.

   Default: 60
 @option options [Array<String>] :event_categories
   A list of event categories that trigger notifications for a event
   notification subscription.
 @option options [Array<Types::Filter>] :filters
   This parameter is not currently supported.
 @return [Event::Collection]