| 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.Delegation
Description
Synopsis
- data Delegation = Delegation' {}
- newDelegation :: Delegation
- delegation_assessmentId :: Lens' Delegation (Maybe Text)
- delegation_assessmentName :: Lens' Delegation (Maybe Text)
- delegation_comment :: Lens' Delegation (Maybe Text)
- delegation_controlSetId :: Lens' Delegation (Maybe Text)
- delegation_createdBy :: Lens' Delegation (Maybe Text)
- delegation_creationTime :: Lens' Delegation (Maybe UTCTime)
- delegation_id :: Lens' Delegation (Maybe Text)
- delegation_lastUpdated :: Lens' Delegation (Maybe UTCTime)
- delegation_roleArn :: Lens' Delegation (Maybe Text)
- delegation_roleType :: Lens' Delegation (Maybe RoleType)
- delegation_status :: Lens' Delegation (Maybe DelegationStatus)
Documentation
data Delegation Source #
The assignment of a control set to a delegate for review.
See: newDelegation smart constructor.
Constructors
| Delegation' | |
Fields
| |
Instances
newDelegation :: Delegation Source #
Create a value of Delegation 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:assessmentId:Delegation', delegation_assessmentId - The identifier for the assessment that's associated with the
delegation.
$sel:assessmentName:Delegation', delegation_assessmentName - The name of the assessment that's associated with the delegation.
$sel:comment:Delegation', delegation_comment - The comment that's related to the delegation.
$sel:controlSetId:Delegation', delegation_controlSetId - The identifier for the control set that's associated with the
delegation.
$sel:createdBy:Delegation', delegation_createdBy - The IAM user or role that created the delegation.
$sel:creationTime:Delegation', delegation_creationTime - Specifies when the delegation was created.
$sel:id:Delegation', delegation_id - The unique identifier for the delegation.
$sel:lastUpdated:Delegation', delegation_lastUpdated - Specifies when the delegation was last updated.
$sel:roleArn:Delegation', delegation_roleArn - The Amazon Resource Name (ARN) of the IAM role.
$sel:roleType:Delegation', delegation_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:status:Delegation', delegation_status - The status of the delegation.
delegation_assessmentId :: Lens' Delegation (Maybe Text) Source #
The identifier for the assessment that's associated with the delegation.
delegation_assessmentName :: Lens' Delegation (Maybe Text) Source #
The name of the assessment that's associated with the delegation.
delegation_comment :: Lens' Delegation (Maybe Text) Source #
The comment that's related to the delegation.
delegation_controlSetId :: Lens' Delegation (Maybe Text) Source #
The identifier for the control set that's associated with the delegation.
delegation_createdBy :: Lens' Delegation (Maybe Text) Source #
The IAM user or role that created the delegation.
delegation_creationTime :: Lens' Delegation (Maybe UTCTime) Source #
Specifies when the delegation was created.
delegation_id :: Lens' Delegation (Maybe Text) Source #
The unique identifier for the delegation.
delegation_lastUpdated :: Lens' Delegation (Maybe UTCTime) Source #
Specifies when the delegation was last updated.
delegation_roleArn :: Lens' Delegation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM role.
delegation_roleType :: Lens' Delegation (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.
delegation_status :: Lens' Delegation (Maybe DelegationStatus) Source #
The status of the delegation.