:doc:`WorkSpaces <../../workspaces>` / Client / terminate_workspaces_pool_session

*********************************
terminate_workspaces_pool_session
*********************************



.. py:method:: WorkSpaces.Client.terminate_workspaces_pool_session(**kwargs)

  

  Terminates the pool session.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspacesPoolSession>`_  


  **Request Syntax**
  ::

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

    The identifier of the pool session.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`WorkSpaces.Client.exceptions.InvalidParameterValuesException`

  
  *   :py:class:`WorkSpaces.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`WorkSpaces.Client.exceptions.OperationNotSupportedException`

  
  *   :py:class:`WorkSpaces.Client.exceptions.OperationInProgressException`

  
  *   :py:class:`WorkSpaces.Client.exceptions.AccessDeniedException`

  