Class: Aws::CognitoIdentityProvider::Types::AdminRevokeUserSessionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CognitoIdentityProvider::Types::AdminRevokeUserSessionRequest
- Defined in:
- gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:username]
Instance Attribute Summary collapse
-
#revoke_associated_sessions ⇒ String
Specifies whether to also revoke the sessions that are linked to the targeted session.
-
#session_id ⇒ String
The ID of the session to revoke.
-
#user_pool_id ⇒ String
The ID of the user pool that contains the session.
-
#username ⇒ String
The username of the user who owns the session.
Instance Attribute Details
#revoke_associated_sessions ⇒ String
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.
2355 2356 2357 2358 2359 2360 2361 2362 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2355 class AdminRevokeUserSessionRequest < Struct.new( :user_pool_id, :username, :session_id, :revoke_associated_sessions) SENSITIVE = [:username] include Aws::Structure end |
#session_id ⇒ String
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.
2355 2356 2357 2358 2359 2360 2361 2362 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2355 class AdminRevokeUserSessionRequest < Struct.new( :user_pool_id, :username, :session_id, :revoke_associated_sessions) SENSITIVE = [:username] include Aws::Structure end |
#user_pool_id ⇒ String
The ID of the user pool that contains the session.
2355 2356 2357 2358 2359 2360 2361 2362 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2355 class AdminRevokeUserSessionRequest < Struct.new( :user_pool_id, :username, :session_id, :revoke_associated_sessions) SENSITIVE = [:username] include Aws::Structure end |
#username ⇒ String
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.
2355 2356 2357 2358 2359 2360 2361 2362 |
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 2355 class AdminRevokeUserSessionRequest < Struct.new( :user_pool_id, :username, :session_id, :revoke_associated_sessions) SENSITIVE = [:username] include Aws::Structure end |