list_workflow_runs
async
¶
list_workflow_runs(
workflow_definition_name: WorkflowDefinitionName,
*,
config_overrides: Optional[AsyncNovaActClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
sort_order: Optional[SortOrder] = None,
) -> ListWorkflowRunsResponse
Lists all workflow runs for a specific workflow definition with optional filtering and pagination.
Parameters:
-
workflow_definition_name(WorkflowDefinitionName) –The name of the workflow definition to list workflow runs for.
-
max_results(Optional[MaxResults], default:None) –The maximum number of workflow runs to return in a single response.
-
next_token(Optional[NextToken], default:None) –The token for retrieving the next page of results.
-
sort_order(Optional[SortOrder], default:None) –The sort order for the returned workflow runs (ascending or descending).
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An internal server error occurred. Please try again later.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was throttled due to too many requests. Please try again later.
-
ValidationException–The input parameters for the request are invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_nova_act/_services/async_nova_act.py
1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 | |