AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract DeregisterCertificateResponse DeregisterCertificate(
         DeregisterCertificateRequest request
)

Parameters

request
Type: Amazon.DirectoryService.Model.DeregisterCertificateRequest

Container for the necessary parameters to execute the DeregisterCertificate service method.

Return Value


The response from the DeregisterCertificate service method, as returned by DirectoryService.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also