describeTrusts
inline suspend fun DirectoryClient.describeTrusts(crossinline block: DescribeTrustsRequest.Builder.() -> Unit): DescribeTrustsResponse
Obtains information about the trust relationships for this account.
If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.
Samples
// The following example obtains information about the trust relationship for a specified directory.
val resp = directoryClient.describeTrusts {
directoryId = "d-92654abfed"
trustIds = listOf<String>(
"t-9267353df0"
)
limit = 0
}Content copied to clipboard