async def iter_describe_canaries_last_run(
self,
*,
config_overrides: Optional[AsyncsyntheticsClientConfig] = None,
next_token: Optional["capo_synthetics.types.token.Token"] = None,
max_results: Optional["capo_synthetics.types.max_size100.MaxSize100"] = None,
names: Optional[
"capo_synthetics.types.describe_canaries_last_run_name_filter.DescribeCanariesLastRunNameFilter"
] = None,
browser_type: Optional["capo_synthetics.types.browser_type.BrowserType"] = None,
) -> "AsyncIterator[capo_synthetics.types.describe_canaries_last_run_response.DescribeCanariesLastRunResponse]":
_token = next_token
while True:
_response = await self.describe_canaries_last_run(
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
names=names,
browser_type=browser_type,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break