DirectoryService.Client.
reject_shared_directory
(**kwargs)¶Rejects a directory sharing request that was sent from the directory owner account.
See also: AWS API Documentation
Request Syntax
response = client.reject_shared_directory(
SharedDirectoryId='string'
)
[REQUIRED]
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
{
'SharedDirectoryId': 'string'
}
Response Structure
Identifier of the shared directory in the directory consumer account.
Exceptions
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.EntityDoesNotExistException
DirectoryService.Client.exceptions.DirectoryAlreadySharedException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException