:doc:`DirectoryService <../../ds>` / Client / describe_directory_data_access

******************************
describe_directory_data_access
******************************



.. py:method:: DirectoryService.Client.describe_directory_data_access(**kwargs)

  

  Obtains status of directory data access enablement through the Directory Service Data API for the specified directory.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoryDataAccess>`_  


  **Request Syntax**
  ::

    response = client.describe_directory_data_access(
        DirectoryId='string'
    )
    
  :type DirectoryId: string
  :param DirectoryId: **[REQUIRED]** 

    The directory identifier.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'DataAccessStatus': 'Disabled'|'Disabling'|'Enabled'|'Enabling'|'Failed'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DataAccessStatus** *(string) --* 

        The current status of data access through the Directory Service Data API.

        
  
  **Exceptions**
  
  *   :py:class:`DirectoryService.Client.exceptions.DirectoryDoesNotExistException`

  
  *   :py:class:`DirectoryService.Client.exceptions.UnsupportedOperationException`

  
  *   :py:class:`DirectoryService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ClientException`

  
  *   :py:class:`DirectoryService.Client.exceptions.ServiceException`

  