Enum rusoto_cognito_idp::SetUserPoolMfaConfigError[][src]

pub enum SetUserPoolMfaConfigError {
    InternalError(String),
    InvalidParameter(String),
    InvalidSmsRoleAccessPolicy(String),
    InvalidSmsRoleTrustRelationship(String),
    NotAuthorized(String),
    ResourceNotFound(String),
    TooManyRequests(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by SetUserPoolMfaConfig

Variants

This exception is thrown when Amazon Cognito encounters an internal error.

This exception is thrown when the Amazon Cognito service encounters an invalid parameter.

This exception is returned when the role provided for SMS configuration does not have permission to publish using Amazon SNS.

This exception is thrown when the trust relationship is invalid for the role provided for SMS configuration. This can happen if you do not trust cognito-idp.amazonaws.com or the external ID provided in the role does not match what is provided in the SMS configuration for the user pool.

This exception is thrown when a user is not authorized.

This exception is thrown when the Amazon Cognito service cannot find the requested resource.

This exception is thrown when the user has made too many requests for a given operation.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl SetUserPoolMfaConfigError
[src]

Trait Implementations

impl Debug for SetUserPoolMfaConfigError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SetUserPoolMfaConfigError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for SetUserPoolMfaConfigError
[src]

Performs the conversion.

impl From<CredentialsError> for SetUserPoolMfaConfigError
[src]

Performs the conversion.

impl From<HttpDispatchError> for SetUserPoolMfaConfigError
[src]

Performs the conversion.

impl From<Error> for SetUserPoolMfaConfigError
[src]

Performs the conversion.

impl Display for SetUserPoolMfaConfigError
[src]

Formats the value using the given formatter. Read more

impl Error for SetUserPoolMfaConfigError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations