#[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
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.

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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