Class: Aws::CodeGuruReviewer::Types::CodeReviewType
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::CodeGuruReviewer::Types::CodeReviewType
 
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codegurureviewer/types.rb
Overview
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]. 
[1]: docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #analysis_types  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    They types of analysis performed during a repository analysis or a pull request review. 
- 
  
    
      #repository_analysis  ⇒ Types::RepositoryAnalysis 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A code review that analyzes all code under a specified branch in an associated repository. 
Instance Attribute Details
#analysis_types ⇒ Array<String>
They types of analysis performed during a repository analysis or a pull request review. You can specify either ‘Security`, `CodeQuality`, or both.
| 426 427 428 429 430 431 | # File 'lib/aws-sdk-codegurureviewer/types.rb', line 426 class CodeReviewType < Struct.new( :repository_analysis, :analysis_types) SENSITIVE = [] include Aws::Structure end | 
#repository_analysis ⇒ Types::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].
[1]: docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview
| 426 427 428 429 430 431 | # File 'lib/aws-sdk-codegurureviewer/types.rb', line 426 class CodeReviewType < Struct.new( :repository_analysis, :analysis_types) SENSITIVE = [] include Aws::Structure end |