Skip to content

iter_list_dataflow_endpoint_groups

iter_list_dataflow_endpoint_groups(
    *,
    config_overrides: Optional[GroundStationClientConfig] = None,
    max_results: Optional[PaginationMaxResults] = None,
    next_token: Optional[PaginationToken] = None,
) -> Iterator[DataflowEndpointListItem]
Source code in docs_src/capo_groundstation/_services/ground_station.py
def iter_list_dataflow_endpoint_groups(
    self,
    *,
    config_overrides: Optional[GroundStationClientConfig] = None,
    max_results: Optional[
        "capo_groundstation.types.pagination_max_results.PaginationMaxResults"
    ] = None,
    next_token: Optional[
        "capo_groundstation.types.pagination_token.PaginationToken"
    ] = None,
) -> "Iterator[capo_groundstation.types.dataflow_endpoint_list_item.DataflowEndpointListItem]":
    _token = next_token
    while True:
        _response = self.list_dataflow_endpoint_groups(
            config_overrides=config_overrides,
            max_results=max_results,
            next_token=_token,
        )
        _page = _resolve_path(_response, ("dataflow_endpoint_group_list",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break