#[non_exhaustive]
pub enum ListStoredQueriesErrorKind {
InvalidNextTokenException(InvalidNextTokenException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the ListStoredQueries operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidNextTokenException(InvalidNextTokenException)
The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.
ValidationException(ValidationException)
The requested action is not valid.
For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.
For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.
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 ListStoredQueriesErrorKind
impl Send for ListStoredQueriesErrorKind
impl Sync for ListStoredQueriesErrorKind
impl Unpin for ListStoredQueriesErrorKind
impl !UnwindSafe for ListStoredQueriesErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more