Namespace AWS.Lambda.Powertools.Idempotency.Persistence
Classes
BasePersistenceStore
Persistence layer that will store the idempotency result. Base implementation. See DynamoDBPersistenceStore for an implementation (default one) Extend this class to use your own implementation (DocumentDB, ElastiCache, ...)
DataRecord
Data Class for idempotency records. This is actually the item that will be stored in the persistence layer.
DynamoDBPersistenceStore
DynamoDB version of the BasePersistenceStore. Will store idempotency data in DynamoDB.
DynamoDBPersistenceStoreBuilder
Use this builder to get an instance of DynamoDBPersistenceStore.
With this builder you can configure the characteristics of the DynamoDB Table
(name, key, sort key, and other field names).
You can also set a custom AmazonDynamoDBClient for further tuning.
Interfaces
IPersistenceStore
Persistence layer that will store the idempotency result. In order to provide another implementation, extends {@link BasePersistenceStore}.
Enums
DataRecord.DataRecordStatus
Status of the record: -- INPROGRESS: record initialized when function starts -- COMPLETED: record updated with the result of the function when it ends -- EXPIRED: record expired, idempotency will not happen