Module Smaws_Client_DirectoryService.RemoveRegion

Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary Region with this operation. Instead, use the DeleteDirectory API.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `DirectoryDoesNotExistException of Types.directory_does_not_exist_exception | `DirectoryUnavailableException of Types.directory_unavailable_exception | `ServiceException of Types.service_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.remove_region_request -> (Types.remove_region_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `DirectoryDoesNotExistException of Types.directory_does_not_exist_exception | `DirectoryUnavailableException of Types.directory_unavailable_exception | `ServiceException of Types.service_exception | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result