Learn R Programming

paws.security.identity (version 0.7.0)

directoryservice_share_directory: Shares a specified directory (DirectoryId) in your Amazon Web Services account (directory owner) with another Amazon Web Services account (directory consumer)

Description

Shares a specified directory (DirectoryId) in your Amazon Web Services account (directory owner) with another Amazon Web Services account (directory consumer). With this operation you can use your directory from any Amazon Web Services account and from any Amazon VPC within an Amazon Web Services Region.

See https://www.paws-r-sdk.com/docs/directoryservice_share_directory/ for full documentation.

Usage

directoryservice_share_directory(
  DirectoryId,
  ShareNotes = NULL,
  ShareTarget,
  ShareMethod
)

Arguments

DirectoryId

[required] Identifier of the Managed Microsoft AD directory that you want to share with other Amazon Web Services accounts.

ShareNotes

A directory share request that is sent by the directory owner to the directory consumer. The request includes a typed message to help the directory consumer administrator determine whether to approve or reject the share invitation.

ShareTarget

[required] Identifier for the directory consumer account with whom the directory is to be shared.

ShareMethod

[required] The method used when sharing a directory to determine whether the directory should be shared within your Amazon Web Services organization (ORGANIZATIONS) or with any Amazon Web Services account by sending a directory sharing request (HANDSHAKE).