Skip to content

GetCallerIdentityResponse

Source code in docs_src/capo_sts/types/get_caller_identity_response.py
class GetCallerIdentityResponse(TypedDict, closed=True):
    user_id: NotRequired["capo_sts.types.user_id_type.userIdType"]
    """<p>The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the <b>aws:userid</b> column in the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_variables.html#principaltable">Principal table</a> found on the <b>Policy Variables</b> reference page in the <i>IAM User Guide</i>.</p>"""
    account: NotRequired["capo_sts.types.account_type.accountType"]
    """<p>The Amazon Web Services account ID number of the account that owns or contains the calling entity.</p>"""
    arn: NotRequired["capo_sts.types.arn_type.arnType"]
    """<p>The Amazon Web Services ARN associated with the calling entity.</p>"""

account instance-attribute

account: NotRequired[accountType]

The Amazon Web Services account ID number of the account that owns or contains the calling entity.

arn instance-attribute

arn: NotRequired[arnType]

The Amazon Web Services ARN associated with the calling entity.

user_id instance-attribute

user_id: NotRequired[userIdType]

The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.