| 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.UpdateFolder
Description
Updates the specified attributes of the specified folder. The user must have access to both the folder and its parent folder, if applicable.
Synopsis
- data UpdateFolder = UpdateFolder' {}
- newUpdateFolder :: Text -> UpdateFolder
- updateFolder_authenticationToken :: Lens' UpdateFolder (Maybe Text)
- updateFolder_name :: Lens' UpdateFolder (Maybe Text)
- updateFolder_parentFolderId :: Lens' UpdateFolder (Maybe Text)
- updateFolder_resourceState :: Lens' UpdateFolder (Maybe ResourceStateType)
- updateFolder_folderId :: Lens' UpdateFolder Text
- data UpdateFolderResponse = UpdateFolderResponse' {
- newUpdateFolderResponse :: UpdateFolderResponse
Creating a Request
data UpdateFolder Source #
See: newUpdateFolder smart constructor.
Constructors
| UpdateFolder' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateFolder |
Create a value of UpdateFolder 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:UpdateFolder', updateFolder_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
UpdateFolder, updateFolder_name - The name of the folder.
UpdateFolder, updateFolder_parentFolderId - The ID of the parent folder.
UpdateFolder, updateFolder_resourceState - The resource state of the folder. Only ACTIVE and RECYCLED are accepted
values from the API.
$sel:folderId:UpdateFolder', updateFolder_folderId - The ID of the folder.
Request Lenses
updateFolder_authenticationToken :: Lens' UpdateFolder (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
updateFolder_name :: Lens' UpdateFolder (Maybe Text) Source #
The name of the folder.
updateFolder_parentFolderId :: Lens' UpdateFolder (Maybe Text) Source #
The ID of the parent folder.
updateFolder_resourceState :: Lens' UpdateFolder (Maybe ResourceStateType) Source #
The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
updateFolder_folderId :: Lens' UpdateFolder Text Source #
The ID of the folder.
Destructuring the Response
data UpdateFolderResponse Source #
See: newUpdateFolderResponse smart constructor.
Constructors
| UpdateFolderResponse' | |
Instances
newUpdateFolderResponse :: UpdateFolderResponse Source #
Create a value of UpdateFolderResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.