post_comment_reply
async
¶
post_comment_reply(
in_reply_to: CommentId,
content: Content,
*,
config_overrides: Optional[AsyncCodeCommitClientConfig] = 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/async_code_commit.py
5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 | |