Smaws_Client_Athena.TerminateSessionTerminates an active session. A TerminateSession call on a session that is already inactive (for example, in a FAILED, TERMINATED or TERMINATING state) succeeds but has no effect. Calculations running in the session when TerminateSession is called are forcefully stopped, but may display as FAILED instead of STOPPED.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.terminate_session_request ->
(Types.terminate_session_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.terminate_session_request ->
(Types.terminate_session_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerException of Types.internal_server_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result