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

   scheduled_actions = auto_scaling.scheduled_actions({
     auto_scaling_group_name: "ResourceName",
     scheduled_action_names: ["ResourceName"],
     start_time: Time.now,
     end_time: Time.now,
   })
 @param [Hash] options ({})
 @option options [String] :auto_scaling_group_name
   The name of the Auto Scaling group.
 @option options [Array<String>] :scheduled_action_names
   The names of one or more scheduled actions. You can specify up to 50
   actions. If you omit this parameter, all scheduled actions are
   described. If you specify an unknown scheduled action, it is ignored
   with no error.
 @option options [Time,DateTime,Date,Integer,String] :start_time
   The earliest scheduled start time to return. If scheduled action names
   are provided, this parameter is ignored.
 @option options [Time,DateTime,Date,Integer,String] :end_time
   The latest scheduled start time to return. If scheduled action names
   are provided, this parameter is ignored.
 @return [ScheduledAction::Collection]