libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer
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.CodeGuruReviewer.Types.CodeReviewType

Description

 
Synopsis

Documentation

data CodeReviewType Source #

The type of a code review. There are two code review types:

  • PullRequest - A code review that is automatically triggered by a pull request on an associated repository.
  • RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview .

See: newCodeReviewType smart constructor.

Constructors

CodeReviewType' 

Fields

Instances

Instances details
Eq CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Read CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Show CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Generic CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Associated Types

type Rep CodeReviewType :: Type -> Type #

NFData CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

Methods

rnf :: CodeReviewType -> () #

Hashable CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

ToJSON CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

type Rep CodeReviewType Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.CodeReviewType

type Rep CodeReviewType = D1 ('MetaData "CodeReviewType" "Amazonka.CodeGuruReviewer.Types.CodeReviewType" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" 'False) (C1 ('MetaCons "CodeReviewType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "analysisTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AnalysisType])) :*: S1 ('MetaSel ('Just "repositoryAnalysis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RepositoryAnalysis)))

newCodeReviewType Source #

Create a value of CodeReviewType 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:analysisTypes:CodeReviewType', codeReviewType_analysisTypes - They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

$sel:repositoryAnalysis:CodeReviewType', codeReviewType_repositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview .

codeReviewType_analysisTypes :: Lens' CodeReviewType (Maybe [AnalysisType]) Source #

They types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

codeReviewType_repositoryAnalysis :: Lens' CodeReviewType RepositoryAnalysis Source #

A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in CreateCodeReview .