list_workflow_runs
¶
list_workflow_runs(
space_name: NameString,
project_name: NameString,
*,
config_overrides: Optional[CodeCatalystClientConfig] = None,
workflow_id: Optional[Uuid] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
sort_by: Optional[WorkflowRunSortCriteriaList] = None,
) -> ListWorkflowRunsResponse
Retrieves a list of workflow runs of a specified workflow.
Parameters:
-
space_name(NameString) –The name of the space.
-
workflow_id(Optional[Uuid], default:None) –The ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows.
-
project_name(NameString) –The name of the project in the space.
-
next_token(Optional[str], default:None) –A token returned from a call to this API to indicate the next batch of results to return, if any.
-
max_results(Optional[int], default:None) –The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextTokenelement, which you can use to obtain additional results. -
sort_by(Optional[WorkflowRunSortCriteriaList], default:None) –Information used to sort the items in the returned list.
Raises:
-
AccessDeniedException–The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.
-
ConflictException–The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.
-
ResourceNotFoundException–The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.
-
ServiceQuotaExceededException–The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codecatalyst/_services/code_catalyst.py
2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 | |