Enum aws_sdk_ssooidc::error::CreateTokenErrorKind [−][src]
#[non_exhaustive]
pub enum CreateTokenErrorKind {
AccessDeniedException(AccessDeniedException),
AuthorizationPendingException(AuthorizationPendingException),
ExpiredTokenException(ExpiredTokenException),
InternalServerException(InternalServerException),
InvalidClientException(InvalidClientException),
InvalidGrantException(InvalidGrantException),
InvalidRequestException(InvalidRequestException),
InvalidScopeException(InvalidScopeException),
SlowDownException(SlowDownException),
UnauthorizedClientException(UnauthorizedClientException),
UnsupportedGrantTypeException(UnsupportedGrantTypeException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateToken
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Tuple Fields
You do not have sufficient access to perform this action.
AuthorizationPendingException(AuthorizationPendingException)
Tuple Fields
Indicates that a request to authorize a client with an access user session token is pending.
ExpiredTokenException(ExpiredTokenException)
Tuple Fields
Indicates that the token issued by the service is expired and is no longer valid.
InternalServerException(InternalServerException)
Tuple Fields
Indicates that an error from the service occurred while trying to process a request.
InvalidClientException(InvalidClientException)
Tuple Fields
Indicates that the clientId
or clientSecret
in the request is invalid. For example, this can occur when a client sends an incorrect clientId
or an expired clientSecret
.
InvalidGrantException(InvalidGrantException)
Tuple Fields
Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken
request with an invalid grant type.
InvalidRequestException(InvalidRequestException)
Tuple Fields
Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.
InvalidScopeException(InvalidScopeException)
Tuple Fields
Indicates that the scope provided in the request is invalid.
SlowDownException(SlowDownException)
Tuple Fields
Indicates that the client is making the request too frequently and is more than the service can handle.
UnauthorizedClientException(UnauthorizedClientException)
Tuple Fields
Indicates that the client is not currently authorized to make the request. This can happen when a clientId
is not issued for a public client.
UnsupportedGrantTypeException(UnsupportedGrantTypeException)
Tuple Fields
Indicates that the grant type in the request is not supported by the service.
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 CreateTokenErrorKind
impl Send for CreateTokenErrorKind
impl Sync for CreateTokenErrorKind
impl Unpin for CreateTokenErrorKind
impl !UnwindSafe for CreateTokenErrorKind
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