Stops the directory sharing between the directory owner and consumer accounts.
directoryservice_unshare_directory(DirectoryId, UnshareTarget)[required] The identifier of the AWS Managed Microsoft AD directory that you want to stop sharing.
[required] Identifier for the directory consumer account with whom the directory has to be unshared.
svc$unshare_directory(
  DirectoryId = "string",
  UnshareTarget = list(
    Id = "string",
    Type = "ACCOUNT"
  )
)