Enum aws_sdk_elasticache::Error
source ·
[−]#[non_exhaustive]
pub enum Error {
Show 68 variants
ApiCallRateForCustomerExceededFault(ApiCallRateForCustomerExceededFault),
AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault),
AuthorizationNotFoundFault(AuthorizationNotFoundFault),
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault),
CacheClusterNotFoundFault(CacheClusterNotFoundFault),
CacheParameterGroupAlreadyExistsFault(CacheParameterGroupAlreadyExistsFault),
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault),
CacheParameterGroupQuotaExceededFault(CacheParameterGroupQuotaExceededFault),
CacheSecurityGroupAlreadyExistsFault(CacheSecurityGroupAlreadyExistsFault),
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault),
CacheSecurityGroupQuotaExceededFault(CacheSecurityGroupQuotaExceededFault),
CacheSubnetGroupAlreadyExistsFault(CacheSubnetGroupAlreadyExistsFault),
CacheSubnetGroupInUse(CacheSubnetGroupInUse),
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault),
CacheSubnetGroupQuotaExceededFault(CacheSubnetGroupQuotaExceededFault),
CacheSubnetQuotaExceededFault(CacheSubnetQuotaExceededFault),
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault),
DefaultUserAssociatedToUserGroupFault(DefaultUserAssociatedToUserGroupFault),
DefaultUserRequired(DefaultUserRequired),
DuplicateUserNameFault(DuplicateUserNameFault),
GlobalReplicationGroupAlreadyExistsFault(GlobalReplicationGroupAlreadyExistsFault),
GlobalReplicationGroupNotFoundFault(GlobalReplicationGroupNotFoundFault),
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault),
InvalidArnFault(InvalidArnFault),
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault),
InvalidCacheParameterGroupStateFault(InvalidCacheParameterGroupStateFault),
InvalidCacheSecurityGroupStateFault(InvalidCacheSecurityGroupStateFault),
InvalidGlobalReplicationGroupStateFault(InvalidGlobalReplicationGroupStateFault),
InvalidKmsKeyFault(InvalidKmsKeyFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault),
InvalidSnapshotStateFault(InvalidSnapshotStateFault),
InvalidSubnet(InvalidSubnet),
InvalidUserGroupStateFault(InvalidUserGroupStateFault),
InvalidUserStateFault(InvalidUserStateFault),
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault),
NoOperationFault(NoOperationFault),
NodeGroupNotFoundFault(NodeGroupNotFoundFault),
NodeGroupsPerReplicationGroupQuotaExceededFault(NodeGroupsPerReplicationGroupQuotaExceededFault),
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault),
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault),
ReplicationGroupAlreadyExistsFault(ReplicationGroupAlreadyExistsFault),
ReplicationGroupAlreadyUnderMigrationFault(ReplicationGroupAlreadyUnderMigrationFault),
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault),
ReplicationGroupNotUnderMigrationFault(ReplicationGroupNotUnderMigrationFault),
ReservedCacheNodeAlreadyExistsFault(ReservedCacheNodeAlreadyExistsFault),
ReservedCacheNodeNotFoundFault(ReservedCacheNodeNotFoundFault),
ReservedCacheNodeQuotaExceededFault(ReservedCacheNodeQuotaExceededFault),
ReservedCacheNodesOfferingNotFoundFault(ReservedCacheNodesOfferingNotFoundFault),
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault),
ServiceUpdateNotFoundFault(ServiceUpdateNotFoundFault),
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault),
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault),
SnapshotNotFoundFault(SnapshotNotFoundFault),
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault),
SubnetInUse(SubnetInUse),
SubnetNotAllowedFault(SubnetNotAllowedFault),
TagNotFoundFault(TagNotFoundFault),
TagQuotaPerResourceExceeded(TagQuotaPerResourceExceeded),
TestFailoverNotAvailableFault(TestFailoverNotAvailableFault),
UserAlreadyExistsFault(UserAlreadyExistsFault),
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault),
UserGroupNotFoundFault(UserGroupNotFoundFault),
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault),
UserNotFoundFault(UserNotFoundFault),
UserQuotaExceededFault(UserQuotaExceededFault),
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
ApiCallRateForCustomerExceededFault(ApiCallRateForCustomerExceededFault)
Tuple Fields
The customer has exceeded the allowed rate of API calls.
AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault)
Tuple Fields
The specified Amazon EC2 security group is already authorized for the specified cache security group.
AuthorizationNotFoundFault(AuthorizationNotFoundFault)
Tuple Fields
The specified Amazon EC2 security group is not authorized for the specified cache security group.
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault)
Tuple Fields
You already have a cluster with the given identifier.
CacheClusterNotFoundFault(CacheClusterNotFoundFault)
Tuple Fields
The requested cluster ID does not refer to an existing cluster.
CacheParameterGroupAlreadyExistsFault(CacheParameterGroupAlreadyExistsFault)
Tuple Fields
A cache parameter group with the requested name already exists.
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault)
Tuple Fields
The requested cache parameter group name does not refer to an existing cache parameter group.
CacheParameterGroupQuotaExceededFault(CacheParameterGroupQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the maximum number of cache security groups.
CacheSecurityGroupAlreadyExistsFault(CacheSecurityGroupAlreadyExistsFault)
Tuple Fields
A cache security group with the specified name already exists.
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault)
Tuple Fields
The requested cache security group name does not refer to an existing cache security group.
CacheSecurityGroupQuotaExceededFault(CacheSecurityGroupQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the allowed number of cache security groups.
CacheSubnetGroupAlreadyExistsFault(CacheSubnetGroupAlreadyExistsFault)
Tuple Fields
The requested cache subnet group name is already in use by an existing cache subnet group.
CacheSubnetGroupInUse(CacheSubnetGroupInUse)
Tuple Fields
The requested cache subnet group is currently in use.
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault)
Tuple Fields
The requested cache subnet group name does not refer to an existing cache subnet group.
CacheSubnetGroupQuotaExceededFault(CacheSubnetGroupQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the allowed number of cache subnet groups.
CacheSubnetQuotaExceededFault(CacheSubnetQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the allowed number of clusters per customer.
DefaultUserAssociatedToUserGroupFault(DefaultUserAssociatedToUserGroupFault)
Tuple Fields
The default user assigned to the user group.
DefaultUserRequired(DefaultUserRequired)
Tuple Fields
You must add default user to a user group.
DuplicateUserNameFault(DuplicateUserNameFault)
Tuple Fields
A user with this username already exists.
GlobalReplicationGroupAlreadyExistsFault(GlobalReplicationGroupAlreadyExistsFault)
Tuple Fields
The Global datastore name already exists.
GlobalReplicationGroupNotFoundFault(GlobalReplicationGroupNotFoundFault)
Tuple Fields
The Global datastore does not exist
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault)
Tuple Fields
The requested cache node type is not available in the specified Availability Zone. For more information, see InsufficientCacheClusterCapacity in the ElastiCache User Guide.
InvalidArnFault(InvalidArnFault)
Tuple Fields
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault)
Tuple Fields
The requested cluster is not in the available
state.
InvalidCacheParameterGroupStateFault(InvalidCacheParameterGroupStateFault)
Tuple Fields
The current state of the cache parameter group does not allow the requested operation to occur.
InvalidCacheSecurityGroupStateFault(InvalidCacheSecurityGroupStateFault)
Tuple Fields
The current state of the cache security group does not allow deletion.
InvalidGlobalReplicationGroupStateFault(InvalidGlobalReplicationGroupStateFault)
Tuple Fields
The Global datastore is not available or in primary-only state.
InvalidKmsKeyFault(InvalidKmsKeyFault)
Tuple Fields
The KMS key supplied is not valid.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Tuple Fields
Two or more incompatible parameters were specified.
InvalidParameterValueException(InvalidParameterValueException)
Tuple Fields
The value for a parameter is invalid.
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault)
Tuple Fields
The requested replication group is not in the available
state.
InvalidSnapshotStateFault(InvalidSnapshotStateFault)
Tuple Fields
The current state of the snapshot does not allow the requested operation to occur.
InvalidSubnet(InvalidSubnet)
Tuple Fields
An invalid subnet identifier was specified.
InvalidUserGroupStateFault(InvalidUserGroupStateFault)
Tuple Fields
The user group is not in an active state.
InvalidUserStateFault(InvalidUserStateFault)
Tuple Fields
The user is not in active state.
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
Tuple Fields
The VPC network is in an invalid state.
NoOperationFault(NoOperationFault)
Tuple Fields
The operation was not performed because no changes were required.
NodeGroupNotFoundFault(NodeGroupNotFoundFault)
Tuple Fields
The node group specified by the NodeGroupId
parameter could not be found. Please verify that the node group exists and that you spelled the NodeGroupId
value correctly.
NodeGroupsPerReplicationGroupQuotaExceededFault(NodeGroupsPerReplicationGroupQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the maximum allowed number of node groups (shards) in a single replication group. The default maximum is 90
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the allowed number of cache nodes per customer.
ReplicationGroupAlreadyExistsFault(ReplicationGroupAlreadyExistsFault)
Tuple Fields
The specified replication group already exists.
ReplicationGroupAlreadyUnderMigrationFault(ReplicationGroupAlreadyUnderMigrationFault)
Tuple Fields
The targeted replication group is not available.
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)
Tuple Fields
The specified replication group does not exist.
ReplicationGroupNotUnderMigrationFault(ReplicationGroupNotUnderMigrationFault)
Tuple Fields
The designated replication group is not available for data migration.
ReservedCacheNodeAlreadyExistsFault(ReservedCacheNodeAlreadyExistsFault)
Tuple Fields
You already have a reservation with the given identifier.
ReservedCacheNodeNotFoundFault(ReservedCacheNodeNotFoundFault)
Tuple Fields
The requested reserved cache node was not found.
ReservedCacheNodeQuotaExceededFault(ReservedCacheNodeQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the user's cache node quota.
ReservedCacheNodesOfferingNotFoundFault(ReservedCacheNodesOfferingNotFoundFault)
Tuple Fields
The requested cache node offering does not exist.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
Tuple Fields
The specified service linked role (SLR) was not found.
ServiceUpdateNotFoundFault(ServiceUpdateNotFoundFault)
Tuple Fields
The service update doesn't exist
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault)
Tuple Fields
You already have a snapshot with the given name.
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault)
Tuple Fields
You attempted one of the following operations:
-
Creating a snapshot of a Redis cluster running on a
cache.t1.micro
cache node. -
Creating a snapshot of a cluster that is running Memcached rather than Redis.
Neither of these are supported by ElastiCache.
SnapshotNotFoundFault(SnapshotNotFoundFault)
Tuple Fields
The requested snapshot name does not refer to an existing snapshot.
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
Tuple Fields
The request cannot be processed because it would exceed the maximum number of snapshots.
SubnetInUse(SubnetInUse)
Tuple Fields
0: SubnetInUse
The requested subnet is being used by another cache subnet group.
SubnetNotAllowedFault(SubnetNotAllowedFault)
Tuple Fields
At least one subnet ID does not match the other subnet IDs. This mismatch typically occurs when a user sets one subnet ID to a regional Availability Zone and a different one to an outpost. Or when a user sets the subnet ID to an Outpost when not subscribed on this service.
TagNotFoundFault(TagNotFoundFault)
Tuple Fields
The requested tag was not found on this resource.
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.
TestFailoverNotAvailableFault(TestFailoverNotAvailableFault)
Tuple Fields
The TestFailover
action is not available.
UserAlreadyExistsFault(UserAlreadyExistsFault)
Tuple Fields
A user with this ID already exists.
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault)
Tuple Fields
The user group with this ID already exists.
UserGroupNotFoundFault(UserGroupNotFoundFault)
Tuple Fields
The user group was not found or does not exist
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault)
Tuple Fields
The number of users exceeds the user group limit.
UserNotFoundFault(UserNotFoundFault)
Tuple Fields
The user does not exist or could not be found.
UserQuotaExceededFault(UserQuotaExceededFault)
Tuple Fields
The quota of users has been exceeded.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
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
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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