Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves one or more code coverage reports.
This operation returns paginated results.
Synopsis
- data DescribeCodeCoverages = DescribeCodeCoverages' {}
- newDescribeCodeCoverages :: Text -> DescribeCodeCoverages
- describeCodeCoverages_minLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double)
- describeCodeCoverages_sortOrder :: Lens' DescribeCodeCoverages (Maybe SortOrderType)
- describeCodeCoverages_maxLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double)
- describeCodeCoverages_nextToken :: Lens' DescribeCodeCoverages (Maybe Text)
- describeCodeCoverages_maxResults :: Lens' DescribeCodeCoverages (Maybe Natural)
- describeCodeCoverages_sortBy :: Lens' DescribeCodeCoverages (Maybe ReportCodeCoverageSortByType)
- describeCodeCoverages_reportArn :: Lens' DescribeCodeCoverages Text
- data DescribeCodeCoveragesResponse = DescribeCodeCoveragesResponse' {
- codeCoverages :: Maybe [CodeCoverage]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeCodeCoveragesResponse :: Int -> DescribeCodeCoveragesResponse
- describeCodeCoveragesResponse_codeCoverages :: Lens' DescribeCodeCoveragesResponse (Maybe [CodeCoverage])
- describeCodeCoveragesResponse_nextToken :: Lens' DescribeCodeCoveragesResponse (Maybe Text)
- describeCodeCoveragesResponse_httpStatus :: Lens' DescribeCodeCoveragesResponse Int
Creating a Request
data DescribeCodeCoverages Source #
See: newDescribeCodeCoverages
smart constructor.
DescribeCodeCoverages' | |
|
Instances
newDescribeCodeCoverages Source #
Create a value of DescribeCodeCoverages
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:minLineCoveragePercentage:DescribeCodeCoverages'
, describeCodeCoverages_minLineCoveragePercentage
- The minimum line coverage percentage to report.
$sel:sortOrder:DescribeCodeCoverages'
, describeCodeCoverages_sortOrder
- Specifies if the results are sorted in ascending or descending order.
$sel:maxLineCoveragePercentage:DescribeCodeCoverages'
, describeCodeCoverages_maxLineCoveragePercentage
- The maximum line coverage percentage to report.
$sel:nextToken:DescribeCodeCoverages'
, describeCodeCoverages_nextToken
- The nextToken
value returned from a previous call to
DescribeCodeCoverages
. This specifies the next item to return. To
return the beginning of the list, exclude this parameter.
$sel:maxResults:DescribeCodeCoverages'
, describeCodeCoverages_maxResults
- The maximum number of results to return.
$sel:sortBy:DescribeCodeCoverages'
, describeCodeCoverages_sortBy
- 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.
$sel:reportArn:DescribeCodeCoverages'
, describeCodeCoverages_reportArn
- The ARN of the report for which test cases are returned.
Request Lenses
describeCodeCoverages_minLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double) Source #
The minimum line coverage percentage to report.
describeCodeCoverages_sortOrder :: Lens' DescribeCodeCoverages (Maybe SortOrderType) Source #
Specifies if the results are sorted in ascending or descending order.
describeCodeCoverages_maxLineCoveragePercentage :: Lens' DescribeCodeCoverages (Maybe Double) Source #
The maximum line coverage percentage to report.
describeCodeCoverages_nextToken :: Lens' DescribeCodeCoverages (Maybe Text) Source #
The nextToken
value returned from a previous call to
DescribeCodeCoverages
. This specifies the next item to return. To
return the beginning of the list, exclude this parameter.
describeCodeCoverages_maxResults :: Lens' DescribeCodeCoverages (Maybe Natural) Source #
The maximum number of results to return.
describeCodeCoverages_sortBy :: Lens' DescribeCodeCoverages (Maybe ReportCodeCoverageSortByType) Source #
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.
describeCodeCoverages_reportArn :: Lens' DescribeCodeCoverages Text Source #
The ARN of the report for which test cases are returned.
Destructuring the Response
data DescribeCodeCoveragesResponse Source #
See: newDescribeCodeCoveragesResponse
smart constructor.
DescribeCodeCoveragesResponse' | |
|
Instances
newDescribeCodeCoveragesResponse Source #
Create a value of DescribeCodeCoveragesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:codeCoverages:DescribeCodeCoveragesResponse'
, describeCodeCoveragesResponse_codeCoverages
- An array of CodeCoverage
objects that contain the results.
$sel:nextToken:DescribeCodeCoverages'
, describeCodeCoveragesResponse_nextToken
- If there are more items to return, this contains a token that is passed
to a subsequent call to DescribeCodeCoverages
to retrieve the next set
of items.
$sel:httpStatus:DescribeCodeCoveragesResponse'
, describeCodeCoveragesResponse_httpStatus
- The response's http status code.
Response Lenses
describeCodeCoveragesResponse_codeCoverages :: Lens' DescribeCodeCoveragesResponse (Maybe [CodeCoverage]) Source #
An array of CodeCoverage
objects that contain the results.
describeCodeCoveragesResponse_nextToken :: Lens' DescribeCodeCoveragesResponse (Maybe Text) Source #
If there are more items to return, this contains a token that is passed
to a subsequent call to DescribeCodeCoverages
to retrieve the next set
of items.
describeCodeCoveragesResponse_httpStatus :: Lens' DescribeCodeCoveragesResponse Int Source #
The response's http status code.