| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MacieV2.Types.IamUser
Description
Synopsis
- data IamUser = IamUser' {}
- newIamUser :: IamUser
- iamUser_accountId :: Lens' IamUser (Maybe Text)
- iamUser_arn :: Lens' IamUser (Maybe Text)
- iamUser_principalId :: Lens' IamUser (Maybe Text)
- iamUser_userName :: 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.
Constructors
| IamUser' | |
Fields
| |
Instances
| FromJSON IamUser Source # | |
| Generic IamUser Source # | |
| Read IamUser Source # | |
| Show IamUser Source # | |
| NFData IamUser Source # | |
Defined in Amazonka.MacieV2.Types.IamUser | |
| Eq IamUser Source # | |
| Hashable IamUser Source # | |
Defined in Amazonka.MacieV2.Types.IamUser | |
| type Rep IamUser Source # | |
Defined in Amazonka.MacieV2.Types.IamUser type Rep IamUser = D1 ('MetaData "IamUser" "Amazonka.MacieV2.Types.IamUser" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "IamUser'" '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)) :*: S1 ('MetaSel ('Just "userName") '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:accountId:IamUser', iamUser_accountId - The unique identifier for the Amazon Web Services account that's
associated with 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:principalId:IamUser', iamUser_principalId - The unique identifier for the IAM user who performed the action.
$sel:userName:IamUser', iamUser_userName - 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.
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.