amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeCommit.Types.MergeHunkDetail

Description

 
Synopsis

Documentation

data MergeHunkDetail Source #

Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.

See: newMergeHunkDetail smart constructor.

Constructors

MergeHunkDetail' 

Fields

Instances

Instances details
FromJSON MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

Generic MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

Associated Types

type Rep MergeHunkDetail :: Type -> Type #

Read MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

Show MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

NFData MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

Methods

rnf :: MergeHunkDetail -> () #

Eq MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

Hashable MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

type Rep MergeHunkDetail Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.MergeHunkDetail

type Rep MergeHunkDetail = D1 ('MetaData "MergeHunkDetail" "Amazonka.CodeCommit.Types.MergeHunkDetail" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "MergeHunkDetail'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "hunkContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newMergeHunkDetail :: MergeHunkDetail Source #

Create a value of MergeHunkDetail 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:endLine:MergeHunkDetail', mergeHunkDetail_endLine - The end position of the hunk in the merge result.

$sel:hunkContent:MergeHunkDetail', mergeHunkDetail_hunkContent - The base-64 encoded content of the hunk merged region that might contain a conflict.

$sel:startLine:MergeHunkDetail', mergeHunkDetail_startLine - The start position of the hunk in the merge result.

mergeHunkDetail_endLine :: Lens' MergeHunkDetail (Maybe Int) Source #

The end position of the hunk in the merge result.

mergeHunkDetail_hunkContent :: Lens' MergeHunkDetail (Maybe Text) Source #

The base-64 encoded content of the hunk merged region that might contain a conflict.

mergeHunkDetail_startLine :: Lens' MergeHunkDetail (Maybe Int) Source #

The start position of the hunk in the merge result.