list_workflows
async
¶
list_workflows(
space_name: NameString,
project_name: NameString,
*,
config_overrides: Optional[AsyncCodeCatalystClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
sort_by: Optional[WorkflowSortCriteriaList] = None,
) -> ListWorkflowsResponse
Retrieves a list of workflows in a specified project.
Parameters:
-
space_name(NameString) –The name of the space.
-
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[WorkflowSortCriteriaList], 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/async_code_catalyst.py
2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 | |