enable_ldaps
(**kwargs)¶Activates the switch for the specific directory to always use LDAP secure calls.
See also: AWS API Documentation
Request Syntax
response = client.enable_ldaps(
DirectoryId='string',
Type='Client'
)
[REQUIRED]
The identifier of the directory.
[REQUIRED]
The type of LDAP security to enable. Currently only the value Client
is supported.
dict
Response Syntax
{}
Response Structure
Exceptions
DirectoryService.Client.exceptions.DirectoryUnavailableException
DirectoryService.Client.exceptions.DirectoryDoesNotExistException
DirectoryService.Client.exceptions.NoAvailableCertificateException
DirectoryService.Client.exceptions.InvalidLDAPSStatusException
DirectoryService.Client.exceptions.UnsupportedOperationException
DirectoryService.Client.exceptions.InvalidParameterException
DirectoryService.Client.exceptions.ClientException
DirectoryService.Client.exceptions.ServiceException