| Package | Description |
|---|---|
| software.amazon.lambda.powertools.idempotency.persistence |
| Modifier and Type | Method and Description |
|---|---|
DataRecord |
BasePersistenceStore.getRecord(com.fasterxml.jackson.databind.JsonNode data,
java.time.Instant now)
Retrieve idempotency key for data provided, fetch from persistence store, and convert to DataRecord.
|
DataRecord |
DynamoDBPersistenceStore.getRecord(java.lang.String idempotencyKey) |
DataRecord |
PersistenceStore.getRecord(java.lang.String idempotencyKey)
Retrieve item from persistence store using idempotency key and return it as a DataRecord instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DynamoDBPersistenceStore.putRecord(DataRecord record,
java.time.Instant now)
Store's the given idempotency record in the DDB store.
|
void |
PersistenceStore.putRecord(DataRecord record,
java.time.Instant now)
Add a DataRecord to persistence store if it does not already exist with that key
|
void |
DynamoDBPersistenceStore.updateRecord(DataRecord record) |
void |
PersistenceStore.updateRecord(DataRecord record)
Update item in persistence store
|
Copyright © 2023. All rights reserved.