You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::DirectoryService::Types::UnshareDirectoryRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UnshareDirectoryRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  directory_id: "DirectoryId", # required
  unshare_target: { # required
    id: "TargetId", # required
    type: "ACCOUNT", # required, accepts ACCOUNT
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#directory_idString

The identifier of the AWS Managed Microsoft AD directory that you want to stop sharing.

Returns:

  • (String)

    The identifier of the AWS Managed Microsoft AD directory that you want to stop sharing.

#unshare_targetTypes::UnshareTarget

Identifier for the directory consumer account with whom the directory has to be unshared.

Returns:

  • (Types::UnshareTarget)

    Identifier for the directory consumer account with whom the directory has to be unshared.