v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1445247249.8 KB

Retrieves one or more code coverage reports.

post/#X-Amz-Target=CodeBuild_20161006.DescribeCodeCoverages

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Headers

X-Amz-Target'CodeBuild_20161006.DescribeCodeCoverages' required

Request body

reportArnstring required

The ARN of the report for which test cases are returned.

nextTokenstring

The <code>nextToken</code> value returned from a previous call to <code>DescribeCodeCoverages</code>. This specifies the next item to return. To return the beginning of the list, exclude this parameter.

maxResultsinteger

The maximum number of results to return.

sortOrder'ASCENDING' | 'DESCENDING'

Specifies if the results are sorted in ascending or descending order.

sortBy'LINE_COVERAGE_PERCENTAGE' | 'FILE_PATH'
<p>Specifies how the results are sorted. Possible values are:</p> <dl> <dt>FILE_PATH</dt> <dd> <p>The results are sorted by file path.</p> </dd> <dt>LINE_COVERAGE_PERCENTAGE</dt> <dd> <p>The results are sorted by the percentage of lines that are covered.</p> </dd> </dl>
minLineCoveragePercentagenumber double

The minimum line coverage percentage to report.

maxLineCoveragePercentagenumber double

The maximum line coverage percentage to report.

Response

Success

nextTokenstring

If there are more items to return, this contains a token that is passed to a subsequent call to <code>DescribeCodeCoverages</code> to retrieve the next set of items.