#[non_exhaustive]
pub enum StartQueryErrorKind {
EventDataStoreArnInvalidException(EventDataStoreArnInvalidException),
EventDataStoreNotFoundException(EventDataStoreNotFoundException),
InactiveEventDataStoreException(InactiveEventDataStoreException),
InvalidParameterException(InvalidParameterException),
InvalidQueryStatementException(InvalidQueryStatementException),
MaxConcurrentQueriesException(MaxConcurrentQueriesException),
OperationNotPermittedException(OperationNotPermittedException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the StartQuery
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.
InvalidParameterException(InvalidParameterException)
The request includes a parameter that is not valid.
InvalidQueryStatementException(InvalidQueryStatementException)
The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.
MaxConcurrentQueriesException(MaxConcurrentQueriesException)
You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then run the query again.
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 StartQueryErrorKind
impl Send for StartQueryErrorKind
impl Sync for StartQueryErrorKind
impl Unpin for StartQueryErrorKind
impl !UnwindSafe for StartQueryErrorKind
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