Enum aws_sdk_elasticache::error::CreateUserErrorKind [−][src]
#[non_exhaustive]
pub enum CreateUserErrorKind {
DuplicateUserNameFault(DuplicateUserNameFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
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)
A user with this username already exists.
Tuple Fields of DuplicateUserNameFault
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
Tuple Fields of InvalidParameterCombinationException
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
Tuple Fields of InvalidParameterValueException
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded)
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.
Tuple Fields of TagQuotaPerResourceExceeded
UserAlreadyExistsFault(UserAlreadyExistsFault)
A user with this ID already exists.
Tuple Fields of UserAlreadyExistsFault
UserQuotaExceededFault(UserQuotaExceededFault)
The quota of users has been exceeded.
Tuple Fields of UserQuotaExceededFault
An unexpected error, eg. 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