Skip to content

Commit

Permalink
[smithy-rs] fix default credential chain not respecting endpoint URL …
Browse files Browse the repository at this point in the history
…overrides (#3873)

## 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 -->
#1193

## Description
This PR fixes a customer reported bug where the default chain doesn't
respect `AWS_ENDPOINT_URL`/`AWS_ENDPOINT_URL_<SERVICE>` environment
variables or the equivalents in AWS shared config (`~/.aws/config`).

This fix is a little nuanced and frankly gross but there isn't a better
option that I can see right now that isn't way more invasive. The crux
of the issue is that when we implemented support for this feature
([1](smithy-lang/smithy-rs#3568),
[2](smithy-lang/smithy-rs#3493),
[3](smithy-lang/smithy-rs#3488)) we really only
made it work for clients created via
[`ConfigLoader::load()`](https://github.com/smithy-lang/smithy-rs/blob/release-2024-10-09/aws/rust-runtime/aws-config/src/lib.rs#L871).
Internally the default chain credential provider constructs `STS` and
`SSO` clients but it does so using
[`ProviderConfig`](https://github.com/smithy-lang/smithy-rs/blob/release-2024-10-09/aws/rust-runtime/aws-config/src/provider_config.rs#L36)
by mapping this to `SdkConfig` via
[`ProviderConfig::client_config()`](https://github.com/smithy-lang/smithy-rs/blob/release-2024-10-09/aws/rust-runtime/aws-config/src/provider_config.rs#L199).
This conversion is used in several places and it doesn't take any of the
required logic into account to setup
[`EnvServiceConfig`](https://github.com/smithy-lang/smithy-rs/blob/release-2024-10-09/aws/rust-runtime/aws-config/src/lib.rs#L859-L862)
which is what generated SDK's ultimately use to figure out the endpoint
URL from either environment/profile ([example
client](https://github.com/awslabs/aws-sdk-rust/blob/release-2024-10-09/sdk/sts/src/config.rs#L1214-L1221)
which ultimately ends up in `EnvServiceConfig`
[here](https://github.com/smithy-lang/smithy-rs/blob/release-2024-10-09/aws/rust-runtime/aws-config/src/env_service_config.rs#L18)).

The fix applied here is nuanced in that we update the conversion to
provide a `EnvServiceConfig` but it relies on the profile to have been
parsed already or else you'll get an empty/default profile. This
generally works for the profile provider since the first thing we do is
load the profile but in isolation it may not work as expected. I've
added tests for STS to cover all cases but SSO credentials and token
providers do NOT currently respect shared config endpoint URL keys.
Fixing this is possible but involved since we require an `async` context
to ensure a profile is loaded already and in many places where we
construct `SdkConfig` from `ProviderConfig` we are in non async
function.

## Testing
Tested repro + additional integration tests

## Future
This does _not_ fix #1194
which was discovered as a bug/gap. Fixing it would be outside the scope
of this PR.

SSO/token provider is instantiated sometimes before we have parsed a
profile. This PR definitely fixes the STS provider for all configuration
scenarios but the SSO related client usage may still have some edge
cases when configured via profiles since we often instantiate them
before parsing a profile. When we surveyed other SDKs there were several
that failed to respect these variables and haven't received issues
around this which leads me to believe this isn't likely a problem in
practice (most likely due to SSO being used in local development most
often where redirecting that endpoint doesn't make much sense anyway).

## Checklist
- [X] For changes to the AWS SDK, generated SDK code, or SDK runtime
crates, I have created a changelog entry Markdown file in the
`.changelog` directory, specifying "aws-sdk-rust" in the `applies_to`
key.

----

_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
  • Loading branch information
aajtodd authored and aws-sdk-rust-ci committed Oct 25, 2024
1 parent af8fb9e commit 0bb3ee7
Show file tree
Hide file tree
Showing 484 changed files with 1,532 additions and 846 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The SDK provides one crate per AWS service. You must add [Tokio](https://crates.

```toml
[dependencies]
aws-config = { version= "1.5.8", features = ["behavior-version-latest"] }
aws-config = { version= "1.5.9", features = ["behavior-version-latest"] }
aws-sdk-dynamodb = "1.51.0"
tokio = { version = "1", features = ["full"] }
```
Expand Down
2 changes: 1 addition & 1 deletion examples/cross_service/detect_faces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-rekognition= { version = "1.50.0", path = "../../../sdk/rekognition" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
aws-smithy-types= { version = "1.2.8", path = "../../../sdk/aws-smithy-types", features = ["rt-tokio"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/cross_service/detect_labels/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[dependencies]
kamadak-exif = "0.5.4"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-dynamodb= { version = "1.51.0", path = "../../../sdk/dynamodb" }
aws-sdk-rekognition= { version = "1.50.0", path = "../../../sdk/rekognition" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
Expand Down
2 changes: 1 addition & 1 deletion examples/cross_service/photo_asset_management/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ streaming-zip = "0.5.0"
tempfile = "3.5.0"
tokio-stream = "0.1.12"
tracing = "0.1.37"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-dynamodb= { version = "1.51.0", path = "../../../sdk/dynamodb" }
aws-sdk-rekognition= { version = "1.50.0", path = "../../../sdk/rekognition" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false

[dependencies]
tracing = "0.1.37"
aws-config= { version = "1.5.8", path = "../../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../../sdk/aws-config" }
aws-sdk-dynamodb= { version = "1.51.0", path = "../../../../sdk/dynamodb" }
aws-sdk-rekognition= { version = "1.50.0", path = "../../../../sdk/rekognition" }

Expand Down
2 changes: 1 addition & 1 deletion examples/cross_service/rest_ses/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tracing-actix-web = "0.7.3"
tracing-bunyan-formatter = "0.3.4"
tracing-log = "0.1.3"
xlsxwriter = "0.6.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-cloudwatchlogs= { version = "1.53.0", path = "../../../sdk/cloudwatchlogs" }
aws-sdk-rdsdata= { version = "1.47.0", path = "../../../sdk/rdsdata" }
aws-sdk-ses= { version = "1.49.0", path = "../../../sdk/ses" }
Expand Down
2 changes: 1 addition & 1 deletion examples/cross_service/telephone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ anyhow = "1"
bytes = "1"
reqwest = "0.11.4"
serde_json = "1.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-polly= { version = "1.49.0", path = "../../../sdk/polly" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
aws-sdk-transcribe= { version = "1.48.0", path = "../../../sdk/transcribe" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/apigateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[dependencies]
thiserror = "1.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-apigateway= { version = "1.48.0", path = "../../../sdk/apigateway" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/apigatewaymanagement/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
http = "0.2.5"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-apigatewaymanagement= { version = "1.47.0", path = "../../../sdk/apigatewaymanagement" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/applicationautoscaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-applicationautoscaling= { version = "1.51.0", path = "../../../sdk/applicationautoscaling" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/aurora/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inquire = "0.6.2"
mockall = "0.11.4"
secrecy = "0.8.0"
tracing = "0.1.37"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-smithy-types= { version = "1.2.8", path = "../../../sdk/aws-smithy-types" }
aws-smithy-runtime-api= { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" }
aws-sdk-rds= { version = "1.62.0", path = "../../../sdk/rds" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/auto-scaling/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
anyhow = "1.0.75"
tracing = "0.1.37"
tokio-stream = "0.1.14"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-autoscaling= { version = "1.51.0", path = "../../../sdk/autoscaling" }
aws-sdk-ec2= { version = "1.83.0", path = "../../../sdk/ec2" }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/autoscalingplans/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
aws-sdk-autoscalingplans= { version = "1.47.0", path = "../../../sdk/autoscalingplans" }
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/batch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-batch= { version = "1.54.0", path = "../../../sdk/batch" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/bedrock-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ serde = "1.0.204"
serde_json = "1.0.120"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-bedrockruntime= { version = "1.57.0", path = "../../../sdk/bedrockruntime" }
aws-smithy-runtime-api= { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" }
aws-smithy-types= { version = "1.2.8", path = "../../../sdk/aws-smithy-types" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cloudformation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cloudformation= { version = "1.52.0", path = "../../../sdk/cloudformation" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cloudwatch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cloudwatch= { version = "1.52.0", path = "../../../sdk/cloudwatch" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cloudwatchlogs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ chrono = "0.4.32"
tracing = "0.1.40"
async-recursion = "1.0.5"
futures = "0.3.30"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cloudwatchlogs= { version = "1.53.0", path = "../../../sdk/cloudwatchlogs", features = ["test-util"] }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cognitoidentity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
[dependencies]
chrono = "0.4"
thiserror = "1.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cognitoidentity= { version = "1.48.0", path = "../../../sdk/cognitoidentity" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cognitoidentityprovider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
thiserror = "1.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cognitoidentityprovider= { version = "1.55.0", path = "../../../sdk/cognitoidentityprovider" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/cognitosync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
thiserror = "1.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-cognitosync= { version = "1.47.0", path = "../../../sdk/cognitosync" }
aws-smithy-types-convert= { version = "0.60.8", path = "../../../sdk/aws-smithy-types-convert", features = ["convert-chrono"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/concurrency/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ features = ["env-filter"]

[dev-dependencies]
fastrand = "1.8.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config" }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
aws-sdk-sqs= { version = "1.47.0", path = "../../../sdk/sqs" }
2 changes: 1 addition & 1 deletion examples/examples/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-config= { version = "1.49.0", path = "../../../sdk/config" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/custom-root-certificates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false

[dependencies]
rustls = "0.21.9"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3", default-features = false }
aws-smithy-runtime= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime", features = ["tls-rustls"] }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/dynamodb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ serde_json = "1"
thiserror = "1.0"
tokio-stream = "0.1.8"
tracing = "0.1"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-http= { version = "0.60.6", path = "../../../sdk/aws-http" }
aws-sdk-dynamodb= { version = "1.51.0", path = "../../../sdk/dynamodb" }
aws-smithy-runtime= { version = "1.7.3", path = "../../../sdk/aws-smithy-runtime", features = ["test-util"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/ebs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false
[dependencies]
base64 = "0.13.0"
sha2 = "0.9.5"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-ebs= { version = "1.47.0", path = "../../../sdk/ebs" }
aws-sdk-ec2= { version = "1.83.0", path = "../../../sdk/ec2" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/ec2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ reqwest = "0.12.5"
aws-smithy-runtime-api= { version = "1.7.2", path = "../../../sdk/aws-smithy-runtime-api" }
aws-sdk-ssm= { version = "1.52.0", path = "../../../sdk/ssm" }
aws-smithy-async= { version = "1.2.1", path = "../../../sdk/aws-smithy-async" }
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-ec2= { version = "1.83.0", path = "../../../sdk/ec2" }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/ecr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-ecr= { version = "1.50.0", path = "../../../sdk/ecr" }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/ecs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-ecs= { version = "1.50.0", path = "../../../sdk/ecs" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/eks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-eks= { version = "1.55.0", path = "../../../sdk/eks" }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/firehose/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-firehose= { version = "1.52.0", path = "../../../sdk/firehose" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/globalaccelerator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
tokio-stream = "0.1.8"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-globalaccelerator= { version = "1.49.0", path = "../../../sdk/globalaccelerator" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/glue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ thiserror = "1.0.37"
secrecy = "0.8.0"
futures = "0.3.25"
tracing-bunyan-formatter = "0.3.4"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-glue= { version = "1.67.0", path = "../../../sdk/glue" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
aws-http= { version = "0.60.6", path = "../../../sdk/aws-http" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/greengrassv2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-greengrassv2= { version = "1.48.0", path = "../../../sdk/greengrassv2" }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/iam/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ http = "0.2.8"
futures = "0.3.28"
async_once = "0.2.6"
lazy_static = "1.4.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-credential-types= { version = "1.2.1", path = "../../../sdk/aws-credential-types", features = ["hardcoded-credentials"] }
aws-sdk-iam= { version = "1.49.0", path = "../../../sdk/iam" }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/iot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-iot= { version = "1.52.0", path = "../../../sdk/iot" }
aws-types= { version = "1.3.3", path = "../../../sdk/aws-types" }

Expand Down
2 changes: 1 addition & 1 deletion examples/examples/kinesis/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-kinesis= { version = "1.49.0", path = "../../../sdk/kinesis" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/kms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ publish = false

[dependencies]
base64 = "0.13.0"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-kms= { version = "1.48.0", path = "../../../sdk/kms" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/lambda/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ serde_json = "1.0.94"
anyhow = "1.0.71"
lambda_runtime = "0.8.0"
serde = "1.0.164"
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-ec2= { version = "1.83.0", path = "../../../sdk/ec2" }
aws-sdk-iam= { version = "1.49.0", path = "../../../sdk/iam" }
aws-sdk-lambda= { version = "1.52.0", path = "../../../sdk/lambda" }
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/localstack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-s3= { version = "1.58.0", path = "../../../sdk/s3" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/logging/logger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
env_logger = "0.9.0"
aws-config= { version = "1.5.8", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-dynamodb= { version = "1.51.0", path = "../../../../sdk/dynamodb" }

[dependencies.clap]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/logging/tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version = "0.1.0"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-dynamodb= { version = "1.51.0", path = "../../../../sdk/dynamodb" }

[dependencies.clap]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/medialive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-medialive= { version = "1.58.0", path = "../../../sdk/medialive" }

[dependencies.tokio]
Expand Down
2 changes: 1 addition & 1 deletion examples/examples/mediapackage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config= { version = "1.5.8", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-config= { version = "1.5.9", path = "../../../sdk/aws-config", features = ["behavior-version-latest"] }
aws-sdk-mediapackage= { version = "1.47.0", path = "../../../sdk/mediapackage" }

[dependencies.tokio]
Expand Down
Loading

0 comments on commit 0bb3ee7

Please sign in to comment.