async def iter_list_check_details(
self,
workload_id: "capo_wellarchitected.types.workload_id.WorkloadId",
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = None,
next_token: Optional["capo_wellarchitected.types.next_token.NextToken"] = None,
max_results: Optional[
"capo_wellarchitected.types.max_results.MaxResults"
] = None,
lens_arn: Optional["capo_wellarchitected.types.lens_arn.LensArn"] = None,
pillar_id: Optional["capo_wellarchitected.types.pillar_id.PillarId"] = None,
question_id: Optional[
"capo_wellarchitected.types.question_id.QuestionId"
] = None,
choice_id: Optional["capo_wellarchitected.types.choice_id.ChoiceId"] = None,
) -> "AsyncIterator[capo_wellarchitected.types.list_check_details_output.ListCheckDetailsOutput]":
_token = next_token
while True:
_response = await self.list_check_details(
workload_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
lens_arn=lens_arn,
pillar_id=pillar_id,
question_id=question_id,
choice_id=choice_id,
)
yield _response
_token = _resolve_path(_response, ("next_token",))
if not _token:
break