aws_config::default_provider::endpoint_url

Function endpoint_url_provider

Source
pub async fn endpoint_url_provider(
    provider_config: &ProviderConfig,
) -> Option<String>
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.