ServiceError
¶
ServiceError(
fault: Literal["client", "server"],
*,
is_throttling_error: bool,
is_retryable: bool,
code: str | None = None,
message: str | None = None,
response: Response,
)
Bases: CognitoIdentityProviderError
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
-
AccessDeniedException -
AliasExistsException -
CodeDeliveryFailureException -
CodeMismatchException -
ConcurrentModificationException -
DeviceKeyExistsException -
DuplicateProviderException -
EnableSoftwareTokenMFAException -
ExpiredCodeException -
FeatureUnavailableInTierException -
ForbiddenException -
GroupExistsException -
InternalErrorException -
InternalServerException -
InvalidEmailRoleAccessPolicyException -
InvalidLambdaResponseException -
InvalidOAuthFlowException -
InvalidParameterException -
InvalidPasswordException -
InvalidSmsRoleAccessPolicyException -
InvalidSmsRoleTrustRelationshipException -
InvalidUserPoolConfigurationException -
LimitExceededException -
MFAMethodNotFoundException -
ManagedLoginBrandingExistsException -
NotAuthorizedException -
OperationNotEnabledException -
PasswordHistoryPolicyViolationException -
PasswordResetRequiredException -
PreconditionNotMetException -
RefreshTokenReuseException -
ResourceNotFoundException -
ScopeDoesNotExistException -
ServiceQuotaExceededException -
SoftwareTokenMFANotFoundException -
TermsExistsException -
TierChangeNotAllowedException -
TooManyFailedAttemptsException -
TooManyRequestsException -
UnauthorizedException -
UnexpectedLambdaException -
UnknownServiceError -
UnsupportedIdentityProviderException -
UnsupportedOperationException -
UnsupportedTokenTypeException -
UnsupportedUserStateException -
UserImportInProgressException -
UserLambdaValidationException -
UserNotConfirmedException -
UserNotFoundException -
UserPoolAddOnNotEnabledException -
UserPoolTaggingException -
UsernameExistsException -
WebAuthnChallengeNotFoundException -
WebAuthnClientMismatchException -
WebAuthnConfigurationMissingException -
WebAuthnCredentialNotSupportedException -
WebAuthnNotEnabledException -
WebAuthnOriginNotAllowedException -
WebAuthnRelyingPartyMismatchException
-