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(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ApiCallRateForCustomerExceededFault(ApiCallRateForCustomerExceededFault)
The customer has exceeded the allowed rate of API calls.
AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault)
The specified Amazon EC2 security group is already authorized for the specified cache security group.
AuthorizationNotFoundFault(AuthorizationNotFoundFault)
The specified Amazon EC2 security group is not authorized for the specified cache security group.
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault)
You already have a cluster with the given identifier.
CacheClusterNotFoundFault(CacheClusterNotFoundFault)
The requested cluster ID does not refer to an existing cluster.
CacheParameterGroupAlreadyExistsFault(CacheParameterGroupAlreadyExistsFault)
A cache parameter group with the requested name already exists.
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault)
The requested cache parameter group name does not refer to an existing cache parameter group.
CacheParameterGroupQuotaExceededFault(CacheParameterGroupQuotaExceededFault)
The request cannot be processed because it would exceed the maximum number of cache security groups.
CacheSecurityGroupAlreadyExistsFault(CacheSecurityGroupAlreadyExistsFault)
A cache security group with the specified name already exists.
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault)
The requested cache security group name does not refer to an existing cache security group.
CacheSecurityGroupQuotaExceededFault(CacheSecurityGroupQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of cache security groups.
CacheSubnetGroupAlreadyExistsFault(CacheSubnetGroupAlreadyExistsFault)
The requested cache subnet group name is already in use by an existing cache subnet group.
CacheSubnetGroupInUse(CacheSubnetGroupInUse)
The requested cache subnet group is currently in use.
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault)
The requested cache subnet group name does not refer to an existing cache subnet group.
CacheSubnetGroupQuotaExceededFault(CacheSubnetGroupQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of cache subnet groups.
CacheSubnetQuotaExceededFault(CacheSubnetQuotaExceededFault)
The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)
The request cannot be processed because it would exceed the allowed number of clusters per customer.
DefaultUserAssociatedToUserGroupFault(DefaultUserAssociatedToUserGroupFault)
The default user assigned to the user group.
DefaultUserRequired(DefaultUserRequired)
You must add default user to a user group.
DuplicateUserNameFault(DuplicateUserNameFault)
A user with this username already exists.
GlobalReplicationGroupAlreadyExistsFault(GlobalReplicationGroupAlreadyExistsFault)
The Global datastore name already exists.
GlobalReplicationGroupNotFoundFault(GlobalReplicationGroupNotFoundFault)
The Global datastore does not exist
InsufficientCacheClusterCapacityFault(InsufficientCacheClusterCapacityFault)
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)
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault)
The requested cluster is not in the available
state.
InvalidCacheParameterGroupStateFault(InvalidCacheParameterGroupStateFault)
The current state of the cache parameter group does not allow the requested operation to occur.
InvalidCacheSecurityGroupStateFault(InvalidCacheSecurityGroupStateFault)
The current state of the cache security group does not allow deletion.
InvalidGlobalReplicationGroupStateFault(InvalidGlobalReplicationGroupStateFault)
The Global datastore is not available or in primary-only state.
InvalidKmsKeyFault(InvalidKmsKeyFault)
The KMS key supplied is not valid.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Two or more incompatible parameters were specified.
InvalidParameterValueException(InvalidParameterValueException)
The value for a parameter is invalid.
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault)
The requested replication group is not in the available
state.
InvalidSnapshotStateFault(InvalidSnapshotStateFault)
The current state of the snapshot does not allow the requested operation to occur.
InvalidSubnet(InvalidSubnet)
An invalid subnet identifier was specified.
InvalidUserGroupStateFault(InvalidUserGroupStateFault)
The user group is not in an active state.
InvalidUserStateFault(InvalidUserStateFault)
The user is not in active state.
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)
The VPC network is in an invalid state.
NoOperationFault(NoOperationFault)
The operation was not performed because no changes were required.
NodeGroupNotFoundFault(NodeGroupNotFoundFault)
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)
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)
The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)
The request cannot be processed because it would exceed the allowed number of cache nodes per customer.
ReplicationGroupAlreadyExistsFault(ReplicationGroupAlreadyExistsFault)
The specified replication group already exists.
ReplicationGroupAlreadyUnderMigrationFault(ReplicationGroupAlreadyUnderMigrationFault)
The targeted replication group is not available.
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)
The specified replication group does not exist.
ReplicationGroupNotUnderMigrationFault(ReplicationGroupNotUnderMigrationFault)
The designated replication group is not available for data migration.
ReservedCacheNodeAlreadyExistsFault(ReservedCacheNodeAlreadyExistsFault)
You already have a reservation with the given identifier.
ReservedCacheNodeNotFoundFault(ReservedCacheNodeNotFoundFault)
The requested reserved cache node was not found.
ReservedCacheNodeQuotaExceededFault(ReservedCacheNodeQuotaExceededFault)
The request cannot be processed because it would exceed the user's cache node quota.
ReservedCacheNodesOfferingNotFoundFault(ReservedCacheNodesOfferingNotFoundFault)
The requested cache node offering does not exist.
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)
The specified service linked role (SLR) was not found.
ServiceUpdateNotFoundFault(ServiceUpdateNotFoundFault)
The service update doesn't exist
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault)
You already have a snapshot with the given name.
SnapshotFeatureNotSupportedFault(SnapshotFeatureNotSupportedFault)
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)
The requested snapshot name does not refer to an existing snapshot.
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)
The request cannot be processed because it would exceed the maximum number of snapshots.
SubnetInUse(SubnetInUse)
The requested subnet is being used by another cache subnet group.
SubnetNotAllowedFault(SubnetNotAllowedFault)
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)
The requested tag was not found on this resource.
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.
TestFailoverNotAvailableFault(TestFailoverNotAvailableFault)
The TestFailover
action is not available.
UserAlreadyExistsFault(UserAlreadyExistsFault)
A user with this ID already exists.
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault)
The user group with this ID already exists.
UserGroupNotFoundFault(UserGroupNotFoundFault)
The user group was not found or does not exist
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault)
The number of users exceeds the user group limit.
UserNotFoundFault(UserNotFoundFault)
The user does not exist or could not be found.
UserQuotaExceededFault(UserQuotaExceededFault)
The quota of users has been exceeded.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.