#[non_exhaustive]
pub enum LookupEventsErrorKind {
InvalidEventCategoryException(InvalidEventCategoryException),
InvalidLookupAttributesException(InvalidLookupAttributesException),
InvalidMaxResultsException(InvalidMaxResultsException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidTimeRangeException(InvalidTimeRangeException),
OperationNotPermittedException(OperationNotPermittedException),
UnsupportedOperationException(UnsupportedOperationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the LookupEvents
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidEventCategoryException(InvalidEventCategoryException)
Occurs if an event category that is not valid is specified as a value of EventCategory
.
InvalidLookupAttributesException(InvalidLookupAttributesException)
Occurs when a lookup attribute is specified that is not valid.
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.
InvalidTimeRangeException(InvalidTimeRangeException)
Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.
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 LookupEventsErrorKind
impl Send for LookupEventsErrorKind
impl Sync for LookupEventsErrorKind
impl Unpin for LookupEventsErrorKind
impl !UnwindSafe for LookupEventsErrorKind
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