| Copyright | (c) 2013-2018 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 |
Network.AWS.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
- updateFolder :: Text -> UpdateFolder
- data UpdateFolder
- ufParentFolderId :: Lens' UpdateFolder (Maybe Text)
- ufAuthenticationToken :: Lens' UpdateFolder (Maybe Text)
- ufName :: Lens' UpdateFolder (Maybe Text)
- ufResourceState :: Lens' UpdateFolder (Maybe ResourceStateType)
- ufFolderId :: Lens' UpdateFolder Text
- updateFolderResponse :: UpdateFolderResponse
- data UpdateFolderResponse
Creating a Request
Arguments
| :: Text | |
| -> UpdateFolder |
Creates a value of UpdateFolder with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ufParentFolderId- The ID of the parent folder.ufAuthenticationToken- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.ufName- The name of the folder.ufResourceState- The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.ufFolderId- The ID of the folder.
data UpdateFolder Source #
See: updateFolder smart constructor.
Instances
Request Lenses
ufParentFolderId :: Lens' UpdateFolder (Maybe Text) Source #
The ID of the parent folder.
ufAuthenticationToken :: Lens' UpdateFolder (Maybe Text) Source #
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
ufResourceState :: Lens' UpdateFolder (Maybe ResourceStateType) Source #
The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
ufFolderId :: Lens' UpdateFolder Text Source #
The ID of the folder.
Destructuring the Response
updateFolderResponse :: UpdateFolderResponse Source #
Creates a value of UpdateFolderResponse with the minimum fields required to make a request.
data UpdateFolderResponse Source #
See: updateFolderResponse smart constructor.