def iter_list_managed_data_identifiers(
self,
*,
config_overrides: Optional[Macie2ClientConfig] = None,
next_token: Optional["capo_macie2.types.__string.__string"] = None,
) -> "Iterator[capo_macie2.types.managed_data_identifier_summary.ManagedDataIdentifierSummary]":
_token = next_token
while True:
_response = self.list_managed_data_identifiers(
config_overrides=config_overrides,
next_token=_token,
)
_page = _resolve_path(_response, ("items",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break