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 exceptACTIVATING. If the stream session is inACTIVATINGstatus, 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/sg-1AB2C3De4or ID-sg-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
GameLiftStreams.Client.exceptions.AccessDeniedExceptionGameLiftStreams.Client.exceptions.ResourceNotFoundExceptionGameLiftStreams.Client.exceptions.ThrottlingExceptionGameLiftStreams.Client.exceptions.InternalServerExceptionGameLiftStreams.Client.exceptions.ValidationException