| 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.AuditManager.Types.Role
Description
Documentation
The wrapper that contains the Audit Manager role information of the current user. This includes the role type and IAM Amazon Resource Name (ARN).
See: newRole smart constructor.
Constructors
| Role' | |
Fields | |
Instances
| FromJSON Role Source # | |
| ToJSON Role Source # | |
Defined in Amazonka.AuditManager.Types.Role | |
| Generic Role Source # | |
| Read Role Source # | |
| Show Role Source # | |
| NFData Role Source # | |
Defined in Amazonka.AuditManager.Types.Role | |
| Eq Role Source # | |
| Hashable Role Source # | |
Defined in Amazonka.AuditManager.Types.Role | |
| type Rep Role Source # | |
Defined in Amazonka.AuditManager.Types.Role type Rep Role = D1 ('MetaData "Role" "Amazonka.AuditManager.Types.Role" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "Role'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoleType) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Role 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:roleType:Role', role_roleType - The type of customer persona.
In CreateAssessment, roleType can only be PROCESS_OWNER.
In UpdateSettings, roleType can only be PROCESS_OWNER.
In BatchCreateDelegationByAssessment, roleType can only be
RESOURCE_OWNER.
$sel:roleArn:Role', role_roleArn - The Amazon Resource Name (ARN) of the IAM role.