"""Lambda label-sound-recording-check function module.""" from lambdacommon.common_config import logger from src.logic.start_sfn_execution import start_sfn_execution def handler(event, context): """Lambda entry point.""" try: execution_info = start_sfn_execution(event) return {'status': 'OK', 'execution_arn': execution_info['executionArn']} except Exception as e: logger.exception(str(e)) raise e