Skip to content

EventRiskType

Source code in docs_src/capo_cognito_identity_provider/types/event_risk_type.py
class EventRiskType(TypedDict, closed=True):
    risk_decision: NotRequired[
        "capo_cognito_identity_provider.types.risk_decision_type.RiskDecisionType"
    ]
    """<p>The action taken by adaptive authentication. If <code>NoRisk</code>, your user pool took no action. If <code>AccountTakeover</code>, your user pool applied the adaptive authentication automated response that you configured. If <code>Block</code>, your user pool prevented the attempt.</p>"""
    risk_level: NotRequired[
        "capo_cognito_identity_provider.types.risk_level_type.RiskLevelType"
    ]
    """<p>The risk level that adaptive authentication assessed for the authentication event.</p>"""
    compromised_credentials_detected: NotRequired[
        "capo_cognito_identity_provider.types.wrapped_boolean_type.WrappedBooleanType"
    ]
    """<p>Indicates whether compromised credentials were detected during an authentication event.</p>"""

compromised_credentials_detected instance-attribute

compromised_credentials_detected: NotRequired[WrappedBooleanType]

Indicates whether compromised credentials were detected during an authentication event.

risk_decision instance-attribute

risk_decision: NotRequired[RiskDecisionType]

The action taken by adaptive authentication. If NoRisk, your user pool took no action. If AccountTakeover, your user pool applied the adaptive authentication automated response that you configured. If Block, your user pool prevented the attempt.

risk_level instance-attribute

risk_level: NotRequired[RiskLevelType]

The risk level that adaptive authentication assessed for the authentication event.