Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data IamUser = IamUser' {}
- newIamUser :: IamUser
- iamUser_principalId :: Lens' IamUser (Maybe Text)
- iamUser_arn :: Lens' IamUser (Maybe Text)
- iamUser_userName :: Lens' IamUser (Maybe Text)
- iamUser_accountId :: Lens' IamUser (Maybe Text)
Documentation
Provides information about an Identity and Access Management (IAM) user who performed an action on an affected resource.
See: newIamUser
smart constructor.
IamUser' | |
|
Instances
Eq IamUser Source # | |
Read IamUser Source # | |
Show IamUser Source # | |
Generic IamUser Source # | |
NFData IamUser Source # | |
Defined in Amazonka.MacieV2.Types.IamUser | |
Hashable IamUser Source # | |
Defined in Amazonka.MacieV2.Types.IamUser | |
FromJSON IamUser Source # | |
type Rep IamUser Source # | |
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.