#[non_exhaustive]
pub enum CreateTokenErrorKind {
AccessDeniedException(AccessDeniedException),
AuthorizationException(AuthorizationException),
RateLimitExceededException(RateLimitExceededException),
RedirectException(RedirectException),
ResourceLimitExceededException(ResourceLimitExceededException),
ResourceNotFoundException(ResourceNotFoundException),
ServerInternalException(ServerInternalException),
ValidationException(ValidationException),
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)
Access to resource denied.
AuthorizationException(AuthorizationException)
The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
RateLimitExceededException(RateLimitExceededException)
Too many requests have been submitted. Try again after a brief wait.
RedirectException(RedirectException)
This is not the correct Region for the resource. Try again.
ResourceLimitExceededException(ResourceLimitExceededException)
Your resource limits have been exceeded.
ResourceNotFoundException(ResourceNotFoundException)
The resource cannot be found.
ServerInternalException(ServerInternalException)
The server experienced an internal error. Try again.
ValidationException(ValidationException)
The provided input is not valid. Try your request again.
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