v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1460298233.0 KB

Lists, in descending order, the sessions that have been created in a notebook that are in an active state like <code>CREATING</code>, <code>CREATED</code>, <code>IDLE</code> or <code>BUSY</code>. Newer sessions are listed first; older sessions are listed later.

post/#X-Amz-Target=AmazonAthena.ListNotebookSessions

Headers

X-Amz-Target'AmazonAthena.ListNotebookSessions' required

Request body

NotebookIdstring required

The ID of the notebook to list sessions for.

MaxResultsinteger

The maximum number of notebook sessions to return.

NextTokenstring

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the <code>NextToken</code> from the response object of the previous page call.

Response

Success

NextTokenstring

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the <code>NextToken</code> from the response object of the previous page call.