describe_code_coverages
async
¶
describe_code_coverages(
report_arn: NonEmptyString,
*,
config_overrides: Optional[AsyncCodeBuildClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[PageSize] = None,
sort_order: Optional[SortOrderType] = None,
sort_by: Optional[ReportCodeCoverageSortByType] = None,
min_line_coverage_percentage: Optional[Percentage] = None,
max_line_coverage_percentage: Optional[Percentage] = None,
) -> DescribeCodeCoveragesOutput
Retrieves one or more code coverage reports.
Parameters:
-
report_arn(NonEmptyString) –The ARN of the report for which test cases are returned.
-
next_token(Optional[String], default:None) –The
nextTokenvalue returned from a previous call toDescribeCodeCoverages. This specifies the next item to return. To return the beginning of the list, exclude this parameter. -
max_results(Optional[PageSize], default:None) –The maximum number of results to return.
-
sort_order(Optional[SortOrderType], default:None) –Specifies if the results are sorted in ascending or descending order.
-
sort_by(Optional[ReportCodeCoverageSortByType], default:None) –Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
-
min_line_coverage_percentage(Optional[Percentage], default:None) –The minimum line coverage percentage to report.
-
max_line_coverage_percentage(Optional[Percentage], default:None) –The maximum line coverage percentage to report.
Raises:
-
InvalidInputException–The input value that was provided is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codebuild/_services/async_code_build.py
1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 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 1896 | |