post_comment_reply
¶
post_comment_reply(
in_reply_to: CommentId,
content: Content,
*,
config_overrides: Optional[CodeCommitClientConfig] = None,
client_request_token: Optional[ClientRequestToken] = None,
) -> PostCommentReplyOutput
Posts a comment in reply to an existing comment on a comparison between commits or a pull request.
Parameters:
-
in_reply_to(CommentId) –The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
-
client_request_token(Optional[ClientRequestToken], default:None) –A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
-
content(Content) –The contents of your reply to a comment.
Raises:
-
ClientRequestTokenRequiredException–A client request token is required. A client request token is an unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.
-
CommentContentRequiredException–The comment is empty. You must provide some content for a comment. The content cannot be null.
-
CommentContentSizeLimitExceededException–The comment is too large. Comments are limited to 10,240 characters.
-
CommentDoesNotExistException–No comment exists with the provided ID. Verify that you have used the correct ID, and then try again.
-
CommentIdRequiredException–The comment ID is missing or null. A comment ID is required.
-
IdempotencyParameterMismatchException–The client request token is not valid. Either the token is not in a valid format, or the token has been used in a previous request and cannot be reused.
-
InvalidClientRequestTokenException–The client request token is not valid.
-
InvalidCommentIdException–The comment ID is not in a valid format. Make sure that you have provided the full comment ID.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codecommit/_services/code_commit.py
5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 | |