WorkSpacesWeb / Client / associate_ip_access_settings

associate_ip_access_settings

WorkSpacesWeb.Client.associate_ip_access_settings(**kwargs)

Associates an IP access settings resource with a web portal.

See also: AWS API Documentation

Request Syntax

response = client.associate_ip_access_settings(
    portalArn='string',
    ipAccessSettingsArn='string'
)
Parameters:
  • portalArn (string) –

    [REQUIRED]

    The ARN of the web portal.

  • ipAccessSettingsArn (string) –

    [REQUIRED]

    The ARN of the IP access settings.

Return type:

dict

Returns:

Response Syntax

{
    'portalArn': 'string',
    'ipAccessSettingsArn': 'string'
}

Response Structure

  • (dict) –

    • portalArn (string) –

      The ARN of the web portal.

    • ipAccessSettingsArn (string) –

      The ARN of the IP access settings resource.

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