#[non_exhaustive]
pub enum ListQueriesErrorKind {
EventDataStoreArnInvalidException(EventDataStoreArnInvalidException),
EventDataStoreNotFoundException(EventDataStoreNotFoundException),
InactiveEventDataStoreException(InactiveEventDataStoreException),
InvalidDateRangeException(InvalidDateRangeException),
InvalidMaxResultsException(InvalidMaxResultsException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidParameterException(InvalidParameterException),
InvalidQueryStatusException(InvalidQueryStatusException),
OperationNotPermittedException(OperationNotPermittedException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the ListQueries
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
EventDataStoreArnInvalidException(EventDataStoreArnInvalidException)
The specified event data store ARN is not valid or does not map to an event data store in your account.
EventDataStoreNotFoundException(EventDataStoreNotFoundException)
The specified event data store was not found.
InactiveEventDataStoreException(InactiveEventDataStoreException)
The event data store against which you ran your query is inactive.
InvalidDateRangeException(InvalidDateRangeException)
A date range for the query was specified that is not valid. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.
InvalidMaxResultsException(InvalidMaxResultsException)
This exception is thrown if the limit specified is not valid.
InvalidNextTokenException(InvalidNextTokenException)
A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
InvalidParameterException(InvalidParameterException)
The request includes a parameter that is not valid.
InvalidQueryStatusException(InvalidQueryStatusException)
The query status is not valid for the operation.
OperationNotPermittedException(OperationNotPermittedException)
This exception is thrown when the requested operation is not permitted.
UnsupportedOperationException(UnsupportedOperationException)
This exception is thrown when the requested operation is not supported.
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 ListQueriesErrorKind
impl Send for ListQueriesErrorKind
impl Sync for ListQueriesErrorKind
impl Unpin for ListQueriesErrorKind
impl !UnwindSafe for ListQueriesErrorKind
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