RevokeUserSessionRequest
¶
Source code in docs_src/capo_cognito_identity_provider/types/revoke_user_session_request.py
access_token
instance-attribute
¶
access_token: TokenModelType
A valid access token that Amazon Cognito issued to the user. Amazon Cognito uses this token to authorize the request and to identify the user.
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. This value can't identify the caller's own current session.