module Aws

def config=(config)

Parameters:
  • config (Hash) --
def config=(config)
  if Hash === config
    @config = config
  else
    raise ArgumentError, 'configuration object must be a hash'
  end
end

def eager_autoload!(*args)

Other tags:
    Api: - private
def eager_autoload!(*args)
  msg = 'Aws.eager_autoload is no longer needed, usage of '\
        'autoload has been replaced with require statements'
  warn(msg)
end

def empty_connection_pools!

Returns:
  • (nil) -
def empty_connection_pools!
  Seahorse::Client::NetHttp::ConnectionPool.pools.each do |pool|
    pool.empty!
  end
end

def partition(partition_name)

Other tags:
    See: (Aws::Partitions.partition) -
def partition(partition_name)
  Aws::Partitions.partition(partition_name)
end

def partitions

Other tags:
    See: (Aws::Partitions.partitions) -
def partitions
  Aws::Partitions.partitions
end

def shared_config

Other tags:
    Api: - private
def shared_config
  enabled = ENV["AWS_SDK_CONFIG_OPT_OUT"] ? false : true
  @shared_config ||= SharedConfig.new(config_enabled: enabled)
end

def use_bundled_cert!

Returns:
  • (String) - Returns the path to the bundled cert.
def use_bundled_cert!
  config.delete(:ssl_ca_directory)
  config.delete(:ssl_ca_store)
  config[:ssl_ca_bundle] = File.expand_path(File.join(
    File.dirname(__FILE__),
    '..',
    'ca-bundle.crt'
  ))
end