update_conditional_forwarder
async
¶
update_conditional_forwarder(
directory_id: DirectoryId,
remote_domain_name: RemoteDomainName,
*,
config_overrides: Optional[AsyncDirectoryServiceClientConfig] = 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.
>>> await 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/async_directory_service.py
5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 | |