CmdID

CmdID / aws / aws ds

aws ds unshare-directory

Stops the directory sharing between the directory owner and consumer accounts. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--directory-idThe identifier of the Managed Microsoft AD directory that you want to stop sharing.
--unshare-targetIdentifier for the directory consumer account with whom the directory has to be unshared.