module Aws
def config=(config)
-
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)
- Api: - private
def eager_autoload!(*args) msg = 'Aws.eager_autoload is no longer needed, usage of ' msg << 'autoload has been replaced with require statements' warn(msg) end
def empty_connection_pools!
-
(nil)
-
def empty_connection_pools! Seahorse::Client::NetHttp::ConnectionPool.pools.each do |pool| pool.empty! end end
def partition(partition_name)
- See: (Aws::Partitions.partition) -
def partition(partition_name) Aws::Partitions.partition(partition_name) end
def partitions
- See: (Aws::Partitions.partitions) -
def partitions Aws::Partitions.partitions end
def shared_config
- 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!
-
(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