| 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.GetFolder
Description
Retrieves the metadata of the specified folder.
Synopsis
- data GetFolder = GetFolder' {}
- newGetFolder :: Text -> GetFolder
- getFolder_authenticationToken :: Lens' GetFolder (Maybe Text)
- getFolder_includeCustomMetadata :: Lens' GetFolder (Maybe Bool)
- getFolder_folderId :: Lens' GetFolder Text
- data GetFolderResponse = GetFolderResponse' {}
- newGetFolderResponse :: Int -> GetFolderResponse
- getFolderResponse_customMetadata :: Lens' GetFolderResponse (Maybe (HashMap Text Text))
- getFolderResponse_metadata :: Lens' GetFolderResponse (Maybe FolderMetadata)
- getFolderResponse_httpStatus :: Lens' GetFolderResponse Int
Creating a Request
See: newGetFolder smart constructor.
Constructors
| GetFolder' | |
Fields
| |
Instances
Create a value of GetFolder 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:GetFolder', getFolder_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:includeCustomMetadata:GetFolder', getFolder_includeCustomMetadata - Set to TRUE to include custom metadata in the response.
$sel:folderId:GetFolder', getFolder_folderId - The ID of the folder.
Request Lenses
getFolder_authenticationToken :: Lens' GetFolder (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
getFolder_includeCustomMetadata :: Lens' GetFolder (Maybe Bool) Source #
Set to TRUE to include custom metadata in the response.
Destructuring the Response
data GetFolderResponse Source #
See: newGetFolderResponse smart constructor.
Constructors
| GetFolderResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetFolderResponse |
Create a value of GetFolderResponse 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:customMetadata:GetFolderResponse', getFolderResponse_customMetadata - The custom metadata on the folder.
$sel:metadata:GetFolderResponse', getFolderResponse_metadata - The metadata of the folder.
$sel:httpStatus:GetFolderResponse', getFolderResponse_httpStatus - The response's http status code.
Response Lenses
getFolderResponse_customMetadata :: Lens' GetFolderResponse (Maybe (HashMap Text Text)) Source #
The custom metadata on the folder.
getFolderResponse_metadata :: Lens' GetFolderResponse (Maybe FolderMetadata) Source #
The metadata of the folder.
getFolderResponse_httpStatus :: Lens' GetFolderResponse Int Source #
The response's http status code.