deleteTrust

abstract suspend fun deleteTrust(input: DeleteTrustRequest): DeleteTrustResponse

Deletes an existing trust relationship between your Managed Microsoft AD directory and an external domain.

Samples

// The following example deletes an existing trust between your Microsoft AD in the AWS cloud and an
// external domain.
val resp = directoryClient.deleteTrust {
    trustId = "t-9267353743"
    deleteAssociatedConditionalForwarder = true
}