Amazon CodeGuru Reviewer · JSON Structure

Amazon Codeguru Reviewer Repository Analysis Structure

A code review type that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN when you call CreateCodeReview.

Type: object Properties: 2
AmazonCode ReviewSecurityDevOpsMachine LearningDeveloper Tools

RepositoryAnalysis is a JSON Structure definition published by Amazon CodeGuru Reviewer, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

RepositoryHead SourceCodeType

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-repository-analysis-structure.json",
  "name": "RepositoryAnalysis",
  "description": "A code review type that analyzes all code under a specified branch in an associated repository. The associated repository is specified using its ARN when you call <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview\">CreateCodeReview</a>.",
  "type": "object",
  "properties": {
    "RepositoryHead": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryHeadSourceCodeType"
        },
        {
          "description": "A <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType\">SourceCodeType</a> that specifies the tip of a branch in an associated repository."
        }
      ]
    },
    "SourceCodeType": {
      "$ref": "#/components/schemas/SourceCodeType"
    }
  }
}