async def iter_get_durable_execution_history(
self,
durable_execution_arn: "capo_lambda.types.durable_execution_arn.DurableExecutionArn",
*,
config_overrides: Optional[AsyncLambdaClientConfig] = None,
include_execution_data: Optional[
"capo_lambda.types.include_execution_data.IncludeExecutionData"
] = None,
max_items: Optional["capo_lambda.types.item_count.ItemCount"] = None,
marker: Optional["capo_lambda.types.string.String"] = None,
reverse_order: Optional["capo_lambda.types.reverse_order.ReverseOrder"] = None,
) -> "AsyncIterator[capo_lambda.types.event.Event]":
_token = marker
while True:
_response = await self.get_durable_execution_history(
durable_execution_arn,
config_overrides=config_overrides,
include_execution_data=include_execution_data,
max_items=max_items,
marker=_token,
reverse_order=reverse_order,
)
_page = _resolve_path(_response, ("events",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_marker",))
if not _token:
break