def get_snapshots_list(response, is_aurora):
    """
    Simplifies list of snapshots by retaining snapshot name and creation time only
    :param response: dict Output from describe_db_snapshots or describe_db_cluster_snapshots
    :param is_aurora: bool True if output if from describe_db_cluster_snapshots, False otherwise
    :return: Dict with snapshot id as key and snapshot creation time as value
    """
    snapshots = {}

    response_list_key = "DBClusterSnapshots" if is_aurora else "DBSnapshots"
    identifier_list_key = "DBClusterSnapshotIdentifier" if is_aurora else "DBSnapshotIdentifier"
    for snapshot in response[response_list_key]:
        if snapshot["Status"] != "available":
            continue

        snapshots[snapshot[identifier_list_key]] = snapshot["SnapshotCreateTime"]

    return snapshots