describe_code_coverages
¶
describe_code_coverages(
report_arn: NonEmptyString,
*,
config_overrides: Optional[CodeBuildClientConfig] = 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/code_build.py
1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 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 | |