DirectoryService.Client.
delete_trust
(**kwargs)¶Deletes an existing trust relationship between your Managed Microsoft AD directory and an external domain.
See also: AWS API Documentation
Request Syntax
response = client.delete_trust(
TrustId='string',
DeleteAssociatedConditionalForwarder=True|False
)
[REQUIRED]
The Trust ID of the trust relationship to be deleted.
dict
Response Syntax
{
'TrustId': 'string'
}
Response Structure
(dict) --
The result of a DeleteTrust request.
TrustId (string) --
The Trust ID of the trust relationship that was deleted.
Exceptions
DirectoryService.Client.exceptions.EntityDoesNotExistException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException
DirectoryService.Client.exceptions.UnsupportedOperationException