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

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

Overview

Returns information about a pull request event.

Constant Summary collapse

SENSITIVE =
[]

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)


5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rule_event_metadataTypes::ApprovalRuleEventMetadata

Information about a pull request event.



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#approval_rule_overridden_event_metadataTypes::ApprovalRuleOverriddenEventMetadata

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



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#approval_state_changed_event_metadataTypes::ApprovalStateChangedEventMetadata

Information about an approval state change for a pull request.



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#event_dateTime

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

Returns:

  • (Time)


5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_created_event_metadataTypes::PullRequestCreatedEventMetadata

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



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  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)


5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_idString

The system-generated ID of the pull request.

Returns:

  • (String)


5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_merged_state_changed_event_metadataTypes::PullRequestMergedStateChangedEventMetadata

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



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_source_reference_updated_event_metadataTypes::PullRequestSourceReferenceUpdatedEventMetadata

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



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#pull_request_status_changed_event_metadataTypes::PullRequestStatusChangedEventMetadata

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



5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
# File 'lib/aws-sdk-codecommit/types.rb', line 5744

class PullRequestEvent < Struct.new(
  :pull_request_id,
  :event_date,
  :pull_request_event_type,
  :actor_arn,
  :pull_request_created_event_metadata,
  :pull_request_status_changed_event_metadata,
  :pull_request_source_reference_updated_event_metadata,
  :pull_request_merged_state_changed_event_metadata,
  :approval_rule_event_metadata,
  :approval_state_changed_event_metadata,
  :approval_rule_overridden_event_metadata)
  SENSITIVE = []
  include Aws::Structure
end