{ "$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-create-code-review-request-structure.json", "name": "CreateCodeReviewRequest", "description": "CreateCodeReviewRequest schema from Amazon CodeGuru Reviewer", "type": "object", "properties": { "Name": { "allOf": [ { "$ref": "#/components/schemas/CodeReviewName" }, { "description": "The name of the code review. The name of each code review in your Amazon Web Services account must be unique." } ] }, "RepositoryAssociationArn": { "allOf": [ { "$ref": "#/components/schemas/AssociationArn" }, { "description": "

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": { "allOf": [ { "$ref": "#/components/schemas/CodeReviewType" }, { "description": "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": { "allOf": [ { "$ref": "#/components/schemas/ClientRequestToken" }, { "description": "Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries." } ] } }, "required": [ "Name", "RepositoryAssociationArn", "Type" ] }