terminateSession
inline suspend fun EmrServerlessClient.terminateSession(crossinline block: TerminateSessionRequest.Builder.() -> Unit): TerminateSessionResponse
Terminates the specified session. After you terminate a session, it enters the TERMINATING state and then the TERMINATED state. You can still access the Spark History Server for a terminated session through the GetResourceDashboard operation.