SourceCodeType - Amazon CodeGuru Reviewer

SourceCodeType

Specifies the source code that is analyzed in a code review. A code review can analyze the source code that is specified using a pull request diff or a branch in an associated repository.

Contents

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

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: