DirectoryService.Client.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.DirectoryUnavailableExceptionDirectoryService.Client.exceptions.DirectoryDoesNotExistExceptionDirectoryService.Client.exceptions.NoAvailableCertificateExceptionDirectoryService.Client.exceptions.InvalidLDAPSStatusExceptionDirectoryService.Client.exceptions.UnsupportedOperationExceptionDirectoryService.Client.exceptions.InvalidParameterExceptionDirectoryService.Client.exceptions.ClientExceptionDirectoryService.Client.exceptions.ServiceException