async def iter_list_connections(
self,
catalog: "capo_partnercentral_account.types.catalog.Catalog",
*,
config_overrides: Optional[AsyncPartnerCentralAccountClientConfig] = None,
next_token: Optional[
"capo_partnercentral_account.types.next_token.NextToken"
] = None,
connection_type: Optional[
"capo_partnercentral_account.types.connection_type_filter.ConnectionTypeFilter"
] = None,
max_results: Optional[
"capo_partnercentral_account.types.max_results.MaxResults"
] = None,
other_participant_identifiers: Optional[
"capo_partnercentral_account.types.participant_identifier_list.ParticipantIdentifierList"
] = None,
) -> "AsyncIterator[capo_partnercentral_account.types.connection_summary.ConnectionSummary]":
_token = next_token
while True:
_response = await self.list_connections(
catalog,
config_overrides=config_overrides,
next_token=_token,
connection_type=connection_type,
max_results=max_results,
other_participant_identifiers=other_participant_identifiers,
)
_page = _resolve_path(_response, ("connection_summaries",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break