Enum rusoto_cognito_idp::SetRiskConfigurationError [−][src]
pub enum SetRiskConfigurationError { CodeDeliveryFailure(String), InternalError(String), InvalidEmailRoleAccessPolicy(String), InvalidParameter(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), UserPoolAddOnNotEnabled(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SetRiskConfiguration
Variants
CodeDeliveryFailure(String)
This exception is thrown when a verification code fails to deliver successfully.
InternalError(String)
This exception is thrown when Amazon Cognito encounters an internal error.
InvalidEmailRoleAccessPolicy(String)
This exception is thrown when Amazon Cognito is not allowed to use your email identity. HTTP status code: 400.
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.
UserPoolAddOnNotEnabled(String)
This exception is thrown when user pool add-ons are not enabled.
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 SetRiskConfigurationError
[src]
impl SetRiskConfigurationError
pub fn from_body(body: &str) -> SetRiskConfigurationError
[src]
pub fn from_body(body: &str) -> SetRiskConfigurationError
Trait Implementations
impl Debug for SetRiskConfigurationError
[src]
impl Debug for SetRiskConfigurationError
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 SetRiskConfigurationError
[src]
impl PartialEq for SetRiskConfigurationError
fn eq(&self, other: &SetRiskConfigurationError) -> bool
[src]
fn eq(&self, other: &SetRiskConfigurationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetRiskConfigurationError) -> bool
[src]
fn ne(&self, other: &SetRiskConfigurationError) -> bool
This method tests for !=
.
impl From<Error> for SetRiskConfigurationError
[src]
impl From<Error> for SetRiskConfigurationError
fn from(err: Error) -> SetRiskConfigurationError
[src]
fn from(err: Error) -> SetRiskConfigurationError
Performs the conversion.
impl From<CredentialsError> for SetRiskConfigurationError
[src]
impl From<CredentialsError> for SetRiskConfigurationError
fn from(err: CredentialsError) -> SetRiskConfigurationError
[src]
fn from(err: CredentialsError) -> SetRiskConfigurationError
Performs the conversion.
impl From<HttpDispatchError> for SetRiskConfigurationError
[src]
impl From<HttpDispatchError> for SetRiskConfigurationError
fn from(err: HttpDispatchError) -> SetRiskConfigurationError
[src]
fn from(err: HttpDispatchError) -> SetRiskConfigurationError
Performs the conversion.
impl From<Error> for SetRiskConfigurationError
[src]
impl From<Error> for SetRiskConfigurationError
fn from(err: Error) -> SetRiskConfigurationError
[src]
fn from(err: Error) -> SetRiskConfigurationError
Performs the conversion.
impl Display for SetRiskConfigurationError
[src]
impl Display for SetRiskConfigurationError
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 SetRiskConfigurationError
[src]
impl Error for SetRiskConfigurationError
Auto Trait Implementations
impl Send for SetRiskConfigurationError
impl Send for SetRiskConfigurationError
impl Sync for SetRiskConfigurationError
impl Sync for SetRiskConfigurationError