Skip to content

List Object Policies

clouddirectory_list_object_policies R Documentation

Returns policies attached to an object in pagination fashion

Description

Returns policies attached to an object in pagination fashion.

Usage

clouddirectory_list_object_policies(DirectoryArn, ObjectReference,
  NextToken, MaxResults, ConsistencyLevel)

Arguments

DirectoryArn

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

ObjectReference

[required] Reference that identifies the object for which policies will be listed.

NextToken

The pagination token.

MaxResults

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

ConsistencyLevel

Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.

Value

A list with the following syntax:

list(
  AttachedPolicyIds = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

svc$list_object_policies(
  DirectoryArn = "string",
  ObjectReference = list(
    Selector = "string"
  ),
  NextToken = "string",
  MaxResults = 123,
  ConsistencyLevel = "SERIALIZABLE"|"EVENTUAL"
)