private Stream<ContainerInstance> extractContainerInstancesFromResponse(
      DescribeContainerInstancesResponse r) {
    return r.containerInstances().stream().map(ContainerInstance::from);
  }
Wrapper around paginated ECS list/describe ContainerInstance APIs that efficiently describes all
tasks.
scheduling-manager/src/main/java/com/amazonaws/blox/scheduling/state/ContainerInstanceLister.java