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

Description

 
Synopsis

Documentation

data MergeMetadata Source #

Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.

See: newMergeMetadata smart constructor.

Constructors

MergeMetadata' 

Fields

Instances

Instances details
Eq MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

Read MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

Show MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

Generic MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

Associated Types

type Rep MergeMetadata :: Type -> Type #

NFData MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

Methods

rnf :: MergeMetadata -> () #

Hashable MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

FromJSON MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

type Rep MergeMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeMetadata

type Rep MergeMetadata = D1 ('MetaData "MergeMetadata" "Amazonka.CodeCommit.Types.MergeMetadata" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "MergeMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mergedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mergeOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MergeOptionTypeEnum))) :*: (S1 ('MetaSel ('Just "isMerged") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "mergeCommitId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newMergeMetadata :: MergeMetadata Source #

Create a value of MergeMetadata 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:mergedBy:MergeMetadata', mergeMetadata_mergedBy - The Amazon Resource Name (ARN) of the user who merged the branches.

$sel:mergeOption:MergeMetadata', mergeMetadata_mergeOption - The merge strategy used in the merge.

$sel:isMerged:MergeMetadata', mergeMetadata_isMerged - A Boolean value indicating whether the merge has been made.

$sel:mergeCommitId:MergeMetadata', mergeMetadata_mergeCommitId - The commit ID for the merge commit, if any.

mergeMetadata_mergedBy :: Lens' MergeMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user who merged the branches.

mergeMetadata_isMerged :: Lens' MergeMetadata (Maybe Bool) Source #

A Boolean value indicating whether the merge has been made.

mergeMetadata_mergeCommitId :: Lens' MergeMetadata (Maybe Text) Source #

The commit ID for the merge commit, if any.