DirectoryService / Client / delete_trust

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