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 |
Documentation
The wrapper that contains the Audit Manager role information of the current user, such as the role type and IAM Amazon Resource Name (ARN).
See: newRole
smart constructor.
Role' | |
|
Instances
Eq Role Source # | |
Read Role Source # | |
Show Role Source # | |
Generic Role Source # | |
NFData Role Source # | |
Defined in Amazonka.AuditManager.Types.Role | |
Hashable Role Source # | |
Defined in Amazonka.AuditManager.Types.Role | |
ToJSON Role Source # | |
Defined in Amazonka.AuditManager.Types.Role | |
FromJSON Role Source # | |
type Rep Role Source # | |
Defined in Amazonka.AuditManager.Types.Role type Rep Role = D1 ('MetaData "Role" "Amazonka.AuditManager.Types.Role" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "Role'" 'PrefixI 'True) (S1 ('MetaSel ('Just "roleType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleType)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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.