ServiceError
¶
ServiceError(
fault: Literal["client", "server"],
*,
is_throttling_error: bool,
is_retryable: bool,
code: str | None = None,
message: str | None = None,
response: Response,
)
Bases: ElastiCacheError
Base class for all modeled service errors.
Parameters:
-
fault(Literal['client', 'server']) –"client"or"server". -
is_throttling_error(bool) –Whether this error is a throttling error.
-
is_retryable(bool) –Whether this error is retryable.
-
code(str | None, default:None) –The wire error code, or
None. -
message(str | None, default:None) –The error message, or
None. -
response(Response) –The HTTP response the error was read from.
Subclassed by
-
Errors
-
APICallRateForCustomerExceededFault -
AuthorizationAlreadyExistsFault -
AuthorizationNotFoundFault -
CacheClusterAlreadyExistsFault -
CacheClusterNotFoundFault -
CacheParameterGroupAlreadyExistsFault -
CacheParameterGroupNotFoundFault -
CacheParameterGroupQuotaExceededFault -
CacheSecurityGroupAlreadyExistsFault -
CacheSecurityGroupNotFoundFault -
CacheSecurityGroupQuotaExceededFault -
CacheSubnetGroupAlreadyExistsFault -
CacheSubnetGroupInUse -
CacheSubnetGroupNotFoundFault -
CacheSubnetGroupQuotaExceededFault -
CacheSubnetQuotaExceededFault -
ClusterQuotaForCustomerExceededFault -
DefaultUserAssociatedToUserGroupFault -
DefaultUserRequired -
DuplicateUserNameFault -
GlobalReplicationGroupAlreadyExistsFault -
GlobalReplicationGroupNotFoundFault -
InsufficientCacheClusterCapacityFault -
InvalidARNFault -
InvalidCacheClusterStateFault -
InvalidCacheParameterGroupStateFault -
InvalidCacheSecurityGroupStateFault -
InvalidCredentialsException -
InvalidGlobalReplicationGroupStateFault -
InvalidKMSKeyFault -
InvalidParameterCombinationException -
InvalidParameterValueException -
InvalidReplicationGroupStateFault -
InvalidServerlessCacheSnapshotStateFault -
InvalidServerlessCacheStateFault -
InvalidSnapshotStateFault -
InvalidSubnet -
InvalidUserGroupStateFault -
InvalidUserStateFault -
InvalidVPCNetworkStateFault -
NoOperationFault -
NodeGroupNotFoundFault -
NodeGroupsPerReplicationGroupQuotaExceededFault -
NodeQuotaForClusterExceededFault -
NodeQuotaForCustomerExceededFault -
ReplicationGroupAlreadyExistsFault -
ReplicationGroupAlreadyUnderMigrationFault -
ReplicationGroupNotFoundFault -
ReplicationGroupNotUnderMigrationFault -
ReservedCacheNodeAlreadyExistsFault -
ReservedCacheNodeNotFoundFault -
ReservedCacheNodeQuotaExceededFault -
ReservedCacheNodesOfferingNotFoundFault -
ServerlessCacheAlreadyExistsFault -
ServerlessCacheNotFoundFault -
ServerlessCacheQuotaForCustomerExceededFault -
ServerlessCacheSnapshotAlreadyExistsFault -
ServerlessCacheSnapshotNotFoundFault -
ServerlessCacheSnapshotQuotaExceededFault -
ServiceLinkedRoleNotFoundFault -
ServiceUpdateNotFoundFault -
SnapshotAlreadyExistsFault -
SnapshotFeatureNotSupportedFault -
SnapshotNotFoundFault -
SnapshotQuotaExceededFault -
SubnetInUse -
SubnetNotAllowedFault -
TagNotFoundFault -
TagQuotaPerResourceExceeded -
TestFailoverNotAvailableFault -
UnknownServiceError -
UserAlreadyExistsFault -
UserGroupAlreadyExistsFault -
UserGroupNotFoundFault -
UserGroupQuotaExceededFault -
UserNotFoundFault -
UserQuotaExceededFault
-