def METHOD_NAME(group, account, ams_type, name, ams_child_type, child_name):
    import sys
    message = build_child_resource_not_found_message(account, ams_type, name, ams_child_type, child_name, group)
    from azure.cli.core.azlogging import CommandLoggerContext
    with CommandLoggerContext(logger):
        logger.error(message)
        sys.exit(3)