Closed
Description
Summary
In #1757 we have refactored the logic that initializes the AWS SDK client needed in the Parameters utility so that it's executed only when a customer doesn't pass us a client. The Idempotency utility could benefit from a similar optimization as it uses the same logic that was found in the Parameters utility before the refactor.
Why is this needed?
This avoids adding unnecessary runtime cost to the execution for those customers who are providing their own AWS SDK client.
Which area does this relate to?
Idempotency
Solution
Apply the same logic as the one applied in the Parameters utility in #1757.
Acknowledgment
- This request meets Powertools for AWS Lambda (TypeScript) Tenets
- 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.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Shipped