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

Class: Aws::CodeCommit::Types::ListPullRequestsInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListPullRequestsInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  repository_name: "RepositoryName", # required
  author_arn: "Arn",
  pull_request_status: "OPEN", # accepts OPEN, CLOSED
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#author_arnString

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.

Returns:

  • (String)

    Optional.

#max_resultsInteger

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

Returns:

  • (Integer)

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

#next_tokenString

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

Returns:

  • (String)

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

#pull_request_statusString

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

Possible values:

  • OPEN
  • CLOSED

Returns:

  • (String)

    Optional.

#repository_nameString

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

Returns:

  • (String)

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