DirectoryService / Client / create_conditional_forwarder

create_conditional_forwarder#

DirectoryService.Client.create_conditional_forwarder(**kwargs)#

Creates a conditional forwarder associated with your Amazon Web Services directory. Conditional forwarders are required in order to set up a trust relationship with another domain. The conditional forwarder points to the trusted domain.

See also: AWS API Documentation

Request Syntax

response = client.create_conditional_forwarder(
    DirectoryId='string',
    RemoteDomainName='string',
    DnsIpAddrs=[
        'string',
    ]
)
Parameters:
  • DirectoryId (string) –

    [REQUIRED]

    The directory ID of the Amazon Web Services directory for which you are creating the conditional forwarder.

  • RemoteDomainName (string) –

    [REQUIRED]

    The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.

  • DnsIpAddrs (list) –

    [REQUIRED]

    The IP addresses of the remote DNS server associated with RemoteDomainName.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    The result of a CreateConditinalForwarder request.

Exceptions

  • DirectoryService.Client.exceptions.EntityAlreadyExistsException

  • DirectoryService.Client.exceptions.EntityDoesNotExistException

  • DirectoryService.Client.exceptions.DirectoryUnavailableException

  • DirectoryService.Client.exceptions.InvalidParameterException

  • DirectoryService.Client.exceptions.UnsupportedOperationException

  • DirectoryService.Client.exceptions.ClientException

  • DirectoryService.Client.exceptions.ServiceException