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

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 ListPullRequestsInput data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)


4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4641

class ListPullRequestsInput < Struct.new(
  :repository_name,
  :author_arn,
  :pull_request_status,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)


4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4641

class ListPullRequestsInput < Struct.new(
  :repository_name,
  :author_arn,
  :pull_request_status,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)


4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4641

class ListPullRequestsInput < Struct.new(
  :repository_name,
  :author_arn,
  :pull_request_status,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#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.

Returns:

  • (String)


4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4641

class ListPullRequestsInput < Struct.new(
  :repository_name,
  :author_arn,
  :pull_request_status,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


4641
4642
4643
4644
4645
4646
4647
4648
4649
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 4641

class ListPullRequestsInput < Struct.new(
  :repository_name,
  :author_arn,
  :pull_request_status,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end