Enum aws_sdk_elasticache::error::CreateUserErrorKind
source ·
[−]#[non_exhaustive]
pub enum CreateUserErrorKind {
DuplicateUserNameFault(DuplicateUserNameFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
UserAlreadyExistsFault(UserAlreadyExistsFault),
UserQuotaExceededFault(UserQuotaExceededFault),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateUser
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DuplicateUserNameFault(DuplicateUserNameFault)
Tuple Fields
A user with this username already exists.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Tuple Fields
Two or more incompatible parameters were specified.
InvalidParameterValueException(InvalidParameterValueException)
Tuple Fields
The value for a parameter is invalid.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
Tuple Fields
The specified service linked role (SLR) was not found.
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded)
Tuple Fields
The request cannot be processed because it would cause the resource to have more than the allowed number of tags. The maximum number of tags permitted on a resource is 50.
UserAlreadyExistsFault(UserAlreadyExistsFault)
Tuple Fields
A user with this ID already exists.
UserQuotaExceededFault(UserQuotaExceededFault)
Tuple Fields
The quota of users has been exceeded.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateUserErrorKind
impl Send for CreateUserErrorKind
impl Sync for CreateUserErrorKind
impl Unpin for CreateUserErrorKind
impl !UnwindSafe for CreateUserErrorKind
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