-
- Downloads
implement user-configurable retry classifiers (#2977)
[Read the RFC here](https://github.com/awslabs/smithy-rs/pull/3018) ## Motivation and Context <!--- Why is this change required? What problem does it solve? --> <!--- If it fixes an open issue, please link to the issue here --> #2417 ## Description <!--- Describe your changes in detail --> Exactly what it says on the tin. I have a related RFC to publish that goes into more depth. ## Testing <!--- Please describe in detail how you tested your changes --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> I wrote an integration test that ensures a custom retry classifier can be set and is called. ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
Showing
- CHANGELOG.next.toml 20 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-config/src/http_credential_provider.rs 22 additions, 24 deletionsaws/rust-runtime/aws-config/src/http_credential_provider.rs
- aws/rust-runtime/aws-config/src/imds/client.rs 25 additions, 27 deletionsaws/rust-runtime/aws-config/src/imds/client.rs
- aws/rust-runtime/aws-config/test-data/profile-provider/invalid_config/test-case.json 1 addition, 1 deletion.../test-data/profile-provider/invalid_config/test-case.json
- aws/rust-runtime/aws-config/test-data/profile-provider/retry_on_error/test-case.json 1 addition, 1 deletion.../test-data/profile-provider/retry_on_error/test-case.json
- aws/rust-runtime/aws-runtime/src/retries.rs 1 addition, 1 deletionaws/rust-runtime/aws-runtime/src/retries.rs
- aws/rust-runtime/aws-runtime/src/retries/classifiers.rs 60 additions, 79 deletionsaws/rust-runtime/aws-runtime/src/retries/classifiers.rs
- aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs 2 additions, 1 deletion...t-runtime/aws-sigv4/src/http_request/canonical_request.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/InvocationIdDecorator.kt 1 addition, 1 deletion...n/software/amazon/smithy/rustsdk/InvocationIdDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/RecursionDetectionDecorator.kt 1 addition, 1 deletion...ware/amazon/smithy/rustsdk/RecursionDetectionDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/RetryClassifierDecorator.kt 10 additions, 30 deletions...oftware/amazon/smithy/rustsdk/RetryClassifierDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/RetryInformationHeaderDecorator.kt 2 additions, 2 deletions.../amazon/smithy/rustsdk/RetryInformationHeaderDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/UserAgentDecorator.kt 1 addition, 1 deletion...tlin/software/amazon/smithy/rustsdk/UserAgentDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/apigateway/ApiGatewayDecorator.kt 1 addition, 1 deletion...mithy/rustsdk/customize/apigateway/ApiGatewayDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/glacier/GlacierDecorator.kt 1 addition, 1 deletion...azon/smithy/rustsdk/customize/glacier/GlacierDecorator.kt
- aws/sdk/integration-tests/kms/tests/retryable_errors.rs 6 additions, 13 deletionsaws/sdk/integration-tests/kms/tests/retryable_errors.rs
- aws/sdk/integration-tests/s3/Cargo.toml 1 addition, 1 deletionaws/sdk/integration-tests/s3/Cargo.toml
- aws/sdk/integration-tests/s3/tests/data/request-information-headers/three-retries_and-then-success.json 2 additions, 2 deletions...t-information-headers/three-retries_and-then-success.json
- aws/sdk/integration-tests/s3/tests/retry-classifier-customization.rs 135 additions, 0 deletions...egration-tests/s3/tests/retry-classifier-customization.rs
- codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations/ConnectionPoisoningConfigCustomization.kt 1 addition, 1 deletion.../customizations/ConnectionPoisoningConfigCustomization.kt
Loading
Please register or sign in to comment