Enum rusoto_cognito_idp::ListUsersError [−][src]
pub enum ListUsersError { InternalError(String), InvalidParameter(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by ListUsers
Variants
InternalError(String)
This exception is thrown when Amazon Cognito encounters an internal error.
InvalidParameter(String)
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
NotAuthorized(String)
This exception is thrown when a user is not authorized.
ResourceNotFound(String)
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
TooManyRequests(String)
This exception is thrown when the user has made too many requests for a given operation.
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 ListUsersError
[src]
impl ListUsersError
pub fn from_body(body: &str) -> ListUsersError
[src]
pub fn from_body(body: &str) -> ListUsersError
Trait Implementations
impl Debug for ListUsersError
[src]
impl Debug for ListUsersError
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 ListUsersError
[src]
impl PartialEq for ListUsersError
fn eq(&self, other: &ListUsersError) -> bool
[src]
fn eq(&self, other: &ListUsersError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ListUsersError) -> bool
[src]
fn ne(&self, other: &ListUsersError) -> bool
This method tests for !=
.
impl From<Error> for ListUsersError
[src]
impl From<Error> for ListUsersError
fn from(err: Error) -> ListUsersError
[src]
fn from(err: Error) -> ListUsersError
Performs the conversion.
impl From<CredentialsError> for ListUsersError
[src]
impl From<CredentialsError> for ListUsersError
fn from(err: CredentialsError) -> ListUsersError
[src]
fn from(err: CredentialsError) -> ListUsersError
Performs the conversion.
impl From<HttpDispatchError> for ListUsersError
[src]
impl From<HttpDispatchError> for ListUsersError
fn from(err: HttpDispatchError) -> ListUsersError
[src]
fn from(err: HttpDispatchError) -> ListUsersError
Performs the conversion.
impl From<Error> for ListUsersError
[src]
impl From<Error> for ListUsersError
fn from(err: Error) -> ListUsersError
[src]
fn from(err: Error) -> ListUsersError
Performs the conversion.
impl Display for ListUsersError
[src]
impl Display for ListUsersError
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 ListUsersError
[src]
impl Error for ListUsersError
Auto Trait Implementations
impl Send for ListUsersError
impl Send for ListUsersError
impl Sync for ListUsersError
impl Sync for ListUsersError