class Aws::Client

Base class for all {Aws} service clients.

Constants

DEFAULT_PLUGINS

@api private

Attributes

identifier[RW]

@return [Symbol] @api private

Public Class Methods

define(svc_name, options) click to toggle source

@api private

# File lib/aws-sdk-core/client.rb, line 28
def define(svc_name, options)
  client_class = Class.new(self)
  client_class.identifier = svc_name.downcase.to_sym
  [:api, :paginators, :waiters].each do |definition|
    client_class.send("set_#{definition}", options[definition])
  end
  DEFAULT_PLUGINS.each { |plugin| client_class.add_plugin(plugin) }
  Api::ServiceCustomizations.apply(client_class)
  client_class
end