CmdID / aws / aws codecommit
aws codecommit post-comment-reply
Posts a comment in reply to an existing comment on a comparison between commits or a pull request. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To reply to a comment on a commit or in a pull request
The following post-comment-reply example adds the reply "Good catch. I'll remove them." to the comment with the system-generated ID of abcd1234EXAMPLEb5678efgh.
aws codecommit post-comment-reply --in-reply-to abcd1234EXAMPLEb5678efgh --content "Good catch. I'll remove them." --client-request-token 123ExampleIdentify--in-reply-toThe system-generated ID of the comment to which you want to reply.--contentThe contents of your reply to a comment.--client-request-tokenA unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter.Its output
{
"comment": {
"authorArn": "arn:aws:iam::123456789012:user/Li_Juan",
"clientRequestToken": "123Example",
"commentId": "442b498bEXAMPLE5756813",
"content": "Good catch. I'll remove them.",
"creationDate": 1508369829.136,
"deleted": false,
"inReplyTo": "abcd1234EXAMPLEb5678efgh",
"lastModifiedDate": 150836912.221,
"callerReactions": [],
"reactionCounts": {}
}
}For more information, see Comment on a commit in AWS CodeCommit in the AWS CodeCommit User Guide.
Options
--client-request-tokenA unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter.--contentThe contents of your reply to a comment.--in-reply-toThe system-generated ID of the comment to which you want to reply.