Enum rusoto_cloudtrail::LookupEventsError
[−]
[src]
pub enum LookupEventsError { InvalidLookupAttributes(String), InvalidMaxResults(String), InvalidNextToken(String), InvalidTimeRange(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by LookupEvents
Variants
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.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl LookupEventsError
[src]
pub fn from_body(body: &str) -> LookupEventsError
[src]
Trait Implementations
impl Debug for LookupEventsError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for LookupEventsError
[src]
fn eq(&self, __arg_0: &LookupEventsError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LookupEventsError) -> bool
[src]
This method tests for !=
.
impl From<Error> for LookupEventsError
[src]
fn from(err: Error) -> LookupEventsError
[src]
Performs the conversion.
impl From<CredentialsError> for LookupEventsError
[src]
fn from(err: CredentialsError) -> LookupEventsError
[src]
Performs the conversion.
impl From<HttpDispatchError> for LookupEventsError
[src]
fn from(err: HttpDispatchError) -> LookupEventsError
[src]
Performs the conversion.
impl From<Error> for LookupEventsError
[src]
fn from(err: Error) -> LookupEventsError
[src]
Performs the conversion.
impl Display for LookupEventsError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more