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

Description

 
Synopsis

Documentation

data File Source #

Returns information about a file in a repository.

See: newFile smart constructor.

Constructors

File' 

Fields

Instances

Instances details
Eq File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

Methods

(==) :: File -> File -> Bool #

(/=) :: File -> File -> Bool #

Read File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

Show File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

Associated Types

type Rep File :: Type -> Type #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

NFData File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

Methods

rnf :: File -> () #

Hashable File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

Methods

hashWithSalt :: Int -> File -> Int #

hash :: File -> Int #

FromJSON File Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.File

type Rep File Source # 
Instance details

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)))))

newFile :: File Source #

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.

file_blobId :: Lens' File (Maybe Text) Source #

The blob ID that contains the file information.

file_relativePath :: Lens' File (Maybe Text) Source #

The relative path of the file from the folder where the query originated.