paws.security.identity (version 0.1.0)

clouddirectory_lookup_policy: Lists all policies from the root of the Directory to the object specified

Description

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.

Usage

clouddirectory_lookup_policy(DirectoryArn, ObjectReference, NextToken,
  MaxResults)

Arguments

DirectoryArn

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

ObjectReference

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

NextToken

The token to request the next page of results.

MaxResults

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

Request syntax

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