v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

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.

post/#X-Amz-Target=DirectoryService_20150416.DescribeTrusts

Query parameters

Limitstring

Pagination limit

NextTokenstring

Pagination token

Headers

X-Amz-Target'DirectoryService_20150416.DescribeTrusts' required

Request body

DirectoryIdstring

The Directory ID of the Amazon Web Services directory that is a part of the requested trust relationship.

TrustIdsTrustId[]
<p>A list of identifiers of the trust relationships for which to obtain the information. If this member is null, all trust relationships that belong to the current account are returned.</p> <p>An empty list results in an <code>InvalidParameterException</code> being thrown.</p>
NextTokenstring

The <i>DescribeTrustsResult.NextToken</i> value from a previous call to <a>DescribeTrusts</a>. Pass null if this is the first call.

Limitinteger

The maximum number of objects to return.

Response

Success

NextTokenstring

If not null, more results are available. Pass this value for the <i>NextToken</i> parameter in a subsequent call to <a>DescribeTrusts</a> to retrieve the next set of items.