Skip to content

iter_get_comment_reactions

iter_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,
) -> Iterator[GetCommentReactionsOutput]
Source code in docs_src/capo_codecommit/_services/code_commit.py
def iter_get_comment_reactions(
    self,
    comment_id: "capo_codecommit.types.comment_id.CommentId",
    *,
    config_overrides: Optional[CodeCommitClientConfig] = None,
    reaction_user_arn: Optional["capo_codecommit.types.arn.Arn"] = None,
    next_token: Optional["capo_codecommit.types.next_token.NextToken"] = None,
    max_results: Optional["capo_codecommit.types.max_results.MaxResults"] = None,
) -> "Iterator[capo_codecommit.types.get_comment_reactions_output.GetCommentReactionsOutput]":
    _token = next_token
    while True:
        _response = self.get_comment_reactions(
            comment_id,
            config_overrides=config_overrides,
            reaction_user_arn=reaction_user_arn,
            next_token=_token,
            max_results=max_results,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break