amazonka-auditmanager-2.0: Amazon Audit Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AuditManager.Types.Delegation

Description

 
Synopsis

Documentation

data Delegation Source #

The assignment of a control set to a delegate for review.

See: newDelegation smart constructor.

Constructors

Delegation' 

Fields

Instances

Instances details
FromJSON Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Generic Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Associated Types

type Rep Delegation :: Type -> Type #

Read Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Show Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

NFData Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Methods

rnf :: Delegation -> () #

Eq Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Hashable Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

type Rep Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

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.