GameLiftStreams / Client / terminate_stream_session

terminate_stream_session#

GameLiftStreams.Client.terminate_stream_session(**kwargs)#

Permanently terminates an active stream session. When called, the stream session status changes to TERMINATING. You can terminate a stream session in any status except ACTIVATING. If the stream session is in ACTIVATING status, an exception is thrown.

See also: AWS API Documentation

Request Syntax

response = client.terminate_stream_session(
    Identifier='string',
    StreamSessionIdentifier='string'
)
Parameters:
  • Identifier (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Format example: ARN- arn:aws:gameliftstreams:us-west-2:123456789012:streamgroup/1AB2C3De4 or ID- 1AB2C3De4.

    The stream group that runs this stream session.

  • StreamSessionIdentifier (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) that uniquely identifies the stream session resource. Format example: 1AB2C3De4.

Returns:

None

Exceptions