# File lib/aws/auto_scaling/scheduled_action_collection.rb, line 153 def filter_opts options opts = {} if g = options[:group] opts[:auto_scaling_group_name] = g.is_a?(Group) ? g.name : g end if actions = options[:scheduled_actions] opts[:scheduled_action_names] = actions end [:end_time, :start_time].each do |opt| if options[opt].is_a?(Time) opts[opt] = options[opt].iso8601 end end opts end