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

Contents

Description

Describes the contents of the specified folder, including its documents and subfolders.

By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.

This operation returns paginated results.

Synopsis

Creating a Request

describeFolderContents Source #

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

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

  • dfcsInclude - The contents to include. Specify INITIALIZED to include initialized documents.
  • dfcsAuthenticationToken - Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
  • dfcsSort - The sorting criteria.
  • dfcsMarker - The marker for the next set of results. This marker was received from a previous call.
  • dfcsLimit - The maximum number of items to return with this call.
  • dfcsType - The type of items.
  • dfcsOrder - The order for the contents of the folder.
  • dfcsFolderId - The ID of the folder.

data DescribeFolderContents Source #

See: describeFolderContents smart constructor.

Instances

Eq DescribeFolderContents Source # 
Data DescribeFolderContents Source # 

Methods

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

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

toConstr :: DescribeFolderContents -> Constr #

dataTypeOf :: DescribeFolderContents -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DescribeFolderContents Source # 
Generic DescribeFolderContents Source # 
Hashable DescribeFolderContents Source # 
NFData DescribeFolderContents Source # 

Methods

rnf :: DescribeFolderContents -> () #

AWSPager DescribeFolderContents Source # 
AWSRequest DescribeFolderContents Source # 
ToQuery DescribeFolderContents Source # 
ToPath DescribeFolderContents Source # 
ToHeaders DescribeFolderContents Source # 
type Rep DescribeFolderContents Source # 
type Rs DescribeFolderContents Source # 

Request Lenses

dfcsInclude :: Lens' DescribeFolderContents (Maybe Text) Source #

The contents to include. Specify INITIALIZED to include initialized documents.

dfcsAuthenticationToken :: Lens' DescribeFolderContents (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.

dfcsMarker :: Lens' DescribeFolderContents (Maybe Text) Source #

The marker for the next set of results. This marker was received from a previous call.

dfcsLimit :: Lens' DescribeFolderContents (Maybe Natural) Source #

The maximum number of items to return with this call.

dfcsOrder :: Lens' DescribeFolderContents (Maybe OrderType) Source #

The order for the contents of the folder.

Destructuring the Response

describeFolderContentsResponse Source #

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

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

  • dfcrsFolders - The subfolders in the specified folder.
  • dfcrsDocuments - The documents in the specified folder.
  • dfcrsMarker - The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
  • dfcrsResponseStatus - -- | The response status code.

data DescribeFolderContentsResponse Source #

See: describeFolderContentsResponse smart constructor.

Instances

Eq DescribeFolderContentsResponse Source # 
Data DescribeFolderContentsResponse Source # 

Methods

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

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

toConstr :: DescribeFolderContentsResponse -> Constr #

dataTypeOf :: DescribeFolderContentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DescribeFolderContentsResponse Source # 
Generic DescribeFolderContentsResponse Source # 
NFData DescribeFolderContentsResponse Source # 
type Rep DescribeFolderContentsResponse Source # 
type Rep DescribeFolderContentsResponse = D1 (MetaData "DescribeFolderContentsResponse" "Network.AWS.WorkDocs.DescribeFolderContents" "amazonka-workdocs-1.5.0-BQCQjzmZAyNCgdficzQnx9" False) (C1 (MetaCons "DescribeFolderContentsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dfcrsFolders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FolderMetadata]))) (S1 (MetaSel (Just Symbol "_dfcrsDocuments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DocumentMetadata])))) ((:*:) (S1 (MetaSel (Just Symbol "_dfcrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dfcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dfcrsFolders :: Lens' DescribeFolderContentsResponse [FolderMetadata] Source #

The subfolders in the specified folder.

dfcrsDocuments :: Lens' DescribeFolderContentsResponse [DocumentMetadata] Source #

The documents in the specified folder.

dfcrsMarker :: Lens' DescribeFolderContentsResponse (Maybe Text) Source #

The marker to use when requesting the next set of results. If there are no additional results, the string is empty.