# File lib/aws/core/configuration.rb, line 301 def to_h self.class.accepted_options.inject({}) do |h,k| h.merge(k => send(k)) end end