Enum aws_sdk_directory::Error [−][src]
#[non_exhaustive]
pub enum Error {
Show 35 variants
AccessDeniedException(AccessDeniedException),
AuthenticationFailedException(AuthenticationFailedException),
CertificateAlreadyExistsException(CertificateAlreadyExistsException),
CertificateDoesNotExistException(CertificateDoesNotExistException),
CertificateInUseException(CertificateInUseException),
CertificateLimitExceededException(CertificateLimitExceededException),
ClientException(ClientException),
DirectoryAlreadyInRegionException(DirectoryAlreadyInRegionException),
DirectoryAlreadySharedException(DirectoryAlreadySharedException),
DirectoryDoesNotExistException(DirectoryDoesNotExistException),
DirectoryLimitExceededException(DirectoryLimitExceededException),
DirectoryNotSharedException(DirectoryNotSharedException),
DirectoryUnavailableException(DirectoryUnavailableException),
DomainControllerLimitExceededException(DomainControllerLimitExceededException),
EntityAlreadyExistsException(EntityAlreadyExistsException),
EntityDoesNotExistException(EntityDoesNotExistException),
InsufficientPermissionsException(InsufficientPermissionsException),
InvalidCertificateException(InvalidCertificateException),
InvalidClientAuthStatusException(InvalidClientAuthStatusException),
InvalidLdapsStatusException(InvalidLdapsStatusException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidParameterException(InvalidParameterException),
InvalidPasswordException(InvalidPasswordException),
InvalidTargetException(InvalidTargetException),
IpRouteLimitExceededException(IpRouteLimitExceededException),
NoAvailableCertificateException(NoAvailableCertificateException),
OrganizationsException(OrganizationsException),
RegionLimitExceededException(RegionLimitExceededException),
ServiceException(ServiceException),
ShareLimitExceededException(ShareLimitExceededException),
SnapshotLimitExceededException(SnapshotLimitExceededException),
TagLimitExceededException(TagLimitExceededException),
UnsupportedOperationException(UnsupportedOperationException),
UserDoesNotExistException(UserDoesNotExistException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Tuple Fields
Client authentication is not available in this region at this time.
AuthenticationFailedException(AuthenticationFailedException)
Tuple Fields
An authentication error occurred.
CertificateAlreadyExistsException(CertificateAlreadyExistsException)
Tuple Fields
The certificate has already been registered into the system.
CertificateDoesNotExistException(CertificateDoesNotExistException)
Tuple Fields
The certificate is not present in the system for describe or deregister activities.
CertificateInUseException(CertificateInUseException)
Tuple Fields
The certificate is being used for the LDAP security connection and cannot be removed without disabling LDAP security.
CertificateLimitExceededException(CertificateLimitExceededException)
Tuple Fields
The certificate could not be added because the certificate limit has been reached.
ClientException(ClientException)
Tuple Fields
A client exception has occurred.
DirectoryAlreadyInRegionException(DirectoryAlreadyInRegionException)
Tuple Fields
The Region you specified is the same Region where the Managed Microsoft AD directory was created. Specify a different Region and try again.
DirectoryAlreadySharedException(DirectoryAlreadySharedException)
The specified directory has already been shared with this Amazon Web Services account.
DirectoryDoesNotExistException(DirectoryDoesNotExistException)
Tuple Fields
The specified directory does not exist in the system.
DirectoryLimitExceededException(DirectoryLimitExceededException)
Tuple Fields
The maximum number of directories in the region has been reached. You can use the GetDirectoryLimits operation to determine your directory limits in the region.
DirectoryNotSharedException(DirectoryNotSharedException)
The specified directory has not been shared with this Amazon Web Services account.
DirectoryUnavailableException(DirectoryUnavailableException)
The specified directory is unavailable or could not be found.
DomainControllerLimitExceededException(DomainControllerLimitExceededException)
Tuple Fields
The maximum allowed number of domain controllers per directory was exceeded. The default limit per directory is 20 domain controllers.
EntityAlreadyExistsException(EntityAlreadyExistsException)
Tuple Fields
The specified entity already exists.
EntityDoesNotExistException(EntityDoesNotExistException)
Tuple Fields
The specified entity could not be found.
InsufficientPermissionsException(InsufficientPermissionsException)
Tuple Fields
The account does not have sufficient permission to perform the operation.
InvalidCertificateException(InvalidCertificateException)
Tuple Fields
The certificate PEM that was provided has incorrect encoding.
InvalidClientAuthStatusException(InvalidClientAuthStatusException)
Tuple Fields
Client authentication is already enabled.
InvalidLdapsStatusException(InvalidLdapsStatusException)
Tuple Fields
The LDAP activities could not be performed because they are limited by the LDAPS status.
InvalidNextTokenException(InvalidNextTokenException)
Tuple Fields
The NextToken value is not valid.
InvalidParameterException(InvalidParameterException)
Tuple Fields
One or more parameters are not valid.
InvalidPasswordException(InvalidPasswordException)
Tuple Fields
The new password provided by the user does not meet the password complexity requirements defined in your directory.
InvalidTargetException(InvalidTargetException)
Tuple Fields
The specified shared target is not valid.
IpRouteLimitExceededException(IpRouteLimitExceededException)
Tuple Fields
The maximum allowed number of IP addresses was exceeded. The default limit is 100 IP address blocks.
NoAvailableCertificateException(NoAvailableCertificateException)
Tuple Fields
Client authentication setup could not be completed because at least one valid certificate must be registered in the system.
OrganizationsException(OrganizationsException)
Tuple Fields
Exception encountered while trying to access your Amazon Web Services organization.
RegionLimitExceededException(RegionLimitExceededException)
Tuple Fields
You have reached the limit for maximum number of simultaneous Region replications per directory.
ServiceException(ServiceException)
Tuple Fields
An exception has occurred in Directory Service.
ShareLimitExceededException(ShareLimitExceededException)
The maximum number of Amazon Web Services accounts that you can share with this directory has been reached.
SnapshotLimitExceededException(SnapshotLimitExceededException)
Tuple Fields
The maximum number of manual snapshots for the directory has been reached. You can use the GetSnapshotLimits operation to determine the snapshot limits for a directory.
TagLimitExceededException(TagLimitExceededException)
Tuple Fields
The maximum allowed number of tags was exceeded.
UnsupportedOperationException(UnsupportedOperationException)
Tuple Fields
The operation is not supported.
UserDoesNotExistException(UserDoesNotExistException)
Tuple Fields
The user provided a username that does not exist in your directory.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more