add_region
(**kwargs)¶Adds two domain controllers in the specified Region for the specified directory.
See also: AWS API Documentation
Request Syntax
response = client.add_region(
DirectoryId='string',
RegionName='string',
VPCSettings={
'VpcId': 'string',
'SubnetIds': [
'string',
]
}
)
[REQUIRED]
The identifier of the directory to which you want to add Region replication.
[REQUIRED]
The name of the Region where you want to add domain controllers for replication. For example, us-east-1
.
[REQUIRED]
Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
The identifier of the VPC in which to create the directory.
The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. Directory Service creates a directory server and a DNS server in each of these subnets.
dict
Response Syntax
{}
Response Structure
Exceptions
DirectoryService.Client.exceptions.DirectoryUnavailableException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.EntityDoesNotExistException
DirectoryService.Client.exceptions.DirectoryAlreadyInRegionException
DirectoryService.Client.exceptions.UnsupportedOperationException
DirectoryService.Client.exceptions.DirectoryDoesNotExistException
DirectoryService.Client.exceptions.RegionLimitExceededException
DirectoryService.Client.exceptions.AccessDeniedException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException