libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.DescribeCodeCoverages

Description

Retrieves one or more code coverage reports.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeCodeCoverages Source #

See: newDescribeCodeCoverages smart constructor.

Constructors

DescribeCodeCoverages' 

Fields

Instances

Instances details
Eq DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Read DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Show DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Generic DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Associated Types

type Rep DescribeCodeCoverages :: Type -> Type #

NFData DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Methods

rnf :: DescribeCodeCoverages -> () #

Hashable DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

ToJSON DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

AWSPager DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

AWSRequest DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Associated Types

type AWSResponse DescribeCodeCoverages #

ToHeaders DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

ToPath DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

ToQuery DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

type Rep DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

type Rep DescribeCodeCoverages = D1 ('MetaData "DescribeCodeCoverages" "Amazonka.CodeBuild.DescribeCodeCoverages" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DescribeCodeCoverages'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "minLineCoveragePercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortOrderType)) :*: S1 ('MetaSel ('Just "maxLineCoveragePercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "sortBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportCodeCoverageSortByType)) :*: S1 ('MetaSel ('Just "reportArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse DescribeCodeCoverages Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

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_sortOrder :: Lens' DescribeCodeCoverages (Maybe SortOrderType) Source #

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

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_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.

Constructors

DescribeCodeCoveragesResponse' 

Fields

  • codeCoverages :: Maybe [CodeCoverage]

    An array of CodeCoverage objects that contain the results.

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeCodeCoveragesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Read DescribeCodeCoveragesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Show DescribeCodeCoveragesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Generic DescribeCodeCoveragesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

Associated Types

type Rep DescribeCodeCoveragesResponse :: Type -> Type #

NFData DescribeCodeCoveragesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

type Rep DescribeCodeCoveragesResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.DescribeCodeCoverages

type Rep DescribeCodeCoveragesResponse = D1 ('MetaData "DescribeCodeCoveragesResponse" "Amazonka.CodeBuild.DescribeCodeCoverages" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "DescribeCodeCoveragesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "codeCoverages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeCoverage])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.