-
Notifications
You must be signed in to change notification settings - Fork 421
Bug: S3 SQS Event Parsing for LifecycleExpiration:Delete is failed #5129
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
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Hi @DKurilo! Thanks for opening this issue! I'll take a look at it until tomorrow. |
Hi @am29d! As we discussed yesterday, I'm assigning this issue to you. |
Assigning to me. |
|
This is now released under 3.1.0 version! |
Thank you! |
Expected Behaviour
LifecycleExpiration:Delete
events for SQS queue should be parsed properlyCurrent Behaviour
Error because for all
:Delete
eventssize
andeTag
are not in event and code here is requires it:https://github.com/aws-powertools/powertools-lambda-python/blob/develop/aws_lambda_powertools/utilities/parser/models/s3.py#L108
I added code from link to code snippet
Code snippet
Possible Solution
Change condition from:
to
Steps to Reproduce
Try to parse
LifecycleExpiration:Delete
.Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.8
Packaging format used
Lambda Layers
Debugging logs
No response
The text was updated successfully, but these errors were encountered: