-
- Downloads
Improve manual config experience for SDK retries and timeouts (#1603)
* Remove `Default` implementation from `RetryConfig` * Add use case integration tests * Panic when retries/timeouts are enabled without a `sleep_impl` * Combine the sleep, retry, and timeout customizations * Add `sleep_impl` validation to the Smithy client builder
Showing
- CHANGELOG.next.toml 63 additions, 1 deletionCHANGELOG.next.toml
- aws/rust-runtime/aws-config/src/default_provider/credentials.rs 4 additions, 8 deletions...st-runtime/aws-config/src/default_provider/credentials.rs
- aws/rust-runtime/aws-config/src/default_provider/retry_config.rs 1 addition, 1 deletion...t-runtime/aws-config/src/default_provider/retry_config.rs
- aws/rust-runtime/aws-config/src/environment/retry_config.rs 3 additions, 5 deletionsaws/rust-runtime/aws-config/src/environment/retry_config.rs
- aws/rust-runtime/aws-config/src/imds/client.rs 8 additions, 8 deletionsaws/rust-runtime/aws-config/src/imds/client.rs
- aws/rust-runtime/aws-config/src/lib.rs 3 additions, 1 deletionaws/rust-runtime/aws-config/src/lib.rs
- aws/rust-runtime/aws-config/src/sts/assume_role.rs 3 additions, 0 deletionsaws/rust-runtime/aws-config/src/sts/assume_role.rs
- aws/rust-runtime/aws-config/src/web_identity_token.rs 7 additions, 5 deletionsaws/rust-runtime/aws-config/src/web_identity_token.rs
- aws/rust-runtime/aws-types/src/sdk_config.rs 30 additions, 2 deletionsaws/rust-runtime/aws-types/src/sdk_config.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsFluentClientDecorator.kt 14 additions, 6 deletions...oftware/amazon/smithy/rustsdk/AwsFluentClientDecorator.kt
- aws/sdk/integration-tests/dynamodb/tests/timeouts.rs 3 additions, 0 deletionsaws/sdk/integration-tests/dynamodb/tests/timeouts.rs
- aws/sdk/integration-tests/s3/tests/alternative-async-runtime.rs 3 additions, 2 deletions...k/integration-tests/s3/tests/alternative-async-runtime.rs
- aws/sdk/integration-tests/s3/tests/sleep_impl_use_cases.rs 181 additions, 0 deletionsaws/sdk/integration-tests/s3/tests/sleep_impl_use_cases.rs
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/customizations/ResiliencyConfigCustomization.kt 259 additions, 0 deletions...en/smithy/customizations/ResiliencyConfigCustomization.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/customizations/RetryConfigDecorator.kt 0 additions, 152 deletions...ust/codegen/smithy/customizations/RetryConfigDecorator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/customizations/TimeoutConfigDecorator.kt 0 additions, 186 deletions...t/codegen/smithy/customizations/TimeoutConfigDecorator.kt
- codegen/src/main/kotlin/software/amazon/smithy/rust/codegen/smithy/customize/RequiredCustomizations.kt 4 additions, 9 deletions...y/rust/codegen/smithy/customize/RequiredCustomizations.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/customizations/HttpVersionListGeneratorTest.kt 62 additions, 93 deletions...st/codegen/customizations/HttpVersionListGeneratorTest.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/customizations/ResiliencyConfigCustomizationTest.kt 3 additions, 3 deletions...degen/customizations/ResiliencyConfigCustomizationTest.kt
- codegen/src/test/kotlin/software/amazon/smithy/rust/codegen/customizations/RetryConfigDecoratorTest.kt 0 additions, 43 deletions...y/rust/codegen/customizations/RetryConfigDecoratorTest.kt
Loading
Please register or sign in to comment