v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

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.

post/#X-Amz-Target=DirectoryService_20150416.UpdateNumberOfDomainControllers

Headers

X-Amz-Target'DirectoryService_20150416.UpdateNumberOfDomainControllers' required

Request body

DirectoryIdstring required

Identifier of the directory to which the domain controllers will be added or removed.

DesiredNumberinteger required

The number of domain controllers desired in the directory.

Response

Success

UpdateNumberOfDomainControllersResult required