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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb

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 additional commits or changing the status of a pull request.

Returns:

  • (String)


1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end

#event_dateTime

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

Returns:

  • (Time)


1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end

#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).

Returns:

  • (String)


1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)


1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end

#pull_request_merged_state_changed_event_metadataTypes::PullRequestMergedStateChangedEventMetadata

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



1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end

#pull_request_source_reference_updated_event_metadataTypes::PullRequestSourceReferenceUpdatedEventMetadata

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



1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end

#pull_request_status_changed_event_metadataTypes::PullRequestStatusChangedEventMetadata

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



1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/types.rb', line 1865

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata)
  include Aws::Structure
end