Skip to content

List Policy Attachments

clouddirectory_list_policy_attachments R Documentation

Returns all of the ObjectIdentifiers to which a given policy is attached

Description

Returns all of the ObjectIdentifiers to which a given policy is attached.

Usage

clouddirectory_list_policy_attachments(DirectoryArn, PolicyReference,
  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.

PolicyReference

[required] The reference that identifies the policy object.

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(
  ObjectIdentifiers = list(
    "string"
  ),
  NextToken = "string"
)

Request syntax

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