Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- describeFolderContents :: Text -> DescribeFolderContents
- data DescribeFolderContents
- dfcsInclude :: Lens' DescribeFolderContents (Maybe Text)
- dfcsAuthenticationToken :: Lens' DescribeFolderContents (Maybe Text)
- dfcsSort :: Lens' DescribeFolderContents (Maybe ResourceSortType)
- dfcsMarker :: Lens' DescribeFolderContents (Maybe Text)
- dfcsLimit :: Lens' DescribeFolderContents (Maybe Natural)
- dfcsType :: Lens' DescribeFolderContents (Maybe FolderContentType)
- dfcsOrder :: Lens' DescribeFolderContents (Maybe OrderType)
- dfcsFolderId :: Lens' DescribeFolderContents Text
- describeFolderContentsResponse :: Int -> DescribeFolderContentsResponse
- data DescribeFolderContentsResponse
- dfcrsFolders :: Lens' DescribeFolderContentsResponse [FolderMetadata]
- dfcrsDocuments :: Lens' DescribeFolderContentsResponse [DocumentMetadata]
- dfcrsMarker :: Lens' DescribeFolderContentsResponse (Maybe Text)
- dfcrsResponseStatus :: Lens' DescribeFolderContentsResponse Int
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.
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.
dfcsSort :: Lens' DescribeFolderContents (Maybe ResourceSortType) Source #
The sorting criteria.
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.
dfcsType :: Lens' DescribeFolderContents (Maybe FolderContentType) Source #
The type of items.
dfcsOrder :: Lens' DescribeFolderContents (Maybe OrderType) Source #
The order for the contents of the folder.
dfcsFolderId :: Lens' DescribeFolderContents Text Source #
The ID 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.
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.
dfcrsResponseStatus :: Lens' DescribeFolderContentsResponse Int Source #
- - | The response status code.