async def iter_list_unique_problems(
self,
arn: "capo_device_farm.types.amazon_resource_name.AmazonResourceName",
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
next_token: Optional[
"capo_device_farm.types.pagination_token.PaginationToken"
] = None,
) -> "AsyncIterator[tuple[capo_device_farm.types.execution_result.ExecutionResult, capo_device_farm.types.unique_problems.UniqueProblems]]":
_token = next_token
while True:
_response = await self.list_unique_problems(
arn,
config_overrides=config_overrides,
next_token=_token,
)
_page = _resolve_path(_response, ("unique_problems",))
for _k, _v in (_page or {}).items():
yield (_k, _v)
_token = _resolve_path(_response, ("next_token",))
if not _token:
break