Enum rusoto_cognito_idp::AdminDisableProviderForUserError [−][src]
pub enum AdminDisableProviderForUserError { AliasExists(String), InternalError(String), InvalidParameter(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), UserNotFound(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by AdminDisableProviderForUser
Variants
AliasExists(String)
This exception is thrown when a user tries to confirm the account with an email or phone number that has already been supplied as an alias from a different account. This exception tells user that an account with this email or phone already exists.
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.
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 AdminDisableProviderForUserError
[src]
impl AdminDisableProviderForUserError
pub fn from_body(body: &str) -> AdminDisableProviderForUserError
[src]
pub fn from_body(body: &str) -> AdminDisableProviderForUserError
Trait Implementations
impl Debug for AdminDisableProviderForUserError
[src]
impl Debug for AdminDisableProviderForUserError
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 AdminDisableProviderForUserError
[src]
impl PartialEq for AdminDisableProviderForUserError
fn eq(&self, other: &AdminDisableProviderForUserError) -> bool
[src]
fn eq(&self, other: &AdminDisableProviderForUserError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AdminDisableProviderForUserError) -> bool
[src]
fn ne(&self, other: &AdminDisableProviderForUserError) -> bool
This method tests for !=
.
impl From<Error> for AdminDisableProviderForUserError
[src]
impl From<Error> for AdminDisableProviderForUserError
fn from(err: Error) -> AdminDisableProviderForUserError
[src]
fn from(err: Error) -> AdminDisableProviderForUserError
Performs the conversion.
impl From<CredentialsError> for AdminDisableProviderForUserError
[src]
impl From<CredentialsError> for AdminDisableProviderForUserError
fn from(err: CredentialsError) -> AdminDisableProviderForUserError
[src]
fn from(err: CredentialsError) -> AdminDisableProviderForUserError
Performs the conversion.
impl From<HttpDispatchError> for AdminDisableProviderForUserError
[src]
impl From<HttpDispatchError> for AdminDisableProviderForUserError
fn from(err: HttpDispatchError) -> AdminDisableProviderForUserError
[src]
fn from(err: HttpDispatchError) -> AdminDisableProviderForUserError
Performs the conversion.
impl From<Error> for AdminDisableProviderForUserError
[src]
impl From<Error> for AdminDisableProviderForUserError
fn from(err: Error) -> AdminDisableProviderForUserError
[src]
fn from(err: Error) -> AdminDisableProviderForUserError
Performs the conversion.
impl Display for AdminDisableProviderForUserError
[src]
impl Display for AdminDisableProviderForUserError
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 AdminDisableProviderForUserError
[src]
impl Error for AdminDisableProviderForUserError
Auto Trait Implementations
impl Send for AdminDisableProviderForUserError
impl Send for AdminDisableProviderForUserError
impl Sync for AdminDisableProviderForUserError
impl Sync for AdminDisableProviderForUserError