def METHOD_NAME(yaml_strings: Sequence[str]) -> Mapping[str, Any]:
    """Static constructor for run configs from YAML strings.
    Args:
        yaml_strings (List[str]): List of yaml strings to parse as the run config.
    Returns:
        Dict[Str, Any]: A run config dictionary constructed from the provided yaml strings
    Raises:
        DagsterInvariantViolationError: When one of the YAML documents is invalid and has a
            parse error.
    """
    yaml_strings = check.sequence_param(yaml_strings, "yaml_strings", of_type=str)
    try:
        run_config = merge_yaml_strings(yaml_strings)
    except yaml.YAMLError as err:
        raise DagsterInvariantViolationError(
            f"Encountered error attempting to parse yaml. Parsing YAMLs {yaml_strings} "
        ) from err
    return check.is_dict(cast(Dict[str, object], run_config), key_type=str)