View source: R/codegurureviewer_operations.R
codegurureviewer_create_code_review | R Documentation |
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
)
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
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 |
ClientRequestToken |
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.