Enum aws_sdk_alexaforbusiness::Error[][src]

#[non_exhaustive]
pub enum Error {
Show 16 variants AlreadyExistsException(AlreadyExistsException), ConcurrentModificationException(ConcurrentModificationException), DeviceNotRegisteredException(DeviceNotRegisteredException), InvalidCertificateAuthorityException(InvalidCertificateAuthorityException), InvalidDeviceException(InvalidDeviceException), InvalidSecretsManagerResourceException(InvalidSecretsManagerResourceException), InvalidServiceLinkedRoleStateException(InvalidServiceLinkedRoleStateException), InvalidUserStatusException(InvalidUserStatusException), LimitExceededException(LimitExceededException), NameInUseException(NameInUseException), NotFoundException(NotFoundException), ResourceAssociatedException(ResourceAssociatedException), ResourceInUseException(ResourceInUseException), SkillNotLinkedException(SkillNotLinkedException), UnauthorizedException(UnauthorizedException), 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.
AlreadyExistsException(AlreadyExistsException)

The resource being created already exists.

Tuple Fields of AlreadyExistsException

0: AlreadyExistsException
ConcurrentModificationException(ConcurrentModificationException)

There is a concurrent modification of resources.

Tuple Fields of ConcurrentModificationException

0: ConcurrentModificationException
DeviceNotRegisteredException(DeviceNotRegisteredException)

The request failed because this device is no longer registered and therefore no longer managed by this account.

Tuple Fields of DeviceNotRegisteredException

0: DeviceNotRegisteredException
InvalidCertificateAuthorityException(InvalidCertificateAuthorityException)

The Certificate Authority can't issue or revoke a certificate.

Tuple Fields of InvalidCertificateAuthorityException

0: InvalidCertificateAuthorityException
InvalidDeviceException(InvalidDeviceException)

The device is in an invalid state.

Tuple Fields of InvalidDeviceException

0: InvalidDeviceException
InvalidSecretsManagerResourceException(InvalidSecretsManagerResourceException)

A password in SecretsManager is in an invalid state.

Tuple Fields of InvalidSecretsManagerResourceException

0: InvalidSecretsManagerResourceException
InvalidServiceLinkedRoleStateException(InvalidServiceLinkedRoleStateException)

The service linked role is locked for deletion.

Tuple Fields of InvalidServiceLinkedRoleStateException

0: InvalidServiceLinkedRoleStateException
InvalidUserStatusException(InvalidUserStatusException)

The attempt to update a user is invalid due to the user's current status.

Tuple Fields of InvalidUserStatusException

0: InvalidUserStatusException
LimitExceededException(LimitExceededException)

You are performing an action that would put you beyond your account's limits.

Tuple Fields of LimitExceededException

0: LimitExceededException
NameInUseException(NameInUseException)

The name sent in the request is already in use.

Tuple Fields of NameInUseException

0: NameInUseException
NotFoundException(NotFoundException)

The resource is not found.

Tuple Fields of NotFoundException

0: NotFoundException
ResourceAssociatedException(ResourceAssociatedException)

Another resource is associated with the resource in the request.

Tuple Fields of ResourceAssociatedException

0: ResourceAssociatedException
ResourceInUseException(ResourceInUseException)

The resource in the request is already in use.

Tuple Fields of ResourceInUseException

0: ResourceInUseException
SkillNotLinkedException(SkillNotLinkedException)

The skill must be linked to a third-party account.

Tuple Fields of SkillNotLinkedException

0: SkillNotLinkedException
UnauthorizedException(UnauthorizedException)

The caller has no permissions to operate on the resource involved in the API call.

Tuple Fields of UnauthorizedException

0: UnauthorizedException
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.

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