We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d281d46 commit 222d7ceCopy full SHA for 222d7ce
packages/idempotency/src/makeIdempotent.ts
@@ -56,7 +56,9 @@ const isOptionsWithDataIndexArgument = (
56
* // we use wrapper to make processing function idempotent with DynamoDBPersistenceLayer
57
* const processIdempotently = makeIdempotent(processRecord, {
58
* persistenceStore: new DynamoDBPersistenceLayer()
59
- * dataKeywordArgument: 'transactionId', // keyword argument to hash the payload and the result
+ * config: new IdempotencyConfig({
60
+ * eventKeyJmesPath: 'transactionId', // this will use `transactionId` argument as idempotency payload
61
+ * }),
62
* });
63
*
64
* export const handler = async (
0 commit comments