deregister_certificate
¶
deregister_certificate(
directory_id: DirectoryId,
certificate_id: CertificateId,
*,
config_overrides: Optional[DirectoryServiceClientConfig] = None,
) -> DeregisterCertificateResult
Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.
Parameters:
-
directory_id(DirectoryId) –The identifier of the directory.
-
certificate_id(CertificateId) –The identifier of the certificate.
Raises:
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_directory_service/_services/directory_service.py
2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 | |