Class ElastiCacheException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\ElastiCache\Exception\ElastiCacheException
- Namespace: Aws\ElastiCache\Exception
- Located at ElastiCache/Exception/ElastiCacheException.php
Represents an error interacting with the Amazon ElastiCache service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
APICallRateForCustomerExceededFault
[ ]
Description
The customer has exceeded the allowed rate of API calls.
Members
AuthorizationAlreadyExistsFault
[ ]
Description
The specified Amazon EC2 security group is already authorized for the specified cache security group.
Members
AuthorizationNotFoundFault
[ ]
Description
The specified Amazon EC2 security group is not authorized for the specified cache security group.
Members
CacheClusterAlreadyExistsFault
[ ]
Description
You already have a cluster with the given identifier.
Members
CacheClusterNotFoundFault
[ ]
Description
The requested cluster ID does not refer to an existing cluster.
Members
CacheParameterGroupAlreadyExistsFault
[ ]
Description
A cache parameter group with the requested name already exists.
Members
CacheParameterGroupNotFoundFault
[ ]
Description
The requested cache parameter group name does not refer to an existing cache parameter group.
Members
CacheParameterGroupQuotaExceededFault
[ ]
Description
The request cannot be processed because it would exceed the maximum number of cache security groups.
Members
CacheSecurityGroupAlreadyExistsFault
[ ]
Description
A cache security group with the specified name already exists.
Members
CacheSecurityGroupNotFoundFault
[ ]
Description
The requested cache security group name does not refer to an existing cache security group.
Members
CacheSecurityGroupQuotaExceededFault
[ ]
Description
The request cannot be processed because it would exceed the allowed number of cache security groups.
Members
CacheSubnetGroupAlreadyExistsFault
[ ]
Description
The requested cache subnet group name is already in use by an existing cache subnet group.
Members
CacheSubnetGroupInUse
[ ]
Description
The requested cache subnet group is currently in use.
Members
CacheSubnetGroupNotFoundFault
[ ]
Description
The requested cache subnet group name does not refer to an existing cache subnet group.
Members
CacheSubnetGroupQuotaExceededFault
[ ]
Description
The request cannot be processed because it would exceed the allowed number of cache subnet groups.
Members
CacheSubnetQuotaExceededFault
[ ]
Description
The request cannot be processed because it would exceed the allowed number of subnets in a cache subnet group.
Members
ClusterQuotaForCustomerExceededFault
[ ]
Description
The request cannot be processed because it would exceed the allowed number of clusters per customer.
Members
DefaultUserAssociatedToUserGroupFault
[ ]
Description
The default user assigned to the user group.
Members
DefaultUserRequired
[ ]
Description
You must add default user to a user group.
Members
DuplicateUserNameFault
[ ]
Description
A user with this username already exists.
Members
GlobalReplicationGroupAlreadyExistsFault
[ ]
Description
The Global datastore name already exists.
Members
GlobalReplicationGroupNotFoundFault
[ ]
Description
The Global datastore does not exist
Members
InsufficientCacheClusterCapacityFault
[ ]
Description
The requested cache node type is not available in the specified Availability Zone. For more information, see InsufficientCacheClusterCapacity in the ElastiCache User Guide.
Members
InvalidARNFault
[ ]
Description
The requested Amazon Resource Name (ARN) does not refer to an existing resource.
Members
InvalidCacheClusterStateFault
[ ]
Description
The requested cluster is not in the available
state.
Members
InvalidCacheParameterGroupStateFault
[ ]
Description
The current state of the cache parameter group does not allow the requested operation to occur.
Members
InvalidCacheSecurityGroupStateFault
[ ]
Description
The current state of the cache security group does not allow deletion.
Members
InvalidGlobalReplicationGroupStateFault
[ ]
Description
The Global datastore is not available or in primary-only state.
Members
InvalidKMSKeyFault
[ ]
Description
The KMS key supplied is not valid.
Members
InvalidParameterCombinationException
[ 'message' => '<string>', ]
Description
Two or more incompatible parameters were specified.
Members
- message
-
- Type: string
Two or more parameters that must not be used together were used together.
InvalidParameterValueException
[ 'message' => '<string>', ]
Description
The value for a parameter is invalid.
Members
- message
-
- Type: string
A parameter value is invalid.
InvalidReplicationGroupStateFault
[ ]
Description
The requested replication group is not in the available
state.
Members
InvalidSnapshotStateFault
[ ]
Description
The current state of the snapshot does not allow the requested operation to occur.
Members
InvalidSubnet
[ ]
Description
An invalid subnet identifier was specified.
Members
InvalidUserGroupStateFault
[ ]
Description
The user group is not in an active state.
Members
InvalidUserStateFault
[ ]
Description
The user is not in active state.
Members
InvalidVPCNetworkStateFault
[ ]
Description
The VPC network is in an invalid state.
Members
NoOperationFault
[ ]
Description
The operation was not performed because no changes were required.
Members
NodeGroupNotFoundFault
[ ]
Description
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.
Members
NodeGroupsPerReplicationGroupQuotaExceededFault
[ ]
Description
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
Members
NodeQuotaForClusterExceededFault
[ ]
Description
The request cannot be processed because it would exceed the allowed number of cache nodes in a single cluster.
Members
NodeQuotaForCustomerExceededFault
[ ]
Description
The request cannot be processed because it would exceed the allowed number of cache nodes per customer.
Members
ReplicationGroupAlreadyExistsFault
[ ]
Description
The specified replication group already exists.
Members
ReplicationGroupAlreadyUnderMigrationFault
[ ]
Description
The targeted replication group is not available.
Members
ReplicationGroupNotFoundFault
[ ]
Description
The specified replication group does not exist.
Members
ReplicationGroupNotUnderMigrationFault
[ ]
Description
The designated replication group is not available for data migration.
Members
ReservedCacheNodeAlreadyExistsFault
[ ]
Description
You already have a reservation with the given identifier.
Members
ReservedCacheNodeNotFoundFault
[ ]
Description
The requested reserved cache node was not found.
Members
ReservedCacheNodeQuotaExceededFault
[ ]
Description
The request cannot be processed because it would exceed the user's cache node quota.
Members
ReservedCacheNodesOfferingNotFoundFault
[ ]
Description
The requested cache node offering does not exist.
Members
ServiceLinkedRoleNotFoundFault
[ ]
Description
The specified service linked role (SLR) was not found.
Members
ServiceUpdateNotFoundFault
[ ]
Description
The service update doesn't exist
Members
SnapshotAlreadyExistsFault
[ ]
Description
You already have a snapshot with the given name.
Members
SnapshotFeatureNotSupportedFault
[ ]
Description
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.
Members
SnapshotNotFoundFault
[ ]
Description
The requested snapshot name does not refer to an existing snapshot.
Members
SnapshotQuotaExceededFault
[ ]
Description
The request cannot be processed because it would exceed the maximum number of snapshots.
Members
SubnetInUse
[ ]
Description
The requested subnet is being used by another cache subnet group.
Members
SubnetNotAllowedFault
[ ]
Description
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.
Members
TagNotFoundFault
[ ]
Description
The requested tag was not found on this resource.
Members
TagQuotaPerResourceExceeded
[ ]
Description
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.
Members
TestFailoverNotAvailableFault
[ ]
Description
The TestFailover
action is not available.
Members
UserAlreadyExistsFault
[ ]
Description
A user with this ID already exists.
Members
UserGroupAlreadyExistsFault
[ ]
Description
The user group with this ID already exists.
Members
UserGroupNotFoundFault
[ ]
Description
The user group was not found or does not exist
Members
UserGroupQuotaExceededFault
[ ]
Description
The number of users exceeds the user group limit.
Members
UserNotFoundFault
[ ]
Description
The user does not exist or could not be found.
Members
UserQuotaExceededFault
[ ]
Description
The quota of users has been exceeded.