from datetime import datetime


def str2iso(input_string: str) -> datetime:
    """
    Convert a specific type of ISO string that are compliant with file pathing requirement to ISO datetime.
    :return:
    """
    iso_datetime = datetime.strptime(input_string, "%Y-%m-%d %H:%M:%S")
    return iso_datetime