Skip to content

Maintenance: append user agent to AWS SDK clients #1533

Closed
@dreamorosi

Description

@dreamorosi

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.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedinternalPRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions