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',
]
)
[REQUIRED]
The identifier of the directory.
[REQUIRED]
The identifiers of one or more IP access control groups.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkSpaces.Client.exceptions.InvalidParameterValuesExceptionWorkSpaces.Client.exceptions.ResourceNotFoundExceptionWorkSpaces.Client.exceptions.ResourceLimitExceededExceptionWorkSpaces.Client.exceptions.InvalidResourceStateExceptionWorkSpaces.Client.exceptions.AccessDeniedExceptionWorkSpaces.Client.exceptions.OperationNotSupportedException