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

Description

Analyzes and accumulates test report values for the specified test reports.

Synopsis

Creating a Request

data GetReportGroupTrend Source #

See: newGetReportGroupTrend smart constructor.

Constructors

GetReportGroupTrend' 

Fields

  • numOfReports :: Maybe Natural

    The number of reports to analyze. This operation always retrieves the most recent reports.

    If this parameter is omitted, the most recent 100 reports are analyzed.

  • reportGroupArn :: Text

    The ARN of the report group that contains the reports to analyze.

  • trendField :: ReportGroupTrendFieldType

    The test report value to accumulate. This must be one of the following values:

    Test reports:
    DURATION
    Accumulate the test run times for the specified reports.
    PASS_RATE
    Accumulate the percentage of tests that passed for the specified test reports.
    TOTAL
    Accumulate the total number of tests for the specified test reports.
    Code coverage reports:
    BRANCH_COVERAGE
    Accumulate the branch coverage percentages for the specified test reports.
    BRANCHES_COVERED
    Accumulate the branches covered values for the specified test reports.
    BRANCHES_MISSED
    Accumulate the branches missed values for the specified test reports.
    LINE_COVERAGE
    Accumulate the line coverage percentages for the specified test reports.
    LINES_COVERED
    Accumulate the lines covered values for the specified test reports.
    LINES_MISSED
    Accumulate the lines not covered values for the specified test reports.

Instances

Instances details
Eq GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Read GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Show GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Generic GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Associated Types

type Rep GetReportGroupTrend :: Type -> Type #

NFData GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Methods

rnf :: GetReportGroupTrend -> () #

Hashable GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

ToJSON GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

AWSRequest GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Associated Types

type AWSResponse GetReportGroupTrend #

ToHeaders GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

ToPath GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

ToQuery GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

type Rep GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

type Rep GetReportGroupTrend = D1 ('MetaData "GetReportGroupTrend" "Amazonka.CodeBuild.GetReportGroupTrend" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "GetReportGroupTrend'" 'PrefixI 'True) (S1 ('MetaSel ('Just "numOfReports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "reportGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "trendField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReportGroupTrendFieldType))))
type AWSResponse GetReportGroupTrend Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

newGetReportGroupTrend Source #

Create a value of GetReportGroupTrend 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:numOfReports:GetReportGroupTrend', getReportGroupTrend_numOfReports - The number of reports to analyze. This operation always retrieves the most recent reports.

If this parameter is omitted, the most recent 100 reports are analyzed.

$sel:reportGroupArn:GetReportGroupTrend', getReportGroupTrend_reportGroupArn - The ARN of the report group that contains the reports to analyze.

$sel:trendField:GetReportGroupTrend', getReportGroupTrend_trendField - The test report value to accumulate. This must be one of the following values:

Test reports:
DURATION
Accumulate the test run times for the specified reports.
PASS_RATE
Accumulate the percentage of tests that passed for the specified test reports.
TOTAL
Accumulate the total number of tests for the specified test reports.
Code coverage reports:
BRANCH_COVERAGE
Accumulate the branch coverage percentages for the specified test reports.
BRANCHES_COVERED
Accumulate the branches covered values for the specified test reports.
BRANCHES_MISSED
Accumulate the branches missed values for the specified test reports.
LINE_COVERAGE
Accumulate the line coverage percentages for the specified test reports.
LINES_COVERED
Accumulate the lines covered values for the specified test reports.
LINES_MISSED
Accumulate the lines not covered values for the specified test reports.

Request Lenses

getReportGroupTrend_numOfReports :: Lens' GetReportGroupTrend (Maybe Natural) Source #

The number of reports to analyze. This operation always retrieves the most recent reports.

If this parameter is omitted, the most recent 100 reports are analyzed.

getReportGroupTrend_reportGroupArn :: Lens' GetReportGroupTrend Text Source #

The ARN of the report group that contains the reports to analyze.

getReportGroupTrend_trendField :: Lens' GetReportGroupTrend ReportGroupTrendFieldType Source #

The test report value to accumulate. This must be one of the following values:

Test reports:
DURATION
Accumulate the test run times for the specified reports.
PASS_RATE
Accumulate the percentage of tests that passed for the specified test reports.
TOTAL
Accumulate the total number of tests for the specified test reports.
Code coverage reports:
BRANCH_COVERAGE
Accumulate the branch coverage percentages for the specified test reports.
BRANCHES_COVERED
Accumulate the branches covered values for the specified test reports.
BRANCHES_MISSED
Accumulate the branches missed values for the specified test reports.
LINE_COVERAGE
Accumulate the line coverage percentages for the specified test reports.
LINES_COVERED
Accumulate the lines covered values for the specified test reports.
LINES_MISSED
Accumulate the lines not covered values for the specified test reports.

Destructuring the Response

data GetReportGroupTrendResponse Source #

See: newGetReportGroupTrendResponse smart constructor.

Constructors

GetReportGroupTrendResponse' 

Fields

Instances

Instances details
Eq GetReportGroupTrendResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Read GetReportGroupTrendResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Show GetReportGroupTrendResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Generic GetReportGroupTrendResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

Associated Types

type Rep GetReportGroupTrendResponse :: Type -> Type #

NFData GetReportGroupTrendResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

type Rep GetReportGroupTrendResponse Source # 
Instance details

Defined in Amazonka.CodeBuild.GetReportGroupTrend

type Rep GetReportGroupTrendResponse = D1 ('MetaData "GetReportGroupTrendResponse" "Amazonka.CodeBuild.GetReportGroupTrend" "libZSservicesZSamazonka-codebuildZSamazonka-codebuild" 'False) (C1 ('MetaCons "GetReportGroupTrendResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "rawData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReportWithRawData])) :*: (S1 ('MetaSel ('Just "stats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportGroupTrendStats)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetReportGroupTrendResponse Source #

Create a value of GetReportGroupTrendResponse 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:rawData:GetReportGroupTrendResponse', getReportGroupTrendResponse_rawData - An array that contains the raw data for each report.

$sel:stats:GetReportGroupTrendResponse', getReportGroupTrendResponse_stats - Contains the accumulated trend data.

$sel:httpStatus:GetReportGroupTrendResponse', getReportGroupTrendResponse_httpStatus - The response's http status code.

Response Lenses

getReportGroupTrendResponse_rawData :: Lens' GetReportGroupTrendResponse (Maybe [ReportWithRawData]) Source #

An array that contains the raw data for each report.