def iter_list_collaboration_id_namespace_associations(
self,
collaboration_identifier: "capo_cleanrooms.types.collaboration_identifier.CollaborationIdentifier",
*,
config_overrides: Optional[CleanRoomsClientConfig] = None,
next_token: Optional[
"capo_cleanrooms.types.pagination_token.PaginationToken"
] = None,
max_results: Optional["capo_cleanrooms.types.max_results.MaxResults"] = None,
) -> "Iterator[capo_cleanrooms.types.collaboration_id_namespace_association_summary.CollaborationIdNamespaceAssociationSummary]":
_token = next_token
while True:
_response = self.list_collaboration_id_namespace_associations(
collaboration_identifier,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(
_response, ("collaboration_id_namespace_association_summaries",)
)
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break