Class: Aws::CodeGuruReviewer::Types::CodeReviewType
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruReviewer::Types::CodeReviewType
- Defined in:
- gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb
Overview
When making an API call, you may pass CodeReviewType data as a 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
.
Constant Summary collapse
- SENSITIVE =
[]
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
.
369 370 371 372 373 |
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 369 class CodeReviewType < Struct.new( :repository_analysis) SENSITIVE = [] include Aws::Structure end |