aws_config

Function defaults

Source
pub fn defaults(version: BehaviorVersion) -> ConfigLoader
Expand description

Create a config loader with the defaults for the given behavior version.

ยงExamples

use aws_config::BehaviorVersion;
let config = aws_config::defaults(BehaviorVersion::v2023_11_09())
    .region("us-east-1")
    .load()
    .await;