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.
codegurureviewer_create_code_review(
Name,
RepositoryAssociationArn,
Type,
ClientRequestToken = NULL
)
[required] The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
[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.
[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
.
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.