| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeCommit.Types.PullRequestEvent
Description
Synopsis
- data PullRequestEvent = PullRequestEvent' {
- actorArn :: Maybe Text
- approvalRuleEventMetadata :: Maybe ApprovalRuleEventMetadata
- approvalRuleOverriddenEventMetadata :: Maybe ApprovalRuleOverriddenEventMetadata
- approvalStateChangedEventMetadata :: Maybe ApprovalStateChangedEventMetadata
- eventDate :: Maybe POSIX
- pullRequestCreatedEventMetadata :: Maybe PullRequestCreatedEventMetadata
- pullRequestEventType :: Maybe PullRequestEventType
- pullRequestId :: Maybe Text
- pullRequestMergedStateChangedEventMetadata :: Maybe PullRequestMergedStateChangedEventMetadata
- pullRequestSourceReferenceUpdatedEventMetadata :: Maybe PullRequestSourceReferenceUpdatedEventMetadata
- pullRequestStatusChangedEventMetadata :: Maybe PullRequestStatusChangedEventMetadata
- newPullRequestEvent :: PullRequestEvent
- pullRequestEvent_actorArn :: Lens' PullRequestEvent (Maybe Text)
- pullRequestEvent_approvalRuleEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleEventMetadata)
- pullRequestEvent_approvalRuleOverriddenEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleOverriddenEventMetadata)
- pullRequestEvent_approvalStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalStateChangedEventMetadata)
- pullRequestEvent_eventDate :: Lens' PullRequestEvent (Maybe UTCTime)
- pullRequestEvent_pullRequestCreatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestCreatedEventMetadata)
- pullRequestEvent_pullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType)
- pullRequestEvent_pullRequestId :: Lens' PullRequestEvent (Maybe Text)
- pullRequestEvent_pullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata)
- pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata)
- pullRequestEvent_pullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata)
Documentation
data PullRequestEvent Source #
Returns information about a pull request event.
See: newPullRequestEvent smart constructor.
Constructors
| PullRequestEvent' | |
Fields
| |
Instances
newPullRequestEvent :: PullRequestEvent Source #
Create a value of PullRequestEvent with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actorArn:PullRequestEvent', pullRequestEvent_actorArn - 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.
$sel:approvalRuleEventMetadata:PullRequestEvent', pullRequestEvent_approvalRuleEventMetadata - Information about a pull request event.
$sel:approvalRuleOverriddenEventMetadata:PullRequestEvent', pullRequestEvent_approvalRuleOverriddenEventMetadata - Information about an approval rule override event for a pull request.
$sel:approvalStateChangedEventMetadata:PullRequestEvent', pullRequestEvent_approvalStateChangedEventMetadata - Information about an approval state change for a pull request.
$sel:eventDate:PullRequestEvent', pullRequestEvent_eventDate - The day and time of the pull request event, in timestamp format.
$sel:pullRequestCreatedEventMetadata:PullRequestEvent', pullRequestEvent_pullRequestCreatedEventMetadata - Information about the source and destination branches for the pull
request.
$sel:pullRequestEventType:PullRequestEvent', pullRequestEvent_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)).
$sel:pullRequestId:PullRequestEvent', pullRequestEvent_pullRequestId - The system-generated ID of the pull request.
$sel:pullRequestMergedStateChangedEventMetadata:PullRequestEvent', pullRequestEvent_pullRequestMergedStateChangedEventMetadata - Information about the change in mergability state for the pull request
event.
$sel:pullRequestSourceReferenceUpdatedEventMetadata:PullRequestEvent', pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata - Information about the updated source branch for the pull request event.
$sel:pullRequestStatusChangedEventMetadata:PullRequestEvent', pullRequestEvent_pullRequestStatusChangedEventMetadata - Information about the change in status for the pull request event.
pullRequestEvent_actorArn :: Lens' PullRequestEvent (Maybe Text) Source #
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.
pullRequestEvent_approvalRuleEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleEventMetadata) Source #
Information about a pull request event.
pullRequestEvent_approvalRuleOverriddenEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleOverriddenEventMetadata) Source #
Information about an approval rule override event for a pull request.
pullRequestEvent_approvalStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalStateChangedEventMetadata) Source #
Information about an approval state change for a pull request.
pullRequestEvent_eventDate :: Lens' PullRequestEvent (Maybe UTCTime) Source #
The day and time of the pull request event, in timestamp format.
pullRequestEvent_pullRequestCreatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestCreatedEventMetadata) Source #
Information about the source and destination branches for the pull request.
pullRequestEvent_pullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType) Source #
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)).
pullRequestEvent_pullRequestId :: Lens' PullRequestEvent (Maybe Text) Source #
The system-generated ID of the pull request.
pullRequestEvent_pullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata) Source #
Information about the change in mergability state for the pull request event.
pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata) Source #
Information about the updated source branch for the pull request event.
pullRequestEvent_pullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata) Source #
Information about the change in status for the pull request event.