Replies: 2 comments
-
Rather than wholesale override the User Agent header you can try giving the configuration an application name which will be added to the e.g. let config = aws_config::defaults(BehaviorVersion::latest())
.app_name(AppName::new("my-application").expect("valid app name"))
// ... other settings
.load()
.await;
let s3 = aws_sdk_s3::Client::new(&config); This will add |
Beta Was this translation helpful? Give feedback.
0 replies
-
Cool, that should work, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to override the User Agent string for my application in the AWS SDK. In the AWS CloudTrail logs, I need to be able to filter API calls coming from a specific application. The easiest way I can see to do this would be to specify a custom User Agent header, so I can filter on that field. How can I accomplish this with the AWS SDK for Rust?
Beta Was this translation helpful? Give feedback.
All reactions