amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MacieV2.Types.UserIdentity

Description

 
Synopsis

Documentation

data UserIdentity Source #

Provides information about the type and other characteristics of an entity that performed an action on an affected resource.

See: newUserIdentity smart constructor.

Constructors

UserIdentity' 

Fields

  • assumedRole :: Maybe 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.

  • awsAccount :: Maybe AwsAccount

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

  • awsService :: Maybe AwsService

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

  • federatedUser :: Maybe 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.

  • iamUser :: Maybe 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 :: Maybe UserIdentityRoot

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

  • type' :: Maybe UserIdentityType

    The type of entity that performed the action.

Instances

Instances details
FromJSON UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

Generic UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

Associated Types

type Rep UserIdentity :: Type -> Type #

Read UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

Show UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

NFData UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

Methods

rnf :: UserIdentity -> () #

Eq UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

Hashable UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

type Rep UserIdentity Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentity

newUserIdentity :: UserIdentity Source #

Create a value of UserIdentity with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:assumedRole:UserIdentity', userIdentity_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.

$sel:awsAccount:UserIdentity', userIdentity_awsAccount - If the action was performed using the credentials for another Amazon Web Services account, the details of that account.

$sel:awsService:UserIdentity', userIdentity_awsService - If the action was performed by an Amazon Web Services account that belongs to an Amazon Web Service, the name of the service.

$sel:federatedUser:UserIdentity', userIdentity_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.

$sel:iamUser:UserIdentity', userIdentity_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.

$sel:root:UserIdentity', userIdentity_root - If the action was performed using the credentials for your Amazon Web Services account, the details of your account.

$sel:type':UserIdentity', userIdentity_type - The type of entity that performed the action.

userIdentity_assumedRole :: Lens' UserIdentity (Maybe AssumedRole) Source #

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.

userIdentity_awsAccount :: Lens' UserIdentity (Maybe AwsAccount) Source #

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

userIdentity_awsService :: Lens' UserIdentity (Maybe AwsService) Source #

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

userIdentity_federatedUser :: Lens' UserIdentity (Maybe FederatedUser) Source #

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.

userIdentity_iamUser :: Lens' UserIdentity (Maybe IamUser) Source #

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

userIdentity_root :: Lens' UserIdentity (Maybe UserIdentityRoot) Source #

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

userIdentity_type :: Lens' UserIdentity (Maybe UserIdentityType) Source #

The type of entity that performed the action.