AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListPullRequestsInput

import "github.com/aws/aws-sdk-go/service/codecommit"

type ListPullRequestsInput struct { AuthorArn *string `locationName:"authorArn" type:"string"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` PullRequestStatus *string `locationName:"pullRequestStatus" type:"string" enum:"PullRequestStatusEnum"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` }

AuthorArn

Type: *string

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

Type: *int64

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

NextToken

Type: *string

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

PullRequestStatus

Type: *string

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

RepositoryName

Type: *string

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

RepositoryName is a required field

Method

GoString

func (s ListPullRequestsInput) GoString() string

GoString returns the string representation

SetAuthorArn

func (s *ListPullRequestsInput) SetAuthorArn(v string) *ListPullRequestsInput

SetAuthorArn sets the AuthorArn field's value.

SetMaxResults

func (s *ListPullRequestsInput) SetMaxResults(v int64) *ListPullRequestsInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListPullRequestsInput) SetNextToken(v string) *ListPullRequestsInput

SetNextToken sets the NextToken field's value.

SetPullRequestStatus

func (s *ListPullRequestsInput) SetPullRequestStatus(v string) *ListPullRequestsInput

SetPullRequestStatus sets the PullRequestStatus field's value.

SetRepositoryName

func (s *ListPullRequestsInput) SetRepositoryName(v string) *ListPullRequestsInput

SetRepositoryName sets the RepositoryName field's value.

String

func (s ListPullRequestsInput) String() string

String returns the string representation

Validate

func (s *ListPullRequestsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: