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.Athena.DeleteNotebook
Description
Deletes the specified notebook.
Synopsis
- data DeleteNotebook = DeleteNotebook' {
- notebookId :: Text
- newDeleteNotebook :: Text -> DeleteNotebook
- deleteNotebook_notebookId :: Lens' DeleteNotebook Text
- data DeleteNotebookResponse = DeleteNotebookResponse' {
- httpStatus :: Int
- newDeleteNotebookResponse :: Int -> DeleteNotebookResponse
- deleteNotebookResponse_httpStatus :: Lens' DeleteNotebookResponse Int
Creating a Request
data DeleteNotebook Source #
See: newDeleteNotebook
smart constructor.
Constructors
DeleteNotebook' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteNotebook |
Create a value of DeleteNotebook
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:
DeleteNotebook
, deleteNotebook_notebookId
- The ID of the notebook to delete.
Request Lenses
deleteNotebook_notebookId :: Lens' DeleteNotebook Text Source #
The ID of the notebook to delete.
Destructuring the Response
data DeleteNotebookResponse Source #
See: newDeleteNotebookResponse
smart constructor.
Constructors
DeleteNotebookResponse' | |
Fields
|
Instances
newDeleteNotebookResponse Source #
Create a value of DeleteNotebookResponse
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:httpStatus:DeleteNotebookResponse'
, deleteNotebookResponse_httpStatus
- The response's http status code.
Response Lenses
deleteNotebookResponse_httpStatus :: Lens' DeleteNotebookResponse Int Source #
The response's http status code.