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

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $codecommit = Paws->service('CodeCommit');
    my $DescribePullRequestEventsOutput =
      $codecommit->DescribePullRequestEvents(
      PullRequestId        => 'MyPullRequestId',
      ActorArn             => 'MyArn',                   # OPTIONAL
      MaxResults           => 1,                         # OPTIONAL
      NextToken            => 'MyNextToken',             # OPTIONAL
      PullRequestEventType => 'PULL_REQUEST_CREATED',    # OPTIONAL
      );

    # Results:
    my $NextToken         = $DescribePullRequestEventsOutput->NextToken;
    my $PullRequestEvents = $DescribePullRequestEventsOutput->PullRequestEvents;

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

ATTRIBUTES

ActorArn => Str

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 => Int

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 => Str

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

PullRequestEventType => Str

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

Valid values are: "PULL_REQUEST_CREATED", "PULL_REQUEST_STATUS_CHANGED", "PULL_REQUEST_SOURCE_REFERENCE_UPDATED", "PULL_REQUEST_MERGE_STATE_CHANGED"

REQUIRED PullRequestId => Str

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

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribePullRequestEvents 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