// 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.
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.
// 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 .
func (c *Client) DescribeTrusts(ctx context.Context, params *DescribeTrustsInput, optFns ...func(*Options)) (*DescribeTrustsOutput, error) {
	if params == nil {
		params = &DescribeTrustsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeTrusts", params, optFns, addOperationDescribeTrustsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeTrustsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeTrusts ( ctx context . Context , params * DescribeTrustsInput , optFns ... func ( * Options ) ) ( * DescribeTrustsOutput , error ) { if params == nil { params = & DescribeTrustsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeTrustsMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeTrustsOutput ) out . ResultMetadata = metadata return out , nil }
Obtains information about the trust relationships for this account.
Obtains information about the trust relationships for this account .