list_rule_executions
¶
list_rule_executions(
pipeline_name: PipelineName,
*,
config_overrides: Optional[CodePipelineClientConfig] = None,
filter: Optional[RuleExecutionFilter] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListRuleExecutionsOutput
Lists the rule executions that have occurred in a pipeline configured for conditions with rules.
Parameters:
-
pipeline_name(PipelineName) –The name of the pipeline for which you want to get execution summary information.
-
filter(Optional[RuleExecutionFilter], default:None) –Input information used to filter rule execution history.
-
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.
-
next_token(Optional[NextToken], default:None) –The token that was returned from the previous
ListRuleExecutionscall, which can be used to return the next set of rule 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.
-
PipelineExecutionNotFoundException–The pipeline execution was specified in an invalid format or cannot be found, or an execution ID does not belong to the specified pipeline.
-
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
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 | |