pub async fn endpoint_url_provider_with_origin(
    provider_config: &ProviderConfig,
) -> (Option<String>, Origin)
Expand description

Load the value for an endpoint URL

This checks the following sources:

  1. The environment variable AWS_ENDPOINT_URL=http://localhost
  2. The profile key endpoint_url=http://localhost

If invalid values are found, the provider will return None and an error will be logged.