def get_lambda_path_from_event(event) -> str:
    """Builds the lambda function url based on event data"""
    lambda_path = event["requestContext"]["path"]
    lambda_domain = event["requestContext"]["domainName"]
    return f"https://{lambda_domain}{lambda_path}"