amazonka-workdocs-1.5.0: Amazon WorkDocs SDK.

Copyright(c) 2013-2017 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. This field should not be set 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 # 
Data GetFolderPath Source # 

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 # 
Generic GetFolderPath Source # 

Associated Types

type Rep GetFolderPath :: * -> * #

Hashable GetFolderPath Source # 
NFData GetFolderPath Source # 

Methods

rnf :: GetFolderPath -> () #

AWSRequest GetFolderPath Source # 
ToQuery GetFolderPath Source # 
ToPath GetFolderPath Source # 
ToHeaders GetFolderPath Source # 
type Rep GetFolderPath Source # 
type Rep GetFolderPath = D1 (MetaData "GetFolderPath" "Network.AWS.WorkDocs.GetFolderPath" "amazonka-workdocs-1.5.0-BQCQjzmZAyNCgdficzQnx9" False) (C1 (MetaCons "GetFolderPath'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gfpAuthenticationToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) (S1 (MetaSel (Just Symbol "_gfpMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gfpLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_gfpFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gfpFolderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs GetFolderPath Source # 

Request Lenses

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

Amazon WorkDocs authentication token. This field should not be set 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 # 
Data GetFolderPathResponse Source # 

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 # 
Show GetFolderPathResponse Source # 
Generic GetFolderPathResponse Source # 
NFData GetFolderPathResponse Source # 

Methods

rnf :: GetFolderPathResponse -> () #

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

Response Lenses

gfprsResponseStatus :: Lens' GetFolderPathResponse Int Source #

  • - | The response status code.