DirectoryService / Client / remove_region
remove_region#
- DirectoryService.Client.remove_region(**kwargs)#
Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary Region with this operation. Instead, use the
DeleteDirectoryAPI.See also: AWS API Documentation
Request Syntax
response = client.remove_region( DirectoryId='string' )
- Parameters:
DirectoryId (string) –
[REQUIRED]
The identifier of the directory for which you want to remove Region replication.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
DirectoryService.Client.exceptions.DirectoryUnavailableExceptionDirectoryService.Client.exceptions.DirectoryDoesNotExistExceptionDirectoryService.Client.exceptions.UnsupportedOperationExceptionDirectoryService.Client.exceptions.AccessDeniedExceptionDirectoryService.Client.exceptions.ClientExceptionDirectoryService.Client.exceptions.ServiceException