Skip to content

Accept Shared Directory

directoryservice_accept_shared_directory R Documentation

Accepts a directory sharing request that was sent from the directory owner account

Description

Accepts a directory sharing request that was sent from the directory owner account.

Usage

directoryservice_accept_shared_directory(SharedDirectoryId)

Arguments

SharedDirectoryId

[required] Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

Value

A list with the following syntax:

list(
  SharedDirectory = 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"
    )
  )
)

Request syntax

svc$accept_shared_directory(
  SharedDirectoryId = "string"
)