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.CreateDelegationRequest

Description

 
Synopsis

Documentation

data CreateDelegationRequest Source #

A collection of attributes used to create a delegation for an assessment in Audit Manager.

See: newCreateDelegationRequest smart constructor.

Constructors

CreateDelegationRequest' 

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.

  • controlSetId :: Maybe Text

    The unique identifier for the control set.

  • comment :: Maybe Text

    A comment related to the delegation request.

  • roleArn :: Maybe Text

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

Instances

Instances details
Eq CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

Read CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

Show CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

Generic CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

Associated Types

type Rep CreateDelegationRequest :: Type -> Type #

NFData CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

Methods

rnf :: CreateDelegationRequest -> () #

Hashable CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

ToJSON CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

FromJSON CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

type Rep CreateDelegationRequest Source # 
Instance details

Defined in Amazonka.AuditManager.Types.CreateDelegationRequest

type Rep CreateDelegationRequest = D1 ('MetaData "CreateDelegationRequest" "Amazonka.AuditManager.Types.CreateDelegationRequest" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "CreateDelegationRequest'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "roleType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleType)) :*: S1 ('MetaSel ('Just "controlSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCreateDelegationRequest :: CreateDelegationRequest Source #

Create a value of CreateDelegationRequest 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:CreateDelegationRequest', createDelegationRequest_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:controlSetId:CreateDelegationRequest', createDelegationRequest_controlSetId - The unique identifier for the control set.

$sel:comment:CreateDelegationRequest', createDelegationRequest_comment - A comment related to the delegation request.

$sel:roleArn:CreateDelegationRequest', createDelegationRequest_roleArn - The Amazon Resource Name (ARN) of the IAM role.

createDelegationRequest_roleType :: Lens' CreateDelegationRequest (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.

createDelegationRequest_comment :: Lens' CreateDelegationRequest (Maybe Text) Source #

A comment related to the delegation request.

createDelegationRequest_roleArn :: Lens' CreateDelegationRequest (Maybe Text) Source #

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