You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeCommit::Types::PostCommentForComparedCommitInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeCommit::Types::PostCommentForComparedCommitInput
- Defined in:
- (unknown)
Overview
When passing PostCommentForComparedCommitInput as input to an Aws::Client method, you can use a vanilla Hash:
{
repository_name: "RepositoryName", # required
before_commit_id: "CommitId",
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",
}
Instance Attribute Summary collapse
-
#after_commit_id ⇒ String
To establish the directionality of the comparison, the full commit ID of the after commit.
-
#before_commit_id ⇒ String
To establish the directionality of the comparison, the full commit ID of the before commit.
-
#client_request_token ⇒ String
A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter.
-
#content ⇒ String
The content of the comment you want to make.
-
#location ⇒ Types::Location
The location of the comparison where you want to comment.
-
#repository_name ⇒ String
The name of the repository where you want to post a comment on the comparison between commits.
Instance Attribute Details
#after_commit_id ⇒ String
To establish the directionality of the comparison, the full commit ID of the after commit.
#before_commit_id ⇒ String
To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.
#client_request_token ⇒ String
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 ⇒ String
The content of the comment you want to make.
#location ⇒ Types::Location
The location of the comparison where you want to comment.
#repository_name ⇒ String
The name of the repository where you want to post a comment on the comparison between commits.