Skip to content

/AWS1/CL_ATH=>LISTNOTEBOOKSESSIONS()

About ListNotebookSessions

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

Method Signature

IMPORTING

Required arguments:

IV_NOTEBOOKID TYPE /AWS1/ATHNOTEBOOKID /AWS1/ATHNOTEBOOKID

The ID of the notebook to list sessions for.

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/ATHMAXSESSIONSCOUNT /AWS1/ATHMAXSESSIONSCOUNT

The maximum number of notebook sessions to return.

IV_NEXTTOKEN TYPE /AWS1/ATHTOKEN /AWS1/ATHTOKEN

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 NextToken from the response object of the previous page call.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHLSTNOTEBOOKSESSS01 /AWS1/CL_ATHLSTNOTEBOOKSESSS01