The type of a code review. There are two code review types:
PullRequest - A code review that is automatically triggered by a pull request on an associated repository.
RepositoryAnalysis - A code review that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN in C
{
"RepositoryAnalysis": {
"RepositoryHead": {
"BranchName": "string"
},
"SourceCodeType": {
"CommitDiff": {
"SourceCommit": "string",
"DestinationCommit": "string",
"MergeBaseCommit": "string"
},
"RepositoryHead": {
"BranchName": "string"
},
"BranchDiff": {
"SourceBranchName": "string",
"DestinationBranchName": "string"
},
"S3BucketRepository": {
"Name": "string",
"Details": {
"BucketName": "string",
"CodeArtifacts": {
"SourceCodeArtifactsObjectKey": "string",
"BuildArtifactsObjectKey": "string"
}
}
},
"RequestMetadata": {
"RequestId": "string",
"Requester": "string",
"EventInfo": {
"Name": "string",
"State": "string"
},
"VendorName": "GitHub"
}
}
},
"AnalysisTypes": []
}