Skip to content

Maintenance: initialise SDK client only when needed in Idempotency #1767

Closed
@dreamorosi

Description

@dreamorosi

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.

Metadata

Metadata

Assignees

Labels

completedThis item is complete and has been merged/shippedidempotencyThis item relates to the Idempotency UtilityinternalPRs 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