Skip to content

PullRequestEvent

Source code in docs_src/capo_codecommit/types/pull_request_event.py
class PullRequestEvent(TypedDict, closed=True):
    pull_request_id: NotRequired["capo_codecommit.types.pull_request_id.PullRequestId"]
    """<p>The system-generated ID of the pull request.</p>"""
    event_date: NotRequired["capo_codecommit.types.event_date.EventDate"]
    """<p>The day and time of the pull request event, in timestamp format.</p>"""
    pull_request_event_type: NotRequired[
        "capo_codecommit.types.pull_request_event_type.PullRequestEventType"
    ]
    """<p>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)).</p>"""
    actor_arn: NotRequired["capo_codecommit.types.arn.Arn"]
    """<p>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.</p>"""
    pull_request_created_event_metadata: NotRequired[
        "capo_codecommit.types.pull_request_created_event_metadata.PullRequestCreatedEventMetadata"
    ]
    """<p>Information about the source and destination branches for the pull request.</p>"""
    pull_request_status_changed_event_metadata: NotRequired[
        "capo_codecommit.types.pull_request_status_changed_event_metadata.PullRequestStatusChangedEventMetadata"
    ]
    """<p>Information about the change in status for the pull request event.</p>"""
    pull_request_source_reference_updated_event_metadata: NotRequired[
        "capo_codecommit.types.pull_request_source_reference_updated_event_metadata.PullRequestSourceReferenceUpdatedEventMetadata"
    ]
    """<p>Information about the updated source branch for the pull request event. </p>"""
    pull_request_merged_state_changed_event_metadata: NotRequired[
        "capo_codecommit.types.pull_request_merged_state_changed_event_metadata.PullRequestMergedStateChangedEventMetadata"
    ]
    """<p>Information about the change in mergability state for the pull request event.</p>"""
    approval_rule_event_metadata: NotRequired[
        "capo_codecommit.types.approval_rule_event_metadata.ApprovalRuleEventMetadata"
    ]
    """<p>Information about a pull request event.</p>"""
    approval_state_changed_event_metadata: NotRequired[
        "capo_codecommit.types.approval_state_changed_event_metadata.ApprovalStateChangedEventMetadata"
    ]
    """<p>Information about an approval state change for a pull request.</p>"""
    approval_rule_overridden_event_metadata: NotRequired[
        "capo_codecommit.types.approval_rule_overridden_event_metadata.ApprovalRuleOverriddenEventMetadata"
    ]
    """<p>Information about an approval rule override event for a pull request.</p>"""

actor_arn instance-attribute

actor_arn: NotRequired[Arn]

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.

approval_rule_event_metadata instance-attribute

approval_rule_event_metadata: NotRequired[ApprovalRuleEventMetadata]

Information about a pull request event.

approval_rule_overridden_event_metadata instance-attribute

approval_rule_overridden_event_metadata: NotRequired[
    ApprovalRuleOverriddenEventMetadata
]

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

approval_state_changed_event_metadata instance-attribute

approval_state_changed_event_metadata: NotRequired[ApprovalStateChangedEventMetadata]

Information about an approval state change for a pull request.

event_date instance-attribute

event_date: NotRequired[EventDate]

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

pull_request_created_event_metadata instance-attribute

pull_request_created_event_metadata: NotRequired[PullRequestCreatedEventMetadata]

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

pull_request_event_type instance-attribute

pull_request_event_type: NotRequired[PullRequestEventType]

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_id instance-attribute

pull_request_id: NotRequired[PullRequestId]

The system-generated ID of the pull request.

pull_request_merged_state_changed_event_metadata instance-attribute

pull_request_merged_state_changed_event_metadata: NotRequired[
    PullRequestMergedStateChangedEventMetadata
]

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

pull_request_source_reference_updated_event_metadata instance-attribute

pull_request_source_reference_updated_event_metadata: NotRequired[
    PullRequestSourceReferenceUpdatedEventMetadata
]

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

pull_request_status_changed_event_metadata instance-attribute

pull_request_status_changed_event_metadata: NotRequired[
    PullRequestStatusChangedEventMetadata
]

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