WorkSpaces / Client / associate_ip_groups

associate_ip_groups#

WorkSpaces.Client.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