class Aws::DefaultsModeConfigResolver

def resolve_auto_mode

def resolve_auto_mode
  return "mobile" if env_mobile?
  region = application_current_region
  if region
    @cfg.region == region ? "in-region": "cross-region"
  else
    # We don't seem to be mobile, and we couldn't determine whether we're running within an AWS region. Fall back to standard.
    'standard'
  end
end