Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PullRequestEvent = PullRequestEvent' {
- pullRequestMergedStateChangedEventMetadata :: Maybe PullRequestMergedStateChangedEventMetadata
- pullRequestCreatedEventMetadata :: Maybe PullRequestCreatedEventMetadata
- approvalRuleEventMetadata :: Maybe ApprovalRuleEventMetadata
- pullRequestEventType :: Maybe PullRequestEventType
- pullRequestStatusChangedEventMetadata :: Maybe PullRequestStatusChangedEventMetadata
- actorArn :: Maybe Text
- pullRequestId :: Maybe Text
- eventDate :: Maybe POSIX
- approvalStateChangedEventMetadata :: Maybe ApprovalStateChangedEventMetadata
- pullRequestSourceReferenceUpdatedEventMetadata :: Maybe PullRequestSourceReferenceUpdatedEventMetadata
- approvalRuleOverriddenEventMetadata :: Maybe ApprovalRuleOverriddenEventMetadata
- newPullRequestEvent :: PullRequestEvent
- pullRequestEvent_pullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata)
- pullRequestEvent_pullRequestCreatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestCreatedEventMetadata)
- pullRequestEvent_approvalRuleEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleEventMetadata)
- pullRequestEvent_pullRequestEventType :: Lens' PullRequestEvent (Maybe PullRequestEventType)
- pullRequestEvent_pullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata)
- pullRequestEvent_actorArn :: Lens' PullRequestEvent (Maybe Text)
- pullRequestEvent_pullRequestId :: Lens' PullRequestEvent (Maybe Text)
- pullRequestEvent_eventDate :: Lens' PullRequestEvent (Maybe UTCTime)
- pullRequestEvent_approvalStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalStateChangedEventMetadata)
- pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata)
- pullRequestEvent_approvalRuleOverriddenEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleOverriddenEventMetadata)
Documentation
data PullRequestEvent Source #
Returns information about a pull request event.
See: newPullRequestEvent
smart constructor.
PullRequestEvent' | |
|
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:pullRequestMergedStateChangedEventMetadata:PullRequestEvent'
, pullRequestEvent_pullRequestMergedStateChangedEventMetadata
- Information about the change in mergability state for the pull request
event.
$sel:pullRequestCreatedEventMetadata:PullRequestEvent'
, pullRequestEvent_pullRequestCreatedEventMetadata
- Information about the source and destination branches for the pull
request.
$sel:approvalRuleEventMetadata:PullRequestEvent'
, pullRequestEvent_approvalRuleEventMetadata
- Information about a pull request event.
$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:pullRequestStatusChangedEventMetadata:PullRequestEvent'
, pullRequestEvent_pullRequestStatusChangedEventMetadata
- Information about the change in status for the pull request event.
$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:pullRequestId:PullRequestEvent'
, pullRequestEvent_pullRequestId
- The system-generated ID of the pull request.
$sel:eventDate:PullRequestEvent'
, pullRequestEvent_eventDate
- The day and time of the pull request event, in timestamp format.
$sel:approvalStateChangedEventMetadata:PullRequestEvent'
, pullRequestEvent_approvalStateChangedEventMetadata
- Information about an approval state change for a pull request.
$sel:pullRequestSourceReferenceUpdatedEventMetadata:PullRequestEvent'
, pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata
- Information about the updated source branch for the pull request event.
$sel:approvalRuleOverriddenEventMetadata:PullRequestEvent'
, pullRequestEvent_approvalRuleOverriddenEventMetadata
- Information about an approval rule override event for a pull request.
pullRequestEvent_pullRequestMergedStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestMergedStateChangedEventMetadata) Source #
Information about the change in mergability state for the pull request event.
pullRequestEvent_pullRequestCreatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestCreatedEventMetadata) Source #
Information about the source and destination branches for the pull request.
pullRequestEvent_approvalRuleEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleEventMetadata) Source #
Information about a pull request event.
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_pullRequestStatusChangedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestStatusChangedEventMetadata) Source #
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_pullRequestId :: Lens' PullRequestEvent (Maybe Text) Source #
The system-generated ID of the pull request.
pullRequestEvent_eventDate :: Lens' PullRequestEvent (Maybe UTCTime) Source #
The day and time of the pull request event, in timestamp format.
pullRequestEvent_approvalStateChangedEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalStateChangedEventMetadata) Source #
Information about an approval state change for a pull request.
pullRequestEvent_pullRequestSourceReferenceUpdatedEventMetadata :: Lens' PullRequestEvent (Maybe PullRequestSourceReferenceUpdatedEventMetadata) Source #
Information about the updated source branch for the pull request event.
pullRequestEvent_approvalRuleOverriddenEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleOverriddenEventMetadata) Source #
Information about an approval rule override event for a pull request.