Smaws_Client_DirectoryService.UpdateNumberOfDomainControllers
Adds or removes domain controllers to or from the directory. Based on the difference between current value and new value (provided through this API call), domain controllers will be added or removed. It may take up to 45 minutes for any new domain controllers to become fully active once the requested number of domain controllers is updated. During this time, you cannot make another update request.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryUnavailableException of Types.directory_unavailable_exception
| `DomainControllerLimitExceededException of
Types.domain_controller_limit_exceeded_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.update_number_of_domain_controllers_request ->
(Types.update_number_of_domain_controllers_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryUnavailableException of Types.directory_unavailable_exception
| `DomainControllerLimitExceededException of
Types.domain_controller_limit_exceeded_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.result