def METHOD_NAME(exception: ParallelClusterApiException):
    """Render a ParallelClusterApiException according to ParallelCluster API specs."""
    response = jsonify(exception_message(exception))
    response.status_code = exception.code
    return response