Skip to content

Lists parent objects that are associated with a given object in pagination fashion

Description

Lists parent objects that are associated with a given object in pagination fashion.

Usage

clouddirectory_list_object_parents(DirectoryArn, ObjectReference,
  NextToken, MaxResults, ConsistencyLevel, IncludeAllLinksToEachParent)

Arguments

  • DirectoryArn

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

  • ObjectReference

    [required] The reference that identifies the object for which parent objects are being 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.

  • IncludeAllLinksToEachParent

    When set to True, returns all ListObjectParentsResponse$ParentLinks. There could be multiple links between a parent-child pair.

Value

A list with the following syntax:

list(
  Parents = list(
    "string"
  ),
  NextToken = "string",
  ParentLinks = list(
    list(
      ObjectIdentifier = "string",
      LinkName = "string"
    )
  )
)

Request syntax

svc$list_object_parents(
  DirectoryArn = "string",
  ObjectReference = list(
    Selector = "string"
  ),
  NextToken = "string",
  MaxResults = 123,
  ConsistencyLevel = "SERIALIZABLE"|"EVENTUAL",
  IncludeAllLinksToEachParent = TRUE|FALSE
)