Enum aws_sdk_cognitoidentity::error::GetOpenIdTokenErrorKind [−][src]
#[non_exhaustive]
pub enum GetOpenIdTokenErrorKind {
ExternalServiceException(ExternalServiceException),
InternalErrorException(InternalErrorException),
InvalidParameterException(InvalidParameterException),
NotAuthorizedException(NotAuthorizedException),
ResourceConflictException(ResourceConflictException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyRequestsException(TooManyRequestsException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the GetOpenIdToken operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ExternalServiceException(ExternalServiceException)
Tuple Fields
An exception thrown when a dependent service such as Facebook or Twitter is not responding
InternalErrorException(InternalErrorException)
Tuple Fields
Thrown when the service encounters an error during processing the request.
InvalidParameterException(InvalidParameterException)
Tuple Fields
Thrown for missing or bad input parameter(s).
NotAuthorizedException(NotAuthorizedException)
Tuple Fields
Thrown when a user is not authorized to access the requested resource.
ResourceConflictException(ResourceConflictException)
Tuple Fields
Thrown when a user tries to use a login which is already linked to another account.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
Thrown when the requested resource (for example, a dataset or record) does not exist.
TooManyRequestsException(TooManyRequestsException)
Tuple Fields
Thrown when a request is throttled.
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 GetOpenIdTokenErrorKind
impl Send for GetOpenIdTokenErrorKind
impl Sync for GetOpenIdTokenErrorKind
impl Unpin for GetOpenIdTokenErrorKind
impl !UnwindSafe for GetOpenIdTokenErrorKind
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