async def iter_list_networks(
self,
*,
config_overrides: Optional[AsyncManagedBlockchainClientConfig] = None,
name: Optional["capo_managedblockchain.types.string.String"] = None,
framework: Optional["capo_managedblockchain.types.framework.Framework"] = None,
status: Optional[
"capo_managedblockchain.types.network_status.NetworkStatus"
] = None,
max_results: Optional[
"capo_managedblockchain.types.network_list_max_results.NetworkListMaxResults"
] = None,
next_token: Optional[
"capo_managedblockchain.types.pagination_token.PaginationToken"
] = None,
) -> "AsyncIterator[capo_managedblockchain.types.list_networks_output.ListNetworksOutput]":
_token = next_token
while True:
_response = await self.list_networks(
config_overrides=config_overrides,
name=name,
framework=framework,
status=status,
max_results=max_results,
next_token=_token,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break