async def iter_list_configuration_check_definitions(
self,
*,
config_overrides: Optional[AsyncSsmSapClientConfig] = None,
max_results: Optional["capo_ssm_sap.types.max_results.MaxResults"] = None,
next_token: Optional["capo_ssm_sap.types.next_token.NextToken"] = None,
) -> "AsyncIterator[capo_ssm_sap.types.configuration_check_definition.ConfigurationCheckDefinition]":
_token = next_token
while True:
_response = await self.list_configuration_check_definitions(
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
)
_page = _resolve_path(_response, ("configuration_checks",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break