clouddirectory_lookup_policy: Lists all policies from the root of the Directory to the...

View source: R/clouddirectory_operations.R

clouddirectory_lookup_policyR Documentation

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.

See https://www.paws-r-sdk.com/docs/clouddirectory_lookup_policy/ for full documentation.

Usage

clouddirectory_lookup_policy(
  DirectoryArn,
  ObjectReference,
  NextToken = NULL,
  MaxResults = NULL
)

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.


paws.security.identity documentation built on Sept. 12, 2024, 6:30 a.m.