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

*************
disable_ldaps
*************



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

  

  Deactivates LDAP secure calls for the specified directory.

  

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


  **Request Syntax**
  ::

    response = client.disable_ldaps(
        DirectoryId='string',
        Type='Client'
    )
    
  :type DirectoryId: string
  :param DirectoryId: **[REQUIRED]** 

    The identifier of the directory.

    

  
  :type Type: string
  :param Type: **[REQUIRED]** 

    The type of LDAP security to enable. Currently only the value ``Client`` is supported.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`DirectoryService.Client.exceptions.DirectoryUnavailableException`

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

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

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

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

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

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

  