:doc:`AppStream <../../appstream>` / Client / expire_session

**************
expire_session
**************



.. py:method:: AppStream.Client.expire_session(**kwargs)

  

  Immediately stops the specified streaming session.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession>`_  


  **Request Syntax**
  ::

    response = client.expire_session(
        SessionId='string'
    )
    
  :type SessionId: string
  :param SessionId: **[REQUIRED]** 

    The identifier of the streaming session.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  