Package software.amazon.lambda.powertools.idempotency.exceptions
package software.amazon.lambda.powertools.idempotency.exceptions
-
Exception ClassesClassDescriptionThis exception is thrown when the same payload is sent while the previous one was not yet fully stored in the persistence layer (marked as COMPLETED).Exception thrown when Idempotency is not well configured: An annotated method does not return anything An annotated method does not have parameters or more than one without the
IdempotencyKeyannotationIdempotencyInconsistentStateException can happen under rare but expected cases when persistent state changes in the small-time between put & get requests.Exception thrown when trying to store an item which already exists.Exception thrown when the item was not found in the persistence store.Exception thrown only when usingIdempotencyConfig.throwOnNoIdempotencyKey(), and if a key could not be found in the event (for example when having a bad JMESPath configured)Exception thrown when a technical error occurred with the persistence layer (eg. insertion, deletion, ... in database)Exception thrown only when usingIdempotencyConfig.getPayloadValidationJMESPath()is configured and the payload changed between two calls (but with the same idempotency key).