enable_ldaps

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'
)
Parameters
  • DirectoryId (string) --

    [REQUIRED]

    The identifier of the directory.

  • Type (string) --

    [REQUIRED]

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

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

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