class Aws::CodeCommit::Types::PostCommentForPullRequestInput
@note When making an API call, you may pass PostCommentForPullRequestInput
data as a hash: { pull_request_id: "PullRequestId", # required repository_name: "RepositoryName", # required before_commit_id: "CommitId", # required after_commit_id: "CommitId", # required location: { file_path: "Path", file_position: 1, relative_file_version: "BEFORE", # accepts BEFORE, AFTER }, content: "Content", # required client_request_token: "ClientRequestToken", }
@!attribute [rw] pull_request_id
The system-generated ID of the pull request. To get this ID, use ListPullRequests. @return [String]
@!attribute [rw] repository_name
The name of the repository where you want to post a comment on a pull request. @return [String]
@!attribute [rw] before_commit_id
The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created. @return [String]
@!attribute [rw] after_commit_id
The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment. @return [String]
@!attribute [rw] location
The location of the change where you want to post your comment. If no location is provided, the comment is posted as a general comment on the pull request difference between the before commit ID and the after commit ID. @return [Types::Location]
@!attribute [rw] content
The content of your comment on the change. @return [String]
@!attribute [rw] client_request_token
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. **A suitable default value is auto-generated.** You should normally not need to pass this option. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequestInput AWS API Documentation
Constants
- SENSITIVE