async def iter_search_dashboards(
self,
aws_account_id: "capo_quicksight.types.aws_account_id.AwsAccountId",
filters: "capo_quicksight.types.dashboard_search_filter_list.DashboardSearchFilterList",
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
next_token: Optional["capo_quicksight.types.string.String"] = None,
max_results: Optional["capo_quicksight.types.max_results.MaxResults"] = None,
) -> "AsyncIterator[capo_quicksight.types.dashboard_summary.DashboardSummary]":
_token = next_token
while True:
_response = await self.search_dashboards(
aws_account_id,
filters,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("dashboard_summary_list",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break