Unverified Commit 91185d29 authored by ysaito1001's avatar ysaito1001 Committed by GitHub
Browse files

Merge smithy-rs-release-1.x.y into main (#4245)

parents ca76037b 57563fa5
Loading
Loading
Loading
Loading

.changelog/1740703869.md

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
---
applies_to: ["client", "server"]
authors: [Dorenavant]
references: []
breaking: false
new_feature: true
bug_fix: false
---

Add EnumSection to allow decorators to modify enum member attributes

.changelog/1753460364.md

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
---
applies_to:
- aws-sdk-rust
- client
authors:
- aajtodd
references:
- smithy-rs#4227
breaking: false
new_feature: false
bug_fix: true
---
Fix canonical request sort order

.changelog/1753975543.md

deleted100644 → 0
+0 −37
Original line number Diff line number Diff line
---
applies_to:
- aws-sdk-rust
authors:
- ysaito1001
references:
- smithy-rs#4241
breaking: false
new_feature: true
bug_fix: false
---
Add support for environment token provider for AWS services whose SigV4 service signing name matches `bedrock`. Setting this environment variable, `AWS_BEARER_TOKEN_BEDROCK`, allows SDKs to prefer the `httpBearerAuth` auth scheme and to retrieve a Token value from the said environment. Customers would use the environment variable as follows:
```
// export AWS_BEARER_TOKEN_BEDROCK=my-token
let sdk_config = aws_config::defaults(BehaviorVersion::latest()).load().await;
let bedrock_client = aws_sdk_bedrock::Client::new(&sdk_config);
// call an operation on `bedrock_client`...
```
Under the hood, this is equivalent roughly to
```
let sdk_config = aws_config::defaults(BehaviorVersion::latest()).load().await;
let bedrock_config = aws_sdk_bedrock::config::Builder::from(sdk_config)
    .auth_scheme_preference([HTTP_BEARER_AUTH_SCHEME_ID])
    .token_provider(Token::new("my-token", None))
    .build();
let bedrock_client = aws_sdk_bedrock::Client::from_conf(bedrock_config);
// call an operation on `bedrock_client`...
```
However, note that if customers create the service client directly from the service config builder, the environment variable will not be applied:
```
// export AWS_BEARER_TOKEN_BEDROCK=my-token
let bedrock_config = aws_sdk_bedrock::Config::builder()
    // other configurations
    .build();
let bedrock_client = aws_sdk_bedrock::Client::from_conf(bedrock_config);
// `bedrock_client` neither prefers HTTP_BEARER_AUTH_SCHEME_ID nor sets a Token with my-token.
```

.changelog/credential-features.md

deleted100644 → 0
+0 −12
Original line number Diff line number Diff line
---
applies_to:
  - aws-sdk-rust
authors:
  - landonxjames
references:
  - smithy-rs#4238
breaking: false
new_feature: true
bug_fix: false
---
Add user-agent feature tracking for credential providers in `aws-config`.
+11 −0
Original line number Diff line number Diff line
<!-- Do not manually edit this file. Use the `changelogger` tool. -->
August 4th, 2025
================
**New this release:**
- :tada: (all, @Dorenavant) Add EnumSection to allow decorators to modify enum member attributes
- :bug: (client, [smithy-rs#4227](https://github.com/smithy-lang/smithy-rs/issues/4227)) Fix canonical request sort order

**Contributors**
Thank you for your contributions! ❤
- @Dorenavant


July 25th, 2025
===============
**New this release:**
Loading