amazonka-codecommit-2.0: Amazon CodeCommit SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CodeCommit.Types.Folder

Description

 
Synopsis

Documentation

data Folder Source #

Returns information about a folder in a repository.

See: newFolder smart constructor.

Constructors

Folder' 

Fields

  • absolutePath :: Maybe Text

    The fully qualified path of the folder in the repository.

  • relativePath :: Maybe Text

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

  • treeId :: Maybe Text

    The full SHA-1 pointer of the tree information for the commit that contains the folder.

Instances

Instances details
FromJSON Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

Generic Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

Associated Types

type Rep Folder :: Type -> Type #

Methods

from :: Folder -> Rep Folder x #

to :: Rep Folder x -> Folder #

Read Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

Show Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

NFData Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

Methods

rnf :: Folder -> () #

Eq Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

Methods

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

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

Hashable Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

Methods

hashWithSalt :: Int -> Folder -> Int #

hash :: Folder -> Int #

type Rep Folder Source # 
Instance details

Defined in Amazonka.CodeCommit.Types.Folder

type Rep Folder = D1 ('MetaData "Folder" "Amazonka.CodeCommit.Types.Folder" "amazonka-codecommit-2.0-974g5LOhuTPG9HgUSx02zG" 'False) (C1 ('MetaCons "Folder'" 'PrefixI 'True) (S1 ('MetaSel ('Just "absolutePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "relativePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "treeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newFolder :: Folder Source #

Create a value of Folder 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:Folder', folder_absolutePath - The fully qualified path of the folder in the repository.

$sel:relativePath:Folder', folder_relativePath - The relative path of the specified folder from the folder where the query originated.

$sel:treeId:Folder', folder_treeId - The full SHA-1 pointer of the tree information for the commit that contains the folder.

folder_absolutePath :: Lens' Folder (Maybe Text) Source #

The fully qualified path of the folder in the repository.

folder_relativePath :: Lens' Folder (Maybe Text) Source #

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

folder_treeId :: Lens' Folder (Maybe Text) Source #

The full SHA-1 pointer of the tree information for the commit that contains the folder.