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

Description

 
Synopsis

Documentation

data ReplaceContentEntry Source #

Information about a replacement content entry in the conflict of a merge or pull request operation.

See: newReplaceContentEntry smart constructor.

Constructors

ReplaceContentEntry' 

Fields

Instances

Instances details
Eq ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

Read ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

Show ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

Generic ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

Associated Types

type Rep ReplaceContentEntry :: Type -> Type #

NFData ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

Methods

rnf :: ReplaceContentEntry -> () #

Hashable ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

ToJSON ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

type Rep ReplaceContentEntry Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.ReplaceContentEntry

type Rep ReplaceContentEntry = D1 ('MetaData "ReplaceContentEntry" "Amazonka.CodeCommit.Types.ReplaceContentEntry" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "ReplaceContentEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "fileMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileModeTypeEnum)) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64))) :*: (S1 ('MetaSel ('Just "filePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "replacementType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReplacementTypeEnum))))

newReplaceContentEntry Source #

Create a value of ReplaceContentEntry 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:fileMode:ReplaceContentEntry', replaceContentEntry_fileMode - The file mode to apply during conflict resoltion.

$sel:content:ReplaceContentEntry', replaceContentEntry_content - The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:filePath:ReplaceContentEntry', replaceContentEntry_filePath - The path of the conflicting file.

$sel:replacementType:ReplaceContentEntry', replaceContentEntry_replacementType - The replacement type to use when determining how to resolve the conflict.

replaceContentEntry_fileMode :: Lens' ReplaceContentEntry (Maybe FileModeTypeEnum) Source #

The file mode to apply during conflict resoltion.

replaceContentEntry_content :: Lens' ReplaceContentEntry (Maybe ByteString) Source #

The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

replaceContentEntry_replacementType :: Lens' ReplaceContentEntry ReplacementTypeEnum Source #

The replacement type to use when determining how to resolve the conflict.