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 |
Synopsis
- data PutFileEntry = PutFileEntry' {}
- newPutFileEntry :: Text -> PutFileEntry
- putFileEntry_fileContent :: Lens' PutFileEntry (Maybe ByteString)
- putFileEntry_fileMode :: Lens' PutFileEntry (Maybe FileModeTypeEnum)
- putFileEntry_sourceFile :: Lens' PutFileEntry (Maybe SourceFileSpecifier)
- putFileEntry_filePath :: Lens' PutFileEntry Text
Documentation
data PutFileEntry Source #
Information about a file added or updated as part of a commit.
See: newPutFileEntry
smart constructor.
PutFileEntry' | |
|
Instances
Create a value of PutFileEntry
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:fileContent:PutFileEntry'
, putFileEntry_fileContent
- The content of the file, if a source file is not specified.--
-- 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:fileMode:PutFileEntry'
, putFileEntry_fileMode
- The extrapolated file mode permissions for the file. Valid values
include EXECUTABLE and NORMAL.
$sel:sourceFile:PutFileEntry'
, putFileEntry_sourceFile
- The name and full path of the file that contains the changes you want to
make as part of the commit, if you are not providing the file content
directly.
$sel:filePath:PutFileEntry'
, putFileEntry_filePath
- The full path to the file in the repository, including the name of the
file.
putFileEntry_fileContent :: Lens' PutFileEntry (Maybe ByteString) Source #
The content of the file, if a source file is not specified.--
-- 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.
putFileEntry_fileMode :: Lens' PutFileEntry (Maybe FileModeTypeEnum) Source #
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.
putFileEntry_sourceFile :: Lens' PutFileEntry (Maybe SourceFileSpecifier) Source #
The name and full path of the file that contains the changes you want to make as part of the commit, if you are not providing the file content directly.
putFileEntry_filePath :: Lens' PutFileEntry Text Source #
The full path to the file in the repository, including the name of the file.