powertools-lambda-python icon indicating copy to clipboard operation
powertools-lambda-python copied to clipboard

Docs: Explain how to find IdempotencyValidationError

Open rubenfonseca opened this issue 1 year ago • 0 comments

What were you searching in the docs?

(from Discord)

When searching on how to validate an idempotency request, there's a note:

If we try to send the same request but with a different amount, we will raise IdempotencyValidationError.

However, it's not explained where the IdempotencyValidationError comes from.

Is this related to an existing documentation section?

https://docs.powertools.aws.dev/lambda/python/latest/utilities/idempotency/#payload-validation

How can we improve?

The sentence could be expanded to show it comes from

from aws_lambda_powertools.utilities.idempotency.exceptions import IdempotencyValidationError

Or a simple example could be created

Got a suggestion in mind?

No response

Acknowledgment

  • [X] I understand the final update might be different from my proposed suggestion, or refused.

rubenfonseca avatar Apr 24 '24 12:04 rubenfonseca