You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dreamorosi opened this issue
Jun 21, 2023
· 2 comments
· Fixed by #1567
Assignees
Labels
completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
The AWS SDK v3 allows to add user agent headers to the requests made using its clients via its middleware stack.
Why is this needed?
So that AWS can attribute requests made to its API when using Powertools.
Which area does this relate to?
Governance
Solution
Expose a shared function that takes a client and adds a middleware to it that will attach Powertools-related user agents to the request. This shared function can then be used by other Powertools utilities that make requests to AWS APIs.
Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered:
dreamorosi
added
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
confirmed
The scope is clear, ready for implementation
labels
Jun 21, 2023
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Summary
The AWS SDK v3 allows to add user agent headers to the requests made using its clients via its middleware stack.
Why is this needed?
So that AWS can attribute requests made to its API when using Powertools.
Which area does this relate to?
Governance
Solution
Expose a shared function that takes a client and adds a middleware to it that will attach Powertools-related user agents to the request. This shared function can then be used by other Powertools utilities that make requests to AWS APIs.
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: