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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)

Client authentication is not available in this region at this time.

Tuple Fields of AccessDeniedException

0: AccessDeniedException
AuthenticationFailedException(AuthenticationFailedException)

An authentication error occurred.

Tuple Fields of AuthenticationFailedException

0: AuthenticationFailedException
CertificateAlreadyExistsException(CertificateAlreadyExistsException)

The certificate has already been registered into the system.

Tuple Fields of CertificateAlreadyExistsException

0: CertificateAlreadyExistsException
CertificateDoesNotExistException(CertificateDoesNotExistException)

The certificate is not present in the system for describe or deregister activities.

Tuple Fields of CertificateDoesNotExistException

0: CertificateDoesNotExistException
CertificateInUseException(CertificateInUseException)

The certificate is being used for the LDAP security connection and cannot be removed without disabling LDAP security.

Tuple Fields of CertificateInUseException

0: CertificateInUseException
CertificateLimitExceededException(CertificateLimitExceededException)

The certificate could not be added because the certificate limit has been reached.

Tuple Fields of CertificateLimitExceededException

0: CertificateLimitExceededException
ClientException(ClientException)

A client exception has occurred.

Tuple Fields of ClientException

0: ClientException
DirectoryAlreadyInRegionException(DirectoryAlreadyInRegionException)

The Region you specified is the same Region where the Managed Microsoft AD directory was created. Specify a different Region and try again.

Tuple Fields of DirectoryAlreadyInRegionException

0: DirectoryAlreadyInRegionException
DirectoryAlreadySharedException(DirectoryAlreadySharedException)

The specified directory has already been shared with this Amazon Web Services account.

Tuple Fields of DirectoryAlreadySharedException

0: DirectoryAlreadySharedException
DirectoryDoesNotExistException(DirectoryDoesNotExistException)

The specified directory does not exist in the system.

Tuple Fields of DirectoryDoesNotExistException

0: DirectoryDoesNotExistException
DirectoryLimitExceededException(DirectoryLimitExceededException)

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.

Tuple Fields of DirectoryLimitExceededException

0: DirectoryLimitExceededException
DirectoryNotSharedException(DirectoryNotSharedException)

The specified directory has not been shared with this Amazon Web Services account.

Tuple Fields of DirectoryNotSharedException

0: DirectoryNotSharedException
DirectoryUnavailableException(DirectoryUnavailableException)

The specified directory is unavailable or could not be found.

Tuple Fields of DirectoryUnavailableException

0: DirectoryUnavailableException
DomainControllerLimitExceededException(DomainControllerLimitExceededException)

The maximum allowed number of domain controllers per directory was exceeded. The default limit per directory is 20 domain controllers.

Tuple Fields of DomainControllerLimitExceededException

0: DomainControllerLimitExceededException
EntityAlreadyExistsException(EntityAlreadyExistsException)

The specified entity already exists.

Tuple Fields of EntityAlreadyExistsException

0: EntityAlreadyExistsException
EntityDoesNotExistException(EntityDoesNotExistException)

The specified entity could not be found.

Tuple Fields of EntityDoesNotExistException

0: EntityDoesNotExistException
InsufficientPermissionsException(InsufficientPermissionsException)

The account does not have sufficient permission to perform the operation.

Tuple Fields of InsufficientPermissionsException

0: InsufficientPermissionsException
InvalidCertificateException(InvalidCertificateException)

The certificate PEM that was provided has incorrect encoding.

Tuple Fields of InvalidCertificateException

0: InvalidCertificateException
InvalidClientAuthStatusException(InvalidClientAuthStatusException)

Client authentication is already enabled.

Tuple Fields of InvalidClientAuthStatusException

0: InvalidClientAuthStatusException
InvalidLdapsStatusException(InvalidLdapsStatusException)

The LDAP activities could not be performed because they are limited by the LDAPS status.

Tuple Fields of InvalidLdapsStatusException

0: InvalidLdapsStatusException
InvalidNextTokenException(InvalidNextTokenException)

The NextToken value is not valid.

Tuple Fields of InvalidNextTokenException

0: InvalidNextTokenException
InvalidParameterException(InvalidParameterException)

One or more parameters are not valid.

Tuple Fields of InvalidParameterException

0: InvalidParameterException
InvalidPasswordException(InvalidPasswordException)

The new password provided by the user does not meet the password complexity requirements defined in your directory.

Tuple Fields of InvalidPasswordException

0: InvalidPasswordException
InvalidTargetException(InvalidTargetException)

The specified shared target is not valid.

Tuple Fields of InvalidTargetException

0: InvalidTargetException
IpRouteLimitExceededException(IpRouteLimitExceededException)

The maximum allowed number of IP addresses was exceeded. The default limit is 100 IP address blocks.

Tuple Fields of IpRouteLimitExceededException

0: IpRouteLimitExceededException
NoAvailableCertificateException(NoAvailableCertificateException)

Client authentication setup could not be completed because at least one valid certificate must be registered in the system.

Tuple Fields of NoAvailableCertificateException

0: NoAvailableCertificateException
OrganizationsException(OrganizationsException)

Exception encountered while trying to access your Amazon Web Services organization.

Tuple Fields of OrganizationsException

0: OrganizationsException
RegionLimitExceededException(RegionLimitExceededException)

You have reached the limit for maximum number of simultaneous Region replications per directory.

Tuple Fields of RegionLimitExceededException

0: RegionLimitExceededException
ServiceException(ServiceException)

An exception has occurred in Directory Service.

Tuple Fields of ServiceException

0: ServiceException
ShareLimitExceededException(ShareLimitExceededException)

The maximum number of Amazon Web Services accounts that you can share with this directory has been reached.

Tuple Fields of ShareLimitExceededException

0: ShareLimitExceededException
SnapshotLimitExceededException(SnapshotLimitExceededException)

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.

Tuple Fields of SnapshotLimitExceededException

0: SnapshotLimitExceededException
TagLimitExceededException(TagLimitExceededException)

The maximum allowed number of tags was exceeded.

Tuple Fields of TagLimitExceededException

0: TagLimitExceededException
UnsupportedOperationException(UnsupportedOperationException)

The operation is not supported.

Tuple Fields of UnsupportedOperationException

0: UnsupportedOperationException
UserDoesNotExistException(UserDoesNotExistException)

The user provided a username that does not exist in your directory.

Tuple Fields of UserDoesNotExistException

0: UserDoesNotExistException
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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