Skip to content

Session

Source code in docs_src/capo_guardduty/types/session.py
class Session(TypedDict, closed=True):
    uid: NotRequired["capo_guardduty.types.string.String"]
    """<p>The unique identifier of the session.</p>"""
    mfa_status: NotRequired["capo_guardduty.types.mfa_status.MfaStatus"]
    """<p>Indicates whether or not multi-factor authencation (MFA) was used during authentication.</p> <p>In Amazon Web Services CloudTrail, you can find this value as <code>userIdentity.sessionContext.attributes.mfaAuthenticated</code>.</p>"""
    created_time: NotRequired["capo_guardduty.types.timestamp.Timestamp"]
    """<p>The timestamp for when the session was created.</p> <p>In Amazon Web Services CloudTrail, you can find this value as <code>userIdentity.sessionContext.attributes.creationDate</code>.</p>"""
    issuer: NotRequired["capo_guardduty.types.string.String"]
    """<p>Identifier of the session issuer.</p> <p>In Amazon Web Services CloudTrail, you can find this value as <code>userIdentity.sessionContext.sessionIssuer.arn</code>.</p>"""

created_time instance-attribute

created_time: NotRequired[Timestamp]

The timestamp for when the session was created.

In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.creationDate.

issuer instance-attribute

issuer: NotRequired[String]

Identifier of the session issuer.

In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.sessionIssuer.arn.

mfa_status instance-attribute

mfa_status: NotRequired[MfaStatus]

Indicates whether or not multi-factor authencation (MFA) was used during authentication.

In Amazon Web Services CloudTrail, you can find this value as userIdentity.sessionContext.attributes.mfaAuthenticated.

uid instance-attribute

uid: NotRequired[String]

The unique identifier of the session.