Skip to content

msantino/lambda-parse-sqs

Repository files navigation

Actions Status Python 3.7 PyPI version License: MIT Total alerts Language grade: Python Twitter Follow

Lambda Parse SQS Messages

When creating a Lambda subscription to consume SQS events, it's possible to receive multiple messages at once function invocation. So, its necessary to parse message body and iterate over multiple events.

pip install lambda-parse-sqs
from lambda_parse_sqs import parse_messages

def lambda_handler(event, context):

    messages = parse_messages(event)
    for message in messages:
        # Do wethever you want

About

Parser for lambda trigger from SQS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published