Values.CreateCodeReviewRequestSourceUse 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.
type nonrec t = {name : CodeReviewName.t;The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
*)repositoryAssociationArn : AssociationArn.t;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.
*)type_ : CodeReviewType.t;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 : ClientRequestToken.t option;Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
*)}val make :
?clientRequestToken:??? ->
name:CodeReviewName.t ->
repositoryAssociationArn:AssociationArn.t ->
type_:CodeReviewType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of CodeReviewName.t
| `Structure of
(string
* [> `List of [> `Enum of string ] list
| `Structure of
(string
* [> `Structure of
(string
* [> `String of BranchName.t
| `Structure of
(string
* [> `Enum of string
| `String of CommitId.t
| `Structure of
(string
* [> `String of S3BucketName.t
| `Structure of
(string
* [> `String of
SourceCodeArtifactsObjectKey.t ])
list ])
list ])
list ])
list ])
list ])
list ])
list ]