AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.
For .NET Core this operation is only available in asynchronous form. Please refer to DeregisterCertificateAsync.
Namespace: Amazon.DirectoryService
Assembly: AWSSDK.DirectoryService.dll
Version: 3.x.y.z
public abstract DeregisterCertificateResponse DeregisterCertificate( DeregisterCertificateRequest request )
Container for the necessary parameters to execute the DeregisterCertificate service method.
Exception | Condition |
---|---|
CertificateDoesNotExistException | The certificate is not present in the system for describe or deregister activities. |
CertificateInUseException | The certificate is being used for the LDAP security connection and cannot be removed without disabling LDAP security. |
ClientException | A client exception has occurred. |
DirectoryDoesNotExistException | The specified directory does not exist in the system. |
DirectoryUnavailableException | The specified directory is unavailable. |
InvalidParameterException | One or more parameters are not valid. |
ServiceException | An exception has occurred in Directory Service. |
UnsupportedOperationException | The operation is not supported. |
.NET Framework:
Supported in: 4.5 and newer, 3.5