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
1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 | |