v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Replaces the contents of a comment.

post/#X-Amz-Target=CodeCommit_20150413.UpdateComment

Headers

X-Amz-Target'CodeCommit_20150413.UpdateComment' required

Request body

commentIdstring required

The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a> or <a>GetCommentsForPullRequest</a>.

contentstring required

The updated content to replace the existing content of the comment.

Response

Success