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

Description

 
Synopsis

Documentation

data ConflictResolution Source #

If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when resolving conflicts during a merge.

See: newConflictResolution smart constructor.

Constructors

ConflictResolution' 

Fields

Instances

Instances details
Eq ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

Read ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

Show ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

Generic ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

Associated Types

type Rep ConflictResolution :: Type -> Type #

NFData ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

Methods

rnf :: ConflictResolution -> () #

Hashable ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

ToJSON ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

type Rep ConflictResolution Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ConflictResolution

type Rep ConflictResolution = D1 ('MetaData "ConflictResolution" "Amazonka.CodeCommit.Types.ConflictResolution" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ConflictResolution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "setFileModes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SetFileModeEntry])) :*: (S1 ('MetaSel ('Just "deleteFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeleteFileEntry])) :*: S1 ('MetaSel ('Just "replaceContents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplaceContentEntry])))))

newConflictResolution :: ConflictResolution Source #

Create a value of ConflictResolution 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:setFileModes:ConflictResolution', conflictResolution_setFileModes - File modes that are set as part of the merge conflict resolution.

$sel:deleteFiles:ConflictResolution', conflictResolution_deleteFiles - Files to be deleted as part of the merge conflict resolution.

$sel:replaceContents:ConflictResolution', conflictResolution_replaceContents - Files to have content replaced as part of the merge conflict resolution.

conflictResolution_setFileModes :: Lens' ConflictResolution (Maybe [SetFileModeEntry]) Source #

File modes that are set as part of the merge conflict resolution.

conflictResolution_deleteFiles :: Lens' ConflictResolution (Maybe [DeleteFileEntry]) Source #

Files to be deleted as part of the merge conflict resolution.

conflictResolution_replaceContents :: Lens' ConflictResolution (Maybe [ReplaceContentEntry]) Source #

Files to have content replaced as part of the merge conflict resolution.