awslabs / awslabs/aws-sdk-rust

[request]: Customize user-agent

Open
#146 3 comments 4 reactions 0 assignees View on GitHub
feature-request p2
Dominant language
Rust
Stars
3.3k
Forks
290
Avg merge
1d 12h
Merged PRs (30d)
3

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue, please leave a comment

**Tell us about your request**
I'd like to customize the user-agent for my application.

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
I'm migrating from rusoto where I can add stuff to the user-agent:

```rust
let mut hyper = HttpClient::new()?;
hyper.local_agent(format!(
"QLDB Driver for Rust v{}/QLDB Shell for Rust v{}",
amazon_qldb_driver::version(),
env!("CARGO_PKG_VERSION")
));
```

**Are you currently working around this issue?**
I'm not!

**Additional context**
N/A

**Attachments**
N/A

Contributor guide

Open the contributing guide

Research direction

No repository file or test is identified. Start by locating where the SDK constructs its user-agent and compare that behavior with the Rust rusoto example in the issue. Done means applications have a defined way to customize the user-agent, with coverage for the resulting value.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.