from datetime import datetime


def parse_datetime(timestamp: str) -> datetime:
    """
    Parse a string value from an AWS response as "2020-09-21 01:53:07.692000+00:00" into a datetime

    Parameters
    ----------
    timestamp: str
        A timestamp to be parsed
    """
    return datetime.strptime(timestamp, "%Y-%m-%d %H:%M:%S.%f%z")