Smaws_Client_DirectoryService.AddIpRoutes
val request :
Smaws_Lib.Context.t ->
add_ip_routes_request ->
(add_ip_routes_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of client_exception
| `DirectoryUnavailableException of directory_unavailable_exception
| `EntityAlreadyExistsException of entity_already_exists_exception
| `EntityDoesNotExistException of entity_does_not_exist_exception
| `InvalidParameterException of invalid_parameter_exception
| `IpRouteLimitExceededException of ip_route_limit_exceeded_exception
| `ServiceException of service_exception ])
Stdlib.result
If the DNS server for your self-managed 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. AddIpRoutes adds this address block. You can also use AddIpRoutes to facilitate routing traffic that uses public IP ranges from your Microsoft AD on Amazon Web Services to a peer VPC.
Before you call AddIpRoutes, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the AddIpRoutes operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.