import json


def end(event, context):
    """
    Second Lambda function. Triggered by the SQS.
    :param event: AWS event data (this time will be the SQS's data)
    :param context: AWS function's context
    :return: ''
    """
    print(f'sqs event: {event}')
    body = json.loads(event['Records'][0]['body'])
    print(f"sqs parsed body: {body['data']}")
    return ''