Skip to content

Post Comment Reply

codecommit_post_comment_reply R Documentation

Posts a comment in reply to an existing comment on a comparison between commits or a pull request

Description

Posts a comment in reply to an existing comment on a comparison between commits or a pull request.

Usage

codecommit_post_comment_reply(inReplyTo, clientRequestToken, content)

Arguments

inReplyTo

[required] The system-generated ID of the comment to which you want to reply. To get this ID, use get_comments_for_compared_commit or get_comments_for_pull_request.

clientRequestToken

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

[required] The contents of your reply to a comment.

Value

A list with the following syntax:

list(
  comment = list(
    commentId = "string",
    content = "string",
    inReplyTo = "string",
    creationDate = as.POSIXct(
      "2015-01-01"
    ),
    lastModifiedDate = as.POSIXct(
      "2015-01-01"
    ),
    authorArn = "string",
    deleted = TRUE|FALSE,
    clientRequestToken = "string",
    callerReactions = list(
      "string"
    ),
    reactionCounts = list(
      123
    )
  )
)

Request syntax

svc$post_comment_reply(
  inReplyTo = "string",
  clientRequestToken = "string",
  content = "string"
)