AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ListObjectParentPaths operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudDirectory.AmazonCloudDirectoryRequest
      Amazon.CloudDirectory.Model.ListObjectParentPathsRequest

Namespace: Amazon.CloudDirectory.Model
Assembly: AWSSDK.CloudDirectory.dll
Version: 3.x.y.z

Syntax

C#
public class ListObjectParentPathsRequest : AmazonCloudDirectoryRequest
         IAmazonWebServiceRequest

The ListObjectParentPathsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DirectoryArn System.String

Gets and sets the property DirectoryArn.

The ARN of the directory to which the parent path applies.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

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

Public Property NextToken System.String

Gets and sets the property NextToken.

The pagination token.

Public Property ObjectReference Amazon.CloudDirectory.Model.ObjectReference

Gets and sets the property ObjectReference.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5