| 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.ExportNotebook
Description
Exports the specified notebook and its metadata.
Synopsis
- data ExportNotebook = ExportNotebook' {
- notebookId :: Text
- newExportNotebook :: Text -> ExportNotebook
- exportNotebook_notebookId :: Lens' ExportNotebook Text
- data ExportNotebookResponse = ExportNotebookResponse' {}
- newExportNotebookResponse :: Int -> ExportNotebookResponse
- exportNotebookResponse_notebookMetadata :: Lens' ExportNotebookResponse (Maybe NotebookMetadata)
- exportNotebookResponse_payload :: Lens' ExportNotebookResponse (Maybe Text)
- exportNotebookResponse_httpStatus :: Lens' ExportNotebookResponse Int
Creating a Request
data ExportNotebook Source #
See: newExportNotebook smart constructor.
Constructors
| ExportNotebook' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ExportNotebook |
Create a value of ExportNotebook 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:
ExportNotebook, exportNotebook_notebookId - The ID of the notebook to export.
Request Lenses
exportNotebook_notebookId :: Lens' ExportNotebook Text Source #
The ID of the notebook to export.
Destructuring the Response
data ExportNotebookResponse Source #
See: newExportNotebookResponse smart constructor.
Constructors
| ExportNotebookResponse' | |
Fields
| |
Instances
newExportNotebookResponse Source #
Create a value of ExportNotebookResponse 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:notebookMetadata:ExportNotebookResponse', exportNotebookResponse_notebookMetadata - The notebook metadata, including notebook ID, notebook name, and
workgroup name.
$sel:payload:ExportNotebookResponse', exportNotebookResponse_payload - The content of the exported notebook.
$sel:httpStatus:ExportNotebookResponse', exportNotebookResponse_httpStatus - The response's http status code.
Response Lenses
exportNotebookResponse_notebookMetadata :: Lens' ExportNotebookResponse (Maybe NotebookMetadata) Source #
The notebook metadata, including notebook ID, notebook name, and workgroup name.
exportNotebookResponse_payload :: Lens' ExportNotebookResponse (Maybe Text) Source #
The content of the exported notebook.
exportNotebookResponse_httpStatus :: Lens' ExportNotebookResponse Int Source #
The response's http status code.