get_comment_reactions
¶
get_comment_reactions(
comment_id: CommentId,
*,
config_overrides: Optional[CodeCommitClientConfig] = 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/code_commit.py
2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 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 | |