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.
clouddirectory_list_object_parent_paths(DirectoryArn, ObjectReference,
NextToken, MaxResults)
[required] The ARN of the directory to which the parent path applies.
[required] The reference that identifies the object whose parent paths are listed.
The pagination token.
The maximum number of items to be retrieved in a single call. This is an approximate number.
svc$list_object_parent_paths( DirectoryArn = "string", ObjectReference = list( Selector = "string" ), NextToken = "string", MaxResults = 123 )
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.