#[non_exhaustive]
pub enum EnableClientAuthenticationErrorKind {
AccessDeniedException(AccessDeniedException),
ClientException(ClientException),
DirectoryDoesNotExistException(DirectoryDoesNotExistException),
InvalidClientAuthStatusException(InvalidClientAuthStatusException),
NoAvailableCertificateException(NoAvailableCertificateException),
ServiceException(ServiceException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the EnableClientAuthentication
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Client authentication is not available in this region at this time.
ClientException(ClientException)
A client exception has occurred.
DirectoryDoesNotExistException(DirectoryDoesNotExistException)
The specified directory does not exist in the system.
InvalidClientAuthStatusException(InvalidClientAuthStatusException)
Client authentication is already enabled.
NoAvailableCertificateException(NoAvailableCertificateException)
Client authentication setup could not be completed because at least one valid certificate must be registered in the system.
ServiceException(ServiceException)
An exception has occurred in Directory Service.
UnsupportedOperationException(UnsupportedOperationException)
The operation is not supported.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.