/AWS1/CL_GUR=>CREATECODEREVIEW()
¶
About CreateCodeReview¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NAME
TYPE /AWS1/GURCODEREVIEWNAME
/AWS1/GURCODEREVIEWNAME
¶
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
IV_REPOSITORYASSOCIATIONARN
TYPE /AWS1/GURASSOCIATIONARN
/AWS1/GURASSOCIATIONARN
¶
The Amazon Resource Name (ARN) of the RepositoryAssociation object. You can retrieve this ARN by calling ListRepositoryAssociations.
A code review can only be created on an associated repository. This is the ARN of the associated repository.
IO_TYPE
TYPE REF TO /AWS1/CL_GURCODEREVIEWTYPE
/AWS1/CL_GURCODEREVIEWTYPE
¶
The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type
RepositoryAnalysis
.
Optional arguments:¶
IV_CLIENTREQUESTTOKEN
TYPE /AWS1/GURCLIENTREQUESTTOKEN
/AWS1/GURCLIENTREQUESTTOKEN
¶
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.