DirectoryService / Client / reject_shared_directory
reject_shared_directory#
- 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' )
- Parameters:
SharedDirectoryId (string) –
[REQUIRED]
Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.
- Return type:
dict
- Returns:
Response Syntax
{ 'SharedDirectoryId': 'string' }
Response Structure
(dict) –
SharedDirectoryId (string) –
Identifier of the shared directory in the directory consumer account.
Exceptions