You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeGuruReviewer::Types::CodeReviewType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruReviewer::Types::CodeReviewType
- Defined in:
- (unknown)
Overview
When passing CodeReviewType as input to an Aws::Client method, you can use a vanilla Hash:
{
repository_analysis: { # required
repository_head: { # required
branch_name: "BranchName", # required
},
},
}
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 assocaited repository. Because this type of code review is automatically generated, you cannot specify this code review type usingCreateCodeReview
. -
RepositoryAnalysis
- A code review that analyzes all code under a specified branch in an associated respository. The assocated repository is specified using its ARN inCreateCodeReview
.
Returned by:
Instance Attribute Summary collapse
-
#repository_analysis ⇒ Types::RepositoryAnalysis
A code review that analyzes all code under a specified branch in an associated respository.
Instance Attribute Details
#repository_analysis ⇒ Types::RepositoryAnalysis
A code review that analyzes all code under a specified branch in an
associated respository. The assocated repository is specified using its
ARN in CreateCodeReview
.