CommentsForComparedCommit - Amazon CodeCommit
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CommentsForComparedCommit

Returns information about comments on the comparison between two commits.

Contents

afterBlobId

The full blob ID of the commit used to establish the after of the comparison.

Type: String

Required: No

afterCommitId

The full commit ID of the commit used to establish the after of the comparison.

Type: String

Required: No

beforeBlobId

The full blob ID of the commit used to establish the before of the comparison.

Type: String

Required: No

beforeCommitId

The full commit ID of the commit used to establish the before of the comparison.

Type: String

Required: No

comments

An array of comment objects. Each comment object contains information about a comment on the comparison between commits.

Type: Array of Comment objects

Required: No

location

Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.

Type: Location object

Required: No

repositoryName

The name of the repository that contains the compared commits.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [\w\.-]+

Required: No

See Also

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