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.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
Eq Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Read Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Show 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 #

NFData Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

Methods

rnf :: Delegation -> () #

Hashable Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

FromJSON Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

type Rep Delegation Source # 
Instance details

Defined in Amazonka.AuditManager.Types.Delegation

type Rep Delegation = D1 ('MetaData "Delegation" "Amazonka.AuditManager.Types.Delegation" "libZSservicesZSamazonka-auditmanagerZSamazonka-auditmanager" 'False) (C1 ('MetaCons "Delegation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "roleType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleType)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DelegationStatus)) :*: (S1 ('MetaSel ('Just "lastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "controlSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "createdBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assessmentId") '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)) :*: S1 ('MetaSel ('Just "assessmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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: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:creationTime:Delegation', delegation_creationTime - Specifies when the delegation was created.

$sel:status:Delegation', delegation_status - The status of the delegation.

$sel:lastUpdated:Delegation', delegation_lastUpdated - Specifies when the delegation was last updated.

$sel:controlSetId:Delegation', delegation_controlSetId - The identifier for the associated control set.

$sel:createdBy:Delegation', delegation_createdBy - The IAM user or role that created the delegation.

$sel:id:Delegation', delegation_id - The unique identifier for the delegation.

$sel:assessmentId:Delegation', delegation_assessmentId - The identifier for the associated assessment.

$sel:comment:Delegation', delegation_comment - The comment related to the delegation.

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

$sel:assessmentName:Delegation', delegation_assessmentName - The name of the associated assessment.

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_creationTime :: Lens' Delegation (Maybe UTCTime) Source #

Specifies when the delegation was created.

delegation_status :: Lens' Delegation (Maybe DelegationStatus) Source #

The status of the delegation.

delegation_lastUpdated :: Lens' Delegation (Maybe UTCTime) Source #

Specifies when the delegation was last updated.

delegation_controlSetId :: Lens' Delegation (Maybe Text) Source #

The identifier for the associated control set.

delegation_createdBy :: Lens' Delegation (Maybe Text) Source #

The IAM user or role that created the delegation.

delegation_id :: Lens' Delegation (Maybe Text) Source #

The unique identifier for the delegation.

delegation_assessmentId :: Lens' Delegation (Maybe Text) Source #

The identifier for the associated assessment.

delegation_comment :: Lens' Delegation (Maybe Text) Source #

The comment related to the delegation.

delegation_roleArn :: Lens' Delegation (Maybe Text) Source #

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

delegation_assessmentName :: Lens' Delegation (Maybe Text) Source #

The name of the associated assessment.