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


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

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


    my $codecommit = Paws->service('CodeCommit');
    my $GetCommentsForPullRequestOutput =
      PullRequestId  => 'MyPullRequestId',
      AfterCommitId  => 'MyCommitId',          # OPTIONAL
      BeforeCommitId => 'MyCommitId',          # OPTIONAL
      MaxResults     => 1,                     # OPTIONAL
      NextToken      => 'MyNextToken',         # OPTIONAL
      RepositoryName => 'MyRepositoryName',    # OPTIONAL

    # Results:
    my $CommentsForPullRequestData =
    my $NextToken = $GetCommentsForPullRequestOutput->NextToken;

    # Returns a L<Paws::CodeCommit::GetCommentsForPullRequestOutput> 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


AfterCommitId => Str

The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.

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.

MaxResults => Int

A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments. You can return up to 500 comments with a single request.

NextToken => Str

An enumeration token that, when provided in a request, returns the next batch of the results.

REQUIRED PullRequestId => Str

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

RepositoryName => Str

The name of the repository that contains the pull request.


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


The source code is located here:

Please report bugs to: