libZSservicesZSamazonka-codecommitZSamazonka-codecommit
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeCommit.Types.PullRequestEvent

Description

 
Synopsis

Documentation

data PullRequestEvent Source #

Returns information about a pull request event.

See: newPullRequestEvent smart constructor.

Constructors

PullRequestEvent' 

Fields

Instances

Instances details
Eq PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

Read PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

Show PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

Generic PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

Associated Types

type Rep PullRequestEvent :: Type -> Type #

NFData PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

Methods

rnf :: PullRequestEvent -> () #

Hashable PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

FromJSON PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

type Rep PullRequestEvent Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestEvent

type Rep PullRequestEvent = D1 ('MetaData "PullRequestEvent" "Amazonka.CodeCommit.Types.PullRequestEvent" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "PullRequestEvent'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "pullRequestMergedStateChangedEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PullRequestMergedStateChangedEventMetadata)) :*: S1 ('MetaSel ('Just "pullRequestCreatedEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PullRequestCreatedEventMetadata))) :*: (S1 ('MetaSel ('Just "approvalRuleEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApprovalRuleEventMetadata)) :*: (S1 ('MetaSel ('Just "pullRequestEventType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PullRequestEventType)) :*: S1 ('MetaSel ('Just "pullRequestStatusChangedEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PullRequestStatusChangedEventMetadata))))) :*: ((S1 ('MetaSel ('Just "actorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pullRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "approvalStateChangedEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApprovalStateChangedEventMetadata)) :*: (S1 ('MetaSel ('Just "pullRequestSourceReferenceUpdatedEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PullRequestSourceReferenceUpdatedEventMetadata)) :*: S1 ('MetaSel ('Just "approvalRuleOverriddenEventMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApprovalRuleOverriddenEventMetadata)))))))

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_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_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_approvalRuleOverriddenEventMetadata :: Lens' PullRequestEvent (Maybe ApprovalRuleOverriddenEventMetadata) Source #

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