The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $codecommit = Paws->service('CodeCommit');
    my $ListPullRequestsOutput = $codecommit->ListPullRequests(
      RepositoryName    => 'MyRepositoryName',
      AuthorArn         => 'MyArn',              # OPTIONAL
      MaxResults        => 1,                    # OPTIONAL
      NextToken         => 'MyNextToken',        # OPTIONAL
      PullRequestStatus => 'OPEN',               # OPTIONAL
    );

    # Results:
    my $NextToken      = $ListPullRequestsOutput->NextToken;
    my $PullRequestIds = $ListPullRequestsOutput->PullRequestIds;

    # Returns a L<Paws::CodeCommit::ListPullRequestsOutput> 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/ListPullRequests

ATTRIBUTES

AuthorArn => Str

Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results to pull requests created by that user.

MaxResults => Int

A non-zero, non-negative integer used to limit the number of returned results.

NextToken => Str

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

PullRequestStatus => Str

Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.

Valid values are: "OPEN", "CLOSED"

REQUIRED RepositoryName => Str

The name of the repository for which you want to list pull requests.

SEE ALSO

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

BUGS and CONTRIBUTIONS

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