v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465378349.0 KB

Terminates an active session. After you call this operation, the session enters the <code>TERMINATING</code> state and then transitions to <code>TERMINATED</code>.

post/#X-Amz-Target=ElasticMapReduce.TerminateSession

Headers

X-Amz-Target'ElasticMapReduce.TerminateSession' required

Request body

ClusterIdstring required

The ID of the cluster that the session belongs to.

SessionIdstring required

The ID of the session to terminate.

Response

Success

ClusterIdstring required

The ID of the cluster that the session belonged to.

SessionIdstring required

The ID of the terminated session.

State'SUBMITTED' | 'STARTING' | 'STARTED' | 'IDLE' | 'BUSY' | 'TERMINATING' | 'TERMINATED' | 'FAILED' required

The state of the session after the terminate request has been accepted.