CommitDiffSourceCodeType - Amazon CodeGuru Reviewer

CommitDiffSourceCodeType

A type of SourceCodeType that specifies the commit diff for a pull request on an associated repository. The SourceCommit and DestinationCommit fields are required to do a pull request code review.

Contents

DestinationCommit

The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.

Type: String

Length Constraints: Minimum length of 6. Maximum length of 64.

Required: No

MergeBaseCommit

The SHA of the merge base of a commit.

Type: String

Length Constraints: Minimum length of 6. Maximum length of 64.

Required: No

SourceCommit

The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.

Type: String

Length Constraints: Minimum length of 6. Maximum length of 64.

Required: No

See Also

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