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
Enable retries by default for AWS SDK clients using `BehaviorVersion::v2026_01_12()` or later.
16
+
17
+
Previously, retries were only enabled when constructing clients via `aws_config::load_from_env()`. Clients constructed directly using `Client::from_conf()` did not have retries enabled, which was inconsistent with AWS SDK behavior in other languages.
18
+
19
+
This change affects AWS SDK clients constructed with `Client::from_conf()` when using `BehaviorVersion::v2026_01_12()` or `BehaviorVersion::latest()`. Generic Smithy clients (non-AWS) are not affected.
20
+
21
+
To disable retries:
22
+
```rust
23
+
letconfig=aws_sdk_s3::Config::builder()
24
+
.retry_config(RetryConfig::disabled())
25
+
// ...
26
+
.build();
27
+
```
28
+
29
+
For more context, see the [discussion on retry behavior](https://github.com/smithy-lang/smithy-rs/discussions/4466).
sed -i 's/"sdk\/sts",/"sdk\/sts","sdk\/aws-smithy-http-server","sdk\/aws-smithy-http-server-python","sdk\/aws-smithy-http-server-typescript",/' Cargo.toml
129
+
sed -i 's/"sdk\/sts",/"sdk\/sts","sdk\/aws-smithy-http-server","sdk\/aws-smithy-http-server-python","sdk\/aws-smithy-http-server-typescript","sdk\/aws-smithy-legacy-http-server",/' Cargo.toml
0 commit comments