pub enum LookupEventsError {
InvalidEventCategory(String),
InvalidLookupAttributes(String),
InvalidMaxResults(String),
InvalidNextToken(String),
InvalidTimeRange(String),
OperationNotPermitted(String),
UnsupportedOperation(String),
}Expand description
Errors returned by LookupEvents
Variants§
InvalidEventCategory(String)
Occurs if an event category that is not valid is specified as a value of EventCategory.
InvalidLookupAttributes(String)
Occurs when an invalid lookup attribute is specified.
InvalidMaxResults(String)
This exception is thrown if the limit specified is invalid.
InvalidNextToken(String)
Invalid token or token that was previously used in a request with different parameters. This exception is thrown if the token is invalid.
InvalidTimeRange(String)
Occurs if the timestamp values are invalid. Either the start time occurs after the end time or the time range is outside the range of possible values.
OperationNotPermitted(String)
This exception is thrown when the requested operation is not permitted.
UnsupportedOperation(String)
This exception is thrown when the requested operation is not supported.
Implementations§
Source§impl LookupEventsError
impl LookupEventsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<LookupEventsError>
Trait Implementations§
Source§impl Debug for LookupEventsError
impl Debug for LookupEventsError
Source§impl Display for LookupEventsError
impl Display for LookupEventsError
Source§impl Error for LookupEventsError
impl Error for LookupEventsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for LookupEventsError
impl PartialEq for LookupEventsError
impl StructuralPartialEq for LookupEventsError
Auto Trait Implementations§
impl Freeze for LookupEventsError
impl RefUnwindSafe for LookupEventsError
impl Send for LookupEventsError
impl Sync for LookupEventsError
impl Unpin for LookupEventsError
impl UnwindSafe for LookupEventsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more