WorkSpacesWeb / Client / expire_session

expire_session#

WorkSpacesWeb.Client.expire_session(**kwargs)#

Expires an active secure browser session.

See also: AWS API Documentation

Request Syntax

response = client.expire_session(
    portalId='string',
    sessionId='string'
)
Parameters:
  • portalId (string) –

    [REQUIRED]

    The ID of the web portal for the session.

  • sessionId (string) –

    [REQUIRED]

    The ID of the session to expire.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException

  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException

  • WorkSpacesWeb.Client.exceptions.AccessDeniedException

  • WorkSpacesWeb.Client.exceptions.ThrottlingException

  • WorkSpacesWeb.Client.exceptions.ValidationException