Enum rusoto_cognito_idp::AdminForgetDeviceError [−][src]
pub enum AdminForgetDeviceError { InternalError(String), InvalidParameter(String), InvalidUserPoolConfiguration(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AdminForgetDevice
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.
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.
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 AdminForgetDeviceError
[src]
impl AdminForgetDeviceError
pub fn from_body(body: &str) -> AdminForgetDeviceError
[src]
pub fn from_body(body: &str) -> AdminForgetDeviceError
Trait Implementations
impl Debug for AdminForgetDeviceError
[src]
impl Debug for AdminForgetDeviceError
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 AdminForgetDeviceError
[src]
impl PartialEq for AdminForgetDeviceError
fn eq(&self, other: &AdminForgetDeviceError) -> bool
[src]
fn eq(&self, other: &AdminForgetDeviceError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AdminForgetDeviceError) -> bool
[src]
fn ne(&self, other: &AdminForgetDeviceError) -> bool
This method tests for !=
.
impl From<Error> for AdminForgetDeviceError
[src]
impl From<Error> for AdminForgetDeviceError
fn from(err: Error) -> AdminForgetDeviceError
[src]
fn from(err: Error) -> AdminForgetDeviceError
Performs the conversion.
impl From<CredentialsError> for AdminForgetDeviceError
[src]
impl From<CredentialsError> for AdminForgetDeviceError
fn from(err: CredentialsError) -> AdminForgetDeviceError
[src]
fn from(err: CredentialsError) -> AdminForgetDeviceError
Performs the conversion.
impl From<HttpDispatchError> for AdminForgetDeviceError
[src]
impl From<HttpDispatchError> for AdminForgetDeviceError
fn from(err: HttpDispatchError) -> AdminForgetDeviceError
[src]
fn from(err: HttpDispatchError) -> AdminForgetDeviceError
Performs the conversion.
impl From<Error> for AdminForgetDeviceError
[src]
impl From<Error> for AdminForgetDeviceError
fn from(err: Error) -> AdminForgetDeviceError
[src]
fn from(err: Error) -> AdminForgetDeviceError
Performs the conversion.
impl Display for AdminForgetDeviceError
[src]
impl Display for AdminForgetDeviceError
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 AdminForgetDeviceError
[src]
impl Error for AdminForgetDeviceError
Auto Trait Implementations
impl Send for AdminForgetDeviceError
impl Send for AdminForgetDeviceError
impl Sync for AdminForgetDeviceError
impl Sync for AdminForgetDeviceError