Enum rusoto_cognito_idp::GetDeviceError [−][src]
pub enum GetDeviceError { InternalError(String), InvalidParameter(String), InvalidUserPoolConfiguration(String), NotAuthorized(String), PasswordResetRequired(String), ResourceNotFound(String), TooManyRequests(String), UserNotConfirmed(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by GetDevice
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.
InvalidUserPoolConfiguration(String)
This exception is thrown when the user pool configuration is invalid.
NotAuthorized(String)
This exception is thrown when a user is not authorized.
PasswordResetRequired(String)
This exception is thrown when a password reset is required.
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.
UserNotConfirmed(String)
This exception is thrown when a user is not confirmed successfully.
UserNotFound(String)
This exception is thrown when a user is not found.
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 GetDeviceError
[src]
impl GetDeviceError
pub fn from_body(body: &str) -> GetDeviceError
[src]
pub fn from_body(body: &str) -> GetDeviceError
Trait Implementations
impl Debug for GetDeviceError
[src]
impl Debug for GetDeviceError
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 GetDeviceError
[src]
impl PartialEq for GetDeviceError
fn eq(&self, other: &GetDeviceError) -> bool
[src]
fn eq(&self, other: &GetDeviceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetDeviceError) -> bool
[src]
fn ne(&self, other: &GetDeviceError) -> bool
This method tests for !=
.
impl From<Error> for GetDeviceError
[src]
impl From<Error> for GetDeviceError
fn from(err: Error) -> GetDeviceError
[src]
fn from(err: Error) -> GetDeviceError
Performs the conversion.
impl From<CredentialsError> for GetDeviceError
[src]
impl From<CredentialsError> for GetDeviceError
fn from(err: CredentialsError) -> GetDeviceError
[src]
fn from(err: CredentialsError) -> GetDeviceError
Performs the conversion.
impl From<HttpDispatchError> for GetDeviceError
[src]
impl From<HttpDispatchError> for GetDeviceError
fn from(err: HttpDispatchError) -> GetDeviceError
[src]
fn from(err: HttpDispatchError) -> GetDeviceError
Performs the conversion.
impl From<Error> for GetDeviceError
[src]
impl From<Error> for GetDeviceError
fn from(err: Error) -> GetDeviceError
[src]
fn from(err: Error) -> GetDeviceError
Performs the conversion.
impl Display for GetDeviceError
[src]
impl Display for GetDeviceError
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 GetDeviceError
[src]
impl Error for GetDeviceError
Auto Trait Implementations
impl Send for GetDeviceError
impl Send for GetDeviceError
impl Sync for GetDeviceError
impl Sync for GetDeviceError