DirectoryService / Client / disable_directory_data_access

disable_directory_data_access#

DirectoryService.Client.disable_directory_data_access(**kwargs)#

Deactivates access to directory data via the Directory Service Data API for the specified directory.

See also: AWS API Documentation

Request Syntax

response = client.disable_directory_data_access(
    DirectoryId='string'
)
Parameters:

DirectoryId (string) –

[REQUIRED]

The directory identifier.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DirectoryService.Client.exceptions.DirectoryDoesNotExistException

  • DirectoryService.Client.exceptions.DirectoryUnavailableException

  • DirectoryService.Client.exceptions.UnsupportedOperationException

  • DirectoryService.Client.exceptions.DirectoryInDesiredStateException

  • DirectoryService.Client.exceptions.AccessDeniedException

  • DirectoryService.Client.exceptions.ClientException

  • DirectoryService.Client.exceptions.ServiceException