def iter_describe_automation_step_executions(
self,
automation_execution_id: "capo_ssm.types.automation_execution_id.AutomationExecutionId",
*,
config_overrides: Optional[SSMClientConfig] = None,
filters: Optional[
"capo_ssm.types.step_execution_filter_list.StepExecutionFilterList"
] = None,
next_token: Optional["capo_ssm.types.next_token.NextToken"] = None,
max_results: Optional["capo_ssm.types.max_results.MaxResults"] = None,
reverse_order: Optional["capo_ssm.types.boolean.Boolean"] = None,
) -> "Iterator[capo_ssm.types.step_execution.StepExecution]":
_token = next_token
while True:
_response = self.describe_automation_step_executions(
automation_execution_id,
config_overrides=config_overrides,
filters=filters,
next_token=_token,
max_results=max_results,
reverse_order=reverse_order,
)
_page = _resolve_path(_response, ("step_executions",))
for _item in _page or []:
yield _item
_token = _resolve_path(_response, ("next_token",))
if not _token:
break