update_conditional_forwarder
¶
update_conditional_forwarder(
directory_id: DirectoryId,
remote_domain_name: RemoteDomainName,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
dns_ip_addrs: Optional[DnsIpAddrs] = None,
dns_ipv6_addrs: Optional[DnsIpv6Addrs] = None,
) -> UpdateConditionalForwarderResult
Updates a conditional forwarder that has been set up for your Amazon Web Services directory.
Parameters:
-
directory_id(DirectoryId) –The directory ID of the Amazon Web Services directory for which to update the conditional forwarder.
-
remote_domain_name(RemoteDomainName) –The fully qualified domain name (FQDN) of the remote domain with which you will set up a trust relationship.
-
dns_ip_addrs(Optional[DnsIpAddrs], default:None) –The updated IP addresses of the remote DNS server associated with the conditional forwarder.
-
dns_ipv6_addrs(Optional[DnsIpv6Addrs], default:None) –The updated IPv6 addresses of the remote DNS server associated with the conditional forwarder.
Raises:
-
ClientException–A client exception has occurred.
-
DirectoryUnavailableException–The specified directory is unavailable.
-
EntityDoesNotExistException–The specified entity could not be found.
-
InvalidParameterException–One or more parameters are not valid.
-
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.
Examples:
To update a conditional forwarder The following example updates a conditional forwarder for a specified directory.
>>> client.update_conditional_forwarder(directory_id='d-92654abfed', remote_domain_name='sales.example.com', dns_ip_addrs=['172.168.101.11'])
Source code in docs_src/capo_directory_service/_services/directory_service.py
6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 | |