class Aws::Client

Base class for all {Aws} service clients.

def define(svc_name, options)

Other tags:
    Api: - private
def define(svc_name, options)
  client_class = Class.new(self)
  client_class.identifier = svc_name.downcase.to_sym
  client_class.set_api(Api::Builder.build(options[:api], options))
  client_class.set_waiters(options[:waiters])
  protocol = client_class.api.metadata['protocol']
  PROTOCOL_PLUGINS[protocol].each do |plugin|
    client_class.add_plugin(plugin)
  end
  Api::Customizations.apply_plugins(client_class)
  client_class
end