mirror of https://github.com/smithy-lang/smithy-rs
5f7113f506
## 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 --> https://github.com/smithy-lang/smithy-rs/issues/2863 https://github.com/awslabs/aws-sdk-rust/issues/1060 ## Description <!--- Describe your changes in detail --> This PR adds a new feature: the ability to source service-specific config from the environment. This is **only** supported when creating a service config from an `SdkConfig`. I've posted [a guide](https://github.com/smithy-lang/smithy-rs/discussions/3537) to our discussions board. [This also adds support for setting an endpoint URL in environment config.](https://github.com/smithy-lang/smithy-rs/issues/2863) ## 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 have written several tests ensuring config is extracted with the correct precedence. ## 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 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._ --------- Co-authored-by: John DiSanti <jdisanti@amazon.com> Co-authored-by: ysaito1001 <awsaito@amazon.com> |
||
---|---|---|
.. | ||
examples | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE | ||
README.md |
README.md
aws-smithy-mocks
Experiment for mocking Smithy Clients using interceptors. See tests/get-object-mocks.rs
for example usage.
This crate is part of the AWS SDK for Rust and the smithy-rs code generator.