GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::CodeCommit::PostCommentForPullRequest(3) User Contributed Perl Documentation Paws::CodeCommit::PostCommentForPullRequest(3)

Paws::CodeCommit::PostCommentForPullRequest - Arguments for method PostCommentForPullRequest on Paws::CodeCommit

This class represents the parameters used for calling the method PostCommentForPullRequest on the AWS CodeCommit service. Use the attributes of this class as arguments to method PostCommentForPullRequest.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PostCommentForPullRequest.

    my $codecommit = Paws->service('CodeCommit');
    my $PostCommentForPullRequestOutput =
      $codecommit->PostCommentForPullRequest(
      AfterCommitId      => 'MyCommitId',
      BeforeCommitId     => 'MyCommitId',
      Content            => 'MyContent',
      PullRequestId      => 'MyPullRequestId',
      RepositoryName     => 'MyRepositoryName',
      ClientRequestToken => 'MyClientRequestToken',    # OPTIONAL
      Location           => {
        FilePath            => 'MyPath',    # OPTIONAL
        FilePosition        => 1,           # OPTIONAL
        RelativeFileVersion => 'BEFORE',    # values: BEFORE, AFTER; OPTIONAL
      },    # OPTIONAL
      );
    # Results:
    my $AfterBlobId    = $PostCommentForPullRequestOutput->AfterBlobId;
    my $AfterCommitId  = $PostCommentForPullRequestOutput->AfterCommitId;
    my $BeforeBlobId   = $PostCommentForPullRequestOutput->BeforeBlobId;
    my $BeforeCommitId = $PostCommentForPullRequestOutput->BeforeCommitId;
    my $Comment        = $PostCommentForPullRequestOutput->Comment;
    my $Location       = $PostCommentForPullRequestOutput->Location;
    my $PullRequestId  = $PostCommentForPullRequestOutput->PullRequestId;
    my $RepositoryName = $PostCommentForPullRequestOutput->RepositoryName;
    # Returns a L<Paws::CodeCommit::PostCommentForPullRequestOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codecommit/PostCommentForPullRequest>

REQUIRED AfterCommitId => Str

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.

REQUIRED BeforeCommitId => Str

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.

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.

REQUIRED Content => Str

The content of your comment on the change.

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.

REQUIRED PullRequestId => Str

The system-generated ID of the pull request. To get this ID, use ListPullRequests.

REQUIRED RepositoryName => Str

The name of the repository where you want to post a comment on a pull request.

This class forms part of Paws, documenting arguments for method PostCommentForPullRequest in Paws::CodeCommit

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.