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 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_requestId :: Lens' DeleteFolderResponse (Maybe Text)
- deleteFolderResponse_arn :: Lens' DeleteFolderResponse (Maybe Text)
- deleteFolderResponse_folderId :: Lens' DeleteFolderResponse (Maybe Text)
- deleteFolderResponse_status :: Lens' DeleteFolderResponse Int
Creating a Request
data DeleteFolder Source #
See: newDeleteFolder
smart constructor.
DeleteFolder' | |
|
Instances
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:
$sel:awsAccountId:DeleteFolder'
, deleteFolder_awsAccountId
- The AWS Account ID for the folder.
$sel:folderId:DeleteFolder'
, deleteFolder_folderId
- The folder ID.
Request Lenses
deleteFolder_awsAccountId :: Lens' DeleteFolder Text Source #
The AWS Account ID for the folder.
deleteFolder_folderId :: Lens' DeleteFolder Text Source #
The folder ID.
Destructuring the Response
data DeleteFolderResponse Source #
See: newDeleteFolderResponse
smart constructor.
Instances
newDeleteFolderResponse Source #
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:
$sel:requestId:DeleteFolderResponse'
, deleteFolderResponse_requestId
- The request ID.
$sel:arn:DeleteFolderResponse'
, deleteFolderResponse_arn
- The Amazon Resource Name of the deleted folder.
$sel:folderId:DeleteFolder'
, deleteFolderResponse_folderId
- The folder ID.
$sel:status:DeleteFolderResponse'
, deleteFolderResponse_status
- The status of deleting the folder. If succeeded, the status is
SC_OK (200)
.
Response Lenses
deleteFolderResponse_requestId :: Lens' DeleteFolderResponse (Maybe Text) Source #
The request ID.
deleteFolderResponse_arn :: Lens' DeleteFolderResponse (Maybe Text) Source #
The Amazon Resource Name of the deleted folder.
deleteFolderResponse_folderId :: Lens' DeleteFolderResponse (Maybe Text) Source #
The folder ID.
deleteFolderResponse_status :: Lens' DeleteFolderResponse Int Source #
The status of deleting the folder. If succeeded, the status is
SC_OK (200)
.