SourceCodeType
¶
Source code in docs_src/capo_codeguru_reviewer/types/source_code_type.py
branch_diff
instance-attribute
¶
branch_diff: NotRequired[BranchDiffSourceCodeType]
A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.
commit_diff
instance-attribute
¶
commit_diff: NotRequired[CommitDiffSourceCodeType]
A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.
request_metadata
instance-attribute
¶
request_metadata: NotRequired[RequestMetadata]
Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request.
s3_bucket_repository
instance-attribute
¶
s3_bucket_repository: NotRequired[S3BucketRepository]
Information about an associated repository in an S3 bucket that includes its name and an S3RepositoryDetails object. The S3RepositoryDetails object includes the name of an S3 bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file. S3BucketRepository is required in SourceCodeType for S3BucketRepository based code reviews.