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

Description Usage Arguments Request syntax

View source: R/clouddirectory_operations.R

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

1
2
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

1
2
3
4
5
6
7
8
svc$lookup_policy(
  DirectoryArn = "string",
  ObjectReference = list(
    Selector = "string"
  ),
  NextToken = "string",
  MaxResults = 123
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.