describeTrusts

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


fun main() { 
   //sampleStart 
   // 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
} 
   //sampleEnd
}