add_region
¶
add_region(
directory_id: DirectoryId,
region_name: RegionName,
vpc_settings: DirectoryVpcSettings,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
) -> AddRegionResult
Adds two domain controllers in the specified Region for the specified directory.
Parameters:
-
directory_id(DirectoryId) –The identifier of the directory to which you want to add Region replication.
-
region_name(RegionName) –The name of the Region where you want to add domain controllers for replication. For example,
us-east-1.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ClientException–A client exception has occurred.
-
DirectoryAlreadyInRegionException–The Region you specified is the same Region where the Managed Microsoft AD directory was created. Specify a different Region and try again.
-
DirectoryDoesNotExistException–The specified directory does not exist in the system.
-
DirectoryUnavailableException–The specified directory is unavailable.
-
EntityDoesNotExistException–The specified entity could not be found.
-
InvalidParameterException–One or more parameters are not valid.
-
RegionLimitExceededException–You have reached the limit for maximum number of simultaneous Region replications per directory.
-
ServiceException–An exception has occurred in Directory Service.
-
UnsupportedOperationException–The operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.