- withConfig(IdempotencyConfig) - Method in class software.amazon.lambda.powertools.idempotency.Idempotency.Config
-
- withDataAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for response data (optional), by default "data"
- withDynamoDbClient(DynamoDbClient) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
Custom DynamoDbClient used to query DynamoDB (optional).
The default one uses UrlConnectionHttpClient as a http client and
add com.amazonaws.xray.interceptors.TracingInterceptor (X-Ray) if available in the classpath.
- withEventKeyJMESPath(String) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
A JMESPath expression to extract the idempotency key from the event record.
- withExpiration(Duration) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
The number of seconds to wait before a record is expired
- withExpiryAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for expiry timestamp (optional), by default "expiration"
- withHashFunction(String) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
Function to use for calculating hashes, by default MD5.
- withInProgressExpiryAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for in progress expiry timestamp (optional), by default "in_progress_expiration"
- withKeyAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for partition key (optional), by default "id"
- withLocalCacheMaxItems(int) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
Set the maximum number of items to store in local cache, by default 256
- withPayloadValidationJMESPath(String) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
A JMESPath expression to extract the payload to be validated from the event record.
- withPersistenceStore(BasePersistenceStore) - Method in class software.amazon.lambda.powertools.idempotency.Idempotency.Config
-
- withSortKeyAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for the sort key (optional)
- withStaticPkValue(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute value for partition key (optional), by default "idempotency#[function-name]".
- withStatusAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for status (optional), by default "status"
- withTableName(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
Name of the table to use for storing execution records (mandatory)
- withThrowOnNoIdempotencyKey(boolean) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
Whether to throw an exception if no idempotency key was found in the request, by default false
- withThrowOnNoIdempotencyKey() - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
Throw an exception if no idempotency key was found in the request.
- withUseLocalCache(boolean) - Method in class software.amazon.lambda.powertools.idempotency.IdempotencyConfig.Builder
-
Whether to locally cache idempotency results, by default false
- withValidationAttr(String) - Method in class software.amazon.lambda.powertools.idempotency.persistence.DynamoDBPersistenceStore.Builder
-
DynamoDB attribute name for validation (optional), by default "validation"