list_workflow_step_executions
async
¶
list_workflow_step_executions(
workflow_execution_id: WorkflowExecutionId,
*,
config_overrides: Optional[AsyncimagebuilderClientConfig] = None,
max_results: Optional[RestrictedInteger] = None,
next_token: Optional[PaginationToken] = None,
) -> ListWorkflowStepExecutionsResponse
Returns runtime data for each step in a runtime instance of the workflow that you specify in the request.
Parameters:
-
max_results(Optional[RestrictedInteger], default:None) –The maximum number of items to return in a single request.
-
next_token(Optional[PaginationToken], default:None) –A token to specify where to start paginating. Use the
nextTokenvalue from a previously truncated response. -
workflow_execution_id(WorkflowExecutionId) –The unique identifier that Image Builder assigned to keep track of runtime details when it ran the workflow.
Raises:
-
CallRateLimitExceededException–You have exceeded the permitted request rate for the Amazon EC2 APIs that Image Builder calls on your behalf. Retry with an increasing or variable delay between requests.
-
ClientException–A generic client error. This error usually indicates that the request failed a validation check, such as when a downstream service rejects a configured value.
-
ForbiddenException–You are not authorized to perform the requested operation.
-
InvalidPaginationTokenException–You have provided an invalid pagination token in your request.
-
InvalidRequestException–The request is malformed or otherwise invalid. Verify the request and try again.
-
ServiceException–An internal server error occurred while Image Builder processed the request. Retrying the request may succeed.
-
ServiceUnavailableException–The service is unable to process your request at this time.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List the steps that ran in a workflow execution The following example lists runtime details for each step in the specified runtime instance of a workflow, in this case the build workflow from an image build.
>>> await client.list_workflow_step_executions(workflow_execution_id='wf-165b1cb6-3a62-4618-a021-94ddcbe32908')
Source code in docs_src/capo_imagebuilder/_services/async_imagebuilder.py
5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 | |