Enum aws_sdk_cognitoidentityprovider::error::RevokeTokenErrorKind [−][src]
#[non_exhaustive]
pub enum RevokeTokenErrorKind {
InternalErrorException(InternalErrorException),
InvalidParameterException(InvalidParameterException),
TooManyRequestsException(TooManyRequestsException),
UnauthorizedException(UnauthorizedException),
UnsupportedOperationException(UnsupportedOperationException),
UnsupportedTokenTypeException(UnsupportedTokenTypeException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the RevokeToken
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InternalErrorException(InternalErrorException)
Tuple Fields
This exception is thrown when Amazon Cognito encounters an internal error.
InvalidParameterException(InvalidParameterException)
Tuple Fields
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
TooManyRequestsException(TooManyRequestsException)
Tuple Fields
This exception is thrown when the user has made too many requests for a given operation.
UnauthorizedException(UnauthorizedException)
Tuple Fields
This exception is thrown when the request is not authorized. This can happen due to an invalid access token in the request.
UnsupportedOperationException(UnsupportedOperationException)
Tuple Fields
This exception is thrown when you attempt to perform an operation that is not enabled for the user pool client.
UnsupportedTokenTypeException(UnsupportedTokenTypeException)
Tuple Fields
This exception is thrown when an unsupported token is passed to an operation.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RevokeTokenErrorKind
impl Send for RevokeTokenErrorKind
impl Sync for RevokeTokenErrorKind
impl Unpin for RevokeTokenErrorKind
impl !UnwindSafe for RevokeTokenErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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