describe_certificate
async
¶
describe_certificate(
directory_id: DirectoryId,
certificate_id: CertificateId,
*,
config_overrides: Optional[AsyncDirectoryServiceClientConfig] = None,
) -> DescribeCertificateResult
Displays information about the certificate 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.
-
ClientException–A client exception has occurred.
-
DirectoryDoesNotExistException–The specified directory does not exist in the system.
-
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/async_directory_service.py
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 | |