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 File = File' {}
- newFile :: File
- file_absolutePath :: Lens' File (Maybe Text)
- file_fileMode :: Lens' File (Maybe FileModeTypeEnum)
- file_blobId :: Lens' File (Maybe Text)
- file_relativePath :: Lens' File (Maybe Text)
Documentation
Returns information about a file in a repository.
See: newFile
smart constructor.
File' | |
|
Instances
Eq File Source # | |
Read File Source # | |
Show File Source # | |
Generic File Source # | |
NFData File Source # | |
Defined in Amazonka.CodeCommit.Types.File | |
Hashable File Source # | |
Defined in Amazonka.CodeCommit.Types.File | |
FromJSON File Source # | |
type Rep File Source # | |
Defined in Amazonka.CodeCommit.Types.File type Rep File = D1 ('MetaData "File" "Amazonka.CodeCommit.Types.File" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "File'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "absolutePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fileMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileModeTypeEnum))) :*: (S1 ('MetaSel ('Just "blobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "relativePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
Create a value of File
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:absolutePath:File'
, file_absolutePath
- The fully qualified path to the file in the repository.
$sel:fileMode:File'
, file_fileMode
- The extrapolated file mode permissions for the file. Valid values
include EXECUTABLE and NORMAL.
$sel:blobId:File'
, file_blobId
- The blob ID that contains the file information.
$sel:relativePath:File'
, file_relativePath
- The relative path of the file from the folder where the query
originated.
file_absolutePath :: Lens' File (Maybe Text) Source #
The fully qualified path to the file in the repository.
file_fileMode :: Lens' File (Maybe FileModeTypeEnum) Source #
The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.