class Geocoder::Lookup::AmazonLocationService

def client

def client
  return @client if @client
  require_sdk
  keys = configuration.api_key
  if keys
    @client = Aws::LocationService::Client.new(**{
      region: keys[:region],
      access_key_id: keys[:access_key_id],
      secret_access_key: keys[:secret_access_key]
    }.compact)
  else
    @client = Aws::LocationService::Client.new
  end
end