@Override
  public T next() {
    previous = list.apply(nextToken());
    return previous;
  }
Function that actually makes the list API call
scheduling-manager/src/main/java/com/amazonaws/blox/scheduling/state/PaginatedResponseIterator.java