list_pipeline_executions
async
¶
list_pipeline_executions(
pipeline_name: PipelineName,
*,
config_overrides: Optional[AsyncCodePipelineClientConfig] = None,
max_results: Optional[MaxResults] = None,
filter: Optional[PipelineExecutionFilter] = None,
next_token: Optional[NextToken] = None,
) -> ListPipelineExecutionsOutput
Gets a summary of the most recent executions for a pipeline.
When applying the filter for pipeline executions that have succeeded in the stage, the operation returns all executions in the current pipeline version beginning on February 1, 2024.
Parameters:
-
pipeline_name(PipelineName) –The name of the pipeline for which you want to get execution summary information.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned nextToken value. Pipeline history is limited to the most recent 12 months, based on pipeline execution start times. Default value is 100.
-
filter(Optional[PipelineExecutionFilter], default:None) –The pipeline execution to filter on.
-
next_token(Optional[NextToken], default:None) –The token that was returned from the previous
ListPipelineExecutionscall, which can be used to return the next set of pipeline executions in the list.
Raises:
-
InvalidNextTokenException–The next token was specified in an invalid format. Make sure that the next token you provide is the token returned by a previous call.
-
PipelineNotFoundException–The pipeline was specified in an invalid format or cannot be found.
-
ValidationException–The validation was specified in an invalid format.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codepipeline/_services/async_code_pipeline.py
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 | |