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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb

Overview

Note:

When making an API call, you may pass UnshareDirectoryRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#directory_idString

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

Returns:

  • (String)


4872
4873
4874
4875
4876
4877
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 4872

class UnshareDirectoryRequest < Struct.new(
  :directory_id,
  :unshare_target)
  SENSITIVE = []
  include Aws::Structure
end

#unshare_targetTypes::UnshareTarget

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



4872
4873
4874
4875
4876
4877
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 4872

class UnshareDirectoryRequest < Struct.new(
  :directory_id,
  :unshare_target)
  SENSITIVE = []
  include Aws::Structure
end