generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 266
Closed
smithy-lang/smithy-rs
#4064Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue
Description
Describe the bug
When setting AWS_ENDPOINT_URL_BEDROCK_AGENT
and/or AWS_ENDPOINT_URL_BEDROCK_AGENT_RUNTIME
, the SDK continues using the default endpoint for the Bedrock Agent services. I have not tested other aws-sdk-rust crates.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Using these env vars should override the endpoint used.
Current Behavior
The default endpoint is used.
Reproduction Steps
Set the variables:
export AWS_ENDPOINT_URL_BEDROCK_AGENT=https://localhost:8080/
export AWS_ENDPOINT_URL_BEDROCK_AGENT_RUNTIME=https://localhost:8080/
Configure the SDK without overriding the endpoint.
To show endpoint resolution, run with RUST_LOG="info,aws_smithy_runtime::client::orchestrator::endpoints=debug" cargo run
Crate attached.
Possible Solution
No response
Additional Information/Context
AWS_ENDPOINT_URL
does override.- The AWS CLI and Boto3 both override as expected.
Version
❯ cargo tree | grep aws-
├── aws-config v1.5.15
│ ├── aws-credential-types v1.2.1
│ │ ├── aws-smithy-async v1.2.4
│ │ ├── aws-smithy-runtime-api v1.7.3
│ │ │ ├── aws-smithy-async v1.2.4 (*)
│ │ │ ├── aws-smithy-types v1.2.12
│ │ ├── aws-smithy-types v1.2.12 (*)
│ ├── aws-runtime v1.5.4
│ │ ├── aws-credential-types v1.2.1 (*)
│ │ ├── aws-sigv4 v1.2.7
│ │ │ ├── aws-credential-types v1.2.1 (*)
│ │ │ ├── aws-smithy-http v0.60.12
│ │ │ │ ├── aws-smithy-eventstream v0.60.6
│ │ │ │ │ ├── aws-smithy-types v1.2.12 (*)
│ │ │ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ │ │ ├── aws-smithy-types v1.2.12 (*)
│ │ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-smithy-async v1.2.4 (*)
│ │ ├── aws-smithy-http v0.60.12 (*)
│ │ ├── aws-smithy-runtime v1.7.7
│ │ │ ├── aws-smithy-async v1.2.4 (*)
│ │ │ ├── aws-smithy-http v0.60.12 (*)
│ │ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-types v1.3.4
│ │ │ ├── aws-credential-types v1.2.1 (*)
│ │ │ ├── aws-smithy-async v1.2.4 (*)
│ │ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ │ ├── aws-smithy-types v1.2.12 (*)
│ ├── aws-sdk-sso v1.57.0
│ │ ├── aws-credential-types v1.2.1 (*)
│ │ ├── aws-runtime v1.5.4 (*)
│ │ ├── aws-smithy-async v1.2.4 (*)
│ │ ├── aws-smithy-http v0.60.12 (*)
│ │ ├── aws-smithy-json v0.61.2
│ │ │ └── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-smithy-runtime v1.7.7 (*)
│ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-types v1.3.4 (*)
│ ├── aws-sdk-ssooidc v1.58.0
│ │ ├── aws-credential-types v1.2.1 (*)
│ │ ├── aws-runtime v1.5.4 (*)
│ │ ├── aws-smithy-async v1.2.4 (*)
│ │ ├── aws-smithy-http v0.60.12 (*)
│ │ ├── aws-smithy-json v0.61.2 (*)
│ │ ├── aws-smithy-runtime v1.7.7 (*)
│ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-types v1.3.4 (*)
│ ├── aws-sdk-sts v1.58.0
│ │ ├── aws-credential-types v1.2.1 (*)
│ │ ├── aws-runtime v1.5.4 (*)
│ │ ├── aws-smithy-async v1.2.4 (*)
│ │ ├── aws-smithy-http v0.60.12 (*)
│ │ ├── aws-smithy-json v0.61.2 (*)
│ │ ├── aws-smithy-query v0.60.7
│ │ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-smithy-runtime v1.7.7 (*)
│ │ ├── aws-smithy-runtime-api v1.7.3 (*)
│ │ ├── aws-smithy-types v1.2.12 (*)
│ │ ├── aws-smithy-xml v0.60.9
│ │ ├── aws-types v1.3.4 (*)
│ ├── aws-smithy-async v1.2.4 (*)
│ ├── aws-smithy-http v0.60.12 (*)
│ ├── aws-smithy-json v0.61.2 (*)
│ ├── aws-smithy-runtime v1.7.7 (*)
│ ├── aws-smithy-runtime-api v1.7.3 (*)
│ ├── aws-smithy-types v1.2.12 (*)
│ ├── aws-types v1.3.4 (*)
├── aws-sdk-bedrockagent v1.76.0
│ ├── aws-credential-types v1.2.1 (*)
│ ├── aws-runtime v1.5.4 (*)
│ ├── aws-smithy-async v1.2.4 (*)
│ ├── aws-smithy-http v0.60.12 (*)
│ ├── aws-smithy-json v0.61.2 (*)
│ ├── aws-smithy-runtime v1.7.7 (*)
│ ├── aws-smithy-runtime-api v1.7.3 (*)
│ ├── aws-smithy-types v1.2.12 (*)
│ ├── aws-types v1.3.4 (*)
├── aws-sdk-bedrockagentruntime v1.76.0
│ ├── aws-credential-types v1.2.1 (*)
│ ├── aws-runtime v1.5.4 (*)
│ ├── aws-smithy-async v1.2.4 (*)
│ ├── aws-smithy-eventstream v0.60.6 (*)
│ ├── aws-smithy-http v0.60.12 (*)
│ ├── aws-smithy-json v0.61.2 (*)
│ ├── aws-smithy-runtime v1.7.7 (*)
│ ├── aws-smithy-runtime-api v1.7.3 (*)
│ ├── aws-smithy-types v1.2.12 (*)
│ ├── aws-types v1.3.4 (*)
Environment details (OS name and version, etc.)
MacOS, M2 Pro, 15.2 (24C101)
Logs
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue