Skip to content

Maintenance: append user agent to AWS SDK clients #1274

Closed
@jeromevdl

Description

@jeromevdl

Summary

The AWS SDK v2 allows to add user agent headers to the requests made using its clients.

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 (in core module) that takes a client and adds Powertools-related user agents to the request. This shared function can then be used by other Powertools utilities that make requests to AWS APIs. Check SDK documentation and typescript implementation (and usage).

Impacted modules:

  • tracing (X-ray)
  • parameters (SSM Parameters, Secrets Manager, DynamoDB, AppConfig)
  • idempotency (DynamoDB)
  • sqs (SQS)

Acknowledgment

Metadata

Metadata

Assignees

Labels

maintenancepriority:2High - core feature or affects 60% of the users

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions