Enum aws_sdk_elasticache::Error[][src]

#[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
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ApiCallRateForCustomerExceededFault(ApiCallRateForCustomerExceededFault)

The customer has exceeded the allowed rate of API calls.

Tuple Fields of ApiCallRateForCustomerExceededFault

0: ApiCallRateForCustomerExceededFault
AuthorizationAlreadyExistsFault(AuthorizationAlreadyExistsFault)

The specified Amazon EC2 security group is already authorized for the specified cache security group.

Tuple Fields of AuthorizationAlreadyExistsFault

0: AuthorizationAlreadyExistsFault
AuthorizationNotFoundFault(AuthorizationNotFoundFault)

The specified Amazon EC2 security group is not authorized for the specified cache security group.

Tuple Fields of AuthorizationNotFoundFault

0: AuthorizationNotFoundFault
CacheClusterAlreadyExistsFault(CacheClusterAlreadyExistsFault)

You already have a cluster with the given identifier.

Tuple Fields of CacheClusterAlreadyExistsFault

0: CacheClusterAlreadyExistsFault
CacheClusterNotFoundFault(CacheClusterNotFoundFault)

The requested cluster ID does not refer to an existing cluster.

Tuple Fields of CacheClusterNotFoundFault

0: CacheClusterNotFoundFault
CacheParameterGroupAlreadyExistsFault(CacheParameterGroupAlreadyExistsFault)

A cache parameter group with the requested name already exists.

Tuple Fields of CacheParameterGroupAlreadyExistsFault

0: CacheParameterGroupAlreadyExistsFault
CacheParameterGroupNotFoundFault(CacheParameterGroupNotFoundFault)

The requested cache parameter group name does not refer to an existing cache parameter group.

Tuple Fields of CacheParameterGroupNotFoundFault

0: CacheParameterGroupNotFoundFault
CacheParameterGroupQuotaExceededFault(CacheParameterGroupQuotaExceededFault)

The request cannot be processed because it would exceed the maximum number of cache security groups.

Tuple Fields of CacheParameterGroupQuotaExceededFault

0: CacheParameterGroupQuotaExceededFault
CacheSecurityGroupAlreadyExistsFault(CacheSecurityGroupAlreadyExistsFault)

A cache security group with the specified name already exists.

Tuple Fields of CacheSecurityGroupAlreadyExistsFault

0: CacheSecurityGroupAlreadyExistsFault
CacheSecurityGroupNotFoundFault(CacheSecurityGroupNotFoundFault)

The requested cache security group name does not refer to an existing cache security group.

Tuple Fields of CacheSecurityGroupNotFoundFault

0: CacheSecurityGroupNotFoundFault
CacheSecurityGroupQuotaExceededFault(CacheSecurityGroupQuotaExceededFault)

The request cannot be processed because it would exceed the allowed number of cache security groups.

Tuple Fields of CacheSecurityGroupQuotaExceededFault

0: CacheSecurityGroupQuotaExceededFault
CacheSubnetGroupAlreadyExistsFault(CacheSubnetGroupAlreadyExistsFault)

The requested cache subnet group name is already in use by an existing cache subnet group.

Tuple Fields of CacheSubnetGroupAlreadyExistsFault

0: CacheSubnetGroupAlreadyExistsFault
CacheSubnetGroupInUse(CacheSubnetGroupInUse)

The requested cache subnet group is currently in use.

Tuple Fields of CacheSubnetGroupInUse

0: CacheSubnetGroupInUse
CacheSubnetGroupNotFoundFault(CacheSubnetGroupNotFoundFault)

The requested cache subnet group name does not refer to an existing cache subnet group.

Tuple Fields of CacheSubnetGroupNotFoundFault

0: CacheSubnetGroupNotFoundFault
CacheSubnetGroupQuotaExceededFault(CacheSubnetGroupQuotaExceededFault)

The request cannot be processed because it would exceed the allowed number of cache subnet groups.

Tuple Fields of CacheSubnetGroupQuotaExceededFault

0: CacheSubnetGroupQuotaExceededFault
CacheSubnetQuotaExceededFault(CacheSubnetQuotaExceededFault)

The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.

Tuple Fields of CacheSubnetQuotaExceededFault

0: CacheSubnetQuotaExceededFault
ClusterQuotaForCustomerExceededFault(ClusterQuotaForCustomerExceededFault)

The request cannot be processed because it would exceed the allowed number of clusters per customer.

Tuple Fields of ClusterQuotaForCustomerExceededFault

0: ClusterQuotaForCustomerExceededFault
DefaultUserAssociatedToUserGroupFault(DefaultUserAssociatedToUserGroupFault)

The default user assigned to the user group.

Tuple Fields of DefaultUserAssociatedToUserGroupFault

0: DefaultUserAssociatedToUserGroupFault
DefaultUserRequired(DefaultUserRequired)

You must add default user to a user group.

Tuple Fields of DefaultUserRequired

0: DefaultUserRequired
DuplicateUserNameFault(DuplicateUserNameFault)

A user with this username already exists.

Tuple Fields of DuplicateUserNameFault

0: DuplicateUserNameFault
GlobalReplicationGroupAlreadyExistsFault(GlobalReplicationGroupAlreadyExistsFault)

The Global datastore name already exists.

Tuple Fields of GlobalReplicationGroupAlreadyExistsFault

0: GlobalReplicationGroupAlreadyExistsFault
GlobalReplicationGroupNotFoundFault(GlobalReplicationGroupNotFoundFault)

The Global datastore does not exist

Tuple Fields of GlobalReplicationGroupNotFoundFault

0: GlobalReplicationGroupNotFoundFault
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.

Tuple Fields of InsufficientCacheClusterCapacityFault

0: InsufficientCacheClusterCapacityFault
InvalidArnFault(InvalidArnFault)

The requested Amazon Resource Name (ARN) does not refer to an existing resource.

Tuple Fields of InvalidArnFault

0: InvalidArnFault
InvalidCacheClusterStateFault(InvalidCacheClusterStateFault)

The requested cluster is not in the available state.

Tuple Fields of InvalidCacheClusterStateFault

0: InvalidCacheClusterStateFault
InvalidCacheParameterGroupStateFault(InvalidCacheParameterGroupStateFault)

The current state of the cache parameter group does not allow the requested operation to occur.

Tuple Fields of InvalidCacheParameterGroupStateFault

0: InvalidCacheParameterGroupStateFault
InvalidCacheSecurityGroupStateFault(InvalidCacheSecurityGroupStateFault)

The current state of the cache security group does not allow deletion.

Tuple Fields of InvalidCacheSecurityGroupStateFault

0: InvalidCacheSecurityGroupStateFault
InvalidGlobalReplicationGroupStateFault(InvalidGlobalReplicationGroupStateFault)

The Global datastore is not available or in primary-only state.

Tuple Fields of InvalidGlobalReplicationGroupStateFault

0: InvalidGlobalReplicationGroupStateFault
InvalidKmsKeyFault(InvalidKmsKeyFault)

The KMS key supplied is not valid.

Tuple Fields of InvalidKmsKeyFault

0: InvalidKmsKeyFault
InvalidParameterCombinationException(InvalidParameterCombinationException)

Two or more incompatible parameters were specified.

Tuple Fields of InvalidParameterCombinationException

0: InvalidParameterCombinationException
InvalidParameterValueException(InvalidParameterValueException)

The value for a parameter is invalid.

Tuple Fields of InvalidParameterValueException

0: InvalidParameterValueException
InvalidReplicationGroupStateFault(InvalidReplicationGroupStateFault)

The requested replication group is not in the available state.

Tuple Fields of InvalidReplicationGroupStateFault

0: InvalidReplicationGroupStateFault
InvalidSnapshotStateFault(InvalidSnapshotStateFault)

The current state of the snapshot does not allow the requested operation to occur.

Tuple Fields of InvalidSnapshotStateFault

0: InvalidSnapshotStateFault
InvalidSubnet(InvalidSubnet)

An invalid subnet identifier was specified.

Tuple Fields of InvalidSubnet

0: InvalidSubnet
InvalidUserGroupStateFault(InvalidUserGroupStateFault)

The user group is not in an active state.

Tuple Fields of InvalidUserGroupStateFault

0: InvalidUserGroupStateFault
InvalidUserStateFault(InvalidUserStateFault)

The user is not in active state.

Tuple Fields of InvalidUserStateFault

0: InvalidUserStateFault
InvalidVpcNetworkStateFault(InvalidVpcNetworkStateFault)

The VPC network is in an invalid state.

Tuple Fields of InvalidVpcNetworkStateFault

0: InvalidVpcNetworkStateFault
NoOperationFault(NoOperationFault)

The operation was not performed because no changes were required.

Tuple Fields of NoOperationFault

0: NoOperationFault
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.

Tuple Fields of NodeGroupNotFoundFault

0: NodeGroupNotFoundFault
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

Tuple Fields of NodeGroupsPerReplicationGroupQuotaExceededFault

0: NodeGroupsPerReplicationGroupQuotaExceededFault
NodeQuotaForClusterExceededFault(NodeQuotaForClusterExceededFault)

The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.

Tuple Fields of NodeQuotaForClusterExceededFault

0: NodeQuotaForClusterExceededFault
NodeQuotaForCustomerExceededFault(NodeQuotaForCustomerExceededFault)

The request cannot be processed because it would exceed the allowed number of cache nodes per customer.

Tuple Fields of NodeQuotaForCustomerExceededFault

0: NodeQuotaForCustomerExceededFault
ReplicationGroupAlreadyExistsFault(ReplicationGroupAlreadyExistsFault)

The specified replication group already exists.

Tuple Fields of ReplicationGroupAlreadyExistsFault

0: ReplicationGroupAlreadyExistsFault
ReplicationGroupAlreadyUnderMigrationFault(ReplicationGroupAlreadyUnderMigrationFault)

The targeted replication group is not available.

Tuple Fields of ReplicationGroupAlreadyUnderMigrationFault

0: ReplicationGroupAlreadyUnderMigrationFault
ReplicationGroupNotFoundFault(ReplicationGroupNotFoundFault)

The specified replication group does not exist.

Tuple Fields of ReplicationGroupNotFoundFault

0: ReplicationGroupNotFoundFault
ReplicationGroupNotUnderMigrationFault(ReplicationGroupNotUnderMigrationFault)

The designated replication group is not available for data migration.

Tuple Fields of ReplicationGroupNotUnderMigrationFault

0: ReplicationGroupNotUnderMigrationFault
ReservedCacheNodeAlreadyExistsFault(ReservedCacheNodeAlreadyExistsFault)

You already have a reservation with the given identifier.

Tuple Fields of ReservedCacheNodeAlreadyExistsFault

0: ReservedCacheNodeAlreadyExistsFault
ReservedCacheNodeNotFoundFault(ReservedCacheNodeNotFoundFault)

The requested reserved cache node was not found.

Tuple Fields of ReservedCacheNodeNotFoundFault

0: ReservedCacheNodeNotFoundFault
ReservedCacheNodeQuotaExceededFault(ReservedCacheNodeQuotaExceededFault)

The request cannot be processed because it would exceed the user's cache node quota.

Tuple Fields of ReservedCacheNodeQuotaExceededFault

0: ReservedCacheNodeQuotaExceededFault
ReservedCacheNodesOfferingNotFoundFault(ReservedCacheNodesOfferingNotFoundFault)

The requested cache node offering does not exist.

Tuple Fields of ReservedCacheNodesOfferingNotFoundFault

0: ReservedCacheNodesOfferingNotFoundFault
ServiceLinkedRoleNotFoundFault(ServiceLinkedRoleNotFoundFault)

The specified service linked role (SLR) was not found.

Tuple Fields of ServiceLinkedRoleNotFoundFault

0: ServiceLinkedRoleNotFoundFault
ServiceUpdateNotFoundFault(ServiceUpdateNotFoundFault)

The service update doesn't exist

Tuple Fields of ServiceUpdateNotFoundFault

0: ServiceUpdateNotFoundFault
SnapshotAlreadyExistsFault(SnapshotAlreadyExistsFault)

You already have a snapshot with the given name.

Tuple Fields of SnapshotAlreadyExistsFault

0: SnapshotAlreadyExistsFault
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.

Tuple Fields of SnapshotFeatureNotSupportedFault

0: SnapshotFeatureNotSupportedFault
SnapshotNotFoundFault(SnapshotNotFoundFault)

The requested snapshot name does not refer to an existing snapshot.

Tuple Fields of SnapshotNotFoundFault

0: SnapshotNotFoundFault
SnapshotQuotaExceededFault(SnapshotQuotaExceededFault)

The request cannot be processed because it would exceed the maximum number of snapshots.

Tuple Fields of SnapshotQuotaExceededFault

0: SnapshotQuotaExceededFault
SubnetInUse(SubnetInUse)

The requested subnet is being used by another cache subnet group.

Tuple Fields of SubnetInUse

0: SubnetInUse
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.

Tuple Fields of SubnetNotAllowedFault

0: SubnetNotAllowedFault
TagNotFoundFault(TagNotFoundFault)

The requested tag was not found on this resource.

Tuple Fields of TagNotFoundFault

0: TagNotFoundFault
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

0: TagQuotaPerResourceExceeded
TestFailoverNotAvailableFault(TestFailoverNotAvailableFault)

The TestFailover action is not available.

Tuple Fields of TestFailoverNotAvailableFault

0: TestFailoverNotAvailableFault
UserAlreadyExistsFault(UserAlreadyExistsFault)

A user with this ID already exists.

Tuple Fields of UserAlreadyExistsFault

0: UserAlreadyExistsFault
UserGroupAlreadyExistsFault(UserGroupAlreadyExistsFault)

The user group with this ID already exists.

Tuple Fields of UserGroupAlreadyExistsFault

0: UserGroupAlreadyExistsFault
UserGroupNotFoundFault(UserGroupNotFoundFault)

The user group was not found or does not exist

Tuple Fields of UserGroupNotFoundFault

0: UserGroupNotFoundFault
UserGroupQuotaExceededFault(UserGroupQuotaExceededFault)

The number of users exceeds the user group limit.

Tuple Fields of UserGroupQuotaExceededFault

0: UserGroupQuotaExceededFault
UserNotFoundFault(UserNotFoundFault)

The user does not exist or could not be found.

Tuple Fields of UserNotFoundFault

0: UserNotFoundFault
UserQuotaExceededFault(UserQuotaExceededFault)

The quota of users has been exceeded.

Tuple Fields of UserQuotaExceededFault

0: UserQuotaExceededFault
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

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.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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