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.UserIdentityRoot

Description

 
Synopsis

Documentation

data UserIdentityRoot Source #

Provides information about an Amazon Web Services account and entity that performed an action on an affected resource. The action was performed using the credentials for your Amazon Web Services account.

See: newUserIdentityRoot smart constructor.

Constructors

UserIdentityRoot' 

Fields

  • accountId :: Maybe Text

    The unique identifier for the Amazon Web Services account.

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.

  • principalId :: Maybe Text

    The unique identifier for the entity that performed the action.

Instances

Instances details
FromJSON UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Generic UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Associated Types

type Rep UserIdentityRoot :: Type -> Type #

Read UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Show UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

NFData UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Methods

rnf :: UserIdentityRoot -> () #

Eq UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Hashable UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

type Rep UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

type Rep UserIdentityRoot = D1 ('MetaData "UserIdentityRoot" "Amazonka.MacieV2.Types.UserIdentityRoot" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "UserIdentityRoot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newUserIdentityRoot :: UserIdentityRoot Source #

Create a value of UserIdentityRoot 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:accountId:UserIdentityRoot', userIdentityRoot_accountId - The unique identifier for the Amazon Web Services account.

$sel:arn:UserIdentityRoot', userIdentityRoot_arn - The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.

$sel:principalId:UserIdentityRoot', userIdentityRoot_principalId - The unique identifier for the entity that performed the action.

userIdentityRoot_accountId :: Lens' UserIdentityRoot (Maybe Text) Source #

The unique identifier for the Amazon Web Services account.

userIdentityRoot_arn :: Lens' UserIdentityRoot (Maybe Text) Source #

The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.

userIdentityRoot_principalId :: Lens' UserIdentityRoot (Maybe Text) Source #

The unique identifier for the entity that performed the action.