You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DirectoryService::Types::DescribeTrustsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeTrustsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  directory_id: "DirectoryId",
  trust_ids: ["TrustId"],
  next_token: "NextToken",
  limit: 1,
}

Describes the trust relationships for a particular Microsoft AD in the AWS cloud. If no input parameters are are provided, such as directory ID or trust ID, this request describes all the trust relationships.

Instance Attribute Summary collapse

Instance Attribute Details

#directory_idString

The Directory ID of the AWS directory that is a part of the requested trust relationship.

Returns:

  • (String)

    The Directory ID of the AWS directory that is a part of the requested trust relationship.

#limitInteger

The maximum number of objects to return.

Returns:

  • (Integer)

    The maximum number of objects to return.

#next_tokenString

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

Returns:

  • (String)

    The DescribeTrustsResult.NextToken value from a previous call to DescribeTrusts.

#trust_idsArray<String>

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.

Returns:

  • (Array<String>)

    A list of identifiers of the trust relationships for which to obtain the information.