deleteTrust
inline suspend fun DirectoryClient.deleteTrust(crossinline block: DeleteTrustRequest.Builder.() -> Unit): DeleteTrustResponse
Deletes an existing trust relationship between your Managed Microsoft AD directory and an external domain.
Samples
fun main() {
//sampleStart
// 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
}
//sampleEnd
}