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 |
Deletes the contents of the specified folder.
Synopsis
- data DeleteFolderContents = DeleteFolderContents' {}
- newDeleteFolderContents :: Text -> DeleteFolderContents
- deleteFolderContents_authenticationToken :: Lens' DeleteFolderContents (Maybe Text)
- deleteFolderContents_folderId :: Lens' DeleteFolderContents Text
- data DeleteFolderContentsResponse = DeleteFolderContentsResponse' {
- newDeleteFolderContentsResponse :: DeleteFolderContentsResponse
Creating a Request
data DeleteFolderContents Source #
See: newDeleteFolderContents
smart constructor.
Instances
newDeleteFolderContents Source #
Create a value of DeleteFolderContents
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:DeleteFolderContents'
, deleteFolderContents_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:folderId:DeleteFolderContents'
, deleteFolderContents_folderId
- The ID of the folder.
Request Lenses
deleteFolderContents_authenticationToken :: Lens' DeleteFolderContents (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
deleteFolderContents_folderId :: Lens' DeleteFolderContents Text Source #
The ID of the folder.
Destructuring the Response
data DeleteFolderContentsResponse Source #
See: newDeleteFolderContentsResponse
smart constructor.
Instances
newDeleteFolderContentsResponse :: DeleteFolderContentsResponse Source #
Create a value of DeleteFolderContentsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.