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 LookupPolicy operation. Lists all policies from the root of the Directory to the object specified. If there are no policies present, an empty list is returned. If policies are present, and if some objects don't have the policies attached, it returns the ObjectIdentifier for such objects. If policies are present, it returns ObjectIdentifier, policyId, and policyType. Paths that don't lead to the root from the target object are ignored. For more information, see Policies.

Inheritance Hierarchy

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

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

Syntax

C#
public class LookupPolicyRequest : AmazonCloudDirectoryRequest
         IAmazonWebServiceRequest

The LookupPolicyRequest type exposes the following members

Constructors

NameDescription
Public Method LookupPolicyRequest()

Properties

NameTypeDescription
Public Property DirectoryArn System.String

Gets and sets the property DirectoryArn.

The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.

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 token to request the next page of results.

Public Property ObjectReference Amazon.CloudDirectory.Model.ObjectReference

Gets and sets the property ObjectReference.

Reference that identifies the object whose policies will be looked up.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5