DirectoryService / Client / disable_client_authentication
disable_client_authentication#
- DirectoryService.Client.disable_client_authentication(**kwargs)#
Disables alternative client authentication methods for the specified directory.
See also: AWS API Documentation
Request Syntax
response = client.disable_client_authentication( DirectoryId='string', Type='SmartCard'|'SmartCardOrPassword' )
- Parameters:
DirectoryId (string) –
[REQUIRED]
The identifier of the directory
Type (string) –
[REQUIRED]
The type of client authentication to disable. Currently the only parameter
"SmartCard"
is supported.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
DirectoryService.Client.exceptions.DirectoryDoesNotExistException
DirectoryService.Client.exceptions.UnsupportedOperationException
DirectoryService.Client.exceptions.InvalidClientAuthStatusException
DirectoryService.Client.exceptions.AccessDeniedException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException