WorkSpaces / Client / update_rules_of_ip_group

update_rules_of_ip_group#

WorkSpaces.Client.update_rules_of_ip_group(**kwargs)#

Replaces the current rules of the specified IP access control group with the specified rules.

See also: AWS API Documentation

Request Syntax

response = client.update_rules_of_ip_group(
    GroupId='string',
    UserRules=[
        {
            'ipRule': 'string',
            'ruleDesc': 'string'
        },
    ]
)
Parameters:
  • GroupId (string) –

    [REQUIRED]

    The identifier of the group.

  • UserRules (list) –

    [REQUIRED]

    One or more rules.

    • (dict) –

      Describes a rule for an IP access control group.

      • ipRule (string) –

        The IP address range, in CIDR notation.

      • ruleDesc (string) –

        The description.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions