Struct aws_sdk_cognitoidentityprovider::operation::set_risk_configuration::SetRiskConfigurationInput
source · #[non_exhaustive]pub struct SetRiskConfigurationInput {
pub user_pool_id: Option<String>,
pub client_id: Option<String>,
pub compromised_credentials_risk_configuration: Option<CompromisedCredentialsRiskConfigurationType>,
pub account_takeover_risk_configuration: Option<AccountTakeoverRiskConfigurationType>,
pub risk_exception_configuration: Option<RiskExceptionConfigurationType>,
}
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.user_pool_id: Option<String>
The user pool ID.
client_id: Option<String>
The app client ID. If ClientId
is null, then the risk configuration is mapped to userPoolId
. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.
Otherwise, ClientId
is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.
compromised_credentials_risk_configuration: Option<CompromisedCredentialsRiskConfigurationType>
The compromised credentials risk configuration.
account_takeover_risk_configuration: Option<AccountTakeoverRiskConfigurationType>
The account takeover risk configuration.
risk_exception_configuration: Option<RiskExceptionConfigurationType>
The configuration to override the risk decision.
Implementations§
source§impl SetRiskConfigurationInput
impl SetRiskConfigurationInput
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID.
sourcepub fn client_id(&self) -> Option<&str>
pub fn client_id(&self) -> Option<&str>
The app client ID. If ClientId
is null, then the risk configuration is mapped to userPoolId
. When the client ID is null, the same risk configuration is applied to all the clients in the userPool.
Otherwise, ClientId
is mapped to the client. When the client ID isn't null, the user pool configuration is overridden and the risk configuration for the client is used instead.
sourcepub fn compromised_credentials_risk_configuration(
&self,
) -> Option<&CompromisedCredentialsRiskConfigurationType>
pub fn compromised_credentials_risk_configuration( &self, ) -> Option<&CompromisedCredentialsRiskConfigurationType>
The compromised credentials risk configuration.
sourcepub fn account_takeover_risk_configuration(
&self,
) -> Option<&AccountTakeoverRiskConfigurationType>
pub fn account_takeover_risk_configuration( &self, ) -> Option<&AccountTakeoverRiskConfigurationType>
The account takeover risk configuration.
sourcepub fn risk_exception_configuration(
&self,
) -> Option<&RiskExceptionConfigurationType>
pub fn risk_exception_configuration( &self, ) -> Option<&RiskExceptionConfigurationType>
The configuration to override the risk decision.
source§impl SetRiskConfigurationInput
impl SetRiskConfigurationInput
sourcepub fn builder() -> SetRiskConfigurationInputBuilder
pub fn builder() -> SetRiskConfigurationInputBuilder
Creates a new builder-style object to manufacture SetRiskConfigurationInput
.
Trait Implementations§
source§impl Clone for SetRiskConfigurationInput
impl Clone for SetRiskConfigurationInput
source§fn clone(&self) -> SetRiskConfigurationInput
fn clone(&self) -> SetRiskConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SetRiskConfigurationInput
impl Debug for SetRiskConfigurationInput
source§impl PartialEq for SetRiskConfigurationInput
impl PartialEq for SetRiskConfigurationInput
source§fn eq(&self, other: &SetRiskConfigurationInput) -> bool
fn eq(&self, other: &SetRiskConfigurationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SetRiskConfigurationInput
Auto Trait Implementations§
impl Freeze for SetRiskConfigurationInput
impl RefUnwindSafe for SetRiskConfigurationInput
impl Send for SetRiskConfigurationInput
impl Sync for SetRiskConfigurationInput
impl Unpin for SetRiskConfigurationInput
impl UnwindSafe for SetRiskConfigurationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more