Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.CodeCommit.Types.ReplaceContentEntry
Description
Synopsis
- data ReplaceContentEntry = ReplaceContentEntry' {}
- newReplaceContentEntry :: Text -> ReplacementTypeEnum -> ReplaceContentEntry
- replaceContentEntry_fileMode :: Lens' ReplaceContentEntry (Maybe FileModeTypeEnum)
- replaceContentEntry_content :: Lens' ReplaceContentEntry (Maybe ByteString)
- replaceContentEntry_filePath :: Lens' ReplaceContentEntry Text
- replaceContentEntry_replacementType :: Lens' ReplaceContentEntry ReplacementTypeEnum
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
newReplaceContentEntry Source #
Arguments
:: Text | |
-> ReplacementTypeEnum | |
-> ReplaceContentEntry |
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_filePath :: Lens' ReplaceContentEntry Text Source #
The path of the conflicting file.
replaceContentEntry_replacementType :: Lens' ReplaceContentEntry ReplacementTypeEnum Source #
The replacement type to use when determining how to resolve the conflict.