DirectoryService / Client / deregister_certificate

deregister_certificate#

DirectoryService.Client.deregister_certificate(**kwargs)#

Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.

See also: AWS API Documentation

Request Syntax

response = client.deregister_certificate(
    DirectoryId='string',
    CertificateId='string'
)
Parameters:
  • DirectoryId (string) –

    [REQUIRED]

    The identifier of the directory.

  • CertificateId (string) –

    [REQUIRED]

    The identifier of the certificate.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DirectoryService.Client.exceptions.DirectoryUnavailableException

  • DirectoryService.Client.exceptions.DirectoryDoesNotExistException

  • DirectoryService.Client.exceptions.CertificateDoesNotExistException

  • DirectoryService.Client.exceptions.CertificateInUseException

  • DirectoryService.Client.exceptions.UnsupportedOperationException

  • DirectoryService.Client.exceptions.InvalidParameterException

  • DirectoryService.Client.exceptions.ClientException

  • DirectoryService.Client.exceptions.ServiceException