Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.WorkDocs.DescribeFolderContents
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
- data DescribeFolderContents = DescribeFolderContents' {}
- newDescribeFolderContents :: Text -> DescribeFolderContents
- describeFolderContents_authenticationToken :: Lens' DescribeFolderContents (Maybe Text)
- describeFolderContents_include :: Lens' DescribeFolderContents (Maybe Text)
- describeFolderContents_limit :: Lens' DescribeFolderContents (Maybe Natural)
- describeFolderContents_marker :: Lens' DescribeFolderContents (Maybe Text)
- describeFolderContents_order :: Lens' DescribeFolderContents (Maybe OrderType)
- describeFolderContents_sort :: Lens' DescribeFolderContents (Maybe ResourceSortType)
- describeFolderContents_type :: Lens' DescribeFolderContents (Maybe FolderContentType)
- describeFolderContents_folderId :: Lens' DescribeFolderContents Text
- data DescribeFolderContentsResponse = DescribeFolderContentsResponse' {
- documents :: Maybe [DocumentMetadata]
- folders :: Maybe [FolderMetadata]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeFolderContentsResponse :: Int -> DescribeFolderContentsResponse
- describeFolderContentsResponse_documents :: Lens' DescribeFolderContentsResponse (Maybe [DocumentMetadata])
- describeFolderContentsResponse_folders :: Lens' DescribeFolderContentsResponse (Maybe [FolderMetadata])
- describeFolderContentsResponse_marker :: Lens' DescribeFolderContentsResponse (Maybe Text)
- describeFolderContentsResponse_httpStatus :: Lens' DescribeFolderContentsResponse Int
Creating a Request
data DescribeFolderContents Source #
See: newDescribeFolderContents
smart constructor.
Constructors
DescribeFolderContents' | |
Fields
|
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:authenticationToken:DescribeFolderContents'
, describeFolderContents_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:include:DescribeFolderContents'
, describeFolderContents_include
- The contents to include. Specify "INITIALIZED" to include initialized
documents.
$sel:limit:DescribeFolderContents'
, describeFolderContents_limit
- The maximum number of items to return with this call.
DescribeFolderContents
, describeFolderContents_marker
- The marker for the next set of results. This marker was received from a
previous call.
$sel:order:DescribeFolderContents'
, describeFolderContents_order
- The order for the contents of the folder.
$sel:sort:DescribeFolderContents'
, describeFolderContents_sort
- The sorting criteria.
DescribeFolderContents
, describeFolderContents_type
- The type of items.
$sel:folderId:DescribeFolderContents'
, describeFolderContents_folderId
- The ID of the folder.
Request Lenses
describeFolderContents_authenticationToken :: Lens' DescribeFolderContents (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
describeFolderContents_include :: Lens' DescribeFolderContents (Maybe Text) Source #
The contents to include. Specify "INITIALIZED" to include initialized documents.
describeFolderContents_limit :: Lens' DescribeFolderContents (Maybe Natural) Source #
The maximum number of items to return with this call.
describeFolderContents_marker :: Lens' DescribeFolderContents (Maybe Text) Source #
The marker for the next set of results. This marker was received from a previous call.
describeFolderContents_order :: Lens' DescribeFolderContents (Maybe OrderType) Source #
The order for the contents of the folder.
describeFolderContents_sort :: Lens' DescribeFolderContents (Maybe ResourceSortType) Source #
The sorting criteria.
describeFolderContents_type :: Lens' DescribeFolderContents (Maybe FolderContentType) Source #
The type of items.
describeFolderContents_folderId :: Lens' DescribeFolderContents Text Source #
The ID of the folder.
Destructuring the Response
data DescribeFolderContentsResponse Source #
See: newDescribeFolderContentsResponse
smart constructor.
Constructors
DescribeFolderContentsResponse' | |
Fields
|
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:documents:DescribeFolderContentsResponse'
, describeFolderContentsResponse_documents
- The documents in the specified folder.
$sel:folders:DescribeFolderContentsResponse'
, describeFolderContentsResponse_folders
- The subfolders in the specified folder.
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_documents :: Lens' DescribeFolderContentsResponse (Maybe [DocumentMetadata]) Source #
The documents in the specified folder.
describeFolderContentsResponse_folders :: Lens' DescribeFolderContentsResponse (Maybe [FolderMetadata]) Source #
The subfolders 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.