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
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 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 | |