def iter_list_managed_notification_child_events(
self,
aggregate_managed_notification_event_arn: "capo_notifications.types.managed_notification_event_arn.ManagedNotificationEventArn",
*,
config_overrides: Optional[NotificationsClientConfig] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
locale: Optional["capo_notifications.types.locale_code.LocaleCode"] = None,
max_results: Optional[int] = None,
related_account: Optional[
"capo_notifications.types.account_id.AccountId"
] = None,
organizational_unit_id: Optional[
"capo_notifications.types.organizational_unit_id.OrganizationalUnitId"
] = None,
next_token: Optional["capo_notifications.types.next_token.NextToken"] = None,
) -> "Iterator[capo_notifications.types.managed_notification_child_event_overview.ManagedNotificationChildEventOverview]":
_token = next_token
while True:
_response = self.list_managed_notification_child_events(
aggregate_managed_notification_event_arn,
config_overrides=config_overrides,
start_time=start_time,
end_time=end_time,
locale=locale,
max_results=max_results,
related_account=related_account,
organizational_unit_id=organizational_unit_id,
next_token=_token,
)
_page = _resolve_path(_response, ("managed_notification_child_events",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break