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 |
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.
DeleteNotebook' | |
|
Instances
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.
DeleteNotebookResponse' | |
|
Instances
Generic DeleteNotebookResponse Source # | |
Defined in Amazonka.Athena.DeleteNotebook type Rep DeleteNotebookResponse :: Type -> Type # | |
Read DeleteNotebookResponse Source # | |
Show DeleteNotebookResponse Source # | |
Defined in Amazonka.Athena.DeleteNotebook showsPrec :: Int -> DeleteNotebookResponse -> ShowS # show :: DeleteNotebookResponse -> String # showList :: [DeleteNotebookResponse] -> ShowS # | |
NFData DeleteNotebookResponse Source # | |
Defined in Amazonka.Athena.DeleteNotebook rnf :: DeleteNotebookResponse -> () # | |
Eq DeleteNotebookResponse Source # | |
Defined in Amazonka.Athena.DeleteNotebook | |
type Rep DeleteNotebookResponse Source # | |
Defined in Amazonka.Athena.DeleteNotebook type Rep DeleteNotebookResponse = D1 ('MetaData "DeleteNotebookResponse" "Amazonka.Athena.DeleteNotebook" "amazonka-athena-2.0-1BJA3HTvHJNEzwQRaEw59w" 'False) (C1 ('MetaCons "DeleteNotebookResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.