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.

DescribePullRequestEventsInput

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

type DescribePullRequestEventsInput struct { ActorArn *string `locationName:"actorArn" type:"string"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` PullRequestEventType *string `locationName:"pullRequestEventType" type:"string" enum:"PullRequestEventType"` PullRequestId *string `locationName:"pullRequestId" type:"string" required:"true"` }

ActorArn

Type: *string

The Amazon Resource Name (ARN) of the user whose actions resulted in the event. Examples include updating the pull request with additional commits or changing the status of a pull request.

MaxResults

Type: *int64

A non-negative integer used to limit the number of returned results. The default is 100 events, which is also the maximum number of events that can be returned in a result.

NextToken

Type: *string

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

PullRequestEventType

Type: *string

Optional. The pull request event type about which you want to return information.

PullRequestId

Type: *string

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

PullRequestId is a required field

Method

GoString

func (s DescribePullRequestEventsInput) GoString() string

GoString returns the string representation

SetActorArn

func (s *DescribePullRequestEventsInput) SetActorArn(v string) *DescribePullRequestEventsInput

SetActorArn sets the ActorArn field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetPullRequestEventType

func (s *DescribePullRequestEventsInput) SetPullRequestEventType(v string) *DescribePullRequestEventsInput

SetPullRequestEventType sets the PullRequestEventType field's value.

SetPullRequestId

func (s *DescribePullRequestEventsInput) SetPullRequestId(v string) *DescribePullRequestEventsInput

SetPullRequestId sets the PullRequestId field's value.

String

func (s DescribePullRequestEventsInput) String() string

String returns the string representation

Validate

func (s *DescribePullRequestEventsInput) Validate() error

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

On this page: