Hi , currently you can delete a specific session id using the CLI or APIs:
aws glue delete-session --id <sessioID>
as described in the documentation to get interactive session work you need to copy (only for the preview) the service json into the botocore folder.
AWS CLI works as well with botocore, so you would need to copy/install the AWS CLI inside the Virtual env you are using and then copy the service json inside the botocore library in the AWS CLI path.
Alternatively you could update the botocore service json for Glue in the native AWS CLI path (with the risk to have that updated with a preview content.)
please consider that interactive session is still in preview.
hope this helps,
How to delete glue interactive session from the list of sessions?
What is the most cost efficient and fastest way to start GLUE ETL developmentAccepted Answerasked 4 months ago
interactive glue job %magic command to configure Librariesasked 2 months ago
Development Endpoint & Glue Version 1.0asked 6 months ago
Glue interactive sessions error with retrieving session.asked 6 months ago
Glue Interactive Python Jupyter notebook sessionsasked 8 months ago
Can I use glue interactive sessions with pythonshell?
Interactive Testing of Glue Spark Scriptsasked 8 months ago
Session Manager terminated sessions eventsasked 2 years ago
Glue Interactive Session S3Path/ScriptLocation changeAccepted Answerasked a month ago