| 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.QuickSight.DeleteFolder
Description
Deletes an empty folder.
Synopsis
- data DeleteFolder = DeleteFolder' {
- awsAccountId :: Text
- folderId :: Text
- newDeleteFolder :: Text -> Text -> DeleteFolder
- deleteFolder_awsAccountId :: Lens' DeleteFolder Text
- deleteFolder_folderId :: Lens' DeleteFolder Text
- data DeleteFolderResponse = DeleteFolderResponse' {}
- newDeleteFolderResponse :: Int -> DeleteFolderResponse
- deleteFolderResponse_arn :: Lens' DeleteFolderResponse (Maybe Text)
- deleteFolderResponse_folderId :: Lens' DeleteFolderResponse (Maybe Text)
- deleteFolderResponse_requestId :: Lens' DeleteFolderResponse (Maybe Text)
- deleteFolderResponse_status :: Lens' DeleteFolderResponse Int
Creating a Request
data DeleteFolder Source #
See: newDeleteFolder smart constructor.
Constructors
| DeleteFolder' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteFolder |
Create a value of DeleteFolder 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:
DeleteFolder, deleteFolder_awsAccountId - The ID for the Amazon Web Services account that contains the folder.
DeleteFolder, deleteFolder_folderId - The ID of the folder.
Request Lenses
deleteFolder_awsAccountId :: Lens' DeleteFolder Text Source #
The ID for the Amazon Web Services account that contains the folder.
deleteFolder_folderId :: Lens' DeleteFolder Text Source #
The ID of the folder.
Destructuring the Response
data DeleteFolderResponse Source #
See: newDeleteFolderResponse smart constructor.
Constructors
| DeleteFolderResponse' | |
Instances
newDeleteFolderResponse Source #
Arguments
| :: Int | |
| -> DeleteFolderResponse |
Create a value of DeleteFolderResponse 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:
DeleteFolderResponse, deleteFolderResponse_arn - The Amazon Resource Name of the deleted folder.
DeleteFolder, deleteFolderResponse_folderId - The ID of the folder.
$sel:requestId:DeleteFolderResponse', deleteFolderResponse_requestId - The Amazon Web Services request ID for this operation.
DeleteFolderResponse, deleteFolderResponse_status - The HTTP status of the request.
Response Lenses
deleteFolderResponse_arn :: Lens' DeleteFolderResponse (Maybe Text) Source #
The Amazon Resource Name of the deleted folder.
deleteFolderResponse_folderId :: Lens' DeleteFolderResponse (Maybe Text) Source #
The ID of the folder.
deleteFolderResponse_requestId :: Lens' DeleteFolderResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteFolderResponse_status :: Lens' DeleteFolderResponse Int Source #
The HTTP status of the request.