WorkSpacesWeb / Client / associate_session_logger

associate_session_logger

WorkSpacesWeb.Client.associate_session_logger(**kwargs)

Associates a session logger with a portal.

See also: AWS API Documentation

Request Syntax

response = client.associate_session_logger(
    portalArn='string',
    sessionLoggerArn='string'
)
Parameters:
  • portalArn (string) –

    [REQUIRED]

    The ARN of the portal to associate to the session logger ARN.

  • sessionLoggerArn (string) –

    [REQUIRED]

    The ARN of the session logger to associate to the portal ARN.

Return type:

dict

Returns:

Response Syntax

{
    'portalArn': 'string',
    'sessionLoggerArn': 'string'
}

Response Structure

  • (dict) –

    • portalArn (string) –

      The ARN of the portal.

    • sessionLoggerArn (string) –

      The ARN of the session logger.

Exceptions

  • WorkSpacesWeb.Client.exceptions.InternalServerException

  • WorkSpacesWeb.Client.exceptions.ResourceNotFoundException

  • WorkSpacesWeb.Client.exceptions.AccessDeniedException

  • WorkSpacesWeb.Client.exceptions.ThrottlingException

  • WorkSpacesWeb.Client.exceptions.ValidationException

  • WorkSpacesWeb.Client.exceptions.ConflictException