#[non_exhaustive]pub struct UpdateBackendAuthUserPoolConfig {
pub forgot_password: Option<UpdateBackendAuthForgotPasswordConfig>,
pub mfa: Option<UpdateBackendAuthMfaConfig>,
pub o_auth: Option<UpdateBackendAuthOAuthConfig>,
pub password_policy: Option<UpdateBackendAuthPasswordPolicyConfig>,
pub verification_message: Option<UpdateBackendAuthVerificationMessageConfig>,
}
Expand description
Describes the Amazon Cognito user pool configuration for the authorization resource to be configured for your Amplify project on an update.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.forgot_password: Option<UpdateBackendAuthForgotPasswordConfig>
(DEPRECATED) Describes the forgot password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
mfa: Option<UpdateBackendAuthMfaConfig>
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
o_auth: Option<UpdateBackendAuthOAuthConfig>
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
password_policy: Option<UpdateBackendAuthPasswordPolicyConfig>
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
verification_message: Option<UpdateBackendAuthVerificationMessageConfig>
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
Implementations§
source§impl UpdateBackendAuthUserPoolConfig
impl UpdateBackendAuthUserPoolConfig
sourcepub fn forgot_password(&self) -> Option<&UpdateBackendAuthForgotPasswordConfig>
pub fn forgot_password(&self) -> Option<&UpdateBackendAuthForgotPasswordConfig>
(DEPRECATED) Describes the forgot password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn mfa(&self) -> Option<&UpdateBackendAuthMfaConfig>
pub fn mfa(&self) -> Option<&UpdateBackendAuthMfaConfig>
Describes whether to apply multi-factor authentication policies for your Amazon Cognito user pool configured as a part of your Amplify project.
sourcepub fn o_auth(&self) -> Option<&UpdateBackendAuthOAuthConfig>
pub fn o_auth(&self) -> Option<&UpdateBackendAuthOAuthConfig>
Describes the OAuth policy and rules for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn password_policy(&self) -> Option<&UpdateBackendAuthPasswordPolicyConfig>
pub fn password_policy(&self) -> Option<&UpdateBackendAuthPasswordPolicyConfig>
Describes the password policy for your Amazon Cognito user pool, configured as a part of your Amplify project.
sourcepub fn verification_message(
&self
) -> Option<&UpdateBackendAuthVerificationMessageConfig>
pub fn verification_message( &self ) -> Option<&UpdateBackendAuthVerificationMessageConfig>
Describes the email or SMS verification message for your Amazon Cognito user pool, configured as a part of your Amplify project.
source§impl UpdateBackendAuthUserPoolConfig
impl UpdateBackendAuthUserPoolConfig
sourcepub fn builder() -> UpdateBackendAuthUserPoolConfigBuilder
pub fn builder() -> UpdateBackendAuthUserPoolConfigBuilder
Creates a new builder-style object to manufacture UpdateBackendAuthUserPoolConfig
.
Trait Implementations§
source§impl Clone for UpdateBackendAuthUserPoolConfig
impl Clone for UpdateBackendAuthUserPoolConfig
source§fn clone(&self) -> UpdateBackendAuthUserPoolConfig
fn clone(&self) -> UpdateBackendAuthUserPoolConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateBackendAuthUserPoolConfig
impl PartialEq for UpdateBackendAuthUserPoolConfig
source§fn eq(&self, other: &UpdateBackendAuthUserPoolConfig) -> bool
fn eq(&self, other: &UpdateBackendAuthUserPoolConfig) -> bool
self
and other
values to be equal, and is used
by ==
.