Module Values.CodeReviewSource

Information about a code review. A code review belongs to the associated repository that contains the reviewed code.

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

    The name of the code review.

    *)
  2. codeReviewArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the CodeReview object.

    *)
  3. repositoryName : Name.t option;
    (*

    The name of the repository.

    *)
  4. owner : Owner.t option;
    (*

    The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.

    *)
  5. providerType : ProviderType.t option;
    (*

    The type of repository that contains the reviewed code (for example, GitHub or Bitbucket).

    *)
  6. state : JobState.t option;
    (*

    The valid code review states are: Completed: The code review is complete. Pending: The code review started and has not completed or failed. Failed: The code review failed. Deleting: The code review is being deleted.

    *)
  7. stateReason : StateReason.t option;
    (*

    The reason for the state of the code review.

    *)
  8. createdTimeStamp : TimeStamp.t option;
    (*

    The time, in milliseconds since the epoch, when the code review was created.

    *)
  9. lastUpdatedTimeStamp : TimeStamp.t option;
    (*

    The time, in milliseconds since the epoch, when the code review was last updated.

    *)
  10. type_ : Type.t option;
    (*

    The type of code review.

    *)
  11. pullRequestId : PullRequestId.t option;
    (*

    The pull request ID for the code review.

    *)
  12. sourceCodeType : SourceCodeType.t option;
    (*

    The type of the source code for the code review.

    *)
  13. associationArn : AssociationArn.t option;
    (*

    The Amazon Resource Name (ARN) of the RepositoryAssociation that contains the reviewed source code. You can retrieve associated repository ARNs by calling ListRepositoryAssociations.

    *)
  14. metrics : Metrics.t option;
    (*

    The statistics from the code review.

    *)
  15. analysisTypes : AnalysisTypes.t option;
    (*

    The types of analysis performed during a repository analysis or a pull request review. You can specify either Security, CodeQuality, or both.

    *)
  16. configFileState : ConfigFileState.t option;
    (*

    The state of the aws-codeguru-reviewer.yml configuration file that allows the configuration of the CodeGuru Reviewer analysis. The file either exists, doesn't exist, or exists with errors at the root directory of your repository.

    *)
}
Sourceval make : ?name:??? -> ?codeReviewArn:??? -> ?repositoryName:??? -> ?owner:??? -> ?providerType:??? -> ?state:??? -> ?stateReason:??? -> ?createdTimeStamp:??? -> ?lastUpdatedTimeStamp:??? -> ?type_:??? -> ?pullRequestId:??? -> ?sourceCodeType:??? -> ?associationArn:??? -> ?metrics:??? -> ?analysisTypes:??? -> ?configFileState:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of Name.t | `Structure of (string * [> `Long of LinesOfCodeCount.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 | `Timestamp of TimeStamp.t ]) 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