Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

remove_ip_routes

remove_ip_routes(**kwargs)

Removes IP address blocks from a directory.

See also: AWS API Documentation

Request Syntax

response = client.remove_ip_routes(
    DirectoryId='string',
    CidrIps=[
        'string',
    ]
)
Parameters
  • DirectoryId (string) --

    [REQUIRED]

    Identifier (ID) of the directory from which you want to remove the IP addresses.

  • CidrIps (list) --

    [REQUIRED]

    IP address blocks that you want to remove.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • DirectoryService.Client.exceptions.EntityDoesNotExistException
  • DirectoryService.Client.exceptions.InvalidParameterException
  • DirectoryService.Client.exceptions.DirectoryUnavailableException
  • DirectoryService.Client.exceptions.ClientException
  • DirectoryService.Client.exceptions.ServiceException