code: @Override
      public AddIpRoutesResult addIpRoutes(AddIpRoutesRequest request) {
          request = beforeClientExecution(request);
          return executeAddIpRoutes(request);
      }
docs: <p>
  If the DNS server for your on-premises domain uses a publicly addressable IP address, you must add a CIDR address
  block to correctly route traffic to and from your Microsoft AD on Amazon Web Services. <i>AddIpRoutes</i> adds
  this address block. You can also use <i>AddIpRoutes</i> to facilitate routing traffic that uses public IP ranges
  from your Microsoft AD on AWS to a peer VPC.
  </p>
  <p>
  Before you call <i>AddIpRoutes</i>, ensure that all of the required permissions have been explicitly granted
  through a policy. For details about what permissions are required to run the <i>AddIpRoutes</i> operation, see <a
  href
  ="http://docs.aws.amazon.com/directoryservice/latest/admin-guide/UsingWithDS_IAM_ResourcePermissions.html">AWS
  Directory Service API Permissions: Actions, Resources, and Conditions Reference</a>.
  </p>
  
  @param addIpRoutesRequest
  @return Result of the AddIpRoutes operation returned by the service.
  @throws EntityDoesNotExistException
  The specified entity could not be found.
  @throws EntityAlreadyExistsException
  The specified entity already exists.
  @throws InvalidParameterException
  One or more parameters are not valid.
  @throws DirectoryUnavailableException
  The specified directory is unavailable or could not be found.
  @throws IpRouteLimitExceededException
  The maximum allowed number of IP addresses was exceeded. The default limit is 100 IP address blocks.
  @throws ClientException
  A client exception has occurred.
  @throws ServiceException
  An exception has occurred in AWS Directory Service.
  @sample AWSDirectoryService.AddIpRoutes
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes" target="_top">AWS API
  Documentation</a>