Skip to content

UserIdentity

Source code in docs_src/capo_macie2/types/user_identity.py
class UserIdentity(TypedDict, closed=True):
    assumed_role: NotRequired["capo_macie2.types.assumed_role.AssumedRole"]
    """<p>If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.</p>"""
    aws_account: NotRequired["capo_macie2.types.aws_account.AwsAccount"]
    """<p>If the action was performed using the credentials for another Amazon Web Services account, the details of that account.</p>"""
    aws_service: NotRequired["capo_macie2.types.aws_service.AwsService"]
    """<p>If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Services service, the name of the service.</p>"""
    federated_user: NotRequired["capo_macie2.types.federated_user.FederatedUser"]
    """<p>If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.</p>"""
    iam_user: NotRequired["capo_macie2.types.iam_user.IamUser"]
    """<p>If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.</p>"""
    root: NotRequired["capo_macie2.types.user_identity_root.UserIdentityRoot"]
    """<p>If the action was performed using the credentials for your Amazon Web Services account, the details of your account.</p>"""
    type: NotRequired["capo_macie2.types.user_identity_type.UserIdentityType"]
    """<p>The type of entity that performed the action.</p>"""

assumed_role instance-attribute

assumed_role: NotRequired[AssumedRole]

If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

aws_account instance-attribute

aws_account: NotRequired[AwsAccount]

If the action was performed using the credentials for another Amazon Web Services account, the details of that account.

aws_service instance-attribute

aws_service: NotRequired[AwsService]

If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Services service, the name of the service.

federated_user instance-attribute

federated_user: NotRequired[FederatedUser]

If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.

iam_user instance-attribute

iam_user: NotRequired[IamUser]

If the action was performed using the credentials for an Identity and Access Management (IAM) user, the name and other details about the user.

root instance-attribute

root: NotRequired[UserIdentityRoot]

If the action was performed using the credentials for your Amazon Web Services account, the details of your account.

type instance-attribute

type: NotRequired[UserIdentityType]

The type of entity that performed the action.