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

Class: Aws::CodeCommit::Types::DescribePullRequestEventsInput

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

Overview

Note:

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

{
  pull_request_id: "PullRequestId", # required
  pull_request_event_type: "PULL_REQUEST_CREATED", # accepts PULL_REQUEST_CREATED, PULL_REQUEST_STATUS_CHANGED, PULL_REQUEST_SOURCE_REFERENCE_UPDATED, PULL_REQUEST_MERGE_STATE_CHANGED, PULL_REQUEST_APPROVAL_RULE_CREATED, PULL_REQUEST_APPROVAL_RULE_UPDATED, PULL_REQUEST_APPROVAL_RULE_DELETED, PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN, PULL_REQUEST_APPROVAL_STATE_CHANGED
  actor_arn: "Arn",
  next_token: "NextToken",
  max_results: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#actor_arnString

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

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the user whose actions resulted in the event.

#max_resultsInteger

A non-zero, 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.

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_event_typeString

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

Possible values:

  • PULL_REQUEST_CREATED
  • PULL_REQUEST_STATUS_CHANGED
  • PULL_REQUEST_SOURCE_REFERENCE_UPDATED
  • PULL_REQUEST_MERGE_STATE_CHANGED
  • PULL_REQUEST_APPROVAL_RULE_CREATED
  • PULL_REQUEST_APPROVAL_RULE_UPDATED
  • PULL_REQUEST_APPROVAL_RULE_DELETED
  • PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN
  • PULL_REQUEST_APPROVAL_STATE_CHANGED

Returns:

  • (String)

    Optional.

#pull_request_idString

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

Returns:

  • (String)

    The system-generated ID of the pull request.