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