get_comment_reactions
async
¶
get_comment_reactions(
comment_id: CommentId,
*,
config_overrides: Optional[AsyncCodeCommitClientConfig] = None,
reaction_user_arn: Optional[Arn] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> GetCommentReactionsOutput
Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.
Parameters:
-
comment_id(CommentId) –The ID of the comment for which you want to get reactions information.
-
reaction_user_arn(Optional[Arn], default:None) –Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.
-
next_token(Optional[NextToken], default:None) –An enumeration token that, when provided in a request, returns the next batch of the results.
-
max_results(Optional[MaxResults], default:None) –A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.
Raises:
-
CommentDeletedException–This comment has already been deleted. You cannot edit or delete a deleted comment.
-
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.
-
InvalidCommentIdException–The comment ID is not in a valid format. Make sure that you have provided the full comment ID.
-
InvalidContinuationTokenException–The specified continuation token is not valid.
-
InvalidMaxResultsException–The specified number of maximum results is not valid.
-
InvalidReactionUserArnException–The Amazon Resource Name (ARN) of the user or identity is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codecommit/_services/async_code_commit.py
2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 | |