Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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