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(
    ipAccessSettingsArn='string',
    portalArn='string'
)
Parameters:
  • ipAccessSettingsArn (string) –

    [REQUIRED]

    The ARN of the IP access settings.

  • portalArn (string) –

    [REQUIRED]

    The ARN of the web portal.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • ipAccessSettingsArn (string) –

      The ARN of the IP access settings resource.

    • portalArn (string) –

      The ARN of the web portal.

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