libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • principalId :: Maybe Text

    The unique identifier for the entity that performed the action.

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

  • accountId :: Maybe Text

    The unique identifier for the Amazon Web Services account.

Instances

Instances details
Eq UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Read UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Show 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 #

NFData UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

Methods

rnf :: UserIdentityRoot -> () #

Hashable UserIdentityRoot Source # 
Instance details

Defined in Amazonka.MacieV2.Types.UserIdentityRoot

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UserIdentityRoot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") '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:principalId:UserIdentityRoot', userIdentityRoot_principalId - The unique identifier for the entity that performed the action.

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

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

The unique identifier for the entity that performed the action.

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_accountId :: Lens' UserIdentityRoot (Maybe Text) Source #

The unique identifier for the Amazon Web Services account.