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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb

Overview

Note:

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 using CreateCodeReview .

  • 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 .

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#repository_analysisTypes::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