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:
- The environment variable
AWS_ENDPOINT_URL=http://localhost
- The profile key
endpoint_url=http://localhost
If invalid values are found, the provider will return None and an error will be logged.