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.InvalidParameterExceptionDirectoryService.Client.exceptions.EntityDoesNotExistExceptionDirectoryService.Client.exceptions.DirectoryAlreadySharedExceptionDirectoryService.Client.exceptions.ClientExceptionDirectoryService.Client.exceptions.ServiceException