def lambda_handler()

in stack/lambdas/rekopoc-get-timestamps-faces/lambda_function.py [0:0]


def lambda_handler(event, context):
    job_id = event['job_id']
    timestamps, response = get_timestamps_and_faces(job_id, reko)
    return {
        'statusCode': 200,
        "body":
            {
                "job_id": job_id,
                "response": response,
                "s3_object_bucket": event['s3_object_bucket'],
                "s3_object_key": event['s3_object_key'],
                "timestamps": timestamps
            }
    }