def METHOD_NAME(region, application_id):
    """
    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
    """
    if not region:
        region = boto3.Session().region_name
    console_link = SERVERLESSREPO_CONSOLE_URL.format(region, application_id.replace("/", "~"))
    msg = "Click the link below to view your application in AWS console:\n{}".format(console_link)
    click.secho(msg, fg="yellow")