CreateCodeReviewRequest
¶
Source code in docs_src/capo_codeguru_reviewer/types/create_code_review_request.py
client_request_token
instance-attribute
¶
client_request_token: NotRequired[ClientRequestToken]
Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate code reviews if there are failures and retries.
name
instance-attribute
¶
name: CodeReviewName
The name of the code review. The name of each code review in your Amazon Web Services account must be unique.
repository_association_arn
instance-attribute
¶
repository_association_arn: AssociationArn
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
instance-attribute
¶
type: CodeReviewType
The type of code review to create. This is specified using a CodeReviewType object. You can create a code review only of type RepositoryAnalysis.