Maintenance: expose record status & expiry config + make DynamoDB deps optional #1678
Closed
1 of 2 tasks
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.)
Milestone
Summary
While working on #1484 I realized that in order to make it easy to create your own Idempotency provider there are a few items that need to be tweaked:
BasePersistenceLayer
class that is extended when creating your own provider, but it's not exposed to childrenIdempotencyRecordStatus
is an object that maps constants to values (aka similar to an Enum). Currently this is part of thetypes
folder & exports, which is confusing and also wrong, since it's not a type.DynamoDBPersistenceLayer
there's no reason why customers should install the@aws-sdk/lib-dynamodb
moduleThis issue serves to track the work to change these items.
Why is this needed?
So that customers creating their own persistence layer for Idempotency or extending the default one can have a better DX.
Which area does this relate to?
Idempotency
Solution
No response
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: