You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeCommit::Types::UpdateCommentInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

Overview

Note:

When making an API call, you may pass UpdateCommentInput data as a hash:

{
  comment_id: "CommentId", # required
  content: "Content", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#comment_idString

The system-generated ID of the comment you want to update. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

Returns:

  • (String)


2296
2297
2298
2299
2300
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2296

class UpdateCommentInput < Struct.new(
  :comment_id,
  :content)
  include Aws::Structure
end

#contentString

The updated content with which you want to replace the existing content of the comment.

Returns:

  • (String)


2296
2297
2298
2299
2300
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 2296

class UpdateCommentInput < Struct.new(
  :comment_id,
  :content)
  include Aws::Structure
end