DirectoryService / Client / add_region
add_region#
- DirectoryService.Client.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', ] } ) - Parameters:
- DirectoryId (string) – - [REQUIRED] - The identifier of the directory to which you want to add Region replication. 
- RegionName (string) – - [REQUIRED] - The name of the Region where you want to add domain controllers for replication. For example, - us-east-1.
- VPCSettings (dict) – - [REQUIRED] - Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation. - VpcId (string) – [REQUIRED] - The identifier of the VPC in which to create the directory. 
- SubnetIds (list) – [REQUIRED] - 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. - (string) – 
 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - 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