Skip to content

List Object Parent Paths

clouddirectory_list_object_parent_paths R Documentation

Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects

Description

Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node objects. For more information about objects, see Directory Structure.

Use this API to evaluate all parents for an object. The call returns all objects from the root of the directory up to the requested object. The API returns the number of paths based on user-defined MaxResults, in case there are multiple paths to the parent. The order of the paths and nodes returned is consistent among multiple API calls unless the objects are deleted or moved. Paths not leading to the directory root are ignored from the target object.

Usage

clouddirectory_list_object_parent_paths(DirectoryArn, ObjectReference,
  NextToken, MaxResults)

Arguments

DirectoryArn

[required] The ARN of the directory to which the parent path applies.

ObjectReference

[required] The reference that identifies the object whose parent paths are listed.

NextToken

The pagination token.

MaxResults

The maximum number of items to be retrieved in a single call. This is an approximate number.

Value

A list with the following syntax:

list(
  PathToObjectIdentifiersList = list(
    list(
      Path = "string",
      ObjectIdentifiers = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_object_parent_paths(
  DirectoryArn = "string",
  ObjectReference = list(
    Selector = "string"
  ),
  NextToken = "string",
  MaxResults = 123
)