Athena.Client.
export_notebook
(**kwargs)¶Exports the specified notebook and its metadata.
See also: AWS API Documentation
Request Syntax
response = client.export_notebook(
NotebookId='string'
)
[REQUIRED]
The ID of the notebook to export.
{
'NotebookMetadata': {
'NotebookId': 'string',
'Name': 'string',
'WorkGroup': 'string',
'CreationTime': datetime(2015, 1, 1),
'Type': 'IPYNB',
'LastModifiedTime': datetime(2015, 1, 1)
},
'Payload': 'string'
}
Response Structure
The notebook metadata, including notebook ID, notebook name, and workgroup name.
The notebook ID.
The name of the notebook.
The name of the Spark enabled workgroup to which the notebook belongs.
The time when the notebook was created.
The type of notebook. Currently, the only valid type is IPYNB
.
The time when the notebook was last modified.
The content of the exported notebook.
Exceptions
Athena.Client.exceptions.InternalServerException
Athena.Client.exceptions.InvalidRequestException
Athena.Client.exceptions.TooManyRequestsException