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 |
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_parentFolderId :: Lens' UpdateFolder (Maybe Text)
- updateFolder_authenticationToken :: Lens' UpdateFolder (Maybe Text)
- updateFolder_name :: 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.
UpdateFolder' | |
|
Instances
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:parentFolderId:UpdateFolder'
, updateFolder_parentFolderId
- The ID of the parent folder.
$sel:authenticationToken:UpdateFolder'
, updateFolder_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:name:UpdateFolder'
, updateFolder_name
- The name of the folder.
$sel:resourceState: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_parentFolderId :: Lens' UpdateFolder (Maybe Text) Source #
The ID of the parent folder.
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_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.
Instances
Eq UpdateFolderResponse Source # | |
Defined in Amazonka.WorkDocs.UpdateFolder (==) :: UpdateFolderResponse -> UpdateFolderResponse -> Bool # (/=) :: UpdateFolderResponse -> UpdateFolderResponse -> Bool # | |
Read UpdateFolderResponse Source # | |
Show UpdateFolderResponse Source # | |
Defined in Amazonka.WorkDocs.UpdateFolder showsPrec :: Int -> UpdateFolderResponse -> ShowS # show :: UpdateFolderResponse -> String # showList :: [UpdateFolderResponse] -> ShowS # | |
Generic UpdateFolderResponse Source # | |
Defined in Amazonka.WorkDocs.UpdateFolder type Rep UpdateFolderResponse :: Type -> Type # from :: UpdateFolderResponse -> Rep UpdateFolderResponse x # to :: Rep UpdateFolderResponse x -> UpdateFolderResponse # | |
NFData UpdateFolderResponse Source # | |
Defined in Amazonka.WorkDocs.UpdateFolder rnf :: UpdateFolderResponse -> () # | |
type Rep UpdateFolderResponse Source # | |
newUpdateFolderResponse :: UpdateFolderResponse Source #
Create a value of UpdateFolderResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.