async def iter_list_lineage_node_history(
self,
domain_identifier: "capo_datazone.types.domain_id.DomainId",
identifier: "capo_datazone.types.lineage_node_identifier.LineageNodeIdentifier",
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
max_results: Optional["capo_datazone.types.max_results.MaxResults"] = None,
next_token: Optional[
"capo_datazone.types.pagination_token.PaginationToken"
] = None,
direction: Optional["capo_datazone.types.edge_direction.EdgeDirection"] = None,
event_timestamp_gte: Optional[datetime.datetime] = None,
event_timestamp_lte: Optional[datetime.datetime] = None,
sort_order: Optional["capo_datazone.types.sort_order.SortOrder"] = None,
) -> "AsyncIterator[capo_datazone.types.lineage_node_summary.LineageNodeSummary]":
_token = next_token
while True:
_response = await self.list_lineage_node_history(
domain_identifier,
identifier,
config_overrides=config_overrides,
max_results=max_results,
next_token=_token,
direction=direction,
event_timestamp_gte=event_timestamp_gte,
event_timestamp_lte=event_timestamp_lte,
sort_order=sort_order,
)
_page = _resolve_path(_response, ("nodes",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break