Skip to content

Describe Trusts

directoryservice_describe_trusts R Documentation

Obtains information about the trust relationships for this account

Description

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.

Usage

directoryservice_describe_trusts(DirectoryId, TrustIds, NextToken,
  Limit)

Arguments

DirectoryId

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

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.

NextToken

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

Limit

The maximum number of objects to return.

Value

A list with the following syntax:

list(
  Trusts = list(
    list(
      DirectoryId = "string",
      TrustId = "string",
      RemoteDomainName = "string",
      TrustType = "Forest"|"External",
      TrustDirection = "One-Way: Outgoing"|"One-Way: Incoming"|"Two-Way",
      TrustState = "Creating"|"Created"|"Verifying"|"VerifyFailed"|"Verified"|"Updating"|"UpdateFailed"|"Updated"|"Deleting"|"Deleted"|"Failed",
      CreatedDateTime = as.POSIXct(
        "2015-01-01"
      ),
      LastUpdatedDateTime = as.POSIXct(
        "2015-01-01"
      ),
      StateLastUpdatedDateTime = as.POSIXct(
        "2015-01-01"
      ),
      TrustStateReason = "string",
      SelectiveAuth = "Enabled"|"Disabled"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_trusts(
  DirectoryId = "string",
  TrustIds = list(
    "string"
  ),
  NextToken = "string",
  Limit = 123
)