def iter_list_workflow_steps(
self,
workflow_id: "capo_migrationhuborchestrator.types.migration_workflow_id.MigrationWorkflowId",
step_group_id: "capo_migrationhuborchestrator.types.step_group_id.StepGroupId",
*,
config_overrides: Optional[MigrationHubOrchestratorClientConfig] = None,
next_token: Optional[
"capo_migrationhuborchestrator.types.next_token.NextToken"
] = None,
max_results: Optional[
"capo_migrationhuborchestrator.types.max_results.MaxResults"
] = None,
) -> "Iterator[capo_migrationhuborchestrator.types.workflow_step_summary.WorkflowStepSummary]":
_token = next_token
while True:
_response = self.list_workflow_steps(
workflow_id,
step_group_id,
config_overrides=config_overrides,
next_token=_token,
max_results=max_results,
)
_page = _resolve_path(_response, ("workflow_steps_summary",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break