Skip to content

UpdateAuthEventFeedbackRequest

Source code in docs_src/capo_cognito_identity_provider/types/update_auth_event_feedback_request.py
class UpdateAuthEventFeedbackRequest(TypedDict, closed=True):
    user_pool_id: (
        "capo_cognito_identity_provider.types.user_pool_id_type.UserPoolIdType"
    )
    """<p>The ID of the user pool where you want to update auth event feedback.</p>"""
    username: "capo_cognito_identity_provider.types.username_type.UsernameType"
    """<p>The name of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If <code>username</code> isn't an alias attribute in your user pool, this value must be the <code>sub</code> of a local user or the username of a user from a third-party IdP.</p>"""
    event_id: "capo_cognito_identity_provider.types.event_id_type.EventIdType"
    """<p>The ID of the authentication event that you want to submit feedback for.</p>"""
    feedback_token: (
        "capo_cognito_identity_provider.types.token_model_type.TokenModelType"
    )
    """<p>The feedback token, an encrypted object generated by Amazon Cognito and passed to your user in the notification email message from the event.</p>"""
    feedback_value: (
        "capo_cognito_identity_provider.types.feedback_value_type.FeedbackValueType"
    )
    """<p>Your feedback to the authentication event. When you provide a <code>FeedbackValue</code> value of <code>valid</code>, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a <code>FeedbackValue</code> value of <code>invalid</code>, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.</p>"""

event_id instance-attribute

event_id: EventIdType

The ID of the authentication event that you want to submit feedback for.

feedback_token instance-attribute

feedback_token: TokenModelType

The feedback token, an encrypted object generated by Amazon Cognito and passed to your user in the notification email message from the event.

feedback_value instance-attribute

feedback_value: FeedbackValueType

Your feedback to the authentication event. When you provide a FeedbackValue value of valid, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a FeedbackValue value of invalid, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.

user_pool_id instance-attribute

user_pool_id: UserPoolIdType

The ID of the user pool where you want to update auth event feedback.

username instance-attribute

username: UsernameType

The name of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, this value must be the sub of a local user or the username of a user from a third-party IdP.