def _print_console_link(region, application_id):
if not region:<EOL><INDENT>region = boto3.Session().region_name<EOL><DEDENT>console_link = SERVERLESSREPO_CONSOLE_URL.format(region, application_id.replace('<STR_LIT:/>', '<STR_LIT>'))<EOL>msg = "<STR_LIT>".format(console_link)<EOL>click.secho(msg, fg="<STR_LIT>")<EOL>
Print link for the application in AWS Serverless Application Repository console.

Parameters
----------
region : str
    AWS region name
application_id : str
    The Amazon Resource Name (ARN) of the application