delete_trust

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
)
Parameters
  • TrustId (string) --

    [REQUIRED]

    The Trust ID of the trust relationship to be deleted.

  • DeleteAssociatedConditionalForwarder (boolean) -- Delete a conditional forwarder as part of a DeleteTrustRequest.
Return type

dict

Returns

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