WorkSpaces / Client / revoke_ip_rules

revoke_ip_rules#

WorkSpaces.Client.revoke_ip_rules(**kwargs)#

Removes one or more rules from the specified IP access control group.

See also: AWS API Documentation

Request Syntax

response = client.revoke_ip_rules(
    GroupId='string',
    UserRules=[
        'string',
    ]
)
Parameters:
  • GroupId (string) –

    [REQUIRED]

    The identifier of the group.

  • UserRules (list) –

    [REQUIRED]

    The rules to remove from the group.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WorkSpaces.Client.exceptions.InvalidParameterValuesException

  • WorkSpaces.Client.exceptions.ResourceNotFoundException

  • WorkSpaces.Client.exceptions.InvalidResourceStateException

  • WorkSpaces.Client.exceptions.AccessDeniedException