aws_config

Function from_env

Source
pub fn from_env() -> ConfigLoader
Available on crate feature behavior-version-latest only.
Expand description

Create a config loader with the latest defaults.

This loader will always set BehaviorVersion::latest.

For more information about default configuration, refer to the AWS SDKs and Tools shared configuration documentation.

ยงExamples

let config = aws_config::from_env().region("us-east-1").load().await;