verifyTrust
inline suspend fun DirectoryClient.verifyTrust(crossinline block: VerifyTrustRequest.Builder.() -> Unit): VerifyTrustResponse
Directory Service for Microsoft Active Directory allows you to configure and verify trust relationships.
This action verifies a trust relationship between your Managed Microsoft AD directory and an external domain.
Samples
fun main() {
//sampleStart
// The following example verifies a trust relationship between your Microsoft AD in the AWS cloud and
// an external domain.
val resp = directoryClient.verifyTrust {
trustId = "t-9267353df0"
}
//sampleEnd
}