associate_ip_groups

associate_ip_groups(**kwargs)

Associates the specified IP access control group with the specified directory.

See also: AWS API Documentation

Request Syntax

response = client.associate_ip_groups(
    DirectoryId='string',
    GroupIds=[
        'string',
    ]
)
Parameters
  • DirectoryId (string) --

    [REQUIRED]

    The identifier of the directory.

  • GroupIds (list) --

    [REQUIRED]

    The identifiers of one or more IP access control groups.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • WorkSpaces.Client.exceptions.InvalidParameterValuesException
  • WorkSpaces.Client.exceptions.ResourceNotFoundException
  • WorkSpaces.Client.exceptions.ResourceLimitExceededException
  • WorkSpaces.Client.exceptions.InvalidResourceStateException
  • WorkSpaces.Client.exceptions.AccessDeniedException
  • WorkSpaces.Client.exceptions.OperationNotSupportedException