| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeGuruReviewer.Types.CodeReviewType
Description
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
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.