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.PullRequestSourceReferenceUpdatedEventMetadata

Description

 
Synopsis

Documentation

data PullRequestSourceReferenceUpdatedEventMetadata Source #

Information about an update to the source branch of a pull request.

See: newPullRequestSourceReferenceUpdatedEventMetadata smart constructor.

Constructors

PullRequestSourceReferenceUpdatedEventMetadata' 

Fields

  • afterCommitId :: Maybe Text

    The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.

  • beforeCommitId :: Maybe Text

    The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.

  • mergeBase :: Maybe Text

    The commit ID of the most recent commit that the source branch and the destination branch have in common.

  • repositoryName :: Maybe Text

    The name of the repository where the pull request was updated.

Instances

Instances details
Eq PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

Read PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

Show PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

Generic PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

NFData PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

Hashable PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

FromJSON PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

type Rep PullRequestSourceReferenceUpdatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata

type Rep PullRequestSourceReferenceUpdatedEventMetadata = D1 ('MetaData "PullRequestSourceReferenceUpdatedEventMetadata" "Amazonka.CodeCommit.Types.PullRequestSourceReferenceUpdatedEventMetadata" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "PullRequestSourceReferenceUpdatedEventMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "afterCommitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "beforeCommitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "mergeBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "repositoryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPullRequestSourceReferenceUpdatedEventMetadata :: PullRequestSourceReferenceUpdatedEventMetadata Source #

Create a value of PullRequestSourceReferenceUpdatedEventMetadata 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:afterCommitId:PullRequestSourceReferenceUpdatedEventMetadata', pullRequestSourceReferenceUpdatedEventMetadata_afterCommitId - The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.

$sel:beforeCommitId:PullRequestSourceReferenceUpdatedEventMetadata', pullRequestSourceReferenceUpdatedEventMetadata_beforeCommitId - The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.

$sel:mergeBase:PullRequestSourceReferenceUpdatedEventMetadata', pullRequestSourceReferenceUpdatedEventMetadata_mergeBase - The commit ID of the most recent commit that the source branch and the destination branch have in common.

$sel:repositoryName:PullRequestSourceReferenceUpdatedEventMetadata', pullRequestSourceReferenceUpdatedEventMetadata_repositoryName - The name of the repository where the pull request was updated.

pullRequestSourceReferenceUpdatedEventMetadata_afterCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) Source #

The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.

pullRequestSourceReferenceUpdatedEventMetadata_beforeCommitId :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) Source #

The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was updated.

pullRequestSourceReferenceUpdatedEventMetadata_mergeBase :: Lens' PullRequestSourceReferenceUpdatedEventMetadata (Maybe Text) Source #

The commit ID of the most recent commit that the source branch and the destination branch have in common.