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

*****************************
disable_client_authentication
*****************************



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

  

  Disables alternative client authentication methods for the specified directory.

  

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


  **Request Syntax**
  ::

    response = client.disable_client_authentication(
        DirectoryId='string',
        Type='SmartCard'|'SmartCardOrPassword'
    )
    
  :type DirectoryId: string
  :param DirectoryId: **[REQUIRED]** 

    The identifier of the directory

    

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

    The type of client authentication to disable. Currently the only parameter ``"SmartCard"`` is supported.

    

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

    
    ::

      {}
      
    **Response Structure**

    

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

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

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

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

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

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

  