@staticmethod<EOL><INDENT>def convert_path_to_api_gateway(path):<DEDENT>
proxy_sub_path = FLASK_TO_APIGW_REGEX.sub(PROXY_PATH_PARAMS, path)<EOL>return proxy_sub_path.replace(LEFT_ANGLE_BRACKET, LEFT_BRACKET).replace(RIGHT_ANGLE_BRACKET, RIGHT_BRACKET)<EOL>
Converts a Path from a Flask defined path to one that is accepted by Api Gateway

Examples:

'/id/<id>' => '/id/{id}'
'/<path:proxy>' => '/{proxy+}'

:param str path: Path to convert to Api Gateway defined path
:return str: Path representing an Api Gateway path