Enum aws_sdk_elasticache::error::CreateUserGroupErrorKind [−][src]
#[non_exhaustive]
pub enum CreateUserGroupErrorKind {
DefaultUserRequired(DefaultUserRequired),
DuplicateUserNameFault(DuplicateUserNameFault),
InvalidParameterValueException(InvalidParameterValueException),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault),
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault),
UserNotFoundFault(UserNotFoundFault),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateUserGroup
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DefaultUserRequired(DefaultUserRequired)
You must add default user to a user group.
Tuple Fields of DefaultUserRequired
DuplicateUserNameFault(DuplicateUserNameFault)
A user with this username already exists.
Tuple Fields of DuplicateUserNameFault
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
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault)
The user group with this ID already exists.
Tuple Fields of UserGroupAlreadyExistsFault
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault)
The number of users exceeds the user group limit.
Tuple Fields of UserGroupQuotaExceededFault
UserNotFoundFault(UserNotFoundFault)
The user does not exist or could not be found.
Tuple Fields of UserNotFoundFault
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateUserGroupErrorKind
impl Send for CreateUserGroupErrorKind
impl Sync for CreateUserGroupErrorKind
impl Unpin for CreateUserGroupErrorKind
impl !UnwindSafe for CreateUserGroupErrorKind
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