Skip to content

BatchRevokeSessionsInput

Source code in docs_src/capo_signin/types/batch_revoke_sessions_input.py
class BatchRevokeSessionsInput(TypedDict, closed=True):
    principal_arn: NotRequired[
        "capo_signin.types.principal_arn_filter.PrincipalArnFilter"
    ]
    """The identity that owns the sessions. Omit to use the caller. Specify arn:aws:iam::{account-id}:* to revoke any session in the account."""
    session_arns: "capo_signin.types.session_arn_list.SessionArnList"
    """The ARNs of the sessions to revoke"""
    reason: NotRequired["capo_signin.types.revocation_reason.RevocationReason"]
    """The reason for revoking the sessions"""

principal_arn instance-attribute

principal_arn: NotRequired[PrincipalArnFilter]

The identity that owns the sessions. Omit to use the caller. Specify arn:aws:iam::{account-id}:* to revoke any session in the account.

reason instance-attribute

reason: NotRequired[RevocationReason]

The reason for revoking the sessions

session_arns instance-attribute

session_arns: SessionArnList

The ARNs of the sessions to revoke