remove_ip_routes

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