async def iter_list_checks(
self,
*,
config_overrides: Optional[AsyncTrustedAdvisorClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
pillar: Optional[
"capo_trustedadvisor.types.recommendation_pillar.RecommendationPillar"
] = None,
aws_service: Optional[
"capo_trustedadvisor.types.recommendation_aws_service.RecommendationAwsService"
] = None,
source: Optional[
"capo_trustedadvisor.types.recommendation_source.RecommendationSource"
] = None,
language: Optional[
"capo_trustedadvisor.types.recommendation_language.RecommendationLanguage"
] = None,
) -> "AsyncIterator[capo_trustedadvisor.types.check_summary.CheckSummary]":
_token = next_token
while True:
_response = await self.list_checks(
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
pillar=pillar,
aws_service=aws_service,
source=source,
language=language,
)
_page = _resolve_path(_response, ("check_summaries",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break