in code/lab-2/generic-backend-microservice/app.py [0:0]
def lambda_handler(event, context):
print('{} received event: {}'.format(SERVICE_NAME, json.dumps(event)))
# we set the 'BatchSize' to 1
request_body = json.loads(event['Records'][0]['body'])
process(request_body)