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
5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 | |