def link_env_value(request, run_ids, env_value_ids):
    """Link env values to the given runs.

    :param run_ids: give one or more run IDs. It could be an integer, a
        string containing comma separated IDs, or a list of int each of them is
        a run ID.
    :type run_ids: int, str or list
    :param env_value_ids: give one or more environment value IDs. It could be
        an integer, a string containing comma separated IDs, or a list of int
        each of them is a environment value ID.
    :type env_value_ids: int, str or list
    :return: a list which is empty on success or a list of mappings with
        failure codes if a failure occured.
    :rtype: list

    Example::

        # Add env value 1 to run id 2
        TestRun.link_env_value(2, 1)
    """
    return __env_value_operation(request, "add", run_ids, env_value_ids)