Class: Aws::CodeGuruReviewer::Types::CodeReviewType

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#analysis_typesArray<String>

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

Returns:

  • (Array<String>)


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_analysisTypes::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