amazonka-workdocs-1.6.1: Amazon WorkDocs SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WorkDocs.GetFolderPath

Contents

Description

Retrieves the path information (the hierarchy from the root folder) for the specified folder.

By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the requested folder and only includes the IDs of the parent folders in the path. You can limit the maximum number of levels. You can also request the parent folder names.

Synopsis

Creating a Request

getFolderPath Source #

Creates a value of GetFolderPath with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gfpAuthenticationToken - Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
  • gfpMarker - This value is not supported.
  • gfpLimit - The maximum number of levels in the hierarchy to return.
  • gfpFields - A comma-separated list of values. Specify NAME to include the names of the parent folders.
  • gfpFolderId - The ID of the folder.

data GetFolderPath Source #

See: getFolderPath smart constructor.

Instances
Eq GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Data GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetFolderPath -> c GetFolderPath #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetFolderPath #

toConstr :: GetFolderPath -> Constr #

dataTypeOf :: GetFolderPath -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetFolderPath) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetFolderPath) #

gmapT :: (forall b. Data b => b -> b) -> GetFolderPath -> GetFolderPath #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetFolderPath -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetFolderPath -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetFolderPath -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetFolderPath -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetFolderPath -> m GetFolderPath #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFolderPath -> m GetFolderPath #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFolderPath -> m GetFolderPath #

Show GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Generic GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Associated Types

type Rep GetFolderPath :: Type -> Type #

Hashable GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

AWSRequest GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Associated Types

type Rs GetFolderPath :: Type #

ToHeaders GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

ToPath GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

ToQuery GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

NFData GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Methods

rnf :: GetFolderPath -> () #

type Rep GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

type Rep GetFolderPath = D1 (MetaData "GetFolderPath" "Network.AWS.WorkDocs.GetFolderPath" "amazonka-workdocs-1.6.1-7lORy3cdAvvAKwhZON5nxY" False) (C1 (MetaCons "GetFolderPath'" PrefixI True) ((S1 (MetaSel (Just "_gfpAuthenticationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 (MetaSel (Just "_gfpMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gfpLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_gfpFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gfpFolderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetFolderPath Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Request Lenses

gfpAuthenticationToken :: Lens' GetFolderPath (Maybe Text) Source #

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

gfpMarker :: Lens' GetFolderPath (Maybe Text) Source #

This value is not supported.

gfpLimit :: Lens' GetFolderPath (Maybe Natural) Source #

The maximum number of levels in the hierarchy to return.

gfpFields :: Lens' GetFolderPath (Maybe Text) Source #

A comma-separated list of values. Specify NAME to include the names of the parent folders.

gfpFolderId :: Lens' GetFolderPath Text Source #

The ID of the folder.

Destructuring the Response

getFolderPathResponse Source #

Creates a value of GetFolderPathResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetFolderPathResponse Source #

See: getFolderPathResponse smart constructor.

Instances
Eq GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Data GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetFolderPathResponse -> c GetFolderPathResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetFolderPathResponse #

toConstr :: GetFolderPathResponse -> Constr #

dataTypeOf :: GetFolderPathResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetFolderPathResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetFolderPathResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetFolderPathResponse -> GetFolderPathResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetFolderPathResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetFolderPathResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetFolderPathResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetFolderPathResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetFolderPathResponse -> m GetFolderPathResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFolderPathResponse -> m GetFolderPathResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFolderPathResponse -> m GetFolderPathResponse #

Read GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Show GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Generic GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Associated Types

type Rep GetFolderPathResponse :: Type -> Type #

NFData GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

Methods

rnf :: GetFolderPathResponse -> () #

type Rep GetFolderPathResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.GetFolderPath

type Rep GetFolderPathResponse = D1 (MetaData "GetFolderPathResponse" "Network.AWS.WorkDocs.GetFolderPath" "amazonka-workdocs-1.6.1-7lORy3cdAvvAKwhZON5nxY" False) (C1 (MetaCons "GetFolderPathResponse'" PrefixI True) (S1 (MetaSel (Just "_gfprsPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourcePath)) :*: S1 (MetaSel (Just "_gfprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gfprsResponseStatus :: Lens' GetFolderPathResponse Int Source #

  • - | The response status code.