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 |
Amazonka.AuditManager.Types.CreateDelegationRequest
Description
Synopsis
- data CreateDelegationRequest = CreateDelegationRequest' {}
- newCreateDelegationRequest :: CreateDelegationRequest
- createDelegationRequest_roleType :: Lens' CreateDelegationRequest (Maybe RoleType)
- createDelegationRequest_controlSetId :: Lens' CreateDelegationRequest (Maybe Text)
- createDelegationRequest_comment :: Lens' CreateDelegationRequest (Maybe Text)
- createDelegationRequest_roleArn :: Lens' CreateDelegationRequest (Maybe Text)
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
|
Instances
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_controlSetId :: Lens' CreateDelegationRequest (Maybe Text) Source #
The unique identifier for the control set.
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.