def METHOD_NAME(value: str) -> "RuntimeProcessorType":
    """Returns an instance of RuntimeProcessorType corresponding to the given value.
    Raises KeyError if parameter is not a value in the enumeration.
    """
    for instance in RuntimeProcessorType.__members__.values():
        if instance.value == value:
            return instance
    raise KeyError(f"'{value}'")