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

Description

 
Synopsis

Documentation

data FileMetadata Source #

A file to be added, updated, or deleted as part of a commit.

See: newFileMetadata smart constructor.

Constructors

FileMetadata' 

Fields

Instances

Instances details
Eq FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

Read FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

Show FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

Generic FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

Associated Types

type Rep FileMetadata :: Type -> Type #

NFData FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

Methods

rnf :: FileMetadata -> () #

Hashable FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

FromJSON FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

type Rep FileMetadata Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.FileMetadata

type Rep FileMetadata = D1 ('MetaData "FileMetadata" "Amazonka.CodeCommit.Types.FileMetadata" "libZSservicesZSamazonka-codecommitZSamazonka-codecommit" 'False) (C1 ('MetaCons "FileMetadata'" '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)))))

newFileMetadata :: FileMetadata Source #

Create a value of FileMetadata 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:FileMetadata', fileMetadata_absolutePath - The full path to the file to be added or updated, including the name of the file.

$sel:fileMode:FileMetadata', fileMetadata_fileMode - The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

$sel:blobId:FileMetadata', fileMetadata_blobId - The blob ID that contains the file information.

fileMetadata_absolutePath :: Lens' FileMetadata (Maybe Text) Source #

The full path to the file to be added or updated, including the name of the file.

fileMetadata_fileMode :: Lens' FileMetadata (Maybe FileModeTypeEnum) Source #

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

fileMetadata_blobId :: Lens' FileMetadata (Maybe Text) Source #

The blob ID that contains the file information.