create_presigned_notebook_url
(**kwargs)¶Gets an authentication token and the URL at which the notebook can be accessed. During programmatic access, CreatePresignedNotebookUrl
must be called every 10 minutes to refresh the authentication token.
See also: AWS API Documentation
Request Syntax
response = client.create_presigned_notebook_url(
SessionId='string'
)
[REQUIRED]
The session ID.
{
'NotebookUrl': 'string',
'AuthToken': 'string',
'AuthTokenExpirationTime': 123
}
Response Structure
The URL of the notebook. The URL includes the authentication token and notebook file name and points directly to the opened notebook.
The authentication token for the notebook.
The UTC epoch time when the authentication token expires.
Exceptions
Athena.Client.exceptions.InternalServerException
Athena.Client.exceptions.InvalidRequestException
Athena.Client.exceptions.ResourceNotFoundException