Terminates an active session¶
Description¶
Terminates an active session. After you call this operation, the session enters the TERMINATING state and then transitions to TERMINATED.
Usage¶
Arguments¶
ClusterId
[required] The ID of the cluster that the session belongs to.
SessionId
[required] The ID of the session to terminate.
Value¶
A list with the following syntax:
list(
ClusterId = "string",
SessionId = "string",
State = "SUBMITTED"|"STARTING"|"STARTED"|"IDLE"|"BUSY"|"TERMINATING"|"TERMINATED"|"FAILED"
)