AdminRevokeUserSessionRequest
¶
Source code in docs_src/capo_cognito_identity_provider/types/admin_revoke_user_session_request.py
revoke_associated_sessions
instance-attribute
¶
revoke_associated_sessions: NotRequired[RevokeAssociatedSessionsType]
Specifies whether to also revoke the sessions that are linked to the targeted session. NONE, the default, revokes only the targeted session. LINKED also revokes the directly linked session or sessions, interpreted relative to the type of the targeted session: revoking a token session also revokes the parent SSO session it came through, and revoking an SSO session also revokes the token sessions that came through it. The set of linked sessions is eventually consistent, so associated sessions are typically revoked within a few seconds.
session_id
instance-attribute
¶
session_id: SessionIdType
The ID of the session to revoke. This is a 28-character string of lowercase letters and digits, prefixed with tkn for a token session or sso for an SSO session.
user_pool_id
instance-attribute
¶
user_pool_id: UserPoolIdType
The ID of the user pool that contains the session.
username
instance-attribute
¶
username: UsernameType
The username of the user who owns the session. The username must match the user associated with the SessionId, to confirm they are the intended target user.