Learn R Programming

paws.developer.tools (version 0.8.0)

codegurureviewer_create_code_review: Use to create a code review with a CodeReviewType of RepositoryAnalysis

Description

Use to create a code review with a CodeReviewType of RepositoryAnalysis. This type of code review analyzes all code under a specified branch in an associated repository. PullRequest code reviews are automatically triggered by a pull request.

See https://www.paws-r-sdk.com/docs/codegurureviewer_create_code_review/ for full documentation.

Usage

codegurureviewer_create_code_review(
  Name,
  RepositoryAssociationArn,
  Type,
  ClientRequestToken = NULL
)

Arguments

Name

[required] The name of the code review. The name of each code review in your Amazon Web Services account must be unique.

RepositoryAssociationArn

[required] The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling list_repository_associations.

A code review can only be created on an associated repository. This is the ARN of the associated repository.

Type

[required] The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type RepositoryAnalysis.

ClientRequestToken

Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.