get_notebook_metadata
(**kwargs)¶Retrieves notebook metadata for the specified notebook ID.
See also: AWS API Documentation
Request Syntax
response = client.get_notebook_metadata(
NotebookId='string'
)
[REQUIRED]
The ID of the notebook whose metadata is to be retrieved.
{
'NotebookMetadata': {
'NotebookId': 'string',
'Name': 'string',
'WorkGroup': 'string',
'CreationTime': datetime(2015, 1, 1),
'Type': 'IPYNB',
'LastModifiedTime': datetime(2015, 1, 1)
}
}
Response Structure
The metadata that is returned for the specified notebook ID.
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.
Exceptions
Athena.Client.exceptions.InternalServerException
Athena.Client.exceptions.InvalidRequestException
Athena.Client.exceptions.TooManyRequestsException