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.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. Do not set this field 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 # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Data DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

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 # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Generic DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Associated Types

type Rep DescribeFolderContents :: Type -> Type #

Hashable DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

AWSPager DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

AWSRequest DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Associated Types

type Rs DescribeFolderContents :: Type #

ToHeaders DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

ToPath DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

ToQuery DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

NFData DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Methods

rnf :: DescribeFolderContents -> () #

type Rep DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

type Rs DescribeFolderContents Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

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. Do not set this field 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 # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Data DescribeFolderContentsResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

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 # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Generic DescribeFolderContentsResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

Associated Types

type Rep DescribeFolderContentsResponse :: Type -> Type #

NFData DescribeFolderContentsResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

type Rep DescribeFolderContentsResponse Source # 
Instance details

Defined in Network.AWS.WorkDocs.DescribeFolderContents

type Rep DescribeFolderContentsResponse = D1 (MetaData "DescribeFolderContentsResponse" "Network.AWS.WorkDocs.DescribeFolderContents" "amazonka-workdocs-1.6.1-7lORy3cdAvvAKwhZON5nxY" False) (C1 (MetaCons "DescribeFolderContentsResponse'" PrefixI True) ((S1 (MetaSel (Just "_dfcrsFolders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FolderMetadata])) :*: S1 (MetaSel (Just "_dfcrsDocuments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DocumentMetadata]))) :*: (S1 (MetaSel (Just "_dfcrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.