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
show all
Defined in:
(unknown)

Overview

Note:

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

Returned by:

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 .

Returns:

  • (Types::RepositoryAnalysis)

    A code review that analyzes all code under a specified branch in an associated respository.