disable_ldaps

DirectoryService.Client.disable_ldaps(**kwargs)

Deactivates LDAP secure calls for the specified directory.

See also: AWS API Documentation

Request Syntax

response = client.disable_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.InvalidLDAPSStatusException
  • DirectoryService.Client.exceptions.UnsupportedOperationException
  • DirectoryService.Client.exceptions.InvalidParameterException
  • DirectoryService.Client.exceptions.ClientException
  • DirectoryService.Client.exceptions.ServiceException