AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeTrusts operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DirectoryService.AmazonDirectoryServiceRequest
      Amazon.DirectoryService.Model.DescribeTrustsRequest

Namespace: Amazon.DirectoryService.Model
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeTrustsRequest : AmazonDirectoryServiceRequest
         IAmazonWebServiceRequest

The DescribeTrustsRequest type exposes the following members

Constructors

NameDescription
Public Method DescribeTrustsRequest()

Properties

NameTypeDescription
Public Property DirectoryId System.String

Gets and sets the property DirectoryId.

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

Public Property Limit System.Int32

Gets and sets the property Limit.

The maximum number of objects to return.

Public Property NextToken System.String

Gets and sets the property NextToken.

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

Public Property TrustIds System.Collections.Generic.List<System.String>

Gets and sets the property TrustIds.

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.

An empty list results in an InvalidParameterException being thrown.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5