Function aws_config::default_provider::endpoint_url::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:
- 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.