associate_user_access_logging_settings

associate_user_access_logging_settings(**kwargs)

Associates a user access logging settings resource with a web portal.

See also: AWS API Documentation

Request Syntax

response = client.associate_user_access_logging_settings(
    portalArn='string',
    userAccessLoggingSettingsArn='string'
)
Parameters
  • portalArn (string) --

    [REQUIRED]

    The ARN of the web portal.

  • userAccessLoggingSettingsArn (string) --

    [REQUIRED]

    The ARN of the user access logging settings.

Return type

dict

Returns

Response Syntax

{
    'portalArn': 'string',
    'userAccessLoggingSettingsArn': 'string'
}

Response Structure

  • (dict) --

    • portalArn (string) --

      The ARN of the web portal.

    • userAccessLoggingSettingsArn (string) --

      The ARN of the user access logging settings.

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