You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let config = aws_config::load_from_env().await;let client = aws_sdk_appconfigdata::Client::new(&config);
Not sure if this was intentional, but load_from_env is deprecated by default (behavior-version-latest disabled by default). The documentation should change to suggest construction like so:
let config = aws_config::load_from_env().await;let client = aws_sdk_appconfigdata::Client::new(&config);
Alternative the doc could inform users the feature flag is required to make the example work.
Describe the issue
https://docs.rs/aws-sdk-appconfigdata/latest/aws_sdk_appconfigdata/client/index.html
Suggests the following:
Not sure if this was intentional, but load_from_env is deprecated by default (
behavior-version-latest
disabled by default). The documentation should change to suggest construction like so:Alternative the doc could inform users the feature flag is required to make the example work.
Links
https://docs.rs/aws-sdk-appconfigdata/latest/aws_sdk_appconfigdata/client/index.html
https://docs.rs/aws-config/1.1.7/aws_config/fn.load_from_env.html
The text was updated successfully, but these errors were encountered: