| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.CodeCommit.Types.File
Description
Synopsis
- data File = File' {}
 - newFile :: File
 - file_absolutePath :: Lens' File (Maybe Text)
 - file_blobId :: Lens' File (Maybe Text)
 - file_fileMode :: Lens' File (Maybe FileModeTypeEnum)
 - file_relativePath :: Lens' File (Maybe Text)
 
Documentation
Returns information about a file in a repository.
See: newFile smart constructor.
Constructors
| File' | |
Fields 
  | |
Instances
| FromJSON File Source # | |
| Generic File Source # | |
| Read File Source # | |
| Show File Source # | |
| NFData File Source # | |
Defined in Amazonka.CodeCommit.Types.File  | |
| Eq File Source # | |
| Hashable File Source # | |
Defined in Amazonka.CodeCommit.Types.File  | |
| type Rep File Source # | |
Defined in Amazonka.CodeCommit.Types.File type Rep File = D1 ('MetaData "File" "Amazonka.CodeCommit.Types.File" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "File'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "absolutePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "fileMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileModeTypeEnum)) :*: 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:blobId:File', file_blobId - The blob ID that contains the file information.
$sel:fileMode:File', file_fileMode - The extrapolated file mode permissions for the file. Valid values
 include EXECUTABLE and NORMAL.
$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.