Skip to content

iter_list_id_namespaces

iter_list_id_namespaces(
    *,
    config_overrides: Optional[EntityResolutionClientConfig] = None,
    next_token: Optional[NextToken] = None,
    max_results: Optional[int] = None,
) -> Iterator[IdNamespaceSummary]
Source code in docs_src/capo_entityresolution/_services/entity_resolution.py
def iter_list_id_namespaces(
    self,
    *,
    config_overrides: Optional[EntityResolutionClientConfig] = None,
    next_token: Optional["capo_entityresolution.types.next_token.NextToken"] = None,
    max_results: Optional[int] = None,
) -> (
    "Iterator[capo_entityresolution.types.id_namespace_summary.IdNamespaceSummary]"
):
    _token = next_token
    while True:
        _response = self.list_id_namespaces(
            config_overrides=config_overrides,
            next_token=_token,
            max_results=max_results,
        )
        _page = _resolve_path(_response, ("id_namespace_summaries",))
        for _item in _page or []:
            yield _item
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break