Copyright | (c) 2013-2021 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 |
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
- data DescribeFolderContents = DescribeFolderContents' {}
- newDescribeFolderContents :: Text -> DescribeFolderContents
- describeFolderContents_include :: Lens' DescribeFolderContents (Maybe Text)
- describeFolderContents_authenticationToken :: Lens' DescribeFolderContents (Maybe Text)
- describeFolderContents_sort :: Lens' DescribeFolderContents (Maybe ResourceSortType)
- describeFolderContents_marker :: Lens' DescribeFolderContents (Maybe Text)
- describeFolderContents_limit :: Lens' DescribeFolderContents (Maybe Natural)
- describeFolderContents_type :: Lens' DescribeFolderContents (Maybe FolderContentType)
- describeFolderContents_order :: Lens' DescribeFolderContents (Maybe OrderType)
- describeFolderContents_folderId :: Lens' DescribeFolderContents Text
- data DescribeFolderContentsResponse = DescribeFolderContentsResponse' {
- folders :: Maybe [FolderMetadata]
- documents :: Maybe [DocumentMetadata]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeFolderContentsResponse :: Int -> DescribeFolderContentsResponse
- describeFolderContentsResponse_folders :: Lens' DescribeFolderContentsResponse (Maybe [FolderMetadata])
- describeFolderContentsResponse_documents :: Lens' DescribeFolderContentsResponse (Maybe [DocumentMetadata])
- describeFolderContentsResponse_marker :: Lens' DescribeFolderContentsResponse (Maybe Text)
- describeFolderContentsResponse_httpStatus :: Lens' DescribeFolderContentsResponse Int
Creating a Request
data DescribeFolderContents Source #
See: newDescribeFolderContents
smart constructor.
DescribeFolderContents' | |
|
Instances
newDescribeFolderContents Source #
Create a value of DescribeFolderContents
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:include:DescribeFolderContents'
, describeFolderContents_include
- The contents to include. Specify "INITIALIZED" to include initialized
documents.
$sel:authenticationToken:DescribeFolderContents'
, describeFolderContents_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:sort:DescribeFolderContents'
, describeFolderContents_sort
- The sorting criteria.
$sel:marker:DescribeFolderContents'
, describeFolderContents_marker
- The marker for the next set of results. This marker was received from a
previous call.
$sel:limit:DescribeFolderContents'
, describeFolderContents_limit
- The maximum number of items to return with this call.
$sel:type':DescribeFolderContents'
, describeFolderContents_type
- The type of items.
$sel:order:DescribeFolderContents'
, describeFolderContents_order
- The order for the contents of the folder.
$sel:folderId:DescribeFolderContents'
, describeFolderContents_folderId
- The ID of the folder.
Request Lenses
describeFolderContents_include :: Lens' DescribeFolderContents (Maybe Text) Source #
The contents to include. Specify "INITIALIZED" to include initialized documents.
describeFolderContents_authenticationToken :: Lens' DescribeFolderContents (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
describeFolderContents_sort :: Lens' DescribeFolderContents (Maybe ResourceSortType) Source #
The sorting criteria.
describeFolderContents_marker :: Lens' DescribeFolderContents (Maybe Text) Source #
The marker for the next set of results. This marker was received from a previous call.
describeFolderContents_limit :: Lens' DescribeFolderContents (Maybe Natural) Source #
The maximum number of items to return with this call.
describeFolderContents_type :: Lens' DescribeFolderContents (Maybe FolderContentType) Source #
The type of items.
describeFolderContents_order :: Lens' DescribeFolderContents (Maybe OrderType) Source #
The order for the contents of the folder.
describeFolderContents_folderId :: Lens' DescribeFolderContents Text Source #
The ID of the folder.
Destructuring the Response
data DescribeFolderContentsResponse Source #
See: newDescribeFolderContentsResponse
smart constructor.
DescribeFolderContentsResponse' | |
|
Instances
newDescribeFolderContentsResponse Source #
Create a value of DescribeFolderContentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:folders:DescribeFolderContentsResponse'
, describeFolderContentsResponse_folders
- The subfolders in the specified folder.
$sel:documents:DescribeFolderContentsResponse'
, describeFolderContentsResponse_documents
- The documents in the specified folder.
$sel:marker:DescribeFolderContents'
, describeFolderContentsResponse_marker
- The marker to use when requesting the next set of results. If there are
no additional results, the string is empty.
$sel:httpStatus:DescribeFolderContentsResponse'
, describeFolderContentsResponse_httpStatus
- The response's http status code.
Response Lenses
describeFolderContentsResponse_folders :: Lens' DescribeFolderContentsResponse (Maybe [FolderMetadata]) Source #
The subfolders in the specified folder.
describeFolderContentsResponse_documents :: Lens' DescribeFolderContentsResponse (Maybe [DocumentMetadata]) Source #
The documents in the specified folder.
describeFolderContentsResponse_marker :: 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.
describeFolderContentsResponse_httpStatus :: Lens' DescribeFolderContentsResponse Int Source #
The response's http status code.