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

Description

 
Synopsis

Documentation

data IamUser Source #

Provides information about an Identity and Access Management (IAM) user who performed an action on an affected resource.

See: newIamUser smart constructor.

Constructors

IamUser' 

Fields

  • principalId :: Maybe Text

    The unique identifier for the IAM user who 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 who performed the action.

  • userName :: Maybe Text

    The user name of the IAM user who performed the action.

  • accountId :: Maybe Text

    The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.

Instances

Instances details
Eq IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

Methods

(==) :: IamUser -> IamUser -> Bool #

(/=) :: IamUser -> IamUser -> Bool #

Read IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

Show IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

Generic IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

Associated Types

type Rep IamUser :: Type -> Type #

Methods

from :: IamUser -> Rep IamUser x #

to :: Rep IamUser x -> IamUser #

NFData IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

Methods

rnf :: IamUser -> () #

Hashable IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

Methods

hashWithSalt :: Int -> IamUser -> Int #

hash :: IamUser -> Int #

FromJSON IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

type Rep IamUser Source # 
Instance details

Defined in Amazonka.MacieV2.Types.IamUser

type Rep IamUser = D1 ('MetaData "IamUser" "Amazonka.MacieV2.Types.IamUser" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "IamUser'" '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 "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newIamUser :: IamUser Source #

Create a value of IamUser 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:IamUser', iamUser_principalId - The unique identifier for the IAM user who performed the action.

$sel:arn:IamUser', iamUser_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 who performed the action.

$sel:userName:IamUser', iamUser_userName - The user name of the IAM user who performed the action.

$sel:accountId:IamUser', iamUser_accountId - The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.

iamUser_principalId :: Lens' IamUser (Maybe Text) Source #

The unique identifier for the IAM user who performed the action.

iamUser_arn :: Lens' IamUser (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 who performed the action.

iamUser_userName :: Lens' IamUser (Maybe Text) Source #

The user name of the IAM user who performed the action.

iamUser_accountId :: Lens' IamUser (Maybe Text) Source #

The unique identifier for the Amazon Web Services account that's associated with the IAM user who performed the action.