list_pipeline_executions
¶
list_pipeline_executions(
pipeline_name: PipelineName,
*,
config_overrides: Optional[CodePipelineClientConfig] = 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/code_pipeline.py
1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 | |