Maintenance: initialise SDK client only when needed in Idempotency #1767
Labels
completed
This item is complete and has been merged/shipped
idempotency
This item relates to the Idempotency Utility
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
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
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: