SourceCodeType
Specifies the source code that is analyzed in a code review.
Contents
- BranchDiff
- 
               A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository. Type: BranchDiffSourceCodeType object Required: No 
- CommitDiff
- 
               A SourceCodeType that specifies a commit diff created by a pull request on an associated repository. Type: CommitDiffSourceCodeType object Required: No 
- RepositoryHead
- 
               A SourceCodeType that specifies the tip of a branch in an associated repository. Type: RepositoryHeadSourceCodeType object Required: No 
- RequestMetadata
- 
               Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru Reviewer. The RequestMetadaafield captures any event metadata. For example, it might capture metadata associated with an event trigger, such as a push or a pull request.Type: RequestMetadata object Required: No 
- S3BucketRepository
- 
               Information about an associated repository in an S3 bucket that includes its name and an S3RepositoryDetailsobject. TheS3RepositoryDetailsobject 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.S3BucketRepositoryis required in SourceCodeType forS3BucketRepositorybased code reviews.Type: S3BucketRepository object Required: No 
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: