# File lib/aws/core/client.rb, line 54
      def initialize options = {}

        options = options.dup # so we don't modify the options passed in

        @service_ruby_name = self.class.service_ruby_name
  
        # translate these into service specific configuration options,
        # e.g. :endpoint into :s3_endpoint
        [:endpoint, :region, :port].each do |opt|
          if options[opt]
            options["#{service_ruby_name}_#{opt}""#{service_ruby_name}_#{opt}"] = options.delete(opt)
          end
        end
  
        @config = options.delete(:config)
        @config ||= AWS.config
        @config = @config.with(options)

        @signer = @config.signer
        @http_handler = @config.http_handler
        @endpoint = config.send("#{service_ruby_name}_endpoint""#{service_ruby_name}_endpoint")
        @port = config.send("#{service_ruby_name}_port""#{service_ruby_name}_port")

      end