Enum rusoto_cognito_sync::GetCognitoEventsError [−][src]
pub enum GetCognitoEventsError { InternalError(String), InvalidParameter(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetCognitoEvents
Variants
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Thrown when a request parameter does not comply with the associated constraints.
NotAuthorized(String)
Thrown when a user is not authorized to access the requested resource.
ResourceNotFound(String)
Thrown if the resource doesn't exist.
TooManyRequests(String)
Thrown if the request is throttled.
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 GetCognitoEventsError
[src]
impl GetCognitoEventsError
pub fn from_body(body: &str) -> GetCognitoEventsError
[src]
pub fn from_body(body: &str) -> GetCognitoEventsError
Trait Implementations
impl Debug for GetCognitoEventsError
[src]
impl Debug for GetCognitoEventsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for GetCognitoEventsError
[src]
impl PartialEq for GetCognitoEventsError
fn eq(&self, other: &GetCognitoEventsError) -> bool
[src]
fn eq(&self, other: &GetCognitoEventsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetCognitoEventsError) -> bool
[src]
fn ne(&self, other: &GetCognitoEventsError) -> bool
This method tests for !=
.
impl From<Error> for GetCognitoEventsError
[src]
impl From<Error> for GetCognitoEventsError
fn from(err: Error) -> GetCognitoEventsError
[src]
fn from(err: Error) -> GetCognitoEventsError
Performs the conversion.
impl From<CredentialsError> for GetCognitoEventsError
[src]
impl From<CredentialsError> for GetCognitoEventsError
fn from(err: CredentialsError) -> GetCognitoEventsError
[src]
fn from(err: CredentialsError) -> GetCognitoEventsError
Performs the conversion.
impl From<HttpDispatchError> for GetCognitoEventsError
[src]
impl From<HttpDispatchError> for GetCognitoEventsError
fn from(err: HttpDispatchError) -> GetCognitoEventsError
[src]
fn from(err: HttpDispatchError) -> GetCognitoEventsError
Performs the conversion.
impl From<Error> for GetCognitoEventsError
[src]
impl From<Error> for GetCognitoEventsError
fn from(err: Error) -> GetCognitoEventsError
[src]
fn from(err: Error) -> GetCognitoEventsError
Performs the conversion.
impl Display for GetCognitoEventsError
[src]
impl Display for GetCognitoEventsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for GetCognitoEventsError
[src]
impl Error for GetCognitoEventsError
Auto Trait Implementations
impl Send for GetCognitoEventsError
impl Send for GetCognitoEventsError
impl Sync for GetCognitoEventsError
impl Sync for GetCognitoEventsError