Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

enable_ldaps

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