async def iter_list_thing_registration_task_reports(
self,
task_id: "capo_iot.types.task_id.TaskId",
report_type: "capo_iot.types.report_type.ReportType",
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
next_token: Optional["capo_iot.types.next_token.NextToken"] = None,
max_results: Optional[
"capo_iot.types.registry_max_results.RegistryMaxResults"
] = None,
) -> "AsyncIterator[capo_iot.types.s3_file_url.S3FileUrl]":
_token = next_token
while True:
_response = await self.list_thing_registration_task_reports(
task_id,
report_type,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("resource_links",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break