@staticmethod
def simplify_service_access_result(service_access_list: list):
    """
        Simplifies AWS's service_last_accessed object by keeping only the relevant fields of the services that were in use
        :param service_access_list: List of service_last_accessed objects as received from the API
        :return: A list of objects of the format {"ServiceNamespace": ..., "LastAccessed": ...}, and only those that were in use
        """
    return list(map(lambda last_access: {'ServiceNamespace': last_access[
        'ServiceNamespace'], 'LastAccessed': last_access[
        'LastAuthenticated']}, filter(lambda last_access: last_access[
        'TotalAuthenticatedEntities'] > 0, service_access_list)))
