class Aws::CredentialProviderChain
def static_profile_credentials(options)
def static_profile_credentials(options) if options[:config] && options[:config].profile SharedCredentials.new(profile_name: options[:config].profile) end rescue Errors::NoSuchProfileError nil end