-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: provide custom functions for JMESPath expressions #1298
Comments
The module used to implement JMESPath functions introduced in #1376 ( There is however another package called We should evaluate how important this feature is and consider potentially this alternative library. |
While addressing this issue, consider testing different inputs for the |
Hi! As I mentioned in #2029, I'm also interested in this feature. It would be very useful to have these custom helper functions in Typescript so that we could customize our idempotency validations. Thanks! |
This issue is now closed. Please be mindful that future comments are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so. |
This is now released under v2.1.0 version! |
Use case
When making their functions idempotent, users can apply JMESPath selectors that will be used to filter the event payload and/or perform validations.
In Powertools for Python, the Idempotency utility features some helper functions that allow to extend the JMESPath spec and apply transformations to the result of a selection:
The functions are defined here and used in the search here. Powertools for Python also exposes a number of common payload expressions which require the functions and are related to AWS Lambda events.
Solution/User Experience
N/A
Alternative solutions
No response
Acknowledgment
The text was updated successfully, but these errors were encountered: