libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager
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.AuditManager.Types.Role

Description

 
Synopsis

Documentation

data Role Source #

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.

Constructors

Role' 

Fields

  • roleType :: Maybe 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.

  • roleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the IAM role.

Instances

Instances details
Eq Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

Methods

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

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

Read Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

Show Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Generic Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

Associated Types

type Rep Role :: Type -> Type #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

NFData Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

Methods

rnf :: Role -> () #

Hashable Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

Methods

hashWithSalt :: Int -> Role -> Int #

hash :: Role -> Int #

ToJSON Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

FromJSON Role Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Role

type Rep Role Source # 
Instance details

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))))

newRole :: Role Source #

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.

role_roleType :: Lens' Role (Maybe RoleType) Source #

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.

role_roleArn :: Lens' Role (Maybe Text) Source #

The Amazon Resource Name (ARN) of the IAM role.