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

Class: Aws::CodeCommit::Types::PullRequestEvent

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

Overview

Returns information about a pull request event.

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.

#approval_rule_event_metadataTypes::ApprovalRuleEventMetadata

Information about a pull request event.

Returns:

#approval_rule_overridden_event_metadataTypes::ApprovalRuleOverriddenEventMetadata

Information about an approval rule override event for a pull request.

Returns:

#approval_state_changed_event_metadataTypes::ApprovalStateChangedEventMetadata

Information about an approval state change for a pull request.

Returns:

#event_dateTime

The day and time of the pull request event, in timestamp format.

Returns:

  • (Time)

    The day and time of the pull request event, in timestamp format.

#pull_request_created_event_metadataTypes::PullRequestCreatedEventMetadata

Information about the source and destination branches for the pull request.

Returns:

#pull_request_event_typeString

The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).

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)

    The type of the pull request event (for example, a status change event (PULL_REQUEST_STATUS_CHANGED) or update event (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)

    The system-generated ID of the pull request.

#pull_request_merged_state_changed_event_metadataTypes::PullRequestMergedStateChangedEventMetadata

Information about the change in mergability state for the pull request event.

Returns:

#pull_request_source_reference_updated_event_metadataTypes::PullRequestSourceReferenceUpdatedEventMetadata

Information about the updated source branch for the pull request event.

Returns:

#pull_request_status_changed_event_metadataTypes::PullRequestStatusChangedEventMetadata

Information about the change in status for the pull request event.

Returns: