Module Values.CreateCodeReviewRequestSource

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.

Sourcetype nonrec t = {
  1. name : CodeReviewName.t;
    (*

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

    *)
  2. 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.

    *)
  3. 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.

    *)
  4. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientRequestToken:??? -> name:CodeReviewName.t -> repositoryAssociationArn:AssociationArn.t -> type_:CodeReviewType.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t