Skip to content

iter_list_check_details

iter_list_check_details(
    workload_id: WorkloadId,
    *,
    config_overrides: Optional[WellArchitectedClientConfig] = None,
    next_token: Optional[NextToken] = None,
    max_results: Optional[MaxResults] = None,
    lens_arn: Optional[LensArn] = None,
    pillar_id: Optional[PillarId] = None,
    question_id: Optional[QuestionId] = None,
    choice_id: Optional[ChoiceId] = None,
) -> Iterator[ListCheckDetailsOutput]
Source code in docs_src/capo_wellarchitected/_services/well_architected.py
def iter_list_check_details(
    self,
    workload_id: "capo_wellarchitected.types.workload_id.WorkloadId",
    *,
    config_overrides: Optional[WellArchitectedClientConfig] = 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,
) -> "Iterator[capo_wellarchitected.types.list_check_details_output.ListCheckDetailsOutput]":
    _token = next_token
    while True:
        _response = 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