-
- Downloads
Re-point those using `BuildError` from smithy-http to smithy-types (#3070)
## Motivation and Context
Completes #3054 (a follow-up on #3032)
## Description
#3032 moved `BuildError` from `aws_smithy_http::operation::error` to
`aws_smithy_types::error::operation`. That PR also left "breadcrumbs",
so that customers could still consume `BuldError` from `aws_smithy_http`
after the move.
This PR turns breadcrumbs into deprecation messages (via
`#[deprecated(...)]`) and updates existing places that used to use moved
types from `aws_smithy_http` to `aws_smithy_types`.
## Testing
Relied on tests in CI.
## Checklist
- [x] I have updated `CHANGELOG.next.toml` if I made changes to the
smithy-rs codegen or 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._
---------
Co-authored-by:
Russell Cohen <rcoh@amazon.com>
Showing
- CHANGELOG.next.toml 8 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-inlineable/Cargo.toml 2 additions, 2 deletionsaws/rust-runtime/aws-inlineable/Cargo.toml
- aws/rust-runtime/aws-inlineable/src/http_request_checksum.rs 1 addition, 1 deletionaws/rust-runtime/aws-inlineable/src/http_request_checksum.rs
- aws/sdk/integration-tests/s3/tests/required-query-params.rs 1 addition, 1 deletionaws/sdk/integration-tests/s3/tests/required-query-params.rs
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/BuilderGenerator.kt 2 additions, 2 deletions...y/rust/codegen/core/smithy/generators/BuilderGenerator.kt
- rust-runtime/aws-smithy-http-server/src/protocol/aws_json/rejection.rs 1 addition, 1 deletion...aws-smithy-http-server/src/protocol/aws_json/rejection.rs
- rust-runtime/aws-smithy-http-server/src/protocol/rest_json_1/rejection.rs 2 additions, 2 deletions...-smithy-http-server/src/protocol/rest_json_1/rejection.rs
- rust-runtime/aws-smithy-http-server/src/protocol/rest_xml/rejection.rs 2 additions, 2 deletions...aws-smithy-http-server/src/protocol/rest_xml/rejection.rs
- rust-runtime/aws-smithy-http/src/operation.rs 9 additions, 3 deletionsrust-runtime/aws-smithy-http/src/operation.rs
Loading
Please register or sign in to comment