Skip to content

Describe Shared Directories

directoryservice_describe_shared_directories R Documentation

Returns the shared directories in your account

Description

Returns the shared directories in your account.

Usage

directoryservice_describe_shared_directories(OwnerDirectoryId,
  SharedDirectoryIds, NextToken, Limit)

Arguments

OwnerDirectoryId

[required] Returns the identifier of the directory in the directory owner account.

SharedDirectoryIds

A list of identifiers of all shared directories in your account.

NextToken

The DescribeSharedDirectoriesResult.NextToken value from a previous call to describe_shared_directories. Pass null if this is the first call.

Limit

The number of shared directories to return in the response object.

Value

A list with the following syntax:

list(
  SharedDirectories = list(
    list(
      OwnerAccountId = "string",
      OwnerDirectoryId = "string",
      ShareMethod = "ORGANIZATIONS"|"HANDSHAKE",
      SharedAccountId = "string",
      SharedDirectoryId = "string",
      ShareStatus = "Shared"|"PendingAcceptance"|"Rejected"|"Rejecting"|"RejectFailed"|"Sharing"|"ShareFailed"|"Deleted"|"Deleting",
      ShareNotes = "string",
      CreatedDateTime = as.POSIXct(
        "2015-01-01"
      ),
      LastUpdatedDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_shared_directories(
  OwnerDirectoryId = "string",
  SharedDirectoryIds = list(
    "string"
  ),
  NextToken = "string",
  Limit = 123
)