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

Description

 
Synopsis

Documentation

data PullRequestCreatedEventMetadata Source #

Metadata about the pull request that is used when comparing the pull request source with its destination.

See: newPullRequestCreatedEventMetadata smart constructor.

Constructors

PullRequestCreatedEventMetadata' 

Fields

  • destinationCommitId :: Maybe Text

    The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

  • 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 created.

  • sourceCommitId :: Maybe Text

    The commit ID on the source branch used when the pull request was created.

Instances

Instances details
Eq PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

Read PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

Show PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

Generic PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

Associated Types

type Rep PullRequestCreatedEventMetadata :: Type -> Type #

NFData PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

Hashable PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

FromJSON PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

type Rep PullRequestCreatedEventMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata

type Rep PullRequestCreatedEventMetadata = D1 ('MetaData "PullRequestCreatedEventMetadata" "Amazonka.CodeCommit.Types.PullRequestCreatedEventMetadata" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "PullRequestCreatedEventMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationCommitId") '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)) :*: S1 ('MetaSel ('Just "sourceCommitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newPullRequestCreatedEventMetadata :: PullRequestCreatedEventMetadata Source #

Create a value of PullRequestCreatedEventMetadata 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:destinationCommitId:PullRequestCreatedEventMetadata', pullRequestCreatedEventMetadata_destinationCommitId - The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

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

$sel:repositoryName:PullRequestCreatedEventMetadata', pullRequestCreatedEventMetadata_repositoryName - The name of the repository where the pull request was created.

$sel:sourceCommitId:PullRequestCreatedEventMetadata', pullRequestCreatedEventMetadata_sourceCommitId - The commit ID on the source branch used when the pull request was created.

pullRequestCreatedEventMetadata_destinationCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

The commit ID of the tip of the branch specified as the destination branch when the pull request was created.

pullRequestCreatedEventMetadata_mergeBase :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

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

pullRequestCreatedEventMetadata_repositoryName :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

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

pullRequestCreatedEventMetadata_sourceCommitId :: Lens' PullRequestCreatedEventMetadata (Maybe Text) Source #

The commit ID on the source branch used when the pull request was created.